AWS Certified Solutions Architect – Professional — Question 202

A user wants to create a public subnet in VPC and launch an EC2 instance within it. The user has not selected the option to assign a public IP address while launching the instance.
Which of the below mentioned statements is true with respect to this scenario?

Answer options

Correct answer: C

Explanation

The correct answer is C because an elastic IP can be directly attached to an EC2 instance that does not have a public IP assigned. Option A is incorrect as a public DNS does not automatically get assigned without a public IP. Option B is misleading; while a route to the IGW is necessary, the elastic IP can be assigned directly without the need for that route. Option D is false because the instance can launch without a public IP.