AWS Certified Advanced Networking – Specialty (ANS-C00) — Question 251

You are under a DDoS attack and you have added a deny all TCP rule to your NACL, but traffic is still coming. What did you do wrong?

Answer options

Correct answer: C

Explanation

The correct answer is C because if the DDoS attack is targeting a protocol other than TCP, the deny rule for TCP will not stop that traffic. Option A is incorrect as the rule number does not affect the rule's ability to block traffic once it is evaluated. Option B is misleading since NACLs can provide some level of protection against DDoS, and option D is incorrect because NACLs are stateless and do not require an outbound rule to match inbound traffic.