Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.
Last updated
A software engineering team is developing a containerized microservices application targeted for Google Kubernetes Engine (GKE). The team uses the browser-based Cloud Shell Editor and wants to accelerate their development inner loop.
They have the following requirements:
Which workflow and configuration should the team implement in Cloud Shell Editor?
Execute gcloud builds submit on each code save and configure Cloud Profiler with Cloud Trace to capture execution stack traces from GKE workloads
Configure skaffold.yaml and a cloudcode.kubernetes launch configuration in launch.json, then run the Cloud Code: Debug on Kubernetes action with watch mode enabled
Use the Cloud Shell Terminal to execute skaffold dev, manually configure kubectl port-forward for language ports, and create a standard remote SSH launch configuration
Configure a continuous delivery pipeline in Google Cloud Deploy with Cloud Build triggers, and use Cloud Logging Logpoint injection to inspect remote execution
Execute gcloud builds submit on each code save and configure Cloud Profiler with Cloud Trace to capture execution stack traces from GKE workloads
Configure skaffold.yaml and a cloudcode.kubernetes launch configuration in launch.json, then run the Cloud Code: Debug on Kubernetes action with watch mode enabled
Cloud Code in Cloud Shell Editor is an integrated extension that brings Google Cloud developer workflows directly into the browser-based IDE. Leveraging Skaffold (skaffold debug), Cloud Code provides a streamlined, continuous development workflow designed specifically for containerized workloads deployed to Google Kubernetes Engine (GKE), local minikube, or Cloud Run.
watch flag active in the cloudcode.kubernetes configuration, Cloud Code continuously detects local code modifications upon file save, automatically rebuilding container images via Google Cloud Build or local builders and redeploying manifests using kubectl.ptvsd, Delve for Go, or Java JDWP agent options), and creates network port forwarding rules from the GKE pod to the Cloud Shell environment.docker build, tag images, push to Artifact Registry, update deployment manifests, or manually execute kubectl port-forward.skaffold.yaml and editor launch behaviors via .vscode/launch.json.Using Cloud Code: Debug on Kubernetes provides full parity between the local development environment and cloud-hosted Kubernetes clusters while eliminating repetitive manual context switching, dramatically accelerating developer iteration cycles.
Use the Cloud Shell Terminal to execute skaffold dev, manually configure kubectl port-forward for language ports, and create a standard remote SSH launch configuration
Configure a continuous delivery pipeline in Google Cloud Deploy with Cloud Build triggers, and use Cloud Logging Logpoint injection to inspect remote execution