what happens to the data on any ephemeral store volumes?

When an EC2 EBS-backed (EBS root) instance is stopped, what happens to the data on any ephemeral store
volumes?

When an EC2 EBS-backed (EBS root) instance is stopped, what happens to the data on any ephemeral store
volumes?

A.
Data is automatically saved in an EBS volume.

B.
Data is unavailable until the instance is restarted.

C.
Data will be deleted and will no longer be accessible.

D.
Data is automatically saved as an EBS snapshot.



Leave a Reply 29

Your email address will not be published. Required fields are marked *


rickster81

rickster81

the answer to this question (and many others) is different than sample questions from another site (testlord.com)

neither site has explanations for most of the answers …… can you let us know how you came up with these answers?

JM

JM

C
Ephemeral storage or instance-store persists across reboots of an instance. However it does not persist during a stop/start, nor a termination, nor some instance hardware failures.

Sivakumar Arulmani

Sivakumar Arulmani

Correct Answer is C.

Explanation:
An “EBS-backed” instance is an EC2 instance which uses an EBS volume as it’s root device.
An EBS volume behaves like a raw, unformatted, external block device that you can attach to a single instance and are not physically attached to the Instance host computer (more like a network attached storage). The volume persists independently from the running life of an instance. After an EBS volume is attached to an instance, you can use it like any other physical hard drive. You can also detach an EBS volume from one instance and attach it to another instance. EBS volumes can also be created as encrypted volumes using the Amazon EBS encryption feature.

mr_tienvu

mr_tienvu

I choose D

austin

austin

EBS snapshot can only be automatic created by system hourly or manually created. It won’t created during system stop.

Mayur

Mayur

C is right answer

vladam

vladam

D is not correct since EBS snapshots are always done manually and not automatically. Also the question does not ask about EBS volume but about ephemeral store
volumes.

Correct answer is C.

sridhar

sridhar

Everyone is answering C. But the question is all about stopping the instance and not terminating the instance. As long as the instance is not terminated, Data will be persisted. So it shouldn’t be C

percy

percy

B is a Correct answer.

Joe

Joe

answer C contradicts with

What is one key difference between an Amazon EBS-backed and an instance-store backed instance?
A.Amazon EBS-backed instances can be stopped and restarted.
B.Instance-store backed instances can be stopped and restarted.
C.Auto scaling requires using Amazon EBS-backed instances.
D.Virtual Private Cloud requires EBS backed instances.

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/RootDeviceStorage.html

An Amazon EBS-backed instance can be stopped and later restarted without affecting data stored in the attached volumes. There are various instance– and volume-related tasks you can do when an Amazon EBS-backed instance is in a stopped state. For example, you can modify the properties of the instance, you can change the size of your instance or update the kernel it is using, or you can attach your root volume to a different running instance for debugging or any other purpose.

If an Amazon EBS-backed instance fails, you can restore your session by following one of these methods:

Stop and then start again (try this method first).
Automatically snapshot all relevant volumes and create a new AMI.

HotTea

HotTea

B! EC2 instance is stopped and NOT deleted so data cannot be lost.

HotTea

HotTea

C is correct b/c …
Data on Instance store volume is LOST in following scenarios :
Failure of an underlying drive
Stopping an EBS-backed instance where instance store are additional volumes
Termination of the Instance

Khaled

Khaled

A: is the correct answer

You can launch an instance from either an instance store-backed AMI or an Amazon EBS-backed AMI. The description of an AMI includes which type of AMI it is; you’ll see the root device referred to in some places as either ebs (for Amazon EBS-backed) or instance store (for instance store-backed). This is important because there are significant differences between what you can do with each type of AMI. For more information about these differences, see

http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/RootDeviceStorage.html

Amazon EBS-backed Instances

Instances that use Amazon EBS for the root device automatically have an Amazon EBS volume attached. When you launch an Amazon EBS-backed instance, we create an Amazon EBS volume for each Amazon EBS snapshot referenced by the AMI you use. You can optionally use other Amazon EBS volumes or instance store volumes, depending on the instance type.

Lee

Lee

I agree with Khaled.
Why everyone say C.
Question said that instance is STOPPED not a terminated.

Lee

Lee

Oh….I missed question either.
“what happens to the data on any ephemeral store volumes?” is question.
“any ephemeral store” will be delete…

So, answer is C.

nebz

nebz

A/ your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage.
Stopping an instance is different to rebooting or terminating it. For example, when you stop an instance, the root device and any other devices attached to the instance persist.
source : http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_StopInstances.html

perkin

perkin

. However, data in the instance store is lost under the following circumstances:

The underlying disk drive fails

The instance stops

The instance terminates

Jithin

Jithin

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

Bob

Bob

C, read question carefully!

Non-relevant part of question: “When en EC2 EBS-backed (EBS root) …”

Relevant, as Lee pointed out: “data on any ephemeral store volumes”

Question is about “ephemeral store volumes”, not about “EBS-backed (EBS root)”.

http://docs.aws.amazon.com/ElasticMapReduce/latest/DeveloperGuide/emr-storage-instancestore.html
“An instance store provides the default ephemeral block-level storage for your instance.”
“Instance store devices persist for the lifetime of either your cluster or your instance”

Data on ephemeral store volumes is lost after stop

Romeo

Romeo

I just tried this in the console with an EBS backed instance and I got this warning.

Note that when your instances are stopped:
Any data on the ephemeral storage of your instances will be lost.

It’s C!

Rickety

Rickety

Nice! Thanks.

cheryll

cheryll

I just stopped an EBS backed instance
and got the following message

Note that when your instances are stopped
any data on the Ephemeral storage will be lost

So I would say the answer is C