GCP Professional Cloud Architect Practice Question
Your SRE team must operate a fleet of Google Kubernetes Engine clusters on three continents. Leadership mandates that all infrastructure and cluster-level configuration changes be executed automatically from version-controlled code, with peer-reviewed pull requests as the only manual gate. The solution must minimize configuration drift and provide a complete audit trail. Which approach best meets these goals while aligning with Google Cloud's operational excellence recommendations?
Store Terraform modules in Cloud Source Repositories; trigger Cloud Build on every merged commit to run terraform apply for each environment, and use Anthos Config Sync to enforce cluster manifests from the same repository.
Provision clusters interactively with gcloud container clusters create and record the commands in an internal wiki; rely on Kubernetes auto-repair for any drift.
Create Deployment Manager templates and instruct engineers to run gcloud deployment-manager deployments update in each region after a Slack approval message.
Maintain shell scripts on a bastion host that execute kubectl apply against every cluster; a nightly cron job pulls the latest YAML files from GitHub.
Automating infrastructure changes with Infrastructure as Code and a GitOps workflow directly addresses the operational excellence pillar's guidance to manage operations through code. Storing Terraform modules in a repository and letting Cloud Build apply them on every commit removes manual steps and produces an auditable history. Anthos Config Sync extends the same Git-backed model to Kubernetes resources, reconciling clusters continuously and eliminating drift. The other options rely on manual commands, scripts, or wikis, which are harder to audit and prone to human error, and therefore do not fully satisfy the requirement.
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.
How does Terraform integrate with Google Cloud for infrastructure automation?
Open an interactive chat with Bash
What is Anthos Config Sync and how does it prevent configuration drift?
Open an interactive chat with Bash
Why is a GitOps workflow important for operational excellence?
Open an interactive chat with Bash
What is Terraform used for in cloud infrastructure management?
Open an interactive chat with Bash
What is Anthos Config Sync and why is it used?
Open an interactive chat with Bash
How does Cloud Build contribute to the proposed solution?
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 $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 .