AWS Solutions Architect Associate Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Study for the AWS Solutions Architect Associate Test with our engaging quizzes. Utilize flashcards and multiple-choice questions, each with hints and explanations to enhance your understanding. Get exam-ready today!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


If you place an EC2 instance in a public subnet within a custom VPC, what is true?

  1. The instance will automatically be internet accessible without Elastic IP or ELB

  2. The instance will not have internet accessibility unless an Elastic IP is applied

  3. Instances in a public subnet are always secured by default

  4. The instance can only be accessed internally

The correct answer is: The instance will not have internet accessibility unless an Elastic IP is applied

In a scenario where an EC2 instance is placed in a public subnet within a custom VPC, it is crucial to understand the conditions required for the instance to be accessible from the internet. For an instance to have internet accessibility in a public subnet, it typically requires an Elastic IP address or a public IP that allows it to be reached from outside the VPC. When an EC2 instance is launched in a public subnet, although it has the potential to be internet accessible due to the associated route table directing traffic to an Internet Gateway, it does not automatically receive a public IP address unless explicitly configured to do so. Without a public IP or an Elastic IP, the instance will not be reachable from the internet, making it necessary to assign one for external accessibility. This understanding is key to managing access to resources in AWS, as it allows architects to implement finer control over security and public exposure while still leveraging the benefits of cloud infrastructure. Thus, the assertion that the instance will not have internet accessibility unless an Elastic IP or public IP is applied aligns with the practical realities of AWS networking.