SAP-C02 Question 314
Single answerA company is running a machine learning workload that processes large datasets in memory and performs complex computations. The workload requires a high-performance CPU, large amounts of RAM, and the ability to handle variable demand. Which Amazon EC2 instance family would be the most suitable for this use case?
- A
R6g (Memory-optimized instances)
- B
M6i (General-purpose instances)
- C
C6g (Compute-optimized instances)
- D
P4d (Accelerated computing instances)
Show answer and explanation
Correct answer: D
Explanation
The machine learning workload described requires high-performance GPUs, substantial memory, and the ability to handle variable demand. P4d instances are specifically designed for such use cases, offering NVIDIA GPUs, large amounts of RAM, and enhanced networking, making them the best fit for this scenario.
- A. Incorrect.
R6g instances are memory-optimized and are ideal for memory-intensive applications such as in-memory databases and analytics. However, they do not provide the GPU performance required for machine learning workloads.
- B. Incorrect.
M6i instances are general-purpose and provide a balance of compute, memory, and networking. While versatile, they are not specialized for the high-performance needs of machine learning workloads.
- C. Incorrect.
C6g instances are compute-optimized and designed for workloads requiring high compute performance. However, they lack the GPU acceleration needed for complex machine learning computations.
- D. Correct.
P4d instances are part of the accelerated computing family, designed specifically for machine learning, AI, and high-performance computing. They provide powerful GPUs, high memory, and networking capabilities, making them ideal for this workload.