GCP Professional Cloud Architect Practice Question

Your platform team wants to standardize IaC workflows across dozens of projects. Requirements: 1) Terraform state must be versioned and encrypted at rest in Google Cloud. 2) Concurrent pipelines must be prevented from corrupting state. 3) All applies must run from a controlled build environment, not from engineers' laptops. Which approach satisfies all requirements while adding the least operational overhead?

  • Use Terraform Cloud as the backend but allow engineers to execute terraform locally; archive execution logs to Cloud Storage for auditing.

  • Check the tfstate file into the Git repository, enforce branch protection, and have developers run terraform from a shared Cloud Shell instance.

  • Configure the Terraform GCS backend to store state in a Cloud Storage bucket with object versioning and CMEK enabled, and run plan/apply steps from Cloud Build using a dedicated least-privilege service account.

  • Invoke Deployment Manager templates from Cloud Functions on a schedule and keep deployment state in Firestore documents.

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