Lesson 30

Quiz: Compute

20 questions covering EC2, launch essentials, cost optimization, Serverless, and Containers

Instructions: Click one option per question. You will see immediate feedback. The score bar updates live. Target: 85% (17/20 correct) to proceed.

Compute Quiz

Select one answer per question. You will receive immediate feedback.

1. A developer creates a custom AMI in us-east-1 and wants to launch EC2 instances from it in eu-west-1. What must they do first?
2. A startup runs a steady-state web application 24/7 and wants to minimize compute costs over the next year. Which EC2 purchasing option is most cost-effective?
3. A team needs to run an in-memory database that requires large amounts of RAM. Which EC2 instance family should they choose?
4. A company builds a video rendering pipeline that requires GPU processing. Which EC2 instance family is designed for GPU-accelerated workloads?
5. A workload requires a background process to run continuously for 45 minutes. Which AWS compute service is most appropriate?
6. A company currently runs Kubernetes on-premises and wants to migrate to AWS without changing their container orchestration tooling. Which service should they use?
7. A team wants to run Docker containers in production but does not want to provision or manage the underlying EC2 instances. Which option meets this requirement?
8. A developer wants to deploy a Python web application by uploading code and having AWS handle provisioning, load balancing, and automatic scaling. Which service is the best fit?
9. What is the key difference between a container and a virtual machine?
10. A company runs distributed data processing jobs that can tolerate interruptions and can be restarted. They want the lowest possible EC2 cost. Which purchasing option should they use?
11. A developer writes a data transformation function that takes 25 minutes to complete per invocation. Can they run this on AWS Lambda?
12. A startup launches a new application and is unsure what the traffic pattern will be. They want maximum flexibility with no upfront commitment. Which EC2 pricing option is best?
13. A company runs a small web server with low baseline CPU usage that occasionally bursts to handle peak traffic. Which EC2 instance family is purpose-built for burstable performance?
14. A company has software licenses tied to physical CPU sockets and requires visibility into the underlying hardware. Which EC2 purchasing option meets this requirement?
15. When you launch a Linux EC2 instance and create a new key pair, how many chances do you have to download the private key file?
16. A developer passes a script to an EC2 instance that installs software and applies patches on first boot. What is this script called?
17. A developer stops an EBS-backed EC2 instance to avoid weekend charges. When they start it on Monday, what is true?
18. A company tags every EC2 instance with "Department" and "Project" keys. What is the primary exam-relevant benefit of this?
19. A company uses m5.xlarge instances 24/7 with only 15% average CPU utilization. Which pillar of cost optimization should they apply first?
20. A company wants to stop their development EC2 instances every night and restart them in the morning. What pillar of cost optimization and approach represents this?
Progress: 0/20 correct (0%). Answer all questions to see the final recommendation.
Ask your teacher: Scoring: 17/20 (85%) or higher = move on to Storage. 14-16/20 (70-80%) = review missed topics. 13/20 or below = revisit the relevant lessons before continuing.
Primary Source: AWS Academy Module 6: Compute (module-6.txt).
Last updated: June, 2026© 2026 Shahriar Ahmed ShovonCredits