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.
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?
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.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.