A regional bank is migrating a legacy batch transaction processing monolith to Google Cloud. Over years of operation, the application has accumulated significant technical debt: deployments frequently fail due to breaking database schema modifications, infrastructure is modified manually in production causing configuration drift, and application services rely heavily on local disk state.
As the Cloud Architect leading this modernization initiative, which TWO architectural strategies should you implement to eliminate this technical debt and establish a reliable cloud deployment pipeline? (Select TWO.)
- Adopt the expand-contract (parallel change) pattern for all database schema modifications to maintain backward compatibility during application deployments.Cevap
- Define all GCP infrastructure using Infrastructure as Code (IaC) templates enforced via CI/CD pipelines while revoking manual resource modification access.Cevap
- CProvision a multi-zone Google Kubernetes Engine (GKE) cluster to host simple stateless web components to streamline environment orchestration overhead.
- DGrant primitive Editor IAM roles to the automated migration service accounts to streamline resource provisioning across all landing zone projects.
Cevap
The correct strategies are adopting the expand-contract pattern for database schema migrations and defining infrastructure as code enforced via automated CI/CD pipelines while preventing manual console modifications.
Addressing technical debt during legacy cloud migrations requires decoupling database schema changes from application deployments and eliminating infrastructure configuration drift. The expand-contract pattern introduces database changes in distinct phases (expand, transition, contract), guaranteeing backward compatibility for active application instances. Simultaneously, managing all GCP infrastructure declaratively via Infrastructure as Code (IaC) pipelines and revoking manual mutation rights prevents drift between repository state and runtime environments.
Adım Adım Çözüm
Anahtar Kavram
Legacy Migration Technical Debt Remediation via IaC and Database Expand-Contract Pattern