Which of the following will occur when an EC2 instance in a VPC with an associated Elastic IP is stopped and
started?
(Choose 2 answers)
A.
The Elastic IP will be dissociated from the instance
B.
All data on instance-store devices will be lost
C.
All data on EBS (Elastic Block Store) devices will be lost
D.
The ENI (Elastic Network Interface) is detached
E.
The underlying host for the instance is changed
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Stop_Start.html
When you stop a running instance, the following happens:
The instance performs a normal shutdown and stops running; its status changes to stopping and then stopped.
Any Amazon EBS volumes remain attached to the instance, and their data persists.
Any data stored in the RAM of the host computer or the instance store volumes of the host computer is gone.
In most cases, the instance is migrated to a new underlying host computer when it’s started.
EC2-Classic: We disassociate any Elastic IP address that’s associated with the instance. You’re charged for Elastic IP addresses that aren’t associated with an instance. When you restart the instance, you must associate the Elastic IP address with the instance; we don’t do this automatically.
EC2-VPC: The instance retains its associated Elastic IP addresses. You’re charged for any Elastic IP addresses associated with a stopped instance.
EC2-Classic: We release the public and private IPv4 addresses for the instance when you stop the instance, and assign new ones when you restart it.
EC2-VPC: The instance retains its private IPv4 addresses and any IPv6 addresses when stopped and restarted. We release the public IPv4 address and assign a new one when you restart it.