GCP Professional Cloud Architect Practice Question
Your company operates workloads in both Google Cloud and AWS. The platform team wants to define infrastructure once and provision resources consistently across both clouds. They also need a workflow that supports plan/apply steps, a centralized state backend in Cloud Storage, and a vibrant ecosystem of reusable community modules. Which Google-supported infrastructure-as-code approach best satisfies these requirements?
Automate gcloud command-line scripts executed on a schedule by Cloud Scheduler.
Use Cloud Deployment Manager with YAML templates executed by Cloud Build triggers.
Use Terraform with the Google Cloud provider and store remote state in a Cloud Storage bucket.
Create resources interactively in Cloud Console and rely on Cloud Audit Logs for record-keeping.
Terraform meets all stated needs. The HashiCorp Terraform CLI offers separate "plan" and "apply" phases, which enable change reviews before execution. Its Google Cloud provider allows you to store remote state files securely in Cloud Storage buckets, and Terraform's provider model lets the same configuration manage AWS resources alongside GCP resources, delivering true multi-cloud provisioning. The public Terraform Registry supplies many pre-built modules. Cloud Deployment Manager is limited to Google Cloud resources and lacks first-class AWS support. Automating gcloud scripts is imperative but not declarative IaC and offers no built-in plan phase or shared module registry. Manually building resources in Cloud Console is not infrastructure as code and cannot be version-controlled or replayed across environments.
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 Terraform and how does it work for multi-cloud environments?
Open an interactive chat with Bash
Why does Terraform store state files in Cloud Storage?
Open an interactive chat with Bash
What are Terraform modules and how do they enhance reusability?
Open an interactive chat with Bash
What is Terraform and how does it work?
Open an interactive chat with Bash
Why is Cloud Storage a preferred state backend for Terraform in Google Cloud?
Open an interactive chat with Bash
What are the benefits of using Terraform community modules?
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 .