Question 548:
You have created a custom VPC and created a subnet. You have launched an EC2 in the subnet and selected Auto-Assign Public IP as "Enabled". You noticed after the launch of the EC2 Instance that EC2 instance has not been assigned to any public IP address. What changes need to be done to ensure the EC2 instance can get a public IP address. Chose 2 answers from the given options
Answer options:
A.Ensure an Internet Gateway is attached to the VPC B.Ensure the Auto-Assign IP4 attribute for the subnet is "Enabled" C.Ensure that EC2 instance is in Public Subnet. D.Ensure that when the wizard is used during launch time of the EC2 instance, the setting is marked as enabled for Public IP for the EC2 instance