- A
Default deny
Correct. The firewall denies everything by default.
- B
Defense in depth
Why wrong: Defense in depth is about multiple layers, not default deny.
- C
Fail-safe
Why wrong: Fail-safe ensures system remains secure on failure, not default deny.
- D
Least privilege
Why wrong: Least privilege applies to user permissions, not network traffic.
Quick Answer
The answer is default deny. This is correct because the scenario describes a firewall that blocks all inbound traffic by default and then explicitly permits only web traffic on ports 80 and 443, which is the essence of the default deny security principle—anything not explicitly allowed is automatically rejected. On the ISC2 Certified in Cybersecurity CC exam, this concept tests your understanding of access control postures, often contrasting default deny with default allow; a common trap is confusing it with least privilege, though default deny is a specific implementation of that broader principle. A reliable memory tip is to think of a bouncer at a club: a default deny bouncer turns everyone away unless their name is on the VIP list, while a default allow bouncer lets everyone in until they cause trouble.
ISC2 CC Security Principles Practice Question
This CC practice question tests your understanding of security principles. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. 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 security engineer is configuring a firewall to allow web traffic but block all other inbound connections. The firewall is set to deny all traffic by default and only allow specific ports. Which security principle is being applied?
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
Default deny
The correct answer is A, Default deny. The scenario describes a firewall configured to deny all traffic by default and then explicitly allow only specific ports (e.g., TCP 80/443 for web traffic). This directly implements the default deny security principle, where any traffic not explicitly permitted is blocked. This contrasts with a default allow posture, which would permit all traffic unless explicitly denied.
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.
- ✓
Default deny
Why this is correct
Correct. The firewall denies everything by default.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Defense in depth
Why it's wrong here
Defense in depth is about multiple layers, not default deny.
- ✗
Fail-safe
Why it's wrong here
Fail-safe ensures system remains secure on failure, not default deny.
- ✗
Least privilege
Why it's wrong here
Least privilege applies to user permissions, not network traffic.
Common exam traps
Common exam trap: answer the scenario, not the keyword
ISC2 often tests the distinction between 'default deny' (a firewall ACL posture) and 'least privilege' (a user/process access control model), causing candidates to confuse network-level traffic filtering with user-level permissions.
Detailed technical explanation
How to think about this question
In practice, a default deny firewall rule is implemented as an implicit deny at the end of the access control list (ACL). For example, on a Cisco ASA or IOS router, the ACL ends with an implicit 'deny ip any any', meaning any packet not matching a prior permit statement is dropped. This is critical for preventing unauthorized inbound connections, such as blocking SSH (TCP 22) or RDP (TCP 3389) unless explicitly allowed. Real-world scenarios often involve misconfigurations where an overly permissive rule (e.g., 'permit ip any any') is placed before the deny, effectively bypassing the default deny posture.
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 security analyst at a medium-sized enterprise encounters this scenario during an investigation or architecture review. The correct answer reflects best practice for the specific threat or control described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Security exam questions test whether you can match controls to threats in context — not just recall definitions.
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.
- →
Security Principles — study guide chapter
Learn the concepts, then practise the questions
- →
Security Principles practice questions
Targeted practice on this topic area only
- →
All CC questions
500 questions across all exam domains
- →
ISC2 Certified in Cybersecurity CC study guide
Full concept coverage aligned to exam objectives
- →
CC practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CC practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Access Controls Concepts practice questions
Practise CC questions linked to Access Controls Concepts.
Business Continuity, DR & Incident Response practice questions
Practise CC questions linked to Business Continuity, DR & Incident Response.
Security Principles practice questions
Practise CC questions linked to Security Principles.
Network Security practice questions
Practise CC questions linked to Network Security.
Security Operations practice questions
Practise CC questions linked to Security Operations.
CC fundamentals practice questions
Practise CC questions linked to CC fundamentals.
CC scenario practice questions
Practise CC questions linked to CC scenario.
CC troubleshooting practice questions
Practise CC questions linked to CC troubleshooting.
Practice this exam
Start a free CC 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 CC question test?
Security Principles — This question tests Security Principles — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Default deny — The correct answer is A, Default deny. The scenario describes a firewall configured to deny all traffic by default and then explicitly allow only specific ports (e.g., TCP 80/443 for web traffic). This directly implements the default deny security principle, where any traffic not explicitly permitted is blocked. This contrasts with a default allow posture, which would permit all traffic unless explicitly denied.
What should I do if I get this CC 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 CC practice questions
- A security analyst discovers that a user's account has been used to access sensitive data outside of normal business hou…
- An organization wants to ensure that data remains unaltered during transmission over the internet. Which security goal i…
- A security auditor discovers that a user has been granted read and write access to a sensitive file, but the user's job…
- A company's network uses 802.1X authentication with PEAP-MSCHAPv2 on wired ports. Users report that after a recent switc…
- During a security audit, a penetration tester captures network traffic and finds that some packets have the IP ID field…
- A security operations team is implementing a new SIEM solution. They want to ensure that logs from all critical systems…
Last reviewed: Jun 30, 2026
This CC practice question is part of Courseiva's free ISC2 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 CC 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.