A user has recently started using EC2. The user launched one EC2 instance in the default subnet
in EC2-VPC Which of the below mentioned options is not attached or available with the EC2
instance when it is launched?
A.
Public IP address
B.
Internet gateway
C.
Elastic IP
D.
Private IP address
Explanation:
A Virtual Private Cloud (VPC. is a virtual network dedicated to a user’s AWS account. A subnet is
a range of IP addresses in the VPC. The user can launch the AWS resources into a subnet. There
are two supported platforms into which a user can launch instances: EC2-Classic and EC2-VPC(default subnet.. A default VPC has all the benefits of EC2-VPC and the ease of use of EC2-
Classic. Each instance that the user launches into a default subnet has a private IP address and a
public IP address. These instances can communicate with the internet through an internet
gateway. An internet gateway enables the EC2 instances to connect to the internet through the
Amazon EC2 network edge.
EIP. we have to attach it manually.
C
C
Ans: A (When you create a subnet with the default settings, only the Private IP gets populated for EC2 instances. For Public IP, this is not possible because the Auto-assign Public IP will be ‘no’ by default. Also the Elastic IP and Internet gateway have to manually configured.)
C