easyMultiple SelectObjective-mapped
CAS-004 Practice Question: A security architect is reviewing firewall rules…
A security architect is reviewing firewall rules for a new application tier. Which TWO of the following principles should be applied when designing the firewall policy? (Choose two.)
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
✓
Implement stateful packet inspection
Allowing only necessary ports and protocols (E) implements least privilege, and implementing stateful packet inspection (C) enables intelligent traffic filtering. Default allow (D) is insecure, static IPs (B) are not a design principle, and logging (A) is operational, not a design principle.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Log all denied traffic
Why it's wrong here
Logging is important for monitoring but is not a design principle for rule structure.
- ✗
Use static IP addresses for all servers
Why it's wrong here
Static IPs are a network configuration, not a firewall design principle.
- ✓
Implement stateful packet inspection
Why this is correct
Stateful inspection allows rules based on connection state, improving security.
- ✗
Default allow all traffic
Why it's wrong here
Default allow violates least privilege and is insecure.
- ✓
Allow only necessary ports and protocols
Why this is correct
This implements the principle of least privilege.
Visual reference
Go deeper
Related to this question
About these practice questions
One of 968 original CAS-005 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This CAS-005 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 CAS-005 exam.