Storage, Compute, Containers Flashcards

(41 cards)

1
Q

What is Amazon S3?

A

Simple Storage Service – object storage. Stores any file type up to 5TB per object. Objects stored in buckets with globally unique names. 99.999999999% (11 nines) durability. Not mountable or bootable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are the S3 storage classes and their use cases?

A

Standard: frequent access, active data. | Intelligent-Tiering: unknown/changing access, auto-moves between tiers. | Standard-IA: infrequent access, disaster recovery/backups. | One Zone-IA: infrequent, secondary backups (single AZ). | Glacier Instant Retrieval: rare access but millisecond retrieval. | Glacier Flexible Retrieval: archives, 3-5hr retrieval. | Glacier Deep Archive: cheapest, 12-48hr retrieval, compliance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is S3 Intelligent-Tiering?

A

Automatically moves objects between access tiers based on changing access patterns. No retrieval fees. Ideal when access frequency is unknown or variable.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the retrieval time for each Glacier tier?

A

Glacier Instant Retrieval: milliseconds. | Glacier Flexible Retrieval: Expedited 1-5 min, Standard 3-5 hrs, Bulk 5-12 hrs. | Glacier Deep Archive: 12-48 hours.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the key S3 features beyond storage?

A

Versioning (multiple object versions), Lifecycle policies (auto-move/delete objects), Cross-Region Replication (CRR), Same-Region Replication (SRR), Static website hosting, S3 Transfer Acceleration (fast uploads via CloudFront edge locations).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Amazon EBS?

A

Elastic Block Store – block storage for EC2 instances (like a virtual hard drive). Persists independently from EC2 lifecycle. AZ-specific (must be in same AZ as EC2). Supports snapshots backed to S3. Can be mounted and booted.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What are the EBS volume types?

A

gp3/gp2: General Purpose SSD (general workloads, boot volumes). | io2 Block Express/io1: Provisioned IOPS SSD (high-performance/I-O intensive DBs, up to 256,000 IOPS). | st1: Throughput Optimized HDD (big data, data warehouses). | sc1: Cold HDD (infrequently accessed, lowest cost HDD).

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is Amazon EFS?

A

Elastic File System – managed NFS (Network File System) for Linux. Shared storage – multiple EC2 instances can mount simultaneously. Scales automatically across multiple AZs. Cannot be used as boot volume. More expensive than EBS.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

EFS vs EBS – full comparison?

A

EFS: NFS protocol, multiple instances simultaneously, Linux only, multi-AZ, auto-scaling, cannot boot. | EBS: block (iSCSI), mostly single instance, Linux and Windows, single AZ, manually provisioned, can boot.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is an EC2 Instance Store?

A

Temporary block-level storage physically attached to the host. Data is lost if the instance is stopped or terminated. Very high performance, but not persistent.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What is AWS Storage Gateway?

A

Hybrid storage service connecting on-premises environments to AWS cloud storage. Types: File Gateway, Volume Gateway, Tape Gateway.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the AWS Snow Family?

A

Physical devices for large-scale data transfer to/from AWS. | Snowcone: smallest (8TB SSD or HDD), rugged, edge computing. | Snowball Edge: 80-210TB, edge computing capabilities. | Snowmobile: 100PB, a 45-foot ruggedised shipping container – exabyte-scale migrations.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

What are the 3 types of storage (object, block, file) and their AWS services?

A

Object storage: Amazon S3 – flat structure, no mounting, good for media/backups/static sites. | Block storage: Amazon EBS – mountable/bootable, AZ-specific. | File storage: Amazon EFS – hierarchical, shared NFS mount, multi-AZ.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What is Amazon EC2?

A

Elastic Compute Cloud – virtual machines (IaaS) in the cloud. Full control over OS, applications, and configuration. Customer is responsible for OS patches, security configurations. Can be provisioned in minutes.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the EC2 instance families?

A

General Purpose (t, m): balanced compute/memory/network. | Compute Optimised (c): high-performance CPUs, batch processing, ML. | Memory Optimised (r, x): large in-memory datasets, databases. | Storage Optimised (i, d, h): high I/O sequential read/write, big data. | Accelerated Computing (p, g, f): GPU/FPGA, graphics, data pattern matching.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

How do you decode an EC2 instance type name like t3.micro?

A

t = family (General Purpose), 3 = generation, micro = size.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q

What is an AMI (Amazon Machine Image)?

A

A template for launching an EC2 instance – defines the OS, pre-installed software, and configuration. AWS provides many AMIs; you can also create custom AMIs.

18
Q

What are EC2 Key Pairs?

A

Used for SSH authentication into EC2 instances. A public/private key pair – public key stored on instance, private key (.pem file) kept by user.

