
Answer-first summary for fast verification
Answer: Execute `gcloud config list` to view the current project configuration
The correct answer is **C** because the `gcloud config list` command displays the current configuration of the gcloud tool, including the project ID it's set to use. This is crucial since the `gcloud app deploy` command deploys the application to the project configured in the gcloud tool by default. Options A, B, and D are incorrect as these files do not contain or influence the project ID setting for deployments. For deploying to a different project, you can use the `--project` flag with the `gcloud app deploy` command to specify the desired project ID.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
No comments yet.
After deploying an application to App Engine using gcloud app deploy, you realize the deployment might have occurred in the wrong project. What is the best method to identify the project where the application was deployed?
A
Inspect the app.yaml file for project details
B
Examine the web.xml file for project information
C
Execute gcloud config list to view the current project configuration
D
Look into the index.yaml file for project specifics