PROFESSIONAL-CLOUD-ARCHITECT · Question #359
You are deploying a new three-tier application to Compute Engine instances within a single Virtual Private Cloud (VPC). The architecture is segmented into three subnets: a web tier subnet, an applicat
The correct answer is C. Use a combination of network tags and service accounts. Apply a unique network tag and a. Using network tags and/or service accounts to scope firewall rules is the recommended way to enforce least-privilege traffic flows within a VPC. By assigning distinct tags and service accounts per tier, you can create precise ingress rules that only allow traffic from the upstrea
Question
Options
- AConfigure Cloud NAT for each subnet, and create Google Cloud Armor policies to filter traffic
- BCreate a single VPC firewall rule with a high priority that allows ingress traffic on all ports between
- CUse a combination of network tags and service accounts. Apply a unique network tag and a
- DSet up VPC Network Peering between the web tier and application tier subnets, and another
How the community answered
(18 responses)- A11% (2)
- B11% (2)
- C72% (13)
- D6% (1)
Explanation
Using network tags and/or service accounts to scope firewall rules is the recommended way to enforce least-privilege traffic flows within a VPC. By assigning distinct tags and service accounts per tier, you can create precise ingress rules that only allow traffic from the upstream tier and block all other sources, ensuring the web tier only accepts load balancer traffic, the app tier only accepts web-tier traffic, and the database tier only accepts app-tier traffic.
Topics
Community Discussion
No community discussion yet for this question.