19
Q

What is EC2 User Data?

A

A script that runs automatically on the instance at first boot. Used to install software, configure settings, or perform startup tasks.

20
Q

What is EC2 Instance Metadata?

A

Data about the running instance accessible at the IP address 169.254.169.254. Contains instance ID, instance type, IAM role credentials, etc.

21
Q

What is an Elastic IP?

A

A static IPv4 address for dynamic cloud computing. Free when attached to a running instance; charged ($0.005/hr) when unattached.

22
Q

What are EC2 Placement Groups?

A

Control how instances are placed on underlying hardware. Types: Cluster (low latency, same AZ), Spread (different hardware, max availability), Partition (groups of instances on different hardware).

23
Q

What is an Auto Scaling Group (ASG)?

A

Automatically adjusts EC2 capacity based on demand. Uses a Launch Template to define instance specs. Scaling policies: Target Tracking (maintain metric), Step Scaling (scale by amounts), Scheduled (at specific times). Auto-replaces unhealthy instances.

24
Q

What are the EC2 pricing models?

A

On-Demand: hourly/second, no commitment. | Reserved (1 or 3yr): up to 72% off. | Spot: up to 90% off, interruptible with 2-min warning. | Savings Plans: flexible commitment, up to 66% off. | Dedicated Host: dedicated physical server, up to 70% with RI. | Dedicated Instance: dedicated hardware, slightly less control than Dedicated Host.

25
When should you use Dedicated Hosts vs Dedicated Instances?
Dedicated Host: for BYOL (Bring Your Own Licence) requirements – you need visibility into the physical host. Dedicated Instance: for regulatory compliance/hardware isolation, but AWS manages the physical host.
26
What is a Spot Fleet?
A request for a combination of Spot Instances and optionally On-Demand Instances to meet a target capacity.
27
What are Spot Blocks?
Reserve a Spot Instance for a defined duration (1-6 hours) without interruption.
28
What is AWS Lambda?
Serverless compute – run code without provisioning or managing servers. AWS manages server maintenance, scaling, capacity provisioning, and logging. Event-driven. Pay per millisecond of execution + per request.
29
What are Lambda's key limits?
Max 15 minutes per invocation. Memory: 128MB to 10,240MB. Timeout is configurable. Cold starts can add latency on first invocation.
30
What is the Lambda free tier?
Permanent always-free tier: 1 million requests per month + 400,000 GB-seconds of compute time per month.
31
What are the 3 components of a Lambda function?
Function: the code that executes. | Trigger/Event Source: what invokes the function (S3, API Gateway, SQS, EventBridge cron, etc.). | Event Info: information about the triggering event, passed to the function handler.
32
What are the benefits and downsides of Lambda?
Benefits: no servers to manage, auto-scales, pay only for what you use. | Downsides: no local state, max 15 min (not for long-running tasks), cold starts on first invocation.
33
What is a Lambda Layer?
A way to share code, libraries, or configuration across multiple Lambda functions without including them in each deployment package.
34
Lambda vs EC2 – key differences?
Lambda: no server management, auto-scaling, per-millisecond billing, max 15 min, cold starts, event-driven. | EC2: you manage OS, manual or ASG scaling, hourly billing, no time limit, no cold starts.
35
What is a container?
A lightweight, portable package of code plus its dependencies. More efficient than VMs because containers share the host OS kernel. Docker is the most popular container platform.
36
What does a container orchestrator do?
Manages containers at scale: deploys containers across servers, load-balances requests, provides container-to-container connectivity, restarts failed containers, moves containers when hosts fail.
37
What is Amazon ECS?
Elastic Container Service – AWS-managed container orchestration. Runs Docker containers at scale. Two launch types: EC2 (you manage the instances) or Fargate (serverless). AWS-proprietary – potential vendor lock-in.
38
What is Amazon EKS?
Elastic Kubernetes Service – AWS-managed Kubernetes. Open-source and portable across platforms. EKS manages the Kubernetes control plane. More complex than ECS but larger community, more tooling (Helm, ArgoCD).
39
ECS vs EKS – when to use each?
ECS: simpler architecture, easier to start, AWS-native integrations, free control plane (pay only for EC2/EBS). | EKS: open-source Kubernetes, portable, larger community, steep learning curve, pay for control plane + worker nodes.
40
What is AWS Fargate?
Serverless compute engine for containers. Works with both ECS and EKS. No EC2 instances to manage – specify CPU/memory requirements. Pay only for resources used. AWS manages all infrastructure.
41
What is Amazon ECR?
Elastic Container Registry – managed Docker container image registry. Private and secure image storage. Integrates with ECS and EKS.