GCP Professional Cloud Architect Practice Question
Your team uses Cloud Build for CI and Cloud Deploy for CD to roll out a containerized microservice to Google Kubernetes Engine. After automated unit, integration, and system tests pass, the release is deployed to a dedicated "uat" GKE namespace where product owners need up to 24 hours for exploratory user-acceptance testing. Only when they approve should the pipeline continue to the production GKE cluster. The solution must minimize custom scripts and provide an auditable record of the approval. How should you modify the delivery pipeline to meet these requirements?
Configure a pre-deploy hook in Cloud Deploy to run 24 hours of load tests directly against the production cluster, then send stakeholders a Pub/Sub notification when complete.
Create separate Cloud Deploy pipelines for UAT and production and instruct product owners to run "kubectl apply" against production after they finish testing.
Insert a Cloud Build post-build step that automatically runs "gcloud deploy releases promote" to production when integration tests finish.
Add a manual approval gate on the production target in the Cloud Deploy pipeline and assign the product-owner group as approvers so promotion to production can occur only after they approve.
Cloud Deploy natively supports manual approval gates. By inserting an approval requirement on the production target and assigning the product-owner group as approvers, the release is paused after the UAT rollout. Stakeholders can perform user-acceptance testing for as long as needed, and their approve or reject action is captured in Cloud Deploy audit logs. After approval, you (or automated promotion settings, if configured) can trigger the standard gcloud deploy releases promote command or UI action to create the production rollout, eliminating the need for custom scripts while keeping a complete audit trail. The other options either bypass UAT, lack an approval step, or rely on ad-hoc manual commands that reduce traceability and increase operational toil.
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 the role of Cloud Deploy in GCP CI/CD pipelines?
Open an interactive chat with Bash
How do manual approval gates work in Cloud Deploy?
Open an interactive chat with Bash
Why is traceability important in CI/CD pipelines?
Open an interactive chat with Bash
What is Cloud Deploy?
Open an interactive chat with Bash
How do manual approval gates work in Cloud Deploy?
Open an interactive chat with Bash
What are the benefits of using audit logs in Cloud Deploy?
Open an interactive chat with Bash
GCP Professional Cloud Architect
Ensuring solution and operations excellence
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 .