An enterprise organization is updating its release management pipeline for a mission-critical web application hosted on Google Cloud. The architecture uses Google Kubernetes Engine (GKE) for compute services and Cloud Spanner for backend database operations. The organization plans to implement automated canary deployments using Cloud Deploy and Service Directory, with automated traffic shifting based on real-time Cloud Monitoring error budget burn-rate metrics. To maintain high availability during releases and prevent operational failures, which TWO architectural practices must be incorporated into the deployment pipeline? (Select TWO.)
- Structure database schema updates to be strictly backward-compatible with previous application versions prior to initiating canary traffic shifts.Answer
- Maintain all Terraform deployment pipeline state files in a versioned Cloud Storage backend with object locking enabled.Answer
- CGrant the CI/CD automated deployment service account the primitive Project Editor role to prevent permission errors across dynamic infrastructure provisioning steps.
- DConfigure ingress load balancer health check probes to query backend database tables directly on every check interval to verify end-to-end service health before routing canary traffic.
- EProvision a separate dedicated GKE cluster for each microservice build artifact during the canary stage to ensure complete compute environment isolation.
Answer
The deployment strategy requires implementing backward-compatible database schemas before canary traffic splitting and maintaining IaC deployment state in versioned Cloud Storage buckets with locking enabled.
Safe canary releases require that both old and new code versions can run concurrently against shared backing stores; therefore, database schema changes must be backward-compatible (e.g., expand-contract pattern). Furthermore, reliable automated infrastructure delivery requires state files stored securely in remote versioned storage with locking mechanics to ensure deployment pipeline integrity.
Step-by-Step Solution
Key Concept
Release Management Reliability and Zero-Downtime Deployment Strategies