Preparing Practice Exam…
Please wait a moment while the system generates the exam questions, answers, and study session.
Please wait a moment while the system generates the exam questions, answers, and study session.
Google Cloud Certified Professional Cloud Developer · Google Cloud
Select one answer.
Written by other learners. Comments can disagree with the marked answer — check the official documentation when in doubt.
The best answer here is A. Blue/green deployment . Here's why: Blue/Green Deployment: This strategy involves running two identical environments: a "blue" environment (the current production version) and a "green" environment (the new version). Traffic is initially routed to the blue environment. Once the green environment is fully deployed and tested, traffic is switched over to the green environment. This allows for a quick rollback to the blue environment if there are issues with the new version.
Let's look at why the other options are less suitable: B. Canary Deployment: This strategy gradually rolls out the new version to a small subset of users while the majority of traffic continues to use the old version. This is useful for testing and monitoring the new version before full rollout, but it doesn't immediately route all traffic to the new version. C. Rolling Deployment: This strategy gradually replaces instances of the old version with instances of the new version. While it allows for a gradual rollout, it doesn't guarantee that all traffic is immediately routed to the new version. D. Recreate Deployment: This strategy involves completely replacing the old deployment with the new one. This is a simple approach, but it doesn't provide a way to easily revert to the previous version if there are issues.
This can be achieved by using Blue/Green approach.