Bitzu

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

Single choice

Which rule action passes evaluation on to the next step in the evaluation order?

  1. allow
  2. deny
  3. goto_next
  4. 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.

Select all that apply

Which statements about secure tags are correct?

  1. Binding them to a VM is governed by IAM roles such as Tag User
  2. Organization-level tag keys can be used in hierarchical policies
  3. Tag key names can be renamed at any time
  4. They work only in regional system policies
  5. 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.

True or false

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.

Download on the App StoreGet it on Google Play

More Associate Cloud Engineer topics in this module