Compute and Storage Services Flashcards
7 cards from real AWS practice questions. Tap to flip, then mark Knew It or Still Learning — missed cards come back until you master them.
Read the first 7 Compute and Storage Services flashcards as text
An application needs to process jobs from a queue and scale in/out based on queue depth. Which EC2 feature best supports this pattern?
Answer: EC2 Auto Scaling with a custom CloudWatch metric based on SQS queue depth
EC2 Auto Scaling can use custom CloudWatch metrics—such as SQS queue depth—as scaling triggers to dynamically adjust capacity.
Which S3 storage class is designed for data that is accessed less than once per month and requires millisecond retrieval?
Answer: S3 Glacier Instant Retrieval
S3 Glacier Instant Retrieval is designed for rarely accessed archive data (once per quarter) but provides millisecond retrieval times.
A company wants to run a stateful containerized application on AWS without managing servers. Which service should they use?
Answer: AWS Fargate
AWS Fargate is a serverless compute engine for containers that removes the need to provision or manage EC2 instances.
What is the maximum size of a single object that can be uploaded to S3 using a single PUT operation?
Answer: 5 GB
A single S3 PUT operation supports objects up to 5 GB; use Multipart Upload for objects larger than 5 GB (up to 5 TB total).
Which EC2 purchasing option provides the largest discount compared to On-Demand pricing but can be interrupted by AWS with a two-minute notice?
Answer: Spot Instances
EC2 Spot Instances offer up to 90% discount over On-Demand pricing but can be reclaimed by AWS with a two-minute interruption notice.
An EBS volume is attached to an EC2 instance that is stopped. What happens to the data on the EBS volume?
Answer: Data persists until the volume is explicitly deleted
EBS volumes are persistent storage; data remains intact when an instance is stopped and is only lost if the volume itself is deleted.
Which AWS service allows you to run code in response to events without provisioning servers, billed per 1ms of execution time?
Answer: AWS Lambda
AWS Lambda is a serverless compute service that runs code in response to events and charges based on the number of requests and duration in 1ms increments.