nerdexam
Google

PROFESSIONAL-CLOUD-NETWORK-ENGINEER · Question #205

You are implementing firewall controls to protect your compute resources in a newly created VPC. To make the protection process easier to manage and control, you've defined the hierarchical firewall…

The correct answer is C. Review the order in which the VPC firewall rules and policies are evaluated. If the VPC firewall. In Google Cloud, firewall rules and policies are evaluated in a strict hierarchical order: (1) Hierarchical firewall policies (org/folder level), (2) Global network firewall policies, (3) Regional network firewall policies, (4) VPC firewall rules. Rules with lower priority…

Submitted by saadiq_pk· Apr 18, 2026Implementing network security

Question

You are implementing firewall controls to protect your compute resources in a newly created VPC. To make the protection process easier to manage and control, you've defined the hierarchical firewall policies, global network firewall policies, and VPC firewall rules. The configuration of rules defines the following characteristics: - The hierarchical firewall policy, bound at the organization level, is allowing/denying specific external traffic. - There is a global network firewall policy with rules that enforce intrusion prevention system (IPS) capabilities for specific external inbound/outbound traffic. - The VPC firewall rules allow internal communication from RFC 1918 defined subnets communications. - The VPC firewall contains an explicit deny rule with logs enabled. This configuration was successful in multiple preexisting VPCs. However, you noticed that the logs were missing when you were reviewing a newly created VPC. All external communications are hanging, but internal traffic is working as expected. You want to fix the connectivity issue. What should you do?

Options

  • ACreate a new VPC and migrate existing resources to the new VPC. Delete the old VPC, and
  • BRaise the priority numbers of the firewall policy rules and lower the priority numbers of the VPC
  • CReview the order in which the VPC firewall rules and policies are evaluated. If the VPC firewall
  • DLower the priority numbers of the firewall policy rules and raise the priority numbers of the VPC

How the community answered

(28 responses)
  • A
    4% (1)
  • B
    4% (1)
  • C
    82% (23)
  • D
    11% (3)

Explanation

In Google Cloud, firewall rules and policies are evaluated in a strict hierarchical order: (1) Hierarchical firewall policies (org/folder level), (2) Global network firewall policies, (3) Regional network firewall policies, (4) VPC firewall rules. Rules with lower priority numbers are evaluated first within each tier. The correct approach is to review this evaluation order and verify that the VPC firewall rules are not being shadowed or overridden by higher-priority policy rules - or vice versa. Option C correctly identifies this diagnostic approach. Options B and D suggest changing priority numbers, but doing so blindly without first understanding the current evaluation flow could break existing traffic or security controls. Option A (migrating to a new VPC) is unnecessary and destructive for a configuration/order issue.

Topics

#Google Cloud Firewall Policies#Network Policy Evaluation Order#VPC Firewall Rules#Network Troubleshooting

Community Discussion

No community discussion yet for this question.

Full PROFESSIONAL-CLOUD-NETWORK-ENGINEER Practice