Professional Cloud Developer · Free Practice Question Medium

Question 30

The application is currently in production, and issues only arise when users interact with it. The goal is to minimize the impact of these issues and reduce the number of affected users when a new version is deployed.


What is the recommended deployment strategy?

  • A Blue/green deployment
  • B Canary deployment
  • C Rolling deployment
  • D Recreate deployment
Reveal correct answer

Correct answer: B

Explanation

Canary deployment is the recommended strategy for minimizing the impact and the number of users affected by issues that arise after deploying a new version of an application. According to the Professional Google Cloud Developer documentation, this strategy involves deploying the new version to a small subset of users, monitoring its behavior, and gradually increasing the traffic to it if everything looks good. This approach allows developers to detect and fix issues early on, without affecting the majority of users. In contrast, blue/green deployment involves switching all traffic to the new version at once, which increases the risk of downtime and affects all users simultaneously. Therefore, the correct option for reducing the impact and the number of users affected is the canary deployment strategy.

Discussion

Think the marked answer is wrong, or have a better explanation? Share it below — comments appear after review.

You must be logged in to post a comment.

Preparing For

Your Certification?

255+ certifications
Detailed explanations
Free PDF samples

Has All The Questions You Need