Google Cloud Professional Cloud Architect — Question 193

You are deploying a critical application with a stateless, containerized frontend on Cloud Run and a Cloud SQL for PostgreSQL backend. The application experiences unpredictable traffic spikes, and the business requires the ability to immediately roll back a failed deployment to the last known good state. You need to apply a deployment strategy that aligns with Site Reliability Engineering (SRE) principles for both the application code and the database schema updates, while meeting the business's requirements. What should you do?

Answer options

Correct answer: C

Explanation

Option C is correct because it aligns with SRE principles by separating concerns, allowing for independent management of database schema migrations and application deployments, while also enabling a gradual traffic split to minimize impact during updates. Options A and D do not provide a rollback mechanism or fail-safe for the database schema, and B's use of the :latest tag can lead to unpredictable deployments and difficulties in rollback.