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
A developer needs to share an EFS file system across multiple EC2 instances in different Availability Zones within the same VPC. What must be configured?
Answer: Mount targets in each AZ where EC2 instances reside
Amazon EFS requires a mount target in each Availability Zone where EC2 instances need access to the file system.
Which EC2 instance type family is optimized for applications requiring high memory-to-vCPU ratios, such as in-memory databases?
Answer: R-family (Memory Optimized)
R-family EC2 instances are Memory Optimized and designed for workloads that process large datasets in memory, such as SAP HANA or Redis.
What S3 feature automatically moves objects between storage classes based on defined lifecycle rules?
Answer: S3 Lifecycle policies with transition actions
S3 Lifecycle policies with transition actions automatically move objects to cheaper storage classes (e.g., Standard → IA → Glacier) based on age.
An EC2 instance in a private subnet needs to download software updates from the internet. What is the correct solution?
Answer: Place a NAT Gateway in a public subnet and update the private subnet route table
A NAT Gateway placed in a public subnet allows instances in private subnets to initiate outbound internet traffic without being directly reachable from the internet.
Which EBS volume type provides the highest throughput for large sequential workloads like data warehouses and log processing?
Answer: st1 (Throughput Optimized HDD)
st1 (Throughput Optimized HDD) is designed for large, sequential workloads and delivers up to 500 MB/s throughput at a lower cost than SSDs.
What is the purpose of an EC2 instance's user data script?
Answer: To run bootstrap commands automatically when the instance first starts
User data scripts are executed automatically during the first boot of an EC2 instance, commonly used to install software or configure settings.
A company stores 100 TB of rarely accessed compliance data that must be retrievable within 12 hours. Which S3 storage class is the most cost-effective choice?
Answer: S3 Glacier Flexible Retrieval
S3 Glacier Flexible Retrieval offers very low storage costs for archive data with retrieval times ranging from minutes to 12 hours, fitting the compliance scenario.