GCP Professional Cloud Architect Practice Question
Your team builds container images in Artifact Registry using Cloud Build on each merge to main. You must implement a managed, auditable release process that automatically deploys the image to a staging GKE cluster, runs smoke tests, then waits for an SRE approval before promoting the exact same release to a production Cloud Run service in another project. Which design best meets these requirements?
Use Cloud Deploy to define a delivery pipeline with two targets: the first deploys to the staging GKE cluster, the second to the production Cloud Run service. Set requireApproval to true on the production target, and have the Cloud Build trigger create a release that Cloud Deploy rolls out.
Install and configure Spinnaker on a GKE cluster to watch Artifact Registry, adding a manual judgment stage between separate deploy stages for staging and production.
Invoke Deployment Manager templates from a Cloud Function that is triggered by a Pub/Sub message from Artifact Registry; use IAM conditions to require SRE approval before the function deploys to production.
Create a multi-step Cloud Build pipeline that kubectl-applies manifests to the staging cluster, inserts a manual wait step for SRE sign-off, and then runs gcloud run deploy to push the image to production.
Cloud Deploy is Google Cloud's managed continuous-delivery service. A delivery pipeline can define multiple ordered targets, such as a staging GKE cluster followed by a production Cloud Run service in another project. Setting the production target's requireApproval field to true causes Cloud Deploy to pause the rollout and record an approval decision before promotion, satisfying the manual-gate and audit requirements. A Cloud Build trigger can invoke the clouddeploy releases create command so that every successful build automatically produces a release that Cloud Deploy rolls out across the defined targets. The other options rely on self-managed tooling, custom scripting, or ad-hoc IAM work-arounds rather than using the purpose-built managed service that natively supplies multi-target pipelines, approvals, and release integrity guarantees.
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 Deploy and how does it work?
Open an interactive chat with Bash
Why is using requireApproval in Cloud Deploy important for this use case?
Open an interactive chat with Bash
How does Cloud Build integrate with Cloud Deploy for automated release creation?
Open an interactive chat with Bash
What is Cloud Deploy and how does it work?
Open an interactive chat with Bash
What is the benefit of requireApproval in Cloud Deploy?
Open an interactive chat with Bash
Why is Cloud Deploy preferred over custom multi-step workflows?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Analyzing and optimizing technical and business processes
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 $11.99
$11.99/mo
Billed monthly, Cancel any time.
$19.99 after promotion ends
3 Month Pass
$44.99 $26.99
$8.99/mo
One time purchase of $26.99, Does not auto-renew.
$44.99 after promotion ends
Save $18!
MOST POPULAR
Annual Pass
$119.99 $71.99
$5.99/mo
One time purchase of $71.99, Does not auto-renew.
$119.99 after promotion ends
Save $48!
BEST DEAL
Lifetime Pass
$189.99 $113.99
One time purchase, Good for life.
Save $76!
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .