Course menuSAA-C03

Exams / SAA-C03 / Security groups and network ACLs / Question 2

SAA-C03 practice question: Security groups and network ACLs (2 of 3)

Design Secure Architectures A free question from our original SAA-C03 practice exam. Try it, then open the answer to see why each option is right or wrong.

A news website runs on Amazon EC2 instances in one public subnet, and the instances use several different security groups. Monitoring shows a flood of malicious requests from the address range 203.0.113.0/24 to every instance in the subnet. The subnet's network ACL has inbound rule 100, which allows HTTPS from 0.0.0.0/0. The team wants one change that blocks the range for the whole subnet while legitimate readers keep access. What should a solutions architect do?

Choose one answer.

  1. A. Add inbound rule 50 to the subnet's network ACL that denies all traffic from 203.0.113.0/24.
  2. B. Add inbound rule 200 to the subnet's network ACL that denies all traffic from 203.0.113.0/24.
  3. C. Add an inbound rule that denies traffic from 203.0.113.0/24 to each of the security groups used by the instances.
  4. D. Remove the 0.0.0.0/0 HTTPS rules from the security groups, and allow only the address ranges of known readers.
Show the answer and explanation

Answer: A

Explanation

Network ACLs are stateless, subnet-level filters that support both allow and deny rules, evaluated in order from the lowest rule number. A deny for 203.0.113.0/24 numbered below the existing allow rule blocks the range for every instance in the subnet with one change. Security groups are allow-only and apply per instance.

Study

Keep practising

Answer questions with a score at the end, or practise just this topic with the explanation after each one. No sign-up needed.