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 with our comprehensive quiz. Engage with interactive flashcards and multiple choice questions that offer hints and detailed explanations to solidify your understanding. Get ready to excel!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


What is the command used to create a Cloud Function in Google Cloud?

  1. `gcloud compute networks subnets list`

  2. Enable binary logging

  3. Custom monitoring metric

  4. `gcloud functions deploy`

The correct answer is: `gcloud functions deploy`

The command used to create a Cloud Function in Google Cloud is `gcloud functions deploy`. This command is specifically designed for deploying serverless functions that run in response to events or HTTP requests without the need to manage the underlying infrastructure. By using this command, you can specify various parameters, such as the function name, runtime, entry point, and event trigger. The other options do not relate to creating a Cloud Function. For instance, listing network subnets is relevant to Google Compute Engine, and enabling binary logging pertains to Cloud SQL configurations. Custom monitoring metrics involve setting up monitoring features but do not directly relate to deploying functions. Thus, the context around `gcloud functions deploy` highlights its specific role in the creation and deployment of serverless functions on Google Cloud.