GCP Professional Cloud Architect Practice Question

Your organization is implementing Terraform for three GCP environments (dev, qa, prod). Architects mandate: (1) state must be centrally stored, versioned, and encrypted; (2) all terraform plan and apply operations must run only from Cloud Build; (3) concurrent terraform executions must be prevented; (4) engineers must have read-only access to state files. Which design satisfies all mandates?

  • Store state locally on the Cloud Build VM and copy it to an encrypted Cloud Storage bucket after each apply; allow engineers Storage Object Admin so they can restore versions when needed.

  • Create separate Cloud Storage buckets per environment without versioning, authenticate Terraform with developer-owned service-account keys, and run plan/apply from developer laptops while relying on manual workspace locks to avoid concurrent updates.

  • Adopt a Terraform Cloud remote backend accessed by user API tokens; have engineers run terraform apply from Cloud Shell while Cloud Build runs only terraform plan on pull requests.

  • Configure a GCS backend that stores per-environment state files under dev/, qa/, and prod/ prefixes in one CMEK-encrypted bucket with object versioning enabled; grant the Cloud Build service account Storage Object Admin on the bucket, give engineers Storage Object Viewer, and run all terraform plan/apply steps from Cloud Build triggers.

GCP Professional Cloud Architect
Managing implementation
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot