Google Professional Cloud DevOps Engineer exam dumps

Google Professional Cloud DevOps Engineer practice question 73 of 268

Professional Cloud DevOps Engineer. Associate level, Google Cloud. Free question with the correct answer and a full explanation.

Google Professional Cloud DevOps Engineer Question 73

Single answerGoogle Cloud Platform

Your team is deploying a new version of a microservice to Google Kubernetes Engine (GKE). The microservice is critical to your e-commerce platform, and you want to minimize risk while gradually exposing the new version to users. You also want the ability to quickly roll back if issues are detected. Which deployment strategy should you choose?

  1. A

    Blue/Green Deployment

  2. B

    Canary Deployment

  3. C

    Rolling Deployment

  4. D

    Recreate Deployment

Show answer and explanation

Correct answer: B

Explanation

Canary Deployment is the best strategy in this scenario because it allows you to gradually introduce the new version of the microservice to a small subset of users, monitor its performance, and incrementally increase traffic if no issues are detected. Additionally, Canary Deployment supports quick rollback to the previous version if any problem arises, minimizing risk for your critical e-commerce platform.

  • A. Incorrect.

    Blue/Green Deployment creates two separate environments (blue for the current version and green for the new version). While it provides a quick rollback option, it does not gradually expose the new version to users, which is a requirement in this case.

  • B. Correct.

    Canary Deployment gradually exposes the new version to a small subset of users and incrementally increases traffic to the new version if no critical issues are detected. This aligns perfectly with the requirements of minimizing risk and enabling quick rollback.

  • C. Incorrect.

    Rolling Deployment replaces instances of the old version with instances of the new version in batches. While it allows for gradual updates, it does not allow for as granular control over user exposure compared to Canary Deployment, and rollback could be more complex.

  • D. Incorrect.

    Recreate Deployment stops all instances of the old version and then starts the new version. This approach does not minimize risk or provide a gradual exposure to users, making it unsuitable for critical services.

Timed practice exam

Take a Google Professional Cloud DevOps Engineer practice test under exam conditions

60 questions in 120 minutes, drawn from this bank, with a score report and a per-question review when you finish.

Start timed exam