Medium1 markMultiple Choice
Domain 1.2: Secure WorkloadsSecurityVPCNAT Gateway

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

A solutions architect is designing a VPC for a multi-tier application. The database tier must be completely isolated from the internet, but the EC2 instances in the database tier need to download software patches from external repositories. Which TWO components are required to meet these needs? (Select TWO.)

Answer options:

A.

An Internet Gateway attached to the database subnet

B.

A NAT gateway in a public subnet

C.

A route in the database subnet's route table pointing to the NAT gateway

D.

An egress-only internet gateway in the database subnet

E.

A VPC endpoint for the external repository

How to approach this question

Understand how private subnets access the internet. They need a NAT Gateway in a public subnet and a route table entry.

Full Answer

A NAT gateway in a public subnet, A route in the database subnet's route table pointing to the NAT gateway
To give private instances internet access for patches without allowing inbound connections, you place a NAT Gateway in a public subnet and route the private subnet's internet traffic to it.

Common mistakes

Selecting an Internet Gateway, which would make the database subnet public.

Practice the full AWS SAA-C03 Practice Exam 7

65 questions · hints · full answers · grading

More questions from this exam