For IndividualsFor Educators
ExpertMinds LogoExpertMinds
ExpertMinds

Ace your certifications with Practice Exams and AI assistance.

  • Browse Exams
  • For Educators
  • Blog
  • Privacy Policy
  • Terms of Service
  • Cookie Policy
  • Support
  • AWS SAA Exam Prep
  • PMI PMP Exam Prep
  • CPA Exam Prep
  • GCP PCA Exam Prep

© 2026 TinyHive Labs. Company number 16262776.

    PracticeGCP Associate Cloud Engineer (ACE)GCP Associate Cloud Engineer Practice Exam 4Question 19
    Easy1 markMultiple Choice
    Domain 3.1: Deploying and implementing Compute Engine resourcesDomain 3.1Compute Enginegcloud

    GCP ACE · Question 19 · Domain 3.1: Deploying and implementing Compute Engine resources

    You need to create a new Compute Engine virtual machine named 'web-server-01' in the 'us-east1-b' zone using the e2-medium machine type.

    Which gcloud command should you use?

    Answer options:

    A.

    gcloud compute vms create web-server-01 --zone=us-east1-b --type=e2-medium

    B.

    gcloud compute instances create web-server-01 --zone=us-east1-b --machine-type=e2-medium

    C.

    gcloud instances create web-server-01 --location=us-east1-b --machine-type=e2-medium

    D.

    gcloud compute instances start web-server-01 --zone=us-east1-b

    How to approach this question

    Recall the standard gcloud syntax: gcloud [GROUP] [CONCEPT] [ACTION].

    Full Answer

    B.gcloud compute instances create web-server-01 --zone=us-east1-b --machine-type=e2-medium✓ Correct
    gcloud compute instances create web-server-01 --zone=us-east1-b --machine-type=e2-medium
    The correct command structure is `gcloud compute instances create [INSTANCE_NAME]`. You use the `--zone` flag to specify the zone and `--machine-type` to specify the size of the VM.

    Common mistakes

    Using `vms` instead of `instances`, or using `--location` instead of `--zone`.
    Question 18All questionsQuestion 20

    Practice the full GCP Associate Cloud Engineer Practice Exam 4

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You have recently joined a new team and need to set up a new Google Cloud project for a developme...EasyQ02Your company uses Google Workspace. You need to grant a new developer, Alice, the ability to view...MediumQ03You have created a new GCP project and want to deploy a Compute Engine instance. However, when yo...MediumQ04Your startup has a strict monthly cloud budget of $500. You want to be notified via email when yo...EasyQ05Your finance team wants to analyze Google Cloud costs using standard SQL and build custom dashboa...Medium
    View all 50 questions →