Medium1 markMultiple Choice
Domain 1.2: Secure WorkloadsVPCSecurity GroupsNACL

AWS SAA-C03 · Question 03 · Domain 1.2: Secure Workloads

A company is designing a VPC for a multi-tier web application. They need to block specific malicious IP addresses from accessing the web servers, while allowing legitimate HTTPS traffic. Which TWO actions should the solutions architect take? (Select TWO.)

Answer options:

A.

Add a deny rule for the malicious IPs in the Security Group.

B.

Add a deny rule for the malicious IPs in the Network ACL.

C.

Add an allow rule for port 443 (HTTPS) in the Security Group.

D.

Configure AWS Shield Standard to block the specific IP addresses.

E.

Use an IAM policy to deny access from the malicious IPs.

How to approach this question

Understand the difference between Security Groups (allow only, stateful) and Network ACLs (allow/deny, stateless).

Full Answer

Add a deny rule for the malicious IPs in the Network ACL., Add an allow rule for port 443 (HTTPS) in the Security Group.
Network ACLs operate at the subnet level and support explicit deny rules to block specific IPs. Security Groups operate at the instance level and only support allow rules to permit legitimate traffic.

Common mistakes

Trying to use Security Groups to deny traffic.

Practice the full AWS SAA-C03 Practice Exam 5

65 questions · hints · full answers · grading

More questions from this exam