Google Cloud Professional Cloud Network Engineer — Question 172

Your frontend application VMs and your backend database VMs are all deployed in the same VPC but across different subnets. Global network firewall policy rules are configured to allow traffic from the frontend VMs to the backend VMs. Based on a recent compliance requirement, this traffic must now be inspected by network virtual appliances (NVAs) firewalls that are deployed in the same VPC. The NVAs are configured to be full network proxies and will source NAT-allowed traffic. You need to configure VPC routing to allow the NVAs to inspect the traffic between subnets. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because it properly sets up a policy-based route (PBR) with the frontend VM subnet as the source and backend VM subnet as the destination, ensuring that traffic flows through the NVAs for inspection. Options A, B, and C incorrectly specify the source or destination ranges or the tagging, which would not allow the NVAs to inspect the traffic effectively.