Intrigued by the art of cloud architecture? Discover how to design, develop, and manage robust, secure, scalable, and dynamic solutions on Google Cloud as you prepare for the Professional Cloud Architect exam!
Prepare and test your skills
Prepare and test your skills
Worked example. The correct answer is already marked and every option is explained below, so there is nothing to select here. To answer questions yourself, start the free trial.
An enterprise is establishing an Infrastructure as Code (IaC) strategy on Google Cloud to manage multi-tier compute workloads across development, testing, and production environments.
The infrastructure team has outlined the following technical requirements:
Which operational approach best fulfills these requirements?
HashiCorp Terraform is a declarative Infrastructure as Code (IaC) tool that lets platform engineers define, provision, and manage Google Cloud infrastructure using HashiCorp Configuration Language (HCL). Declarative configurations describe the intended end-state of infrastructure rather than sequential execution scripts.
terraform.tfstate), typically stored centrally in a secure Cloud Storage bucket backend. The state file maps declared configuration objects to real-world cloud resources, tracks metadata, detects configuration drift, and allows Terraform to determine necessary creates, updates, and destroys during terraform plan and terraform apply operations.terraform plan command provides visibility into pending infrastructure changes before modifications are applied to live environments.This approach combines reusable architectural templates, strict state tracking, and source control governance, providing the highest level of repeatability, security, and lifecycle management for Google Cloud infrastructure.
Keep the momentum going with these hand-picked practice scenarios
Want more questions like this?
Get a free certification question every week.