GCP Professional Cloud Architect Practice Question
An enterprise is containerizing a multi-service retail application and adopting Cloud Build and Cloud Deploy for its CI/CD pipeline. Regulatory policy states that every release must pass black-box system tests in an environment that is configuration-identical to production before any traffic can be directed to production. If the system tests fail, promotion must halt automatically, but the container images should remain available for post-mortem analysis. Which pipeline design best satisfies these requirements while minimizing manual effort?
Configure Cloud Build to build container images and push them to Artifact Registry, then define a Cloud Deploy pipeline with a staging GKE target identical to production. Add a verify job that runs the end-to-end system test suite; Cloud Deploy will promote the release to the production target only if the verify job passes, leaving the images in Artifact Registry even on failure.
Require developers to execute the system test suite on their workstations; once tests pass locally, tag the container images and deploy them to production with manual gcloud commands.
Use Cloud Build to deploy blue/green releases to a single production GKE cluster and rely on Cloud Monitoring SLO-based alerts to detect problems instead of pre-production system testing.
Add a Cloud Build step that promotes the release directly to the production GKE cluster, then runs system tests against production; trigger an automated rollback script if any test fails.
The most efficient approach is to let Cloud Build build the containers and store them in Artifact Registry, then use Cloud Deploy to orchestrate progressive delivery. A staging GKE target that mirrors production provides the required parity. Cloud Deploy's verify (or pre-promotion) job can run the full system test suite; a failure marks the release as failed and prevents automatic promotion to the next (production) target. Because containers are already pushed to Artifact Registry during the build, they remain available for later debugging regardless of test outcome. The other options either test after production deployment, omit an equivalent staging environment, or rely on manual gates, all of which violate the stated policy or add unnecessary human intervention.
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 Artifact Registry, and what role does it play in this pipeline?
Open an interactive chat with Bash
What is a verify job in Cloud Deploy, and how does it ensure regulatory compliance?
Open an interactive chat with Bash
Why is a staging environment required, and how does it differ from testing directly in production?
Open an interactive chat with Bash
What is Artifact Registry in Google Cloud and how is it used in CI/CD pipelines?
Open an interactive chat with Bash
What is a 'verify job' in Cloud Deploy, and how does it work?
Open an interactive chat with Bash
What is black-box system testing, and why is this methodology required in CI/CD pipelines?
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 .