4. EC2 Storage Flashcards

1
Q

What is an EBS Volume?

A

An EBS Volume is a network drive attached to instances to persist data, even after termination.

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

EBS Volumes are locked to which AWS resource?

A

Availability Zone

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

True or False: An EBS Volume can be attached to multiple instances at the same time.

A

False

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

What is a key analogy for understanding EBS Volumes?

A

A network USB stick

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

What is the default free tier allowance for EBS storage?

A

30 GB of General Purpose (SSD) or Magnetic storage per month

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

Does EBS operate as a physical or network drive?

A

Network drive

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

What kind of latency might you experience with EBS?

A

Slight latency due to network communication

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

Can you increase the size of an EBS Volume over time?

A

Yes

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

What is required to move an EBS Volume to another Availability Zone?

A

First, create a snapshot, then transfer it.

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

What does the ‘Delete on Termination’ attribute control?

A

Whether the EBS volume is deleted when the instance is terminated.

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

True or False: By default, only the root EBS volume is deleted upon instance termination.

A

True

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

How can you retain an EBS volume after instance termination?

A

Disable ‘Delete on Termination’ attribute via AWS console or CLI.

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

What is an EBS Snapshot?

A

A backup of an EBS Volume at a point in time.

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

Is it necessary to detach an EBS volume to create a snapshot?

A

No, but it is recommended.

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

Can EBS snapshots be copied across regions?

A

Yes

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

What is an EBS Snapshot Archive?

A

A cost-effective storage option for snapshots with 75% reduced cost.

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

How long does it take to restore from an EBS Snapshot Archive?

A

Between 24 and 72 hours.

18
Q

What is the purpose of the EBS Snapshot Recycle Bin?

A

Allows retention of deleted snapshots for recovery after accidental deletion.

19
Q

What is an AMI?

A

An Amazon Machine Image, a customized EC2 instance with preconfigured software and settings.

20
Q

Name three types of AMIs that you can launch instances from.

A

Public AMI, custom AMI, and AWS Marketplace AMI.

21
Q

True or False: AMIs are region-specific but can be copied across regions.

A

True

22
Q

What are the steps to create an AMI from an EC2 instance?

A

Start and customize an EC2, stop it, build the AMI, then launch instances from the AMI.

23
Q

What is the purpose of the EC2 Image Builder?

A

To automate the creation, maintenance, validation, and testing of EC2 AMIs.

24
Q

What type of EC2 storage provides high-performance hardware disk?

A

EC2 Instance Store

25
Q

True or False: Data in the EC2 Instance Store is persistent after instance shutdown.

A

False

26
Q

For what use cases is EC2 Instance Store ideal?

A

Buffer, cache, scratch data, or temporary content.

27
Q

What is a key risk associated with EC2 Instance Store?

A

Data loss if the instance is stopped or the hardware fails.

28
Q

What is EFS and what type of instances can it work with?

A

EFS (Elastic File System) is a managed NFS for Linux EC2 instances across multiple AZs.

29
Q

What does EFS-IA stand for and what is its benefit?

A

Elastic File System - Infrequent Access; it is a cost-optimized storage class for files not accessed daily.

30
Q

How does EFS-IA manage file movement?

A

Files are automatically moved based on the last accessed time as per lifecycle policies.

31
Q

What is the shared responsibility model for EC2 storage?

A

AWS manages infrastructure and replication, while users manage backups, encryption, and data security.

32
Q

Name two main services in Amazon FSx.

A

FSx for Windows File Server and FSx for Lustre.

33
Q

What protocol does FSx for Windows File Server support?

A

SMB (Server Message Block) protocol.

34
Q

Which FSx option is optimized for high-performance computing?

A

FSx for Lustre

35
Q

True or False: FSx for Lustre is ideal for workloads like machine learning and analytics.

A

True

36
Q

How does EBS differ from EFS in terms of instance attachment?

A

EBS can only be attached to one instance at a time, while EFS can be mounted on hundreds.

37
Q

Which service offers better performance, EBS or EC2 Instance Store?

A

EC2 Instance Store

38
Q

What type of storage does EFS provide?

A

Network file system storage for multiple instances.

39
Q

What is the main advantage of using AMIs?

A

Faster boot and configuration times with pre-packaged software.

40
Q

What is the lifecycle policy in EFS used for?

A

To automatically move infrequently accessed files to EFS-IA.

41
Q

Which AWS service allows automated AMI creation and distribution?

A

EC2 Image Builder