Google Cloud Associate Cloud Engineer — Question 297

You are deploying a large, multi-tiered application with more than 1,000 IP addresses in a Google Cloud project that needs to be securely isolated. The application includes the:

1. web tier with frontend servers for public traffic,
2. application tier with servers running core application logic that only need access from the web tier, and
3. database tier with database servers that only need access from the application tier.

You want to minimize cost, complexity, and administrative overhead in the network architecture. What should you do?

Answer options

Correct answer: B

Explanation

Option B is the most efficient choice as it consolidates all tiers within a single custom mode /16 VPC, allowing for simplified management while still maintaining necessary isolation through subnets and firewall rules. Options A and D introduce unnecessary complexities and costs by using Shared VPC and smaller /24 VPCs, while option C adds complexity by requiring VPC Network Peering and separate management of firewall rules.