
Answer-first summary for fast verification
Answer: Execute `gcloud app versions list --hide-no-traffic` to list only versions receiving traffic.
The correct command is `gcloud app versions list --hide-no-traffic`, as it specifically lists versions that are receiving traffic by excluding those that aren't. This meets the requirement precisely. Other options either include versions not receiving traffic or use non-existent flags (`--show-traffic`, `--traffic`), making them incorrect. Reference: [Google Cloud SDK Documentation](https://cloud.google.com/sdk/gcloud/reference/app/versions/list).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Your team's engineer has deployed multiple new versions of a NodeJS application on Google App Engine Standard, and you're worried these new versions might be serving traffic. You need to list all application versions currently receiving traffic, including the percentage of traffic each is handling. What action should you take?
A
Execute gcloud app versions list --hide-no-traffic to list only versions receiving traffic.
B
Use gcloud app versions list --show-traffic to display traffic information for all versions.
C
Run gcloud app versions list to see all deployed versions, regardless of traffic.
D
Apply gcloud app versions list --traffic to filter versions by traffic.
No comments yet.