GCP ACE · Question 03 · Domain 1.1: Setting up cloud projects and accounts
You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function using the gcloud CLI, but you receive an error stating that the API is not enabled.
Which gcloud command should you use to enable the Cloud Functions API?
Answer options:
gcloud api enable cloudfunctions
gcloud services enable cloudfunctions.googleapis.com
gcloud projects enable-api cloudfunctions
gcloud components install cloudfunctions
50 questions · hints · full answers · grading