Associate Cloud Engineer ยท VPC design and firewalls
Cloud NGFW policies, order and secure tags
Hierarchical firewall policies (organization/folder/network/regional), rule evaluation order, goto_next, secure Tags vs network tags, service accounts as targets.
Key points
- Policies: hierarchical (organization or folders), global network or regional network.
- Default order: hierarchical (organization first, then folders down), regional system, VPC firewall rules, global network, regional network, implied action.
- allow and deny are final; goto_next moves on to the next level.
- Secure tags (Resource Manager tags): target VMs by identity, governed by IAM, unlike network tags.
Source: https://docs.cloud.google.com/firewall/docs/firewall-policies-rule-eval-order
Practice questions
Which rule action passes evaluation on to the next step in the evaluation order?
- allow
- deny
- goto_next
- log_only
Show answer
Answer: C. goto_next
goto_next ends evaluation in the current policy and continues to the next level. allow and deny are terminal.
Which statements about secure tags are correct?
- Binding them to a VM is governed by IAM roles such as Tag User
- Organization-level tag keys can be used in hierarchical policies
- Tag key names can be renamed at any time
- They work only in regional system policies
- They require no IAM permissions to bind
Show answer
Answer: A. Binding them to a VM is governed by IAM roles such as Tag User, B. Organization-level tag keys can be used in hierarchical policies
Binding secure tags is governed by IAM roles such as Tag User, and organization-level keys work in hierarchical policies. Tag key names cannot be changed after creation.
With default settings, VPC firewall rules are evaluated before hierarchical firewall policies.
Show answer
Answer: False
False. Hierarchical policies (and regional system policies) are always evaluated before any other firewall rules.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
