SAP-C02 Question 312
Single answerA company is planning to run a memory-intensive application workload in AWS. The workload involves frequent in-memory data processing and caching. The company wants to optimize for performance while keeping costs reasonable. Which instance family would be the most appropriate choice for this use case?
- A
Compute Optimized (C5)
- B
Memory Optimized (R6g)
- C
Storage Optimized (I4i)
- D
General Purpose (M6i)
Show answer and explanation
Correct answer: B
Explanation
Memory Optimized instance families, such as the R6g family, are specifically designed for workloads requiring high memory performance and capacity. For applications that involve frequent in-memory data processing and caching, these instances provide the best performance-to-cost ratio compared to other instance families. Compute Optimized, Storage Optimized, and General Purpose instances are better suited for different types of workloads that do not prioritize memory usage as heavily.
- A. Incorrect.
Compute Optimized (C5) instances are designed for compute-intensive workloads such as batch processing, gaming servers, and high-performance web servers. They are not optimized for memory-intensive workloads.
- B. Correct.
Memory Optimized (R6g) instances are ideal for memory-intensive applications such as in-memory caching, real-time big data analytics, and high-performance databases. This makes them the best choice for the given use case.
- C. Incorrect.
Storage Optimized (I4i) instances are primarily designed for high-performance storage workloads such as NoSQL databases, distributed file systems, and data warehousing. They are not suitable for memory-intensive applications.
- D. Incorrect.
General Purpose (M6i) instances provide a balanced mix of compute, memory, and networking resources but are not specifically optimized for memory-intensive workloads. They are better suited for a wide range of general-purpose use cases.