
Answer-first summary for fast verification
Answer: Execute `gcloud app versions migrate v3 --service="pt-createOrder"`
The correct action is to execute `gcloud app versions migrate v3 --service="pt-createOrder"`. This command specifically targets the 'pt-createOrder' service for migration to version 'v3', ensuring that only this service is affected and not all services. This approach minimizes effort and maintains service availability by not requiring a stop and start sequence, which could introduce downtime. Other options either affect all services unnecessarily or risk availability by stopping the current version before starting the new one.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You have deployed several services to Google App Engine Standard, designed as microservices with various interdependencies. While most services have undergone few version upgrades, some key services have seen over 20. An issue was identified with the service 'pt-createOrder', and a new version 'v3' was deployed to address this. You are confident in 'v3' and want it to handle all traffic for 'pt-createOrder', aiming to minimize effort and ensure service availability. What should you do?
A
Execute gcloud app versions stop v2 and gcloud app versions start v3
B
Execute gcloud app versions stop v2 --service="pt-createOrder" and gcloud app versions start v3 --service="pt-createOrder"
C
Execute gcloud app versions migrate v3
D
Execute gcloud app versions migrate v3 --service="pt-createOrder"
No comments yet.