A platform engineering team is configuring automated infrastructure provisioning for a single-region transactional order processing system. The database must support standard relational SQL capabilities, provide automatic multi-zone failover within the region, and enforce data encryption at rest using keys rotated via Google Cloud KMS. Furthermore, the Infrastructure as Code (IaC) pipeline managed by multiple engineers must prevent concurrent state modifications and state corruption. Which architecture and provisioning setup fulfills these operational requirements?
- Provision a Cloud SQL instance configured for Regional High Availability with Customer-Managed Encryption Keys (CMEK), using a Cloud Storage backend with object versioning and state locking for Terraform state management.Cevap
- BProvision a multi-region Cloud Spanner instance with Customer-Supplied Encryption Keys (CSEK), using a Cloud Storage backend with object versioning and state locking for Terraform state management.
- CProvision a Cloud SQL instance configured for Regional High Availability with Customer-Supplied Encryption Keys (CSEK), using local unversioned storage to maintain the Terraform state file.
- DProvision a Cloud SQL instance configured for Regional High Availability with Customer-Managed Encryption Keys (CMEK), using a standard Cloud Storage bucket without versioning or object locking enabled for Terraform state.
Cevap
Provision a Cloud SQL instance configured for Regional High Availability with Customer-Managed Encryption Keys (CMEK), using a Cloud Storage backend with object versioning and state locking for Terraform state management.
Cloud SQL Regional High Availability fulfills standard relational database requirements in a single region with automated zonal failover. Using Customer-Managed Encryption Keys (CMEK) allows key integration with Cloud KMS, fulfilling centralized rotation compliance. Enabling object versioning and state locking on the Cloud Storage backend ensures state integrity and concurrency protection for Infrastructure as Code automation.
Adım Adım Çözüm
Anahtar Kavram
Provisioning Cloud SQL with CMEK and managing IaC state with lock-enabled Cloud Storage backends.