AWS AWS Compute Services 1 — Questions and Answers
Question 1: Which EC2 purchasing option offers the greatest discount in exchange for a 1- or 3-year commitment to a specific instance type in a specific region?
- Reserved Instances (Correct answer)
- Spot Instances
- On-Demand Instances
- Dedicated Hosts
Correct answer: Reserved Instances
Reserved Instances provide up to 72% discount over On-Demand pricing in exchange for a 1- or 3-year usage commitment.
Question 2: What is the maximum execution timeout for an AWS Lambda function?
- 5 minutes
- 10 minutes
- 15 minutes (Correct answer)
- 30 minutes
Correct answer: 15 minutes
AWS Lambda functions can run for a maximum of 15 minutes (900 seconds) per invocation.
Question 3: Which EC2 feature runs your instance on single-tenant hardware dedicated solely to your account?
- Placement Groups
- Dedicated Instances (Correct answer)
- Reserved Instances
- Capacity Reservations
Correct answer: Dedicated Instances
Dedicated Instances run on hardware dedicated to a single customer, ensuring physical isolation from other AWS accounts.
Question 4: Which AWS service provides fully managed Kubernetes container orchestration?
- Amazon ECS
- Amazon EKS (Correct answer)
- AWS Fargate
- AWS Batch
Correct answer: Amazon EKS
Amazon EKS (Elastic Kubernetes Service) is the managed Kubernetes service that runs upstream Kubernetes without needing to install or operate a control plane.
Question 5: Which EC2 Auto Scaling policy type maintains a specified metric at a desired target value, such as keeping average CPU at 50%?
- Simple scaling
- Step scaling
- Target tracking scaling (Correct answer)
- Scheduled scaling
Correct answer: Target tracking scaling
Target tracking scaling automatically adjusts capacity to keep a chosen CloudWatch metric at a user-defined target value.
Question 6: What EC2 feature saves the in-memory state of a running instance so it can be stopped and later resumed exactly where it left off?
- Instance Store Snapshot
- Hibernate (Correct answer)
- Suspend
- AMI Capture
Correct answer: Hibernate
EC2 Hibernate saves the RAM contents to the EBS root volume so the instance can resume its previous state after stopping.
Which EC2 purchasing option offers the greatest discount in exchange for a 1- or 3-year commitment to a specific instance type in a specific region?