AWS Private Subnets Flashcards

1
Q

What is a common use case for AWS private subnets?

A) Hosting public-facing websites
B) Running application servers
C) Storing backup data
D) Running DNS servers

A

Answer: B) Running application servers

Explanation: Private subnets are typically used for resources that should not have direct access to the internet, such as application servers.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How do instances in private subnets access the internet when needed in AWS?

A) They use the VPC’s main route table to route traffic.
B) Instances in private subnets cannot access the internet.
C) They use a Network Address Translation (NAT) gateway or NAT instance.
D) Instances in private subnets have direct internet access.

A

Answer: C) They use a Network Address Translation (NAT) gateway or NAT instance.

Explanation: Instances in private subnets can access the internet through a NAT gateway or NAT instance, which translates their private IP addresses to a public IP address for outbound traffic.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly