Practice Questions with Detailed Answers
Which EC2 instance type is best suited for high-performance computing (HPC) workloads?
Answer: C) C5n.18xlarge
C5n instances are compute-optimized with enhanced networking, making them ideal for HPC workloads that require high CPU performance and low-latency networking.
What happens to data stored on Instance Store volumes when an EC2 instance is stopped?
Answer: A) Data is lost permanently
Instance Store volumes provide temporary storage. Data is lost when the instance stops, terminates, or fails. Use EBS for persistent storage.
Which pricing model offers the highest potential cost savings for EC2 instances?
Answer: C) Spot Instances
Spot Instances can provide up to 90% cost savings compared to On-Demand pricing, but can be interrupted when AWS needs the capacity back.