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 6Question 29
    Medium1 markMultiple Choice
    Domain 3.5: Deploying and implementing networking resourcesgcloudNetworkingVPCCustom Mode

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

    You are setting up the network foundation for a new project. You need to create a custom-mode Virtual Private Cloud (VPC) network named 'prod-vpc' using the command line.

    Which gcloud command should you use?

    Answer options:

    A.

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

    B.

    gcloud compute vpc create prod-vpc --mode=custom

    C.

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

    D.

    gcloud network vpc create prod-vpc --custom

    How to approach this question

    Identify the correct gcloud component (compute), resource (networks), and the flag for custom mode (--subnet-mode=custom).

    Full Answer

    C.gcloud compute networks create prod-vpc --subnet-mode=custom✓ Correct
    VPC networks are considered part of the Compute Engine networking infrastructure, so they are managed using the `gcloud compute networks` command group. To create a custom-mode VPC (where you manually define the subnets and IP ranges), you use the command `gcloud compute networks create [NETWORK_NAME] --subnet-mode=custom`. If you omit the flag or use `--subnet-mode=auto`, GCP will automatically create a subnet in every region.

    Common mistakes

    Using `--subnet-mode=auto` or guessing that the resource name is `vpc` instead of `networks`.
    Question 28All questionsQuestion 30

    Practice the full GCP Associate Cloud Engineer Practice Exam 6

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01What is the primary purpose of a Google Cloud project?EasyQ02Your development team needs to manage Compute Engine instances in a specific project. They need t...MediumQ03You are automating the setup of a new Google Cloud project using a bash script. You need to enabl...EasyQ04Your startup has a strict monthly cloud budget of $500. You want to be notified immediately if yo...MediumQ05Your finance team wants to perform granular analysis of your Google Cloud spending using SQL. The...Hard
    View all 50 questions →