Google Professional Cloud DevOps Engineer Question 226
Single answerGoogle Cloud PlatformYour team is responsible for a critical application running on Google Cloud. Recently, you’ve been tasked to implement a new feature requested by stakeholders, but the application already has an SLA requiring at least 99.95% availability. Which approach best balances the velocity of implementing the feature and the reliability of the service?
- A
Deploy the feature immediately to production using a rolling update without testing to meet stakeholder deadlines.
- B
Use a canary deployment strategy to release the feature to a small subset of users and monitor for any errors before a full rollout.
- C
Deploy the feature directly to production during off-peak hours to reduce the risk of downtime.
- D
Delay the feature deployment until the next major scheduled release to minimize any impact on the service.
Show answer and explanation
Correct answer: B
Explanation
The canary deployment strategy is the best approach for balancing velocity and reliability. It allows the team to release new features incrementally, reducing the risk of widespread impact and enabling the team to monitor for any issues before completing the rollout. This method ensures the SLA is upheld while delivering new functionality efficiently.
- A. Incorrect.
Deploying immediately without testing is risky and can lead to unexpected application failures, violating the SLA.
- B. Correct.
Using a canary deployment strategy allows you to balance change velocity and reliability by gradually rolling out the feature to minimize risk and monitor for issues.
- C. Incorrect.
Deploying directly to production during off-peak hours does not adequately address potential risks, as it skips the critical step of monitoring with a subset of users first.
- D. Incorrect.
Delaying the deployment until the next major release sacrifices velocity unnecessarily and does not align with the goal of balancing change velocity with reliability.