Soru

Zorluk: KolayRelease Management and Deployment Strategies (Blue-Green, Canary, Rolling)

Your organization is planning a blue-green deployment strategy for a critical application hosted on Google Cloud. You must ensure zero downtime during traffic cutover and preserve the ability to execute an instant rollback if issues arise. Which TWO architectural practices are required to safely support this deployment strategy? (Select TWO answers.)

  1. Ensure that any database schema changes introduced in the release remain fully backward-compatible with the active blue application version.Cevap
  2. B
    Apply non-backward-compatible database schema updates during the green deployment and perform a point-in-time database restore if a rollback is triggered.
  3. Pre-provision and validate full compute resource capacity for the green environment before shifting production traffic.Cevap
  4. D
    Deploy the green environment without checking regional quota limits, relying on autoscaling to automatically increase GCP project quotas during cutover.

Cevap

The essential practices are maintaining backward-compatible database schemas so the existing active environment remains stable, and pre-provisioning green environment capacity to handle production traffic immediately.
Executing a zero-downtime blue-green deployment requires that both application versions remain fully operational against shared backends. Ensuring backward-compatible database schema changes guarantees that the running blue version is unaffected during testing and cutover. Additionally, fully pre-provisioning green capacity ensures the new target infrastructure is ready to ingest production traffic immediately without unexpected capacity bottlenecks.

Adım Adım Çözüm

1
Analyze datastore compatibility requirements for parallel environments.
Database schemas must support both old (blue) and new (green) versions simultaneously.
Since both versions interact with shared persistent stores during cutover, breaking schema changes would instantly break the blue application.
2
Evaluate infrastructure provisioning and capacity constraints.
Green environment resources must be provisioned and verified prior to traffic shifting.
Sudden traffic redirection without verified capacity and regional quota coverage risks service outage.

Anahtar Kavram

Blue-green deployments require backward-compatible datastore schema management and full infrastructure pre-provisioning to achieve zero-downtime cutovers and instant rollbacks.
Bu soruyu puanla