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 2Question 28
    Medium1 markMultiple Choice
    Domain 3.5: Deploying and implementing networking resourcesVPCNetworkinggcloud

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

    You are setting up a custom-mode Virtual Private Cloud (VPC) network. You need to create a subnet in the 'us-west1' region with the CIDR block '10.0.1.0/24'.

    Which TWO gcloud commands must you run to achieve this? (Select TWO)

    Answer options:

    A.

    gcloud compute networks create my-vpc --subnet-mode=custom

    B.

    gcloud compute networks create my-vpc --subnet-mode=auto

    C.

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

    D.

    gcloud compute subnets create my-subnet --vpc=my-vpc --zone=us-west1-a --cidr=10.0.1.0/24

    E.

    gcloud compute networks add-subnet my-subnet --region=us-west1 --range=10.0.1.0/24

    How to approach this question

    Remember that creating a custom network is a two-step process: create the VPC, then create the subnet.

    Full Answer

    Creating a custom VPC requires two steps. First, create the network with `--subnet-mode=custom`. Second, create the subnet using `gcloud compute networks subnets create`, specifying the parent network, the region, and the IP range.

    Common mistakes

    Forgetting to specify `--subnet-mode=custom` when creating the network, which defaults to auto-mode.
    Question 27All questionsQuestion 29

    Practice the full GCP Associate Cloud Engineer Practice Exam 2

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01Your company is migrating to Google Cloud and needs to establish a resource hierarchy. You have t...EasyQ02You are managing access to a GCP project. You need to grant 15 developers the ability to view Com...MediumQ03You have created a new GCP project using the Cloud Console. You want to deploy a Cloud Function u...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...EasyQ05Your finance team wants to perform complex SQL analysis on your GCP billing data to understand co...Medium
    View all 50 questions →