Bitzu

CLF-C02 ยท Storage services

File storage: Amazon EFS and Amazon FSx

Amazon EFS as shared elastic file storage for Linux and the Amazon FSx family (Windows File Server, Lustre and others) and when each fits.

Key points

  • Amazon EFS: NFSv4 file storage that grows and shrinks automatically; many EC2 instances, containers and Lambda functions mount it at once.
  • Regional: multiple AZs. One Zone: single AZ. Not supported on Windows EC2.
  • FSx for Windows File Server: SMB, Windows apps and migrations.
  • FSx for Lustre: Linux parallel file system for HPC and ML.
  • FSx for NetApp ONTAP: NFS, SMB, iSCSI; teams on NetApp.
  • FSx for OpenZFS: NFS, Linux migrations.

Source: https://docs.aws.amazon.com/efs/latest/ug/whatisefs.html

Practice questions

Single choice

Which file protocol do clients use to mount an Amazon EFS file system?

  1. SMB
  2. iSCSI
  3. NFS
  4. FTP
Show answer

Answer: C. NFS

Amazon EFS supports NFS version 4 (NFSv4.0 and NFSv4.1). SMB is used by FSx for Windows File Server, iSCSI is a block protocol, and FTP is a file transfer protocol, not a mount protocol for EFS.

Select all that apply

Which statements about Amazon EFS are true?

  1. Capacity grows and shrinks automatically as files are added and removed
  2. EC2, containers and Lambda functions can use the same file system
  3. It is the recommended file share for Windows EC2 instances
  4. You must choose a fixed size when you create the file system
  5. Regional file systems keep all data in one Availability Zone
Show answer

Answer: A. Capacity grows and shrinks automatically as files are added and removed, B. EC2, containers and Lambda functions can use the same file system

EFS grows and shrinks automatically without provisioning, and it can be mounted by EC2 instances as well as containers and Lambda functions at the same time. It is not supported on Windows EC2 instances, it does not require you to pick a fixed size, and One Zone file systems (not Regional ones) keep data in a single AZ.

True or false

Amazon EFS is the right choice for a shared drive used by Windows-based EC2 instances over SMB.

Show answer

Answer: False

False. EFS uses NFS and is not supported on Windows EC2 instances. For Windows file shares over SMB, use Amazon FSx for Windows File Server.

Practice 8 questions on this topic in Bitzu

Short lessons, instant explanations and spaced review of what you get wrong. Free on iOS and Android.

Download on the App StoreGet it on Google Play

More CLF-C02 topics in this module