CLF-C02 Question 228
Single answerA company is running a web application on Amazon EC2 instances. They need a high-performance, temporary storage solution for data that does not need to persist after the instance is stopped. Which storage option should they choose?
- A
Amazon Elastic Block Store (Amazon EBS)
- B
Amazon S3
- C
Instance store
- D
Amazon EFS
Show answer and explanation
Correct answer: C
Explanation
Instance store is the best choice for temporary storage as it provides high-performance block storage directly attached to the EC2 instance. Since the data on instance store is lost when the instance is stopped or terminated, it is suitable for use cases where persistence is not required.
- A. Incorrect.
Amazon EBS is a persistent block storage solution designed to retain data even after the instance is stopped or terminated. It is not suitable for temporary storage needs.
- B. Incorrect.
Amazon S3 is an object storage service, not a block storage solution, and is not designed for temporary storage directly attached to an EC2 instance.
- C. Correct.
Instance store provides temporary block storage that is physically attached to the host machine. It is high-performance and ideal for temporary storage that does not need to persist after the instance is stopped.
- D. Incorrect.
Amazon EFS is a scalable file storage solution for use with EC2 instances but is not a block storage solution or suitable for temporary, high-performance storage.