Google Cloud Certified Associate Cloud Engineer Practice

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Google Cloud Certified Associate Cloud Engineer Exam. Engage with interactive quizzes and detailed explanations tailored to help you master key concepts. Ensure you're ready for a successful career in the cloud computing industry!

Practice this question and more.


Which command is used to enable an API in Google Cloud?

  1. gcloud services activate [ID]

  2. gcloud services enable [ID]

  3. gcloud services start [ID]

  4. gcloud services deploy [ID]

The correct answer is: gcloud services enable [ID]

The correct command to enable an API in Google Cloud is 'gcloud services enable [ID]'. This is because the 'activate', 'start', and 'deploy' commands are used for different purposes. For example, the 'activate' command is used to activate GCP services on the current project, the 'start' command is used to start a stopped service, and the 'deploy' command is used to deploy an application. Therefore, these commands are not relevant for enabling an API in Google Cloud. It is important to read and understand the documentation to ensure the correct command is used for a specific task.