
Answer-first summary for fast verification
Answer: 1. Set env: flex in app.yaml 2. gcloud app deploy --no-promote --version=[NEW_VERSION] 3. Validate [NEW_VERSION] in App Engine Flex 4. gcloud app versions migrate [NEW_VERSION]
The correct sequence involves setting `env: flex` in app.yaml, deploying the new version with `--no-promote` to avoid immediate traffic redirection, validating the new version in App Engine Flex, and finally migrating the version to serve live traffic. This approach ensures minimal effort and maintains service availability by allowing validation before traffic migration. Incorrect options either promote the new version prematurely or use invalid environment settings.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
You are planning to migrate your application from Google App Engine Standard to Google App Engine Flex. The application is currently handling live traffic, and you aim to verify its functionality in the Flex environment before fully transitioning. Your goal is to minimize effort while ensuring service availability. What steps should you take?
A
B
C
D
No comments yet.