
Answer-first summary for fast verification
Answer: Run `gcloud config list` in the Cloud Shell to review the Google Cloud configuration used during deployment.
**A** is incorrect because the `app.yaml` file does not include project-related information; it only contains configuration settings for the App Engine application. **B** is incorrect as the `web-application.xml` file, typically used for Java Servlet configurations, does not hold GCP project details. **C** is not applicable because App Engine deployments do not utilize Deployment Manager, which is for infrastructure deployment management. **D** is correct because the `gcloud config list` command displays the active configuration, including the project ID currently targeted by gcloud. This helps identify if the application was deployed to the intended project or elsewhere. For more details, refer to [Google Cloud's documentation on App Engine deployments](https://cloud.google.com/appengine/docs/flexible/nodejs/testing-and-deploying-your-app) and [gcloud app deploy reference](https://cloud.google.com/sdk/gcloud/reference/app/deploy).
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
As a freelancer managing multiple GCP projects, you deployed an App Engine application using gcloud app deploy, but it's not appearing in the intended project. You suspect it might have been deployed to a different project. How can you investigate this issue and locate where the application was deployed?
A
Examine the app.yaml file for any project settings.
B
Inspect the web-application.xml file for project configurations.
C
Use Deployment Manager to review the deployment settings of applications.
D
Run gcloud config list in the Cloud Shell to review the Google Cloud configuration used during deployment.
No comments yet.