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

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

    You are setting up a custom network topology. You need to create a new VPC network that does not automatically create subnets, and then you need to manually add a subnet to it in the us-west1 region.

    Which sequence of gcloud commands should you use?

    Answer options:

    A.

    gcloud compute networks create my-vpc --subnet-mode=custom, followed by gcloud compute networks subnets create my-subnet --network=my-vpc --region=us-west1 --range=10.0.0.0/24

    B.

    gcloud compute networks create my-vpc --subnet-mode=auto, followed by gcloud compute networks subnets create my-subnet --network=my-vpc --region=us-west1

    C.

    gcloud compute networks create my-vpc --subnet-mode=custom. No second command is needed as custom mode creates subnets automatically.

    D.

    gcloud compute networks subnets create my-subnet --network=default --region=us-west1

    How to approach this question

    Identify the flag that prevents automatic subnet creation (`--subnet-mode=custom`), then find the command to create the subnet.

    Full Answer

    A.`gcloud compute networks create my-vpc --subnet-mode=custom`, followed by `gcloud compute networks subnets create my-subnet --network=my-vpc --region=us-west1 --range=10.0.0.0/24`✓ Correct
    gcloud compute networks create my-vpc --subnet-mode=custom, followed by gcloud compute networks subnets create my-subnet --network=my-vpc --region=us-west1 --range=10.0.0.0/24
    To create a VPC without automatic subnets, you must specify `--subnet-mode=custom` during network creation. After the custom VPC is created, it has no IP ranges. You must then use the `gcloud compute networks subnets create` command to manually define subnets, specifying the network, region, and IP CIDR range.

    Common mistakes

    Confusing auto mode and custom mode behaviors.
    Question 28All questionsQuestion 30

    Practice the full GCP Associate Cloud Engineer Practice Exam 5

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01You are starting a new initiative and need to create a new Google Cloud project using the command...EasyQ02A developer on your team needs to manage App Engine applications, including deploying new version...MediumQ03You have created a new Google Cloud project. You need to allow a specific group of developers to ...MediumQ04Which statement best describes the relationship between Google Cloud projects and billing accounts?EasyQ05Your company wants to be notified immediately in their Slack channel whenever their monthly Googl...Medium
    View all 50 questions →