Hard1 markMultiple Choice
Domain 1.2: Secure WorkloadsDomain 1SecurityVPCSecurity Groups

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

A company is designing a multi-tier web application in a VPC. The web servers are in public subnets, and the database servers are in private subnets. The database servers must only accept traffic from the web servers. Which TWO actions should the solutions architect take to secure the database tier? (Select TWO.)

Answer options:

A.

Configure the database security group to allow inbound traffic from the public subnets' CIDR blocks.

B.

Configure the database security group to allow inbound traffic from the web servers' security group.

C.

Attach a Network Access Control List (NACL) to the private subnet that denies all inbound traffic from the internet.

D.

Place the database instances in a private subnet with no route to an Internet Gateway.

E.

Assign Elastic IP addresses to the database instances and restrict access via AWS WAF.

How to approach this question

Use Security Group referencing for tier-to-tier communication. Ensure databases are in private subnets.

Full Answer

B,D
To secure a multi-tier architecture, database instances should be placed in private subnets (no route to an IGW). To allow traffic only from the web tier, the database security group should have an inbound rule that references the web tier's security group ID, rather than IP addresses.

Common mistakes

Using CIDR blocks instead of Security Group IDs for internal VPC traffic.

Practice the full AWS SAA-C03 Practice Exam 1

65 questions · hints · full answers · grading

More questions from this exam