EC2 - EFS Flashcards

1
Q

What is Amazon EFS?

A

Amazon EFS (Elastic File System) is a fully managed network file system (NFS) that can be mounted on many EC2 instances across multiple availability zones, offering scalability, high availability, and cost-per-use pricing.

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

What are the key features of Amazon EFS?

A

Highly Available: Accessible from multiple EC2 instances in different AZs.
Scalable: Automatically scales without requiring capacity planning.
Pay-per-Use: Charges based on the amount of data used.
NFS Protocol: Uses NFS (Network File System) for file system access.
Linux-Compatible: Only compatible with Linux-based AMIs.
Encryption: Supports encryption at rest using KMS.

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

What is the main use case for Amazon EFS?

A

Amazon EFS is ideal for use cases like content management, web serving, data sharing, and WordPress hosting due to its ability to be accessed from multiple EC2 instances.

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

What protocol does EFS use internally?

A

Amazon EFS uses the NFS (Network File System) protocol.

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

What are the two performance modes available for EFS?

A

General Purpose: Best for latency-sensitive use cases (e.g., web servers, CMS).

Max I/O: Designed for high-throughput, low-latency applications, suitable for big data or media processing.

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

What are the throughput modes available in EFS?

A

Bursting: Automatically bursts throughput based on storage size (default).
Provisioned: Allows you to set a specific throughput independent of storage size.
Elastic: Scales throughput automatically based on workload demands (ideal for unpredictable workloads).

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

What are the EFS storage tiers?

A

Standard: For frequently accessed files.
EFS-IA (Infrequent Access): For files that are accessed less frequently, lower cost to store but retrieval incurs a fee.
Archive: For rarely accessed data (e.g., accessed a few times a year), offering the lowest cost.

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

How does lifecycle management work in Amazon EFS?

A

Lifecycle management allows files to automatically transition between different storage tiers after a certain number of days. For example, files that haven’t been accessed for 60 days can be moved from Standard to EFS-IA.

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

What are the two availability options in EFS?

A

Multi-AZ: Provides high availability across multiple availability zones, ideal for production workloads.
One-AZ: A lower-cost option where the file system is available in only one availability zone (also supports EFS-IA storage).

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

Can you use Amazon EFS with Windows-based instances?

A

No, Amazon EFS is only compatible with Linux-based AMIs and not Windows instances.

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

How do you control access to your Amazon EFS?

A

Access to Amazon EFS is controlled using security groups, which manage the network traffic to and from the EFS file system.

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

Which service offers multi-AZ durability?

A

EFS offers multi-AZ durability by replicating data across multiple AZs. EBS, by default, is tied to a single AZ.

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

Which service automatically scales storage as needed?

A

EFS scales automatically to accommodate growing storage needs. EBS requires manual resizing of volumes.

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

Do backups impact performance on EBS and EFS?

A

EBS: Snapshots can impact I/O performance.
EFS: Backups are automatically handled and do not directly impact performance.

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