GCP Professional Cloud Architect Practice Question
Your security team has prohibited keeping any Google Cloud credentials on developer laptops. Developers still need a full-featured IDE to write, unit-test, and debug containerized microservices that will be deployed to a shared Google Kubernetes Engine (GKE) development cluster. They must be able to issue kubectl commands and open a browser-based preview of services running on an inner-loop development environment, but they cannot install the Cloud SDK or store credentials locally. Which approach best meets these requirements with the least additional setup effort?
Use Cloud Shell Editor in the Google Cloud console, leveraging its built-in Cloud Code extension to develop, run, and debug the microservices, execute kubectl with the pre-authenticated gcloud CLI, and expose test service ports through Cloud Shell Web Preview.
Set up Cloud Build triggers so that every Git commit automatically builds and deploys the service to GKE; developers debug issues by inspecting build logs instead of running code locally.
Require each developer to install the Cloud SDK and Cloud Code plugin for their desktop IDE, authenticate with user credentials, and run services locally on Minikube before pushing manifests to the GKE cluster.
Provision a shared bastion Compute Engine VM with the Cloud SDK pre-installed; have developers SSH into the host with IAP tunneling and use terminal editors (vim or emacs) to write code and deploy to GKE.
Cloud Shell runs on a Google-managed Compute Engine VM that is created on demand and pre-loaded with the gcloud CLI, kubectl, and other development tools. The Cloud Shell Editor (a web-based VS Code experience) is available directly in the console and comes with the Cloud Code extension already installed, providing language support, container build/run, and GKE deployment workflows. The gcloud CLI inside Cloud Shell is automatically authenticated with the user's Google account when the session starts, so no credential files are stored on the developer's laptop. Web Preview lets the editor securely expose local ports in the browser for live service testing. The alternative options either require local SDK installation, lack a modern IDE, or do not provide interactive inner-loop testing, so they do not satisfy both the security constraints and developer-productivity goals.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is Cloud Shell Editor, and why is it suited for development in GCP?
Open an interactive chat with Bash
What is the purpose of Web Preview in Cloud Shell?
Open an interactive chat with Bash
How does Cloud Shell manage authentication securely?
Open an interactive chat with Bash
What is Cloud Shell and how does it support development?
Open an interactive chat with Bash
What is the Cloud Shell Web Preview, and how is it used for testing?
Open an interactive chat with Bash
How does the Cloud Code extension enhance the Cloud Shell Editor?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Managing implementation
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .