D2: VPC Firewall Rules & Cloud NGFW Policies
Google Cloud Associate Cloud Engineer exam practice questions · 12 flashcards
Question
Are VPC firewall rules stateful?
1 / 12
Tip: Space flips the card, ← / → navigate.
Show all 12 VPC Firewall Rules & Cloud NGFW Policies practice questions and answers
- Are VPC firewall rules stateful?Yes; return traffic is automatically allowed.
- Firewall rule components?Direction, priority, action (allow/deny), targets, source/destination, protocols and ports.
- How does priority work?0–65535; lower number = higher priority.
- Implied rules in every VPC?Deny all ingress and allow all egress, at lowest priority (65535).
- Target options for VPC firewall rules?All instances, network tags or service accounts.
- How do you allow SSH from a range?gcloud compute firewall-rules create allow-ssh --network=NET --allow=tcp:22 --source-ranges=CIDR.
- What are Cloud NGFW firewall policies?Policy containers of rules: hierarchical (org/folder), global network and regional network policies.
- What does goto_next do in hierarchical policies?Passes evaluation to lower levels instead of deciding.
- Evaluation order?Hierarchical policies (org → folder) then VPC rules and network firewall policies.
- Cloud NGFW tiers?Essentials, Standard (FQDN, geolocation, threat intel) and Enterprise (intrusion prevention).
- Egress rule destination field?Destination IP ranges (and FQDNs/geolocations with NGFW Standard).
- Why use hierarchical policies?Enforce org-wide rules that projects can't override.