AWS Public Subnets Flashcards
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
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 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.
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.