Google Professional Cloud DevOps Engineer Question 93
Select 3Google Cloud PlatformYour team is responsible for deploying a new feature to a critical payment processing application hosted in Google Cloud. The business requires rapid feature delivery, but the application has stringent reliability requirements with a target of 99.99% availability. Which of the following strategies should you prioritize to balance velocity and reliability in this scenario?
- A
Implement a canary deployment strategy to gradually release the feature to a subset of users while monitoring for errors.
- B
Deploy the feature directly to production to minimize deployment time and collect real-time user feedback.
- C
Set up automated rollback mechanisms triggered by performance or error threshold breaches during deployment.
- D
Increase the frequency of deployments, regardless of testing, to ensure faster delivery of changes.
- E
Integrate extensive automated testing, including unit, integration, and load tests, into the CI/CD pipeline to catch issues early.
Show answer and explanation
Correct answers: A, C, E
Explanation
To balance change velocity and reliability for a critical application, strategies like canary deployments, automated rollbacks, and extensive automated testing are essential. These approaches allow your team to deliver changes quickly while safeguarding the application’s reliability and availability targets. Direct production deployments and frequent releases without testing prioritize speed but compromise reliability, making them unsuitable for this scenario.
- A. Correct.
Implementing a canary deployment allows you to monitor the new feature's performance in a controlled way, minimizing the risk of widespread impact if issues arise, which balances reliability with deployment velocity.
- B. Incorrect.
Deploying directly to production without precautions sacrifices reliability for speed, which is not suitable for an application with strict availability requirements.
- C. Correct.
Automated rollback mechanisms ensure that any issues during deployment can be quickly mitigated, helping to maintain high reliability without significantly impacting deployment velocity.
- D. Incorrect.
Increasing deployment frequency without sufficient testing increases the risk of introducing defects into production, which compromises reliability.
- E. Correct.
Extensive automated testing ensures that issues are caught early in the development cycle, reducing the likelihood of failures in production and enabling faster, safer deployments.