Question 49 of 300
mediummultiple choiceObjective-mapped

ACE Practice Question: A developer accidentally creates a firewall rule…

This ACE practice question tests your understanding of a developer accidentally creates a firewall rule…. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A developer accidentally creates a firewall rule allowing all inbound traffic (0.0.0.0/0) on all ports to all instances in a production VPC. The rule has priority 1000. The team has an existing rule allowing only SSH (port 22) from the corporate IP range at priority 999. Which traffic is actually allowed?

Question 1mediummultiple choice
Full question →

A developer accidentally creates a firewall rule allowing all inbound traffic (0.0.0.0/0) on all ports to all instances in a production VPC. The rule has priority 1000. The team has an existing rule allowing only SSH (port 22) from the corporate IP range at priority 999. Which traffic is actually allowed?

Answer choices

Why each option matters

Good practice is not just finding the correct option. The wrong answers often show the exact trap the exam wants you to fall into.

A

Best answer

SSH from corporate IP plus all traffic from all IPs — both allow rules match for their respective traffic

GCP evaluates firewall rules independently. Priority 999 allows corporate SSH. Priority 1000 allows everything else. The allow-all rule represents a critical security vulnerability.

B

Distractor review

Only SSH from the corporate range is allowed — the more specific rule takes precedence for all traffic

Firewall rules are not mutually exclusive in GCP — all matching allow rules apply. The priority 999 SSH rule doesn't block the priority 1000 allow-all rule from matching other traffic.

C

Distractor review

No traffic is allowed — deny rules override allow rules in GCP

There are no deny rules in this scenario — both rules are allow rules. GCP's implied deny only applies when no allow rule matches.

D

Distractor review

All traffic from all IPs is allowed — the priority 1000 allow-all overrides the more specific priority 999 rule

Priority 999 (lower number) takes precedence over priority 1000 — but both allow rules match independently for their respective traffic.

Common exam trap

Common exam trap: ACLs stop at the first match

ACLs are processed top to bottom. The first matching entry wins, and an implicit deny usually exists at the end.

Technical deep dive

How to think about this question

ACL questions test precision: source, destination, protocol, port and direction. A generally correct ACL can still fail if it is applied on the wrong interface or in the wrong direction.

KKey Concepts to Remember

  • Standard ACLs match source addresses.
  • Extended ACLs can match source, destination, protocol and ports.
  • The first matching ACL entry is used.
  • There is usually an implicit deny at the end.

TExam Day Tips

  • Check inbound versus outbound direction.
  • Read the ACL from top to bottom.
  • Look for a broader permit or deny above the intended line.

Key takeaway

ACLs process entries top to bottom and stop at the first match. Entry order and interface direction matter as much as the permit or deny statement.

Related practice questions

Related ACE practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

More questions from this exam

Keep practising from the same exam bank, or move into a focused topic page if this question exposed a weak area.

Practice this exam

Start a free ACE practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this ACE question test?

Standard ACLs match source addresses.

What is the correct answer to this question?

The correct answer is: SSH from corporate IP plus all traffic from all IPs — both allow rules match for their respective traffic — GCP firewall rules are applied in priority order (lower number = higher priority). The SSH-only rule at priority 999 is evaluated before the allow-all rule at priority 1000. For SSH from the corporate range: the priority 999 rule allows it. For other traffic: the priority 1000 allow-all rule allows it. Both rules are allow rules — the more specific SSH rule fires first for corporate SSH, then the allow-all fires for everything else. The critical risk: the allow-all rule permits ALL other traffic from anywhere.

What should I do if I get this ACE question wrong?

Review ACL processing order, placement rules (standard near destination, extended near source), and inbound vs outbound direction. Study wildcard masks and implicit deny. Then practise related ACE ACL questions on filtering logic and placement.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Discussion

Loading comments…

Sign in to join the discussion.

This ACE practice question is part of Courseiva's free Google Cloud certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the ACE exam.