Storage, Compute, Containers Flashcards

(41 cards)

1
Q

What is Amazon S3?

A) S3 is a block storage service that provides persistent volumes for EC2 instances.
B) S3 is a managed file system that multiple EC2 instances can mount simultaneously.
C) Simple Storage Service – object storage. Stores any file type up to 5TB per object.
D) S3 is a relational database service optimised for storing structured binary objects.

A

C) Simple Storage Service – object storage. Stores any file type up to 5TB per object.

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) S3 Standard is for archives; Glacier is for active data; One Zone-IA is for critical production data.
B) S3 Standard-IA is the default class; Standard is only used for compliance archive data.
C) All S3 classes have the same durability; they differ only in cost and geographic redundancy.
D) Standard (frequent access), Intelligent-Tiering (unknown patterns), Standard-IA (infrequent, backups), One Zone-IA (secondary…

A

D) Standard (frequent access), Intelligent-Tiering (unknown patterns), Standard-IA (infrequent, backups), One Zone-IA (secondary…

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

What is S3 Intelligent-Tiering?

A) Intelligent-Tiering manually classifies objects into tiers based on size and file type.
B) Intelligent-Tiering charges a premium retrieval fee every time an object is accessed.
C) Intelligent-Tiering stores all objects in a single tier to simplify cost management.
D) Automatically moves objects between access tiers based on changing access patterns. No retrieval fees.

A

D) Automatically moves objects between access tiers based on changing access patterns. No retrieval fees.

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) All Glacier tiers take 12–48 hours regardless of retrieval option selected.
B) Glacier Instant: 3–5 hours. Flexible Retrieval: 12–48 hours. Deep Archive: milliseconds.
C) Glacier Instant: 1–5 hours. Glacier Flexible: milliseconds. Deep Archive: 3–5 hours.
D) Glacier Instant Retrieval: milliseconds.

A

D) Glacier Instant Retrieval: milliseconds.

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) S3 supports mounting as a block device on EC2, real-time stream processing, and built-in DNS.
B) S3 supports managed relational queries, auto-archiving to EBS, and direct SFTP access.
C) S3 supports SQL queries, auto-scaling compute, and built-in CDN delivery without CloudFront.
D) Versioning, Lifecycle policies (auto-move/delete), Cross-Region Replication (CRR), Same-Region Replication (SRR), static…

A

D) Versioning, Lifecycle policies (auto-move/delete), Cross-Region Replication (CRR), Same-Region Replication (SRR), static…

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

What is Amazon EBS?

A) EBS is an object storage service that stores files in a flat namespace like S3.
B) Elastic Block Store – block storage for EC2 instances (like a virtual hard drive).
C) EBS is a managed backup service that automatically archives EC2 instance configurations.
D) EBS is a shared file system that multiple EC2 instances can mount simultaneously via NFS.

A

B) Elastic Block Store – block storage for EC2 instances (like a virtual hard drive).

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). | …
B) gp3: for databases only. io2: for boot volumes. st1: for random I/O workloads. sc1: for streaming.
C) All EBS volume types deliver the same IOPS; they differ only in cost and storage capacity.
D) SSD volumes are for HDD workloads; HDD volumes are for SSD workloads — they are interchangeable.

A

A) gp3/gp2: General Purpose SSD (general workloads, boot volumes). | …

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

What is Amazon EFS?

A) EFS is a block storage service attached to a single EC2 instance in one AZ.
B) Elastic File System – managed NFS (Network File System) for Linux.
C) EFS is an object storage service similar to S3 but with a hierarchical directory structure.
D) EFS is a managed database service that stores application configuration files as key-value pairs.

A

B) Elastic File System – managed NFS (Network File System) for Linux.

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

EFS vs EBS – full comparison?

A) EBS is multi-AZ and auto-scales; EFS is single-AZ and requires manual sizing.
B) EFS uses block protocol; EBS uses NFS. Both support mounting by multiple instances.
C) EFS: NFS protocol, multiple instances simultaneously, Linux only, multi-AZ, auto-scaling, cannot boot. | …
D) Both EFS and EBS are mountable by multiple instances simultaneously across regions.

A

C) EFS: NFS protocol, multiple instances simultaneously, Linux only, multi-AZ, auto-scaling, cannot 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) Instance Store is a durable block storage option that persists through instance restarts.
B) Temporary block-level storage physically attached to the host. Data is lost if the instance is stopped and started (or terminated).
C) Instance Store is an S3-backed cache that provides faster access to frequently used objects.
D) Instance Store is a managed EBS volume that is automatically attached to every EC2 instance.

A

B) Temporary block-level storage physically attached to the host. Data is lost if the instance is stopped and started (or terminated).

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.
B) Storage Gateway is a managed FTP service for transferring files between on-premises and S3.
C) Storage Gateway is a VPN service that encrypts data between on-premises storage and AWS.
D) Storage Gateway is a Snow Family device used for physical bulk data transfer to AWS.

A

A) Hybrid storage service connecting on-premises environments to AWS cloud storage.

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

What is the AWS Snow Family?

A) Snow Family devices run entirely in the cloud and have no physical hardware component.
B) Snowcone holds 1 PB; Snowball holds 100 PB; Snowmobile holds 1 EB.
C) Snow Family devices connect to AWS via Direct Connect for continuous data replication.
D) Physical devices for large-scale data transfer to/from AWS.

A

D) Physical devices for large-scale data transfer to/from AWS.

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: EBS. Block: EFS. File: S3. Each maps to a different access pattern.
B) All three types are provided by S3 using different storage classes.
C) Object: EFS (hierarchical). Block: S3 (flat). File: EBS (mountable).
D) Object storage: Amazon S3 – flat structure, no mounting, good for media/backups/static sites. | …

A

D) Object storage: Amazon S3 – flat structure, no mounting, good for media/backups/static sites. | …

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

What is Amazon EC2?

A) EC2 is a serverless compute service where AWS fully manages the underlying servers.
B) EC2 is a managed PaaS platform where you only provide application code.
C) Elastic Compute Cloud – virtual machines (IaaS) in the cloud.
D) EC2 is a container orchestration service for running Docker workloads at scale.

A

C) Elastic Compute Cloud – virtual machines (IaaS) in the cloud.

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

What are the EC2 instance families?

A) t = compute optimised, c = memory optimised, r = storage optimised, p = general purpose.
B) All instance families provide identical performance; they differ only in price.
C) Accelerated Computing instances use NVMe SSDs; all other families use network-attached EBS.
D) General Purpose (t, m - balanced), Compute Optimised (c - high CPU, ML), Memory Optimised (r, x - large datasets),…

A

D) General Purpose (t, m - balanced), Compute Optimised (c - high CPU, ML), Memory Optimised (r, x - large datasets),…

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 = compute type (turbo), 3 = generation, micro = memory allocation.
B) The full name is arbitrary — AWS assigns names randomly from an internal catalogue.
C) t = family (General Purpose), 3 = generation, micro = size.
D) t = size tier, 3 = number of vCPUs, micro = the instance family name.

A

C) 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.
B) An AMI is a CloudFormation template that provisions EC2 instances and attached resources.
C) An AMI is an IAM permission set that controls who can launch EC2 instances.
D) An AMI is a running EC2 instance snapshot used to create EBS backups.

A

A) A template for launching an EC2 instance – defines the OS, pre-installed software, and configuration.

18
Q

What are EC2 Key Pairs?

A) Key Pairs are SSL certificates provisioned by ACM for HTTPS on EC2 instances.
B) Key Pairs are IAM access keys used to authenticate CLI commands to EC2.
C) Used for SSH authentication into EC2 instances.
D) Key Pairs are encryption keys managed by KMS for encrypting EBS volumes.

A

C) Used for SSH authentication into EC2 instances.

19
Q

What is EC2 User Data?

A) User Data is metadata about the EC2 instance accessible from within the instance.
B) User Data is the EBS snapshot used to restore the instance to a previous state.
C) User Data is the IAM role attached to the EC2 instance at launch time.
D) A script that runs automatically on the instance at first boot.

A

D) A script that runs automatically on the instance at first boot.

20
Q

What is EC2 Instance Metadata?

A) Data about the running instance accessible at the IP address 169.254.169.254.
B) Instance Metadata is the User Data script stored and retrievable after execution.
C) Instance Metadata is the CloudWatch metrics endpoint for the instance.
D) Instance Metadata is the EC2 billing data used to calculate the hourly charge.

A

A) Data about the running instance accessible at the IP address 169.254.169.254.

21
Q

What is an Elastic IP?

A) An Elastic IP is an IPv6 address automatically assigned to all EC2 instances.
B) An Elastic IP is a DNS name that maps to the public IP of a running EC2 instance.
C) An Elastic IP is a private IP that persists across instance stop/start cycles within a subnet.
D) A static IPv4 address for dynamic cloud computing.

A

D) A static IPv4 address for dynamic cloud computing.

22
Q

What are EC2 Placement Groups?

A) Placement Groups are Auto Scaling configurations that define minimum and maximum capacity.
B) Placement Groups are billing constructs for grouping EC2 instances for Reserved Instance pricing.
C) Placement Groups control which IAM roles can launch instances in a specific subnet.
D) Control how instances are placed on underlying hardware.

A

D) Control how instances are placed on underlying hardware.

23
Q

What is an Auto Scaling Group (ASG)?

A) An ASG is a reserved instance pool that pre-warms instances for predictable workloads.
B) An ASG is a load balancer that distributes traffic evenly across a fixed set of EC2 instances.
C) Automatically adjusts EC2 capacity based on demand. Uses a Launch Template to define instance specs.
D) An ASG is a CloudFormation resource that provisions EC2 instances from an AMI template.

A

C) Automatically adjusts EC2 capacity based on demand. Uses a Launch Template to define instance specs.

24
Q

What are the EC2 pricing models?

A) Free, Basic, Standard, Premium, and Enterprise pricing tiers.
B) On-Demand (hourly, no commitment), Reserved (1 or 3yr, up to 72% off), Spot (up to 90% off,…
C) On-Demand, Reserved, Spot, and Free Tier only — Savings Plans are a DynamoDB feature.
D) Per-CPU, Per-GB-RAM, Per-GB-Storage, Per-Request, and Per-Transfer pricing models.

A

B) On-Demand (hourly, no commitment), Reserved (1 or 3yr, up to 72% off), Spot (up to 90% off,…

25
When should you use Dedicated Hosts vs Dedicated Instances? A) Dedicated Host: for BYOL (Bring Your Own Licence) requirements – you need visibility into the physical host. B) Dedicated Hosts for serverless workloads; Dedicated Instances for containerised workloads. C) Dedicated Instances for BYOL; Dedicated Hosts for regulatory compliance requirements. D) They are identical — both are physical servers dedicated exclusively to one customer.
A) Dedicated Host: for BYOL (Bring Your Own Licence) requirements – you need visibility into the physical host.
26
What is a Spot Fleet? A) A request for a combination of Spot Instances and optionally On-Demand Instances to meet a target capacity. B) A Spot Fleet is a reserved capacity pool that guarantees Spot availability for critical workloads. C) A Spot Fleet is a group of Spot Instances that automatically migrate to On-Demand when interrupted. D) A Spot Fleet is a billing construct that combines multiple Spot Instance savings into one invoice.
A) A request for a combination of Spot Instances and optionally On-Demand Instances to meet a target capacity.
27
What are Spot Blocks? A) Reserve a Spot Instance for a defined duration (1-6 hours) without interruption. B) Spot Blocks are fixed-price Spot Instances that never get interrupted regardless of capacity. C) Spot Blocks are savings plans for Spot Instances committed over a 1–3 year period. D) Spot Blocks are reservations for Spot Instance capacity across multiple AWS regions.
A) Reserve a Spot Instance for a defined duration (1-6 hours) without interruption.
28
What is AWS Lambda? A) Serverless compute – run code without provisioning or managing servers. B) Lambda is an IaaS service where you manage the underlying OS and runtime environment. C) Lambda is a container service that runs Docker images without requiring a Kubernetes cluster. D) Lambda is AWS's managed VM service that automatically patches and scales virtual machines.
A) Serverless compute – run code without provisioning or managing servers.
29
What are Lambda's key limits? A) Max 15 minutes per invocation. Memory: 128MB to 10,240MB. Subject to cold starts on first invocation. B) Max 5 minutes per invocation, 64MB to 3,008MB memory, no cold starts with Provisioned Concurrency. C) Max 30 minutes per invocation, 256MB to 8,192MB memory, no time limit with Step Functions. D) Max 1 hour per invocation, 512MB fixed memory, 10 concurrent executions per account.
A) Max 15 minutes per invocation. Memory: 128MB to 10,240MB. Subject to cold starts on first invocation.
30
What is the Lambda free tier? A) The free tier provides 500,000 requests and 800,000 GB-seconds for the first 12 months only. B) The Lambda free tier provides 100,000 requests and 1,000 GB-seconds per month, expires after 12 months. C) Lambda has no free tier — all executions are charged from the first invocation. D) Permanent always-free tier: 1 million requests per month + 400,000 GB-seconds of compute time per month.
D) 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? A) Code, Runtime, and Deployment Package — the three artefacts needed to deploy Lambda. B) Function: the code that executes. Trigger/Event Source: what invokes the function – e.g. C) Trigger, Function, and Destination — the three stages of a Lambda execution pipeline. D) Handler, Layer, and Alias — the three required configuration elements in every Lambda.
B) Function: the code that executes. Trigger/Event Source: what invokes the function – e.g.
32
What are the benefits and downsides of Lambda? A) Benefits: no servers to manage, auto-scales, pay only for what you use. | ... B) Benefits: unlimited execution time. Downsides: cold starts and higher cost than EC2. C) Benefits: stateful processing. Downsides: limited language support and no auto-scaling. D) Benefits: dedicated hardware. Downsides: requires OS management and capacity planning.
A) Benefits: no servers to manage, auto-scales, pay only for what you use. | ...
33
What is a Lambda Layer? A) A Lambda Layer is a VPC networking component that connects Lambda to private subnets. B) A Lambda Layer is a caching mechanism that stores function results between invocations. C) A way to share code, libraries, or configuration across multiple Lambda functions without including them in each deployment... D) A Lambda Layer is a monitoring add-on that sends Lambda metrics to CloudWatch automatically.
C) A way to share code, libraries, or configuration across multiple Lambda functions without including them in each deployment...
34
Lambda vs EC2 – key differences? A) Lambda: no server management, auto-scaling, per-millisecond billing, max 15 min, cold starts, event-driven. | ... B) Lambda and EC2 are identical in capability; EC2 just adds a GUI for server management. C) Lambda supports longer execution times and is cheaper; EC2 is only for legacy workloads. D) EC2 auto-scales instantly like Lambda; Lambda just has a lower minimum instance size.
A) Lambda: no server management, auto-scaling, per-millisecond billing, max 15 min, cold starts, event-driven. | ...
35
What is a container? A) A lightweight, portable package of code plus its dependencies. B) A container is a full virtual machine with its own OS kernel, CPU, and memory allocation. C) A container is an AMI variant that runs multiple operating systems simultaneously. D) A container is a serverless function runtime that eliminates the need for any infrastructure.
A) A lightweight, portable package of code plus its dependencies.
36
What does a container orchestrator do? A) Deploys containers across servers, load-balances requests, provides container-to-container connectivity, restarts failed... B) A container orchestrator is a service that converts Docker images into AMIs for EC2. C) A container orchestrator is a registry that stores and versions container images securely. D) A container orchestrator is the developer tool for building and packaging container images.
A) Deploys containers across servers, load-balances requests, provides container-to-container connectivity, restarts failed...
37
What is Amazon ECS? A) ECS is a serverless function service that runs container images without infrastructure. B) Elastic Container Service – AWS-managed container orchestration. Runs Docker containers at scale. C) ECS is a container registry for storing Docker images used by EC2 and Lambda. D) ECS is AWS's managed Kubernetes service for running open-source container workloads.
B) Elastic Container Service – AWS-managed container orchestration. Runs Docker containers at scale.
38
What is Amazon EKS? A) Elastic Kubernetes Service – AWS-managed Kubernetes. Open-source and portable across platforms. B) EKS is AWS's proprietary container orchestration service with no Kubernetes compatibility. C) EKS is a container image build service that compiles Dockerfiles into deployable images. D) EKS is a serverless container runtime that automatically scales pods without configuration.
A) Elastic Kubernetes Service – AWS-managed Kubernetes. Open-source and portable across platforms.
39
ECS vs EKS – when to use each? A) ECS costs more because you pay for the control plane; EKS has no control plane charge. B) EKS is simpler than ECS; ECS has a steeper learning curve due to Kubernetes complexity. C) ECS for Kubernetes workloads; EKS for AWS-native containerised applications. D) ECS: simpler architecture, easier to start, AWS-native integrations, free control plane (pay only for EC2/EBS). | ...
D) ECS: simpler architecture, easier to start, AWS-native integrations, free control plane (pay only for EC2/EBS). | ...
40
What is AWS Fargate? A) Serverless compute engine for containers. Works with both ECS and EKS. B) Fargate is a container image registry that stores private Docker images securely. C) Fargate is a Kubernetes distribution designed to run on-premises container workloads. D) Fargate is a dedicated EC2 host service for containers requiring hardware isolation.
A) Serverless compute engine for containers. Works with both ECS and EKS.
41
What is Amazon ECR? A) ECR is an S3-backed container orchestration service that manages pod scheduling. B) Elastic Container Registry – managed Docker container image registry. Private and secure image storage. C) ECR is an ECS alternative that uses a different container format instead of Docker. D) ECR is a container deployment pipeline that builds, tests, and deploys containers.
B) Elastic Container Registry – managed Docker container image registry. Private and secure image storage.