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?
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.
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.
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.
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.
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.
Question 1
What is the correct order of the Google Cloud resource hierarchy from highest to lowest level?
Question 2
A compliance archive stores legal documents accessed at most once per quarter. Which Cloud Storage class minimizes storage cost while meeting that access pattern?
Question 3
Which gcloud command creates a Compute Engine VM named 'web-01' using the e2-medium machine type in zone us-central1-a?
Question 4
A team wants to receive an email alert when the average CPU utilization of VMs in a managed instance group exceeds 80% for more than 5 minutes. What should they create in Cloud Monitoring?
Question 5
A junior developer needs read-only access to all GCP resources in a project. Which IAM role grants the minimum permissions required?
Question 6
A startup creates its first Google Cloud project. Before deploying any paid resources, what must be linked to the project?
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 →
Discussion
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.