Google Cloud Professional Cloud Network Engineer — Question 125

Your company has defined a resource hierarchy that includes a parent folder with subfolders for each department. Each department defines their respective project and VPC in the assigned folder and has the appropriate permissions to create Google Cloud firewall rules. The VPCs should not allow traffic to flow between them. You need to block all traffic from any source, including other VPCs, and delegate only the intra-VPC firewall rules to the respective departments. What should you do?

Answer options

Correct answer: D

Explanation

The correct answer is D because it allows for the management of intra-VPC traffic through the high-priority rule while appropriately blocking any external traffic with the lower-priority rule. Options A and B incorrectly focus on blocking all traffic without providing the necessary intra-VPC exception, and option C fails to utilize the 'goto_next' action, which is essential for allowing specific traffic within the established hierarchy.