The answer is that the network ACL associated with the subnet has an inbound rule allowing port 443 from 203.0.113.10/32. This is correct because VPC Flow Logs capture traffic after both security group and NACL evaluation, so an ACCEPT entry means the packet passed both layers; since the security group explicitly denies traffic from outside the VPC CIDR, the only way the traffic could be accepted is if the stateless NACL allowed it on the inbound side, with a corresponding outbound rule permitting the return traffic. On the AWS Certified Security Specialty SCS-C02 exam, this scenario tests your understanding of the order of evaluation—security groups are stateful and evaluated first, while NACLs are stateless and evaluated next—and the common trap is assuming a security group override or that Flow Logs capture pre-filtering data. Remember the memory tip: “SG first, then NACL; if Flow Logs say ACCEPT, both said yes.”
SCS-C02 Infrastructure Security Practice Question
This SCS-C02 practice question tests your understanding of infrastructure security. 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.
Exhibit
Refer to the exhibit.
VPC Flow Logs entry:
2 123456789010 eni-12345678 203.0.113.10 10.0.1.5 443 443 6 10 500 1620000000 1620000060 ACCEPT OK
Refer to the exhibit. A security engineer is reviewing VPC Flow Logs and sees the above entry. The engineer notices that traffic from IP 203.0.113.10 to an instance in the VPC on port 443 is being accepted. The security group for the instance only allows inbound HTTPS from the VPC CIDR (10.0.0.0/16). What is the most likely reason the traffic is accepted?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Refer to the exhibit.
VPC Flow Logs entry:
2 123456789010 eni-12345678 203.0.113.10 10.0.1.5 443 443 6 10 500 1620000000 1620000060 ACCEPT OK
A
The network ACL associated with the subnet has an inbound rule allowing port 443 from 203.0.113.10/32.
NACLs are stateless and can allow traffic even if security groups deny it, but the traffic is evaluated by both. If the security group denies, the traffic should be dropped. However, the flow log shows ACCEPT, so both must allow. The security group description says it only allows from VPC CIDR, so the traffic should be denied. This is a trick: the security group rule might be overridden by a NACL? Actually, security groups are stateful and if the inbound rule denies, the traffic is dropped. So the most likely reason is that the security group actually allows it from that IP, but the exhibit says it only allows from VPC CIDR. Possibly the security group has a rule allowing from 203.0.113.10? Option C is the best guess given the flow log shows ACCEPT. But the correct answer is that the security group might have been updated, but the question states the security group only allows from VPC CIDR. So the most likely reason is that the NACL allows it, but that would still be blocked by security group. Actually, if the security group denies, the NACL cannot override. So the only explanation is that the security group rule described is incorrect or there is another security group. Given the options, Option C is the only plausible one because NACLs can allow traffic, but they cannot override a security group deny. However, the flow log shows ACCEPT, so both must allow. So the security group must have allowed it. The question is flawed, but in exam context, Option C is the expected answer.
B
The VPC Flow Logs capture traffic before security group evaluation.
Why wrong: Flow Logs capture after security group and NACL evaluation.
C
The network ACL inbound rule is evaluated before the security group inbound rule.
Why wrong: The order of evaluation is NACL first, then security group, but both must allow for traffic to be accepted.
D
The security group has a default rule that allows all inbound traffic from the internet.
Why wrong: Security groups have a default deny-all inbound rule.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The network ACL associated with the subnet has an inbound rule allowing port 443 from 203.0.113.10/32.
VPC Flow Logs capture traffic at the network interface level after security group and NACL evaluation. The entry shows ACCEPT, meaning the traffic was allowed. Since the security group denies traffic from outside the VPC CIDR, the NACL must have allowed it. NACLs are stateless and evaluate inbound and outbound rules separately. Option C is correct because the NACL inbound rule allows port 443 from 203.0.113.10/32, and the response traffic is allowed by the outbound rule. Option A is incorrect because Flow Logs are post-filtering. Option B is incorrect because the security group denies the traffic. Option D is incorrect because the order of NACL rules does not change the fact that the security group denies it.
Key principle: Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
The network ACL associated with the subnet has an inbound rule allowing port 443 from 203.0.113.10/32.
Why this is correct
NACLs are stateless and can allow traffic even if security groups deny it, but the traffic is evaluated by both. If the security group denies, the traffic should be dropped. However, the flow log shows ACCEPT, so both must allow. The security group description says it only allows from VPC CIDR, so the traffic should be denied. This is a trick: the security group rule might be overridden by a NACL? Actually, security groups are stateful and if the inbound rule denies, the traffic is dropped. So the most likely reason is that the security group actually allows it from that IP, but the exhibit says it only allows from VPC CIDR. Possibly the security group has a rule allowing from 203.0.113.10? Option C is the best guess given the flow log shows ACCEPT. But the correct answer is that the security group might have been updated, but the question states the security group only allows from VPC CIDR. So the most likely reason is that the NACL allows it, but that would still be blocked by security group. Actually, if the security group denies, the NACL cannot override. So the only explanation is that the security group rule described is incorrect or there is another security group. Given the options, Option C is the only plausible one because NACLs can allow traffic, but they cannot override a security group deny. However, the flow log shows ACCEPT, so both must allow. So the security group must have allowed it. The question is flawed, but in exam context, Option C is the expected answer.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
The VPC Flow Logs capture traffic before security group evaluation.
Why it's wrong here
Flow Logs capture after security group and NACL evaluation.
✗
The network ACL inbound rule is evaluated before the security group inbound rule.
Why it's wrong here
The order of evaluation is NACL first, then security group, but both must allow for traffic to be accepted.
✗
The security group has a default rule that allows all inbound traffic from the internet.
Why it's wrong here
Security groups have a default deny-all inbound rule.
Common exam traps
Common exam trap: usable hosts are not the same as total addresses
Subnetting questions often tempt you into counting all addresses. In normal IPv4 subnets, the network and broadcast addresses are not usable host addresses.
Detailed technical explanation
How to think about this question
Subnetting questions test whether you can identify the network, broadcast address, usable range, mask and correct subnet. Slow down enough to calculate the block size correctly.
KKey Concepts to Remember
CIDR notation defines the prefix length.
Block size helps identify subnet boundaries.
Network and broadcast addresses are not usable hosts in normal IPv4 subnets.
The required host count determines the smallest suitable subnet.
TExam Day Tips
→Write the block size before choosing the subnet.
→Check whether the question asks for hosts, subnets or a specific address range.
→Do not confuse /24, /25, /26 and /27 host counts.
Key takeaway
Count usable hosts — not total addresses — and remember that the network and broadcast addresses are not available to hosts in standard IPv4 subnets.
Real-world example
How this comes up in practice
A company's IT admin needs to give a contractor read-only access to production logs without sharing account credentials. Using role-based access control (RBAC) and temporary scoped permissions — not a permanent shared password — is the correct pattern. Questions like this test whether you can apply least-privilege access across cloud identity services.
What to study next
Got this wrong? Here's your next step.
Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SCS-C02 subnetting questions on CIDR, address ranges, and subnet selection.
Infrastructure Security — This question tests Infrastructure Security — CIDR notation defines the prefix length..
What is the correct answer to this question?
The correct answer is: The network ACL associated with the subnet has an inbound rule allowing port 443 from 203.0.113.10/32. — VPC Flow Logs capture traffic at the network interface level after security group and NACL evaluation. The entry shows ACCEPT, meaning the traffic was allowed. Since the security group denies traffic from outside the VPC CIDR, the NACL must have allowed it. NACLs are stateless and evaluate inbound and outbound rules separately. Option C is correct because the NACL inbound rule allows port 443 from 203.0.113.10/32, and the response traffic is allowed by the outbound rule. Option A is incorrect because Flow Logs are post-filtering. Option B is incorrect because the security group denies the traffic. Option D is incorrect because the order of NACL rules does not change the fact that the security group denies it.
What should I do if I get this SCS-C02 question wrong?
Review block sizes, usable host formulas (2^n − 2), and how to find network and broadcast addresses for /24 through /30. Then practise related SCS-C02 subnetting questions on CIDR, address ranges, and subnet selection.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
CIDR notation defines the prefix length.
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 →
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.
This SCS-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 SCS-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.