AWS Public Subnets Flashcards

1
Q

What is a common use case for AWS public subnets?

A) Hosting internal databases
B) Storing confidential customer data
C) Running web servers with public IP addresses
D) Deploying backend services

A

Answer: C) Running web servers with public IP addresses

Explanation: Public subnets are often used for resources that need direct access to the internet, such as web servers.

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

How does an instance in a public subnet obtain a public IP address in AWS?

A) Public IP addresses are assigned automatically to all instances.
B) Instances in public subnets do not have public IP addresses.
C) A public IP address must be manually configured by the user.
D) Public IP addresses are allocated from an Elastic IP address pool.

A

Answer: A) Public IP addresses are assigned automatically to all instances.

Explanation: Instances in a public subnet are automatically assigned public IP addresses, which allow them to communicate with the internet.

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