151k views
3 votes
A cloud engineer is running an amazon ec2 instance and wants to store data in an attached resource. their data is temporary and will not be kept long term. which resource should they use?

a. amazon
b. s3
c. bucket

2 Answers

2 votes

Final answer:

For temporary data storage, the cloud engineer should use Amazon S3.

Step-by-step explanation:

If the data is temporary and will not be kept long term, the cloud engineer should use Amazon S3 to store their data. Amazon S3 is a highly scalable and durable object storage service offered by AWS. It allows users to store and retrieve a large amount of data from anywhere on the web. As it is built for storing and retrieving any amount of data at any time, it provides a cost-effective solution for temporary data storage needs.

User SriDatta Yalla
by
7.6k points
5 votes

Final answer:

For temporary data on an Amazon EC2 instance, Amazon Elastic Block Store (EBS) should be used as it provides block-level storage volumes suitable for frequently changing data and can be automatically deleted when the instance is terminated.

Step-by-step explanation:

If a cloud engineer running an Amazon EC2 instance needs to store temporary data and won't be keeping the data long-term, they should use Amazon Elastic Block Store (EBS) as the attached storage resource. Unlike Amazon S3, which is designed for long-term storage and provides high durability for objects, Amazon EBS provides block-level storage volumes that can be attached to EC2 instances for temporary storage of data that changes frequently, such as system logs or temporary files during computation processes.

Additionally, when an EC2 instance is terminated, the temporary EBS volumes can be set to delete automatically, making EBS a more fitting choice for temporary storage needs.

User Tiffany
by
7.7k points