CLF-C02 Question 229
Single answerA company is running a high-performance database on an Amazon EC2 instance and requires low-latency, temporary storage for caching purposes. Which storage solution is the most suitable for this use case?
- A
Amazon Elastic Block Store (Amazon EBS) General Purpose SSD (gp3)
- B
Amazon Elastic Block Store (Amazon EBS) Provisioned IOPS SSD (io2)
- C
Instance Store
- D
Amazon S3
Show answer and explanation
Correct answer: C
Explanation
Instance store is the most suitable option for temporary, low-latency storage needs because it is directly attached to the physical host running the EC2 instance. This makes it ideal for ephemeral data such as caches or buffers, where high performance is required, and durability is not a concern. Persistent storage options like Amazon EBS are better suited for data that must be retained beyond the lifecycle of the instance.
- A. Incorrect.
Amazon EBS General Purpose SSD (gp3) is a durable, persistent storage solution designed for a variety of workloads, but it is not optimized for temporary, low-latency storage.
- B. Incorrect.
Amazon EBS Provisioned IOPS SSD (io2) is a high-performance, persistent storage option with high IOPS, but it is not suitable for temporary, ephemeral data storage.
- C. Correct.
Instance store provides temporary block storage that is physically attached to the host machine. It offers low latency and high performance, making it ideal for temporary, ephemeral uses like caching.
- D. Incorrect.
Amazon S3 is an object storage service designed for long-term durability and scalability, not for temporary, low-latency block storage.