exam questions

Exam AWS Certified Data Engineer - Associate DEA-C01 All Questions

View all questions & answers for the AWS Certified Data Engineer - Associate DEA-C01 exam

Exam AWS Certified Data Engineer - Associate DEA-C01 topic 1 question 44 discussion

A company is developing an application that runs on Amazon EC2 instances. Currently, the data that the application generates is temporary. However, the company needs to persist the data, even if the EC2 instances are terminated.
A data engineer must launch new EC2 instances from an Amazon Machine Image (AMI) and configure the instances to preserve the data.
Which solution will meet this requirement?

  • A. Launch new EC2 instances by using an AMI that is backed by an EC2 instance store volume that contains the application data. Apply the default settings to the EC2 instances.
  • B. Launch new EC2 instances by using an AMI that is backed by a root Amazon Elastic Block Store (Amazon EBS) volume that contains the application data. Apply the default settings to the EC2 instances.
  • C. Launch new EC2 instances by using an AMI that is backed by an EC2 instance store volume. Attach an Amazon Elastic Block Store (Amazon EBS) volume to contain the application data. Apply the default settings to the EC2 instances.
  • D. Launch new EC2 instances by using an AMI that is backed by an Amazon Elastic Block Store (Amazon EBS) volume. Attach an additional EC2 instance store volume to contain the application data. Apply the default settings to the EC2 instances.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
khchan123
Highly Voted 1 year ago
Selected Answer: C
CCCCCCC - you need to attach an extra EBS volume When an instance terminates, the value of the DeleteOnTermination attribute for each attached EBS volume determines whether to preserve or delete the volume. By default, the DeleteOnTermination attribute is set to True for the root volume. ref: https://repost.aws/knowledge-center/deleteontermination-ebs
upvoted 13 times
...
hnk
Highly Voted 11 months, 1 week ago
Selected Answer: C
C is correct
upvoted 5 times
...
Chanduchanti
Most Recent 2 months ago
Selected Answer: C
When an instance terminates, the value of the DeleteOnTermination attribute for each attached EBS volume determines whether to preserve or delete the volume. By default, the DeleteOnTermination attribute is set to True for the root volume.
upvoted 2 times
...
saransh_001
2 months, 1 week ago
Selected Answer: C
Check in the option B and C the default settings are mentioned. By default an EC2 instance whenever terminates, its root volume also gets terminated. So launch new EC2 instances by using an AMI that is backed by an EC2 instance store volume. Attach an Amazon Elastic Block Store (Amazon EBS) volume to contain the application data. Apply the default settings to the EC2 instances.
upvoted 3 times
...
mohamedTR
6 months, 1 week ago
Selected Answer: C
B: by default, delete on termination is checked
upvoted 4 times
...
mohamedTR
6 months, 2 weeks ago
Selected Answer: B
By using an AMI backed by an Amazon EBS root volume, you ensure that the application data is preserved, even if the EC2 instances are terminated, because EBS volumes persist independently of the EC2 lifecycle.
upvoted 2 times
...
ElFaramawi
6 months, 3 weeks ago
Selected Answer: B
This is because Amazon EBS volumes are persistent, meaning the data is preserved even if the EC2 instance is terminated, which meets the requirement to persist the data. C is incorrect because it suggests launching instances using an EC2 instance store volume, which is ephemeral. Even though it proposes attaching an Amazon EBS volume for data, the root volume remains an instance store.
upvoted 2 times
...
portland
8 months, 3 weeks ago
Selected Answer: C
Using default setting means B won’t work.
upvoted 3 times
...
sdas1
9 months, 2 weeks ago
https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/preserving-volumes-on-termination.html Root volume By default, when you launch an instance the DeleteOnTermination attribute for the root volume of an instance is set to true. Therefore, the default is to delete the root volume of the instance when the instance terminates. Non-root volume By default, when you attach a non-root EBS volume to an instance, its DeleteOnTermination attribute is set to false. Therefore, the default is to preserve these volumes. Answer is C
upvoted 2 times
...
GustonMari
9 months, 3 weeks ago
Selected Answer: C
its C!!! B with default setting will delete the EBS volume on termination
upvoted 3 times
...
pypelyncar
10 months, 3 weeks ago
Selected Answer: B
Amazon EBS volumes provide persistent block storage for EC2 instances. Data written to an EBS volume is independent of the EC2 instance lifecycle. Even if the EC2 instance is terminated, ***the data on the EBS volume remains intact***. Launching new EC2 instances from an AMI backed by an EBS volume containing the application data ensures the data persists across instance restarts or terminations
upvoted 3 times
...
VerRi
11 months, 1 week ago
Selected Answer: B
launch EC2 using AMI with root EBS that contains data
upvoted 1 times
...
ampersandor
11 months, 2 weeks ago
B: the root EBS volume will be deleted on termination by default. C: the EBS is independent from EC2 Termination
upvoted 4 times
...
HunkyBunky
11 months, 3 weeks ago
Selected Answer: C
C - Looks better, because it will save data in all cases
upvoted 5 times
HunkyBunky
11 months, 3 weeks ago
And "Delete on Termination" flag by defaults sets to true, so better to use additional volume for application data
upvoted 4 times
...
...
Christina666
1 year ago
Selected Answer: C
ccccccc
upvoted 5 times
...
Luke97
1 year ago
Can someone explain why C is NOT right?
upvoted 2 times
...
GiorgioGss
1 year, 1 month ago
Selected Answer: B
This question is more for practitioner exam :)
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago