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 3Question 29
    Medium1 markMultiple Choice
    Domain 3.5: Deploying and implementing networking resourcesDomain 3.5VPCNetworkinggcloud

    GCP ACE · Question 29 · Domain 3.5: Deploying and implementing networking resources

    You have created a custom-mode Virtual Private Cloud (VPC) network named 'my-vpc'. You now need to create a subnet named 'frontend-subnet' in the europe-west1 region with the IP range 10.0.1.0/24.

    Which gcloud command should you use?

    Answer options:

    A.

    gcloud compute subnets create frontend-subnet --vpc=my-vpc --region=europe-west1 --cidr=10.0.1.0/24

    B.

    gcloud compute networks subnets create frontend-subnet --network=my-vpc --region=europe-west1 --range=10.0.1.0/24

    C.

    gcloud vpc subnets create frontend-subnet --network=my-vpc --region=europe-west1 --range=10.0.1.0/24

    D.

    gcloud compute networks create frontend-subnet --type=subnet --network=my-vpc --region=europe-west1

    How to approach this question

    Recall the gcloud command structure for networking: gcloud compute networks subnets create.

    Full Answer

    B.gcloud compute networks subnets create frontend-subnet --network=my-vpc --region=europe-west1 --range=10.0.1.0/24✓ Correct
    gcloud compute networks subnets create frontend-subnet --network=my-vpc --region=europe-west1 --range=10.0.1.0/24
    The correct command to create a subnet is `gcloud compute networks subnets create [SUBNET_NAME]`. You must specify the parent network (`--network`), the region (`--region`), and the IP address range (`--range`).

    Common mistakes

    Using incorrect flags like `--cidr` or `--vpc`, or looking for a `gcloud vpc` command group.
    Question 28All questionsQuestion 30

    Practice the full GCP Associate Cloud Engineer Practice Exam 3

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You are starting a new project in Google Cloud and need to create a new GCP project and enable th...EasyQ02A new team member has joined your operations team. They need to be able to view all Compute Engin...MediumQ03Your company is migrating to Google Cloud. You currently manage all employee identities in an on-...MediumQ04Your development team is experimenting with new GCP services in a sandbox project. The finance te...MediumQ05Your company wants to perform complex, custom SQL analysis on their Google Cloud billing data to ...Easy
    View all 50 questions →