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 Professional Cloud ArchitectGCP Professional Cloud Architect Practice Exam 4Question 39
    Medium1 markMultiple Choice
    Domain 2: Managing and Provisioning a Solution InfrastructureVPCNetworkingFirewall Rules

    GCP PCA · Question 39 · Domain 2: Managing and Provisioning a Solution Infrastructure

    You need to configure a VPC network for a multi-tier application. The web tier must be accessible from the internet, but the database tier must be completely isolated from inbound internet traffic. Both tiers need to communicate with each other. Which TWO configurations should you apply? (Select TWO)

    Answer options:

    A.

    Place the web tier and database tier in separate subnets within the same Custom Mode VPC.

    B.

    Create two separate VPCs and connect them using Cloud VPN.

    C.

    Create firewall rules allowing ingress from the internet to the web tier, and ingress from the web tier to the database tier.

    D.

    Assign external IP addresses to the database tier but block traffic using Cloud Armor.

    E.

    Use an Auto Mode VPC to automatically isolate the tiers.

    How to approach this question

    Use a single Custom VPC with multiple subnets, and use firewall rules to control the flow between them.

    Full Answer

    Place the web tier and database tier in separate subnets within the same Custom Mode VPC. Create firewall rules allowing ingress from the internet to the web tier, and ingress from the web tier to the database tier.
    Best practice for a multi-tier application is to use a single Custom Mode VPC (Option A) with separate subnets for each tier. By default, GCP VPCs block all inbound traffic. You must create specific firewall rules (Option C) to allow internet traffic to the web tier, and allow the web tier to talk to the database tier. The database VMs should not have external IPs.

    Common mistakes

    Choosing multiple VPCs (B). This adds unnecessary complexity. VPCs are global and subnets provide logical grouping.
    Question 38All questionsQuestion 40

    Practice the full GCP Professional Cloud Architect Practice Exam 4

    50 questions · hints · full answers · grading

    Sign up freeTake the exam

    More questions from this exam

    Q01CASE STUDY: TechStream Gaming Overview: 500 employees, $100M revenue. On-prem US/EU, 200 servers...MediumQ02CASE STUDY: TechStream Gaming Overview: 500 employees, $100M revenue. On-prem US/EU, 200 servers...MediumQ03CASE STUDY: TechStream Gaming Overview: 500 employees, $100M revenue. On-prem US/EU, 200 servers...HardQ04CASE STUDY: TechStream Gaming Overview: 500 employees, $100M revenue. On-prem US/EU, 200 servers...HardQ05CASE STUDY: TechStream Gaming Overview: 500 employees, $100M revenue. On-prem US/EU, 200 servers...Easy
    View all 50 questions →