What happens to the data on an instance if the instance reboots (intentionally or unintentionally)?
A.
Data will be lost
B.
Data persists
C.
Data may persist however cannot be sure
What happens to the data on an instance if the instance reboots (intentionally or unintentionally)?
What happens to the data on an instance if the instance reboots (intentionally or unintentionally)?
A.
Data will be lost
B.
Data persists
C.
Data may persist however cannot be sure
B.
Instance Store Lifetime
You can specify instance store volumes for an instance only when you launch it. The data in an instance store persists only during the lifetime of its associated instance. If an instance reboots (intentionally or unintentionally), data in the instance store persists. However, data in the instance store is lost under the following circumstances:
The underlying disk drive fails
The instance stops
The instance terminates
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html
Reboot, it is same Hardware, no lost data.
See EC2 LifeCycle
Question incomplete as not mentioned that instance is EBS-backed OR instance-store
you can’t stop instance-store only terminate
B is the right answer.
B
http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/InstanceStorage.html
The data in an instance store persists only during the lifetime of its associated instance. If an instance reboots (intentionally or unintentionally), data in the instance store persists. However, data in the instance store is lost under the following circumstances:
The underlying disk drive fails
The instance stops
The instance terminates
A.
Data will be lost
B. If an instance reboots (intentionally or unintentionally), data in the instance store persists
Correct answer is B
B. Data persists
Explanation:
An instance reboot is equivalent to an operating system reboot. it remains on the same physical host, so your instance keeps its public DNS name (IPv4), private IPv4 address, IPv6 address (if applicable), and any data on its instance store volumes.
Ref URL: http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-instance-reboot.html