nerdexam
Google

ASSOCIATE-CLOUD-ENGINEER · Question #100

You need to produce a list of the enabled Google Cloud Platform APIs for a GCP project using the gcloud command line in the Cloud Shell. The project name is my-project. What should you do?

The correct answer is A. Run gcloud projects list to get the project ID, and then run gcloud services list -. https://cloud.google.com/sdk/gcloud/reference/services/list#--available Return the services available to the project to enable. This list will include any services that the project has already enabled. To list the services the current project has enabled for consumption, run: gcl

Submitted by klara.se· Mar 30, 2026Setting up a cloud solution environment

Question

You need to produce a list of the enabled Google Cloud Platform APIs for a GCP project using the gcloud command line in the Cloud Shell. The project name is my-project. What should you do?

Options

  • ARun gcloud projects list to get the project ID, and then run gcloud services list -
  • BRun gcloud init to set the current project to my-project, and then run gcloud services
  • CRun to view the account value, and then run gcloud
  • DRun to verify the project value, and then run

How the community answered

(39 responses)
  • A
    92% (36)
  • C
    5% (2)
  • D
    3% (1)

Explanation

https://cloud.google.com/sdk/gcloud/reference/services/list#--available Return the services available to the project to enable. This list will include any services that the project has already enabled. To list the services the current project has enabled for consumption, run: gcloud services list --enabled To list the services the current project can enable for consumption, run: gcloud services list --available

Topics

#gcloud CLI#services list#enabled APIs#project configuration

Community Discussion

No community discussion yet for this question.

Full ASSOCIATE-CLOUD-ENGINEER Practice