- A
A
Why wrong: Allowing from inside to DMZ would permit internal users to access the web server, not external users.
- B
B
This rule permits external users to initiate connections to the web server in the DMZ on port 80.
- C
C
Why wrong: Allowing from DMZ to inside is not needed for external access and could pose a security risk.
- D
D
Why wrong: A deny rule from outside to inside would block all incoming traffic, defeating the purpose.
Quick Answer
The answer is to permit inbound HTTP/HTTPS traffic from the outside interface to the DMZ interface, typically destined for the web server’s IP on ports 80 and 443. This is correct because a three-legged firewall setup requires a specific rule that allows external users to reach the DMZ while explicitly blocking any direct traffic from the outside to the inside network, thereby isolating the internal LAN from untrusted access. On the CompTIA Network+ N10-009 exam, this scenario tests your understanding of firewall rule placement and the principle of least privilege—a common trap is confusing the source and destination interfaces, such as allowing traffic from the DMZ to the outside instead. Remember that the DMZ acts as a buffer zone: external traffic must be permitted to the DMZ only, never directly to the inside. A helpful memory tip is “Outside to DMZ, never inside,” reinforcing that the rule’s source is the outside interface and its destination is the DMZ interface.
N10-009 Network Security Practice Question
This N10-009 practice question tests your understanding of network security. Read the scenario carefully and evaluate each option against the stated constraints before committing to an answer. 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 company wants to allow external users to access a web server located in the DMZ. The firewall has three interfaces: inside, outside, and DMZ. Which firewall rule is necessary?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
B
Option B is correct because it allows traffic from the outside (external users) to the DMZ web server while keeping the inside network protected. In a three-legged firewall setup, the necessary rule permits inbound HTTP/HTTPS traffic from the outside interface to the DMZ interface, typically with a destination IP of the web server and port 80/443. This ensures external access is isolated from the internal network, adhering to the principle of least privilege.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
A
Why it's wrong here
Allowing from inside to DMZ would permit internal users to access the web server, not external users.
- ✓
B
Why this is correct
This rule permits external users to initiate connections to the web server in the DMZ on port 80.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
C
Why it's wrong here
Allowing from DMZ to inside is not needed for external access and could pose a security risk.
- ✗
D
Why it's wrong here
A deny rule from outside to inside would block all incoming traffic, defeating the purpose.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse the direction of traffic flow, mistakenly selecting a rule that allows inside-to-DMZ traffic (Option A) thinking it enables external access, when in fact external users initiate from the outside interface.
Detailed technical explanation
How to think about this question
In a three-interface firewall (inside, outside, DMZ), stateful inspection tracks connection states; the rule for outside-to-DMZ must be paired with a corresponding implicit or explicit rule allowing return traffic. Real-world scenarios often require additional rules for NAT (e.g., static NAT mapping the web server’s public IP to its private DMZ IP) and application-layer inspection (e.g., for HTTP/HTTPS) to prevent protocol anomalies. The DMZ acts as a buffer zone, so traffic from the DMZ to the inside is typically blocked by default to contain breaches.
KKey Concepts to Remember
- Read the scenario before looking for a memorised answer.
- Find the constraint that changes the correct option.
- Eliminate answers that are true in general but not in this case.
TExam Day Tips
- Watch for words such as best, first, most likely and least administrative effort.
- Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A small business has 20 workstations on the 192.168.1.0/24 network and one public IP from its ISP. The router uses PAT (NAT overload) so all 20 devices share one public address using different source ports. NAT questions test whether you understand the four address terms and which direction each translation applies.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
- →
Network Security — study guide chapter
Learn the concepts, then practise the questions
- →
Network Security practice questions
Targeted practice on this topic area only
- →
All N10-009 questions
520 questions across all exam domains
- →
CompTIA Network+ N10-009 study guide
Full concept coverage aligned to exam objectives
- →
N10-009 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related N10-009 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Networking Concepts practice questions
Practise N10-009 questions linked to Networking Concepts.
Network Implementation practice questions
Practise N10-009 questions linked to Network Implementation.
Network Operations practice questions
Practise N10-009 questions linked to Network Operations.
Network Security practice questions
Practise N10-009 questions linked to Network Security.
Network Troubleshooting practice questions
Practise N10-009 questions linked to Network Troubleshooting.
Network+ network fundamentals practice questions
Practise N10-009 questions linked to Network+ network fundamentals.
Practice this exam
Start a free N10-009 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 N10-009 question test?
Network Security — This question tests Network Security — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: B — Option B is correct because it allows traffic from the outside (external users) to the DMZ web server while keeping the inside network protected. In a three-legged firewall setup, the necessary rule permits inbound HTTP/HTTPS traffic from the outside interface to the DMZ interface, typically with a destination IP of the web server and port 80/443. This ensures external access is isolated from the internal network, adhering to the principle of least privilege.
What should I do if I get this N10-009 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
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 →
Keep practising
More N10-009 practice questions
- Which layer of the OSI model is responsible for logical addressing and routing of packets between networks?
- Users in VLAN 10 cannot obtain IP addresses from a DHCP server located in VLAN 20. The router has an ip helper-address c…
- Which of the following is a characteristic of a Layer 2 network switch?
- Which of the following network devices operates primarily at Layer 2 of the OSI model and uses MAC addresses to forward…
- Which of the following is a characteristic of UDP when compared to TCP?
- Which of the following IPv6 addresses is a valid link-local address?
Last reviewed: Jun 11, 2026
This N10-009 practice question is part of Courseiva's free CompTIA 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 N10-009 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.