
Answer-first summary for fast verification
Answer: Execute the command `gcloud config list` to view the current project configuration.
The correct answer is **C** because the `gcloud app deploy` command uses the project configured in the `gcloud` tool by default. The `gcloud config list` command displays this configuration, including the current project ID. This is crucial for verifying the deployment target. Options A, B, and D are incorrect as these files do not contain or influence the project ID used during deployment. For more details, refer to the GCP documentation on [App Engine Deploying Application](https://cloud.google.com/appengine/docs/standard/python3/deploying).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
After deploying an application to App Engine using gcloud app deploy, you realize the deployment might have gone to the wrong project. How can you determine which project the application was actually deployed to?
A
Inspect the app.yaml file for the project ID.
B
Look for the project ID in the web.xml file of the application.
C
Execute the command gcloud config list to view the current project configuration.
D
Examine the index.yaml file for the project details.
No comments yet.