EFS Flashcards

1
Q

Amazon EFS file systems can automatically scale from…

A

gigabytes to petabytes of data without needing to provision storage

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

How many compute instances can access an EFS at the same time?

A

1 to thousands

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

What are EFS Standard storage classes good for?

A

workloads that require the highest levels of durability and availability.

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

What are EFS One Zone storage classes good for?

A
  • development, build, and staging environments
  • applications such as analytics, simulation and media transcoding
  • backups or replicas of on-premises data which do not require multi-AZ resilience.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is EFS?

A

Amazon EFS is a file storage service for use with Amazon compute (EC2, containers, serverless) and on-premises servers. Amazon EFS provides a file system interface, file system access semantics (such as strong consistency and file locking), and concurrently-accessible storage for up to thousands of Amazon EC2 instances.

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

How do I access a file system from an Amazon EC2 instance?

A
  • mount the file system on Amazon EC2 Linux-based instance using the standard Linux mount command and the file system’s DNS name
  • recommend using EFS mount helper
  • then work with files and directories in FS just like you would with local file system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What Amazon EC2 instance types and AMIs work with Amazon EFS?

A

Amazon EFS is compatible with all Linux-based AMIs for Amazon EC2.

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

True or false: You cannot mix and match the EC2 instance types connected to a single EFS file system.

A

False. You CAN mix and match instance types connected to single FS.

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

How do I load data into an EFS file system?

A
  • standard Linux copy tools

- AWS DataSync

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

What is AWS DataSync and how does it work?

A

What: AWS DataSync provides a fast and simple way to securely sync existing file systems with Amazon EFS.

How: Works over any network connection, including AWS VPN or Direct Connect.

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

True or false: You can use AWS DataSync to copy files between two Amazon EFS file systems.

A

True - including between two file systems in different AWS regions and those belonging to different AWS accounts.

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

List the EFS storage classes.

A

Standard, Standard IA, One Zone, One Zone IA

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

How do I move files to EFS Standard-IA and EFS One Zone-IA?

A

Enable EFS Lifecycle Management and choose an age-off policy for files

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

True or false: When you disable EFS Lifecycle Management, any files that have already been moved to an Infrequent Access storage class will be moved back to a Standard storage class.

A

False - any files that have already moved to an Infrequent Access storage class will remain there.

Files will no longer be moved from Standard to IA.

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

What is the minimum size file eligible for EFS Lifecycle Management?

A

128 KiB

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

What is the average latency for EFS Standard and One Zone storage classes?

A

designed to provide single-digit latencies on average

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

What is the average latency for EFS Standard-IA and One Zone-IA storage classes?

A

designed to provide double-digit latencies on average

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

What is the latency difference between EFS Standard and IA storage classes?

A

When reading from or writing to EFS Standard-IA storage class, or EFS One Zone-IA storage class, your first-byte latency is higher than that of EFS Standard or EFS One Zone storage classes.

19
Q

What throughput can I drive against files stored in the EFS Standard-IA or EFS One Zone-IA storage class?

A

All Amazon EFS file systems, regardless of size, can burst to 100 MiB/s of throughput. File systems with more than 1 TiB of data stored on EFS Standard or EFS One Zone storage classes can burst to 100 MiB/s per TiB of data stored on EFS Standard or EFS One Zone storage classes.

20
Q

What should you do if you need higher amounts of throughput to EFS Standard-IA or EFS One Zone-IA storage classes?

A

Use Amazon EFS Provisioned Throughput

21
Q

How is Amazon EFS designed to provide high durability?

A

By default, every Amazon EFS file system object (i.e. directory, file, and link) is redundantly stored across multiple AZs for file systems using Standard storage classes. If you select Amazon EFS One Zone storage classes, your data is redundantly stored within a single AZ.

22
Q

How much data can I store in EFS?

A

Petabytes

23
Q

How many EFS file systems can I create?

A

Up to 1000 per region

24
Q

What are the two EFS performance modes?

A

General Purpose and Max I/O

25
Q

When to choose EFS General Purpose performance mode?

A

Default, appropriate for most file systems

26
Q

When to choose EFS Max I/O performance mode?

A

Applications where tens, hundreds or thousands of EC2 instances are accessing the file system concurrently.

27
Q

How much throughput can an EFS file system support?

A

Baseline performance of 50 MB/s per TB, burst to 100 MB/s regardless of size or 100 MB/s per TB if size > 1TB.

28
Q

When should you use EFS provisioned throughput?

A

When amount of data in file system is low relative to throughput demands

29
Q

How is EFS Provisioned Throughput priced?

A

Pay for storage and Provisioned Throughput separately, ex. $0.30 per GB-Month for Standard storage and $6.00 per MB/s-Month for Provisioned Throughput in US-East

30
Q

How do I monitor my EFS read and write throughput usage?

A

CloudWatch, Amazon EFS console

31
Q

What to use to control network traffic to and from EFS file system?

A

VPC security groups

32
Q

What to use to control which clients can mount your EFS file system, and with what permissions?

A

IAM policy. Use EFS Access Points to manage application access

33
Q

What is an EFS Access Point?

A

Enforces an operating system user and group, and directory for every file system request made through the access point

34
Q

Why should I use EFS Access Points?

A

Flexible way to manage application access with increased scalability, security, and ease of use.

35
Q

What service would you use to share a specific directory in EFS with other AWS accounts?

A

EFS Access Points

36
Q

True or false: You can update your EFS file system’s IAM policy to apply to your access points.

A

True

37
Q

How to encrypt EFS data at rest?

A

Using encryption keys managed by AWS KMS

38
Q

How is EFS data encrypted in transit?

A

TLS 1.2

39
Q

True or false: encryption has no effect on EFS performance.

A

False. Encrypting your data has a minimal effect on I/O latency and throughput.

40
Q

How do I access an Amazon EFS file system from servers in my on-premises datacenter?

A

AWS Direct Connect or AWS VPN

41
Q

True or false: You can access EFS file system concurrently from servers in on-prem DC as well as EC2 instances in Amazon VPC.

A

True.

42
Q

True or false: Amazon EFS data cannot be transferred between regions.

A

False. You can use AWS DataSync to transfer files between two EFS file systems, including ones in different regions.

43
Q

List AWS services that can access EFS.

A

EC2, ECS, EKS, Lambda, SageMaker