
Ultimate access to all questions.
Deep dive into the quiz with AI chat providers.
We prepare a focused prompt with your quiz and certificate details so each AI can offer a more tailored, in-depth explanation.
A company wants to run CPU-intensive workload across multiple Amazon EC2 instances. Which EC2 instance type should the company use to meet this requirement?
A
General purpose instances
B
Compute optimized instances
C
Memory optimized instances
D
Storage optimized instances
Explanation:
For CPU-intensive workloads, Compute Optimized instances are the most appropriate choice. Here's why:
Compute Optimized Instances (Correct Answer):
Designed for compute-bound applications
Feature high-performance processors
Ideal for batch processing, media transcoding, high-performance computing (HPC), scientific modeling, and gaming servers
Examples: C5, C6g, C6i instances
General Purpose Instances:
Provide a balance of compute, memory, and networking resources
Suitable for a wide variety of workloads
Not optimized specifically for CPU-intensive tasks
Examples: T3, M5, M6g instances
Memory Optimized Instances:
Designed for memory-intensive applications
Feature high memory-to-CPU ratios
Ideal for in-memory databases, real-time big data analytics, and high-performance caching
Examples: R5, X1, X2gd instances
Storage Optimized Instances:
Designed for workloads that require high, sequential read/write access to large datasets
Feature high disk throughput
Ideal for NoSQL databases, data warehousing, and log processing
Examples: I3, D2 instances
When selecting EC2 instance types, always match the instance family to the primary resource requirement of your workload:
CPU-intensive → Compute Optimized
Memory-intensive → Memory Optimized
Storage-intensive → Storage Optimized
Balanced workloads → General Purpose
This ensures optimal performance and cost-efficiency for your specific use case.