Exams · US
AWS Cloud Practitioner Practice Questions: Compute
Compute, containers and serverless services, and what you manage in each.
Updated 12 November 2026 for exam guide v1.3
Key facts
Amazon EC2 provides resizable virtual servers called instances.
AWS Certified Cloud Practitioner Exam Guide, Compute
EC2 instance families include general purpose for balanced workloads, compute optimized for processing, memory optimized for large in-memory workloads, and storage optimized for high local storage performance.
AWS Certified Cloud Practitioner Exam Guide, Task Statement 3.3: Identify AWS compute services.
Amazon ECS orchestrates containers, while Amazon EKS runs managed Kubernetes.
AWS Certified Cloud Practitioner Exam Guide, Containers
Amazon ECR stores and manages container images.
AWS Certified Cloud Practitioner Exam Guide, Containers
AWS Fargate runs containers with ECS or EKS without requiring customers to manage the underlying servers.
AWS Certified Cloud Practitioner Exam Guide, Serverless
AWS Lambda runs code in response to events without requiring customers to provision or manage servers.
AWS Certified Cloud Practitioner Exam Guide, Serverless
Auto Scaling provides elasticity by adjusting capacity as demand changes.
AWS Certified Cloud Practitioner Exam Guide, Task Statement 3.3: Identify AWS compute services.
Elastic Load Balancing distributes incoming traffic across multiple targets, such as EC2 instances.
AWS Certified Cloud Practitioner Exam Guide, Task Statement 3.3: Identify AWS compute services.
AWS Elastic Beanstalk deploys and manages applications while provisioning their underlying AWS resources.
AWS Certified Cloud Practitioner Exam Guide, Compute
Amazon Lightsail offers simplified virtual servers and bundled resources for workloads such as websites and small applications.
AWS Certified Cloud Practitioner Exam Guide, Compute
AWS Outposts brings AWS infrastructure and services to customer premises for workloads that need local processing or low latency.
AWS Certified Cloud Practitioner Exam Guide, Compute
AWS Batch schedules and runs batch computing jobs using managed compute resources.
AWS Certified Cloud Practitioner Exam Guide, Compute
Sample questions
1. A company runs a CPU-intensive scientific modeling application on Amazon EC2. Which instance family is the best fit?
- Storage optimized
- Memory optimized
- Compute optimized
- General purpose
Answer: C. Compute optimized
Compute optimized instances are designed for workloads that need substantial processing power. They are a good fit for CPU-intensive modeling.
- Storage optimized: Storage optimized instances focus on workloads with demanding local storage needs.
- Memory optimized: Memory optimized instances are suited to workloads that need large amounts of memory.
- General purpose: General purpose instances offer a balance of compute, memory, and networking resources.
Source: AWS Certified Cloud Practitioner Exam Guide v1.3: task statements and in-scope services; standard AWS service…, Task Statement 3.3: Identify AWS compute services.
2. An application needs fast access to large amounts of data stored locally on its EC2 instance. Which instance family is the best fit?
- Storage optimized
- Memory optimized
- General purpose
- Compute optimized
Answer: A. Storage optimized
Storage optimized instances are designed for workloads that need high performance from local storage. They are a good fit for applications with demanding local data access needs.
- Memory optimized: Memory optimized instances focus on workloads that need large amounts of memory.
- General purpose: General purpose instances balance compute, memory, and networking resources.
- Compute optimized: Compute optimized instances focus on processing-intensive workloads.
Source: AWS Certified Cloud Practitioner Exam Guide v1.3: task statements and in-scope services; standard AWS service…, Task Statement 3.3: Identify AWS compute services.
3. A company runs an application that processes a very large dataset in memory. Which EC2 instance family is the best starting point?
- Compute optimized
- Memory optimized
- Storage optimized
- General purpose
Answer: B. Memory optimized
Memory optimized instances are designed for workloads that process large datasets in memory. They provide more memory relative to compute than general purpose instances.
- Compute optimized: Compute optimized instances focus on processing-intensive workloads.
- Storage optimized: Storage optimized instances focus on demanding local storage workloads.
- General purpose: General purpose instances balance compute, memory, and networking resources.
Source: AWS Certified Cloud Practitioner Exam Guide v1.3: task statements and in-scope services; standard AWS service…, Task Statement 3.3: Identify AWS compute services.
4. A company is moving a web application to EC2. The application needs a balance of compute, memory, and networking resources, with no unusual demand for any one resource. Which instance family should it consider first?
- Storage optimized
- General purpose
- Compute optimized
- Memory optimized
Answer: B. General purpose
General purpose instances provide a balance of compute, memory, and networking resources. They are a suitable starting point for applications without a specialized resource requirement.
- Storage optimized: Storage optimized instances are suited to demanding local storage workloads.
- Compute optimized: Compute optimized instances are suited to processing-intensive workloads.
- Memory optimized: Memory optimized instances are suited to workloads that need large amounts of memory.
Source: AWS Certified Cloud Practitioner Exam Guide v1.3: task statements and in-scope services; standard AWS service…, Task Statement 3.3: Identify AWS compute services.
5. A company wants a managed service to run Kubernetes applications. Which service should it choose?
- Amazon ECS
- Amazon ECR
- AWS Lambda
- Amazon EKS
Answer: D. Amazon EKS
Amazon EKS is a managed Kubernetes service. It helps companies run containerized applications using Kubernetes.
- Amazon ECS: Amazon ECS orchestrates containers without requiring Kubernetes.
- Amazon ECR: Amazon ECR stores container images.
- AWS Lambda: AWS Lambda runs code without managing servers, but is not a Kubernetes service.
Source: AWS Certified Cloud Practitioner Exam Guide v1.3: task statements and in-scope services; standard AWS service…, Task Statement 3.3: Identify AWS compute services.