CLF-C02 ยท Compute services
Amazon EC2 instance families
General purpose, compute optimized, memory optimized, accelerated computing and storage optimized instance families and matching them to workloads.
Key points
- An instance type sets the CPU, memory, storage and network capacity of an EC2 instance.
- Families: General purpose (M, T - balanced, T can burst), Compute optimized (C - CPU-heavy work), Memory optimized (R, X, U - large in-memory data sets), Storage optimized (I, D, H - fast local disk I/O), Accelerated computing (P, G, Inf, Trn - GPUs and other accelerators).
Source: https://docs.aws.amazon.com/ec2/latest/instancetypes/instance-types.html
Practice questions
Which EC2 instance family is designed for workloads that keep very large data sets in RAM, such as in-memory databases?
- Compute optimized
- Memory optimized
- Storage optimized
- Accelerated computing
Show answer
Answer: B. Memory optimized
Memory optimized instances offer a high ratio of memory to vCPU, which suits in-memory databases and caches. Compute optimized instances favour CPU power instead of memory.
Which statements about Amazon EC2 instance types are correct?
- The instance type determines the CPU, memory and storage capabilities of the host
- T instances provide a baseline CPU level and can burst above it
- Every size within one family has exactly the same amount of memory
- Accelerated computing instances use hardware accelerators such as GPUs
- Storage optimized instances are built mainly for GPU graphics rendering
Show answer
Answer: A. The instance type determines the CPU, memory and storage capabilities of the host, B. T instances provide a baseline CPU level and can burst above it, D. Accelerated computing instances use hardware accelerators such as GPUs
The instance type determines the host hardware, T instances run at a baseline and burst above it, and accelerated computing instances add hardware accelerators such as GPUs. Sizes within a family differ in memory, and storage optimized instances target local disk I/O, not graphics.
Choosing an EC2 instance type only changes the hourly price; the CPU, memory and storage available to the instance stay the same.
Show answer
Answer: False
False. The instance type is exactly what defines the compute, memory and storage capabilities of the host. Price follows from those capabilities, not the other way round.
Practice 8 questions on this topic in Bitzu
Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.
