- A
Security Groups
Why wrong: Security Groups are stateful and operate at the instance level (elastic network interface), not at the subnet level. They cannot be used to control traffic for an entire subnet with a single rule set.
- B
Network ACLs
Network ACLs are a stateless firewall operating at the subnet level, supporting both inbound and outbound rules. They evaluate traffic based on rule order and allow or deny traffic without maintaining connection state, matching the requirement.
- C
AWS WAF
Why wrong: AWS WAF is a web application firewall that works at Layer 7 to protect against common web exploits. It does not provide subnet-level network firewall capabilities and is not designed for general network traffic control.
- D
AWS Shield
Why wrong: AWS Shield is a managed DDoS protection service that safeguards applications against distributed denial-of-service attacks. It does not function as a subnet-level firewall with inbound/outbound rule evaluation.
Quick Answer
The answer is Network ACLs (NACLs). This is the correct choice because NACLs act as a stateless subnet firewall for AWS, meaning they evaluate each packet in isolation without tracking connection state, so you must explicitly define rules for both inbound and outbound traffic at the subnet boundary. On the AWS Certified Cloud Practitioner CLF-C02 exam, this question tests your ability to distinguish between security groups (stateful) and NACLs (stateless), a common trap where candidates confuse the two. A frequent exam scenario presents a requirement for subnet-level, stateless inspection, and the key differentiator is that NACLs use numbered rules processed in order, while security groups automatically allow return traffic. To remember: think “NACL = No Auto Connection Logic” — if you need to write rules for both directions, it’s a stateless NACL.
CLF-C02 Security and Compliance Practice Question
This CLF-C02 practice question tests your understanding of security and compliance. 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 company is deploying a three-tier web application on AWS. The security team requires a network-level firewall that operates at the subnet level and can evaluate both inbound and outbound traffic using stateless rules. Which AWS feature should the company use to meet this requirement?
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
Network ACLs
Network ACLs (NACLs) are a stateless, subnet-level firewall that evaluates both inbound and outbound traffic based on numbered rules. Unlike security groups, NACLs do not maintain connection state, so rules must be explicitly defined for both directions, meeting the requirement for stateless inspection at the subnet boundary.
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.
- ✗
Security Groups
Why it's wrong here
Security Groups are stateful and operate at the instance level (elastic network interface), not at the subnet level. They cannot be used to control traffic for an entire subnet with a single rule set.
- ✓
Network ACLs
Why this is correct
Network ACLs are a stateless firewall operating at the subnet level, supporting both inbound and outbound rules. They evaluate traffic based on rule order and allow or deny traffic without maintaining connection state, matching the requirement.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
AWS WAF
Why it's wrong here
AWS WAF is a web application firewall that works at Layer 7 to protect against common web exploits. It does not provide subnet-level network firewall capabilities and is not designed for general network traffic control.
- ✗
AWS Shield
Why it's wrong here
AWS Shield is a managed DDoS protection service that safeguards applications against distributed denial-of-service attacks. It does not function as a subnet-level firewall with inbound/outbound rule evaluation.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is confusing stateful security groups (which automatically track connection state) with stateless network ACLs, leading candidates to choose Security Groups when the question explicitly requires stateless, subnet-level filtering.
Detailed technical explanation
How to think about this question
NACLs support numbered rules from 1 to 32766, evaluated in ascending order, with an implicit deny-all rule at the end. Each rule can specify protocol (e.g., TCP, UDP, ICMP), port range, and CIDR block, and because NACLs are stateless, you must configure separate inbound and outbound rules for ephemeral ports (typically 1024-65535) to allow return traffic. In a real-world scenario, a misconfigured NACL can silently drop all traffic if the outbound ephemeral port range is not opened, causing connectivity issues that are hard to debug.
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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
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 and Compliance — study guide chapter
Learn the concepts, then practise the questions
- →
Security and Compliance practice questions
Targeted practice on this topic area only
- →
All CLF-C02 questions
1,024 questions across all exam domains
- →
AWS Certified Cloud Practitioner CLF-C02 study guide
Full concept coverage aligned to exam objectives
- →
CLF-C02 practice test guide
How to use practice tests most effectively before exam day
Related practice questions
Related CLF-C02 practice-question pages
Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.
Cloud Concepts practice questions
Practise CLF-C02 questions linked to Cloud Concepts.
Security and Compliance practice questions
Practise CLF-C02 questions linked to Security and Compliance.
Cloud Technology and Services practice questions
Practise CLF-C02 questions linked to Cloud Technology and Services.
Billing, Pricing, and Support practice questions
Practise CLF-C02 questions linked to Billing, Pricing, and Support.
AWS shared responsibility model practice questions
Practise CLF-C02 questions linked to AWS shared responsibility model.
AWS IAM practice questions
Practise CLF-C02 questions linked to AWS IAM.
AWS pricing practice questions
Practise CLF-C02 questions linked to AWS pricing.
AWS support plans practice questions
Practise CLF-C02 questions linked to AWS support plans.
AWS S3 practice questions
Practise CLF-C02 questions linked to AWS S3.
AWS EC2 practice questions
Practise CLF-C02 questions linked to AWS EC2.
Practice this exam
Start a free CLF-C02 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 CLF-C02 question test?
Security and Compliance — This question tests Security and Compliance — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Network ACLs — Network ACLs (NACLs) are a stateless, subnet-level firewall that evaluates both inbound and outbound traffic based on numbered rules. Unlike security groups, NACLs do not maintain connection state, so rules must be explicitly defined for both directions, meeting the requirement for stateless inspection at the subnet boundary.
What should I do if I get this CLF-C02 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 →
Same concept, more angles
1 more ways this is tested on CLF-C02
These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.
Variation 1. A security engineer needs to apply network traffic filtering rules at the subnet level rather than the instance level. The solution must be stateless and must explicitly define both inbound and outbound rules, including allowing return traffic. Which AWS feature provides subnet-level stateless traffic control?
medium- A.Security groups
- ✓ B.Network Access Control Lists (NACLs)
- C.AWS WAF
- D.VPC route tables
Why B: Network Access Control Lists (NACLs) are the correct choice because they operate at the subnet level, are stateless (meaning they do not automatically allow return traffic), and require explicit inbound and outbound rules. This matches the requirement for stateless traffic filtering where both directions must be defined separately, including rules for return traffic.
Last reviewed: Jun 11, 2026
This CLF-C02 practice question is part of Courseiva's free Amazon Web Services 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 CLF-C02 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.