# Amazon Elastic File System (Amazon EFS)

Cloud service · AWS. Updated 2026-11-12. Page: https://blowstack.com/tools/cloud-services-hub/amazon-elastic-file-system-(amazon-efs)

> Amazon Elastic File System (Amazon EFS) is a cloud-based file storage service offered by Amazon Web Services (AWS) that provides a simple, scalable, elastic file system for use with AWS Cloud services and on-premise resources.

Practice exams covering Amazon Elastic File System (Amazon EFS): [CLF-C02 AWS Certified Cloud Practitioner](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner), [SOA-C03 AWS Certified CloudOps Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate), [DEA-C01 AWS Certified Data Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate), [DOP-C02 AWS Certified DevOps Engineer - Professional](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional), [MLA-C02 AWS Certified Machine Learning Engineer - Associate](https://blowstack.com/practice-exams/aws-certified-machine-learning-engineer-associate), [SCS-C03 AWS Certified Security - Specialty](https://blowstack.com/practice-exams/aws-certified-security-specialty), [SAA-C03 AWS Certified Solutions Architect - Associate](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate), [SAP-C03 AWS Certified Solutions Architect - Professional](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional).

## 8 key features of Amazon Elastic File System (Amazon EFS)

Amazon EFS provides a simple, scalable, and fully managed elastic file system with features like high durability, availability, security, and shared file storage, designed for easy scaling and management, significantly reducing overhead while ensuring data safety and compliance.

1. **Simple, Scalable, and Elastic**: Amazon EFS is designed to provide a simple, serverless, set-and-forget elastic file system. It automatically scales without needing to provision storage or throughput capacity, ensuring users pay only for what they use without worrying about storage limits.
2. **Fully Managed Service**: As a fully managed service, Amazon EFS eliminates the need to manage and configure hardware or file servers, significantly reducing the overhead for storage management tasks such as hardware provisioning, software patching, and backups.
3. **Highly Durable and Available**: Amazon EFS is built to be highly durable and available. It is designed to provide 99.999999999% (11 9's) of durability over a given year and is built to be available and resilient, with Regional file systems spreading data across multiple availability zones.
4. **Secure**: Amazon EFS offers robust security capabilities, including encryption of data at rest and in transit, integrated with AWS Identity and Access Management (IAM) for fine-grained access control, and is compliant with various regulatory standards.
5. **Shared File Storage**: It offers shared file storage for thousands of Amazon EC2 instances, supporting a broad spectrum of use cases, from content management and web serving, to data analytics and machine learning, providing a centralized file storage location for scalable compute workloads.
6. **NFS Protocol Support**: Amazon EFS supports the NFSv4.1 and NFSv4.0 protocols.
7. **IPv6 Support**: Amazon EFS supports IPv6 on its service APIs and mount targets.
8. **Cross-Account Replication**: Amazon EFS supports replication across AWS accounts.

## Where Amazon Elastic File System (Amazon EFS) is used

Amazon Elastic File System (Amazon EFS) is utilized across a broad spectrum including web serving, data analytics, software development and testing, database backup, as well as supporting machine learning and AI applications by offering scalable, shared file storage.

1. **Web Serving and Content Management**: Amazon EFS is used to store and serve web content and media for web serving applications and content management systems. It allows multiple instances to access the content in a scalable, shared environment.
2. **Data Analytics**: By providing a centralized storage solution, Amazon EFS supports big data analytics applications. It can store large volumes of data and allow multiple analytics tools and instances to process this data simultaneously.
3. **Software Development and Testing**: Developers use Amazon EFS as a shared storage for development, testing, and staging environments, enabling teams to work in parallel without duplicating files, which simplifies the CI/CD pipeline.
4. **Database Backup**: Amazon EFS serves as a highly available and scalable storage option for backing up databases. Its on-demand scaling feature allows it to adapt to the growing size of database backups.
5. **Machine Learning and AI**: For machine learning and artificial intelligence applications, Amazon EFS provides a shared, scalable file storage for training data, models, and algorithms that facilitate collaboration and streamline workflows.

## How Amazon Elastic File System (Amazon EFS) is priced

Amazon EFS pricing includes standard and infrequent access storage classes based on storage usage and an optional provisioned throughput model for higher performance needs.

- **Amazon EFS Standard Storage Pricing**: Charges are based on the average storage amount (in GB) used throughout the month. You pay for the storage you use without any minimum fee or setup cost.
- **Amazon EFS Infrequent Access (IA) Storage Pricing**: EFS IA charges for storage, reads, and tiering between Standard and IA. The minimum billable file size is 128 KiB, including for smaller files.
- **Amazon EFS Provisioned Throughput**: In addition to storage pricing, you can pay for provisioned throughput to achieve higher performance levels, which is billed per MB/s-month of throughput provisioned beyond the baseline rate.
- **Amazon EFS Elastic Throughput**: Elastic Throughput charges for read and write access, rather than for throughput provisioned upfront.
- **Amazon EFS Archive Storage Pricing**: Archive charges for storage, reads, and tiering from Standard or IA to Archive and from Archive to Standard. It has a minimum billable file size of 128 KiB and a minimum storage duration of 90 days, even if data is deleted earlier.
- **Amazon EFS Data Transfer**: Cross-AZ and cross-Region access and replication are subject to applicable EC2 data transfer rates. Accessing a mount target within the same AZ, or replicating between EFS file systems within the same AZ, incurs no data transfer charge.
- **Amazon EFS Backup**: EFS backups use AWS Backup and are charged for backup storage used and backup data restored during the month, with no minimum fee or setup charge.
- **AWS Free Tier**: Starting July 15, 2025, new AWS customers receive up to $200 in Free Tier credits applicable to eligible services including EFS. Customers can choose a free plan available for six months or a paid plan; all credits must be used within 12 months of account creation.

## Services Amazon Elastic File System (Amazon EFS) works with

- **[Amazon EC2](https://blowstack.com/tools/cloud-services-hub/amazon-ec2)**: You can mount Amazon EFS file systems to Amazon EC2 instances, enabling scalable and high-performance storage for applications running in your instances.
- **[AWS Lambda](https://blowstack.com/tools/cloud-services-hub/aws-lambda)**: Amazon EFS integrates with AWS Lambda to give your serverless functions scalable and persistent file storage, enabling processing of large data sets and preserving state across invocations.
- **[Amazon CloudWatch](https://blowstack.com/tools/cloud-services-hub/amazon-cloudwatch)**: Amazon EFS publishes storage, throughput, I/O, and client-connection metrics to CloudWatch for dashboards and alarms. The EFS mount helper can also send mount-status logs to CloudWatch Logs when configured.
- **[Amazon Elastic Container Service (Amazon ECS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-container-service-(amazon-ecs))**: Amazon EFS provides persistent shared storage for ECS tasks through EFS volumes defined in task definitions. Tasks can use EFS access points and IAM authorization to control access to shared application files.
- **[Amazon Elastic Kubernetes Service (Amazon EKS)](https://blowstack.com/tools/cloud-services-hub/amazon-elastic-kubernetes-service-(amazon-eks))**: Amazon EFS supplies shared persistent volumes to EKS pods through the Amazon EFS CSI driver. The driver supports dynamic provisioning through EFS access points, allowing multiple pods to share files across nodes and Availability Zones.
- **[Amazon EMR](https://blowstack.com/tools/cloud-services-hub/amazon-emr)**: Amazon EFS can be mounted on EMR cluster instances using bootstrap actions to provide a shared file system. Files stored there remain available independently of an individual cluster's lifetime.
- **[Amazon EventBridge](https://blowstack.com/tools/cloud-services-hub/amazon-eventbridge)**: Amazon EFS API activity recorded by CloudTrail can trigger EventBridge rules. For example, a rule can start an automated workflow when an EFS file system is created or its configuration changes.
- **[Amazon RDS](https://blowstack.com/tools/cloud-services-hub/amazon-rds)**: Amazon EFS integrates with RDS for Oracle through the EFS_INTEGRATION option, allowing the database instance to access files on an EFS file system. This supports workflows such as transferring Oracle Data Pump files without storing them on the database instance's local storage.
- **[Amazon SageMaker](https://blowstack.com/tools/cloud-services-hub/amazon-sagemaker)**: Amazon EFS stores persistent home-directory data for SageMaker Studio Classic and can supply file-system input data to SageMaker training jobs. Supported Studio configurations can also attach custom EFS file systems for shared project data.
- **[Amazon VPC](https://blowstack.com/tools/cloud-services-hub/amazon-vpc)**: Amazon EFS exposes file systems through mount targets with network interfaces in VPC subnets. Security groups control NFS access to those mount targets, allowing only authorized clients to connect.
- **[Amazon WorkSpaces](https://blowstack.com/tools/cloud-services-hub/amazon-workspaces)**: Amazon EFS can provide shared file storage for Linux WorkSpaces by mounting the file system over NFS. WorkSpaces users can access common project directories while file access is governed by network controls and POSIX permissions.
- **[Amazon WorkSpaces Applications](https://blowstack.com/tools/cloud-services-hub/amazon-appstream-2)**: Amazon EFS can provide persistent shared storage for Linux WorkSpaces Applications streaming instances. Fleet configuration and session scripts can mount EFS directories so users retain files across streaming sessions.
- **[AWS Audit Manager](https://blowstack.com/tools/cloud-services-hub/aws-audit-manager)**: Amazon EFS configurations can contribute compliance evidence to Audit Manager through mapped AWS Config controls. This supports assessments of requirements such as EFS encryption and backup coverage.
- **[AWS Backup](https://blowstack.com/tools/cloud-services-hub/aws-backup)**: Amazon EFS integrates with AWS Backup for scheduled, policy-based backups and centralized backup monitoring. Recovery points support restoring an entire file system or selected files and directories.
- **[AWS Batch](https://blowstack.com/tools/cloud-services-hub/aws-batch)**: Amazon EFS provides persistent shared storage for Batch jobs through EFS volumes in job definitions. Jobs can mount the same datasets and output directories, with optional access points, IAM authorization, and encryption in transit.
- **[AWS CloudFormation](https://blowstack.com/tools/cloud-services-hub/aws-cloudformation)**: Amazon EFS file systems, mount targets, and access points can be provisioned and managed as CloudFormation resources. Templates can define encryption, lifecycle policies, network placement, and access settings alongside the applications that use the storage.
- **[AWS CloudTrail](https://blowstack.com/tools/cloud-services-hub/aws-cloudtrail)**: Amazon EFS integrates with CloudTrail to record management API activity, including requests to create file systems or change their policies. These records identify the caller, request parameters, and time of the operation; they do not record individual NFS file operations.
- **[AWS CodeBuild](https://blowstack.com/tools/cloud-services-hub/aws-codebuild)**: Amazon EFS file systems can be attached to supported CodeBuild build environments through project file-system settings. Builds can use the mounted directories for shared dependencies, large input datasets, or persistent build assets.
- **[AWS Config](https://blowstack.com/tools/cloud-services-hub/aws-config)**: Amazon EFS resource configurations can be recorded by AWS Config and evaluated with managed rules. EFS-specific rules check settings such as encryption, backup-plan coverage, and access-point enforcement.
- **[AWS Control Tower](https://blowstack.com/tools/cloud-services-hub/aws-control-tower)**: Amazon EFS resources are covered by Control Tower controls that evaluate security requirements such as encryption and access-point configuration. Proactive controls can reject noncompliant EFS resources during CloudFormation provisioning.
- **[AWS DataSync](https://blowstack.com/tools/cloud-services-hub/aws-datasync)**: Amazon EFS is a supported DataSync source and destination for managed file transfers. DataSync can migrate an on-premises NFS share into EFS or move data between EFS and other supported storage services while preserving supported file metadata.
- **[AWS Direct Connect](https://blowstack.com/tools/cloud-services-hub/aws-direct-connect)**: Amazon EFS file systems can be mounted by on-premises clients over Direct Connect connectivity to their VPC. This allows local applications and AWS workloads to access the same file system through private network connectivity.
- **[AWS Elastic Beanstalk](https://blowstack.com/tools/cloud-services-hub/aws-elastic-beanstalk)**: Amazon EFS can provide shared persistent storage for Elastic Beanstalk application instances. Environment configuration files can create or reference an EFS file system and mount it on instances, keeping uploaded files available as instances are replaced or scaled.
- **[AWS Fargate](https://blowstack.com/tools/cloud-services-hub/aws-fargate)**: Amazon EFS provides persistent shared file storage for ECS tasks running on supported Fargate platform versions. Containers can mount EFS volumes without managing storage servers or the underlying compute instances.
- **[AWS Identity and Access Management (IAM)](https://blowstack.com/tools/cloud-services-hub/aws-identity-and-access-management-(iam))**: Amazon EFS uses IAM policies to control management operations and can use IAM authorization for NFS client access. File-system policies and client IAM roles can govern mounting, writing, and root access, including access through specific EFS access points.
- **[AWS Key Management Service (AWS KMS)](https://blowstack.com/tools/cloud-services-hub/aws-key-management-service-(aws-kms))**: Amazon EFS uses KMS keys to encrypt file-system data and metadata at rest. A file system can use the AWS managed EFS key or a customer managed key whose permissions and lifecycle are controlled in KMS.
- **[AWS Launch Wizard](https://blowstack.com/tools/cloud-services-hub/aws-launch-wizard)**: Amazon EFS is a shared-storage option in supported Launch Wizard deployments for SAP. Launch Wizard can provision and configure EFS storage for SAP directories that must be accessible across application instances.
- **[AWS Managed Services (AMS)](https://blowstack.com/tools/cloud-services-hub/aws-managed-services-(ams))**: Amazon EFS resources can be provisioned and operated through supported AMS change-management workflows. AMS provides automated change types for EFS operations, allowing file-system infrastructure to be managed within its operational controls.
- **[AWS PrivateLink](https://blowstack.com/tools/cloud-services-hub/aws-privatelink)**: Amazon EFS supports interface VPC endpoints through PrivateLink for its management API. Applications can create and manage EFS resources without sending API requests over the public internet; NFS file access continues to use EFS mount targets.
- **[AWS Resilience Hub](https://blowstack.com/tools/cloud-services-hub/aws-resilience-hub)**: Amazon EFS file systems are supported resources in Resilience Hub application assessments. Resilience Hub evaluates their configuration against application recovery objectives and provides resilience recommendations.
- **[AWS Resource Groups and Tag Editor](https://blowstack.com/tools/cloud-services-hub/aws-resource-groups-and-tag-editor)**: Amazon EFS file systems can be organized into tag-based resource groups and have their tags managed through Tag Editor. This helps identify and manage the file systems belonging to an application, environment, or owner.
- **[AWS Security Hub](https://blowstack.com/tools/cloud-services-hub/aws-security-hub)**: Amazon EFS is covered by Security Hub controls that check settings such as encryption at rest, backup coverage, and access-point restrictions. Failed checks generate findings that can be investigated and remediated alongside other security findings.
- **[AWS Site-to-Site VPN](https://blowstack.com/tools/cloud-services-hub/aws-site-to-site-vpn)**: Amazon EFS can be accessed from on-premises NFS clients through a Site-to-Site VPN connection to its VPC. With routing and security-group access configured, applications can mount EFS file systems over the encrypted connection.
- **[AWS Step Functions](https://blowstack.com/tools/cloud-services-hub/aws-step-functions)**: Amazon EFS management APIs can be invoked from Step Functions through AWS SDK integration tasks. A workflow can create a file system, check its availability, and create mount targets as part of an automated provisioning process.
- **[AWS Systems Manager](https://blowstack.com/tools/cloud-services-hub/aws-systems-manager)**: Amazon EFS can be checked and mounted on managed EC2 instances using Systems Manager automation, including the AWSSupport-CheckAndMountEFS runbook. This helps diagnose connectivity and configuration problems and automate mounting on Linux instances.
- **[AWS Transfer Family](https://blowstack.com/tools/cloud-services-hub/aws-transfer-family)**: Amazon EFS can serve as the backing file system for Transfer Family SFTP, FTPS, and FTP servers. Users can transfer files directly into EFS directories that applications access through NFS, with POSIX identities and directory mappings controlling access.
- **[AWS Transit Gateway](https://blowstack.com/tools/cloud-services-hub/aws-transit-gateway)**: Amazon EFS mount targets can be reached from other VPCs through Transit Gateway routing. This allows workloads in connected VPCs to share an EFS file system when routing, name resolution, and security rules are configured appropriately.
- **[AWS Trusted Advisor](https://blowstack.com/tools/cloud-services-hub/aws-trusted-advisor)**: Amazon EFS configurations are evaluated by the Trusted Advisor throughput-mode optimization check. The check identifies file systems that may benefit from a different throughput mode to improve cost efficiency.
- **[Red Hat OpenShift Service on AWS (ROSA)](https://blowstack.com/tools/cloud-services-hub/red-hat-openshift-service-on-aws-(rosa))**: Amazon EFS provides shared persistent storage for ROSA workloads through the AWS EFS CSI driver. OpenShift applications can use EFS-backed persistent volume claims when multiple pods need concurrent read-write access to the same files.

## What is Amazon Elastic File System (Amazon EFS)

Amazon Elastic File System (Amazon EFS) is a cloud storage service provided by Amazon Web Services (AWS) designed to provide scalable file storage for use with AWS Cloud services and on-premises resources. It delivers a simple, scalable, elastic file system for Linux-based workloads for use with AWS cloud services and on-premises resources.

At its core, Amazon EFS is built to offer high levels of availability, scalability, and durability, making it a fitting choice for a wide range of applications and use cases, from content management and data analytics to development environments and machine learning workloads. One of the key advantages of Amazon EFS is its simplicity. It allows users to create and configure file systems quickly without needing to provision or manage capacity. The service automatically scales up or down as you add or remove files. This elastic scaling feature ensures that your applications have the storage they need when they need it, without requiring manual intervention or complex capacity planning. Beyond its scalability and ease of use, EFS is designed to be highly durable and available. Regional file systems store data redundantly across multiple Availability Zones (AZs) within an AWS Region, providing continuous availability even when one or more AZs are unavailable. One Zone file systems store data within a single AZ; loss or damage to that AZ can result in data loss.

The maximum size of an individual file is 52,673,613,135,872 bytes; this quota is not adjustable.

Elastic Throughput is the default throughput mode and is recommended for most workloads; performance automatically scales with workload activity.

Provisioned Throughput lets you configure throughput performance upfront and is suited to predictable, high levels of sustained throughput requirements.

General Purpose is the default performance mode and is recommended for most workloads.

Furthermore, EFS offers three storage classes: Standard, SSD-based storage for actively used data; Infrequent Access (IA), cost-optimized storage for data accessed only a few times a quarter; and Archive, cost-optimized storage for long-lived data accessed a few times a year or less. Amazon EFS also supports POSIX-compliant file system interfaces and semantics, allowing you to integrate your existing tools and applications seamlessly. This means that applications and tools that are designed to work with traditional file systems can work with EFS without any modification, which significantly reduces the effort required to migrate existing applications to the cloud or to integrate cloud-based resources into on-premises environments.

For security, EFS integrates with AWS Identity and Access Management (IAM), allowing you to control access at a granular level. It also supports encryption of data at rest and in transit, ensuring that your data is protected both when it is stored and as it travels across the network.

In conclusion, Amazon EFS presents a versatile, secure, and highly scalable solution for managing file storage in the cloud or hybrid environments. Its integration with AWS services, combined with its support for standard file system interfaces and semantics, makes it an invaluable tool for a wide range of applications, from web serving and content management to container storage and big data analytics. With EFS, businesses can leverage the benefits of cloud storage - such as reduced costs, scalability, and durability - without sacrificing performance or compatibility.

## Amazon Elastic File System (Amazon EFS) exam questions

Real practice exam questions on Amazon Elastic File System (Amazon EFS), with the correct answer and its explanation.

### Question 1 (CLF-C02)

**Question:**

A company uses a managed NFS file system for design documents. A lifecycle policy already moves inactive files to an infrequent-access storage class. When an older project resumes, employees repeatedly read its files, but the files remain in the infrequent-access class and incur data access charges. The company wants files to automatically return to the frequently accessed storage class when they are first read again, without changing file paths. Which change meets this requirement?

**Correct answer:** Configure Amazon EFS Lifecycle Management to transition files back to EFS Standard on first access.

**Explanation:** Amazon EFS supports a lifecycle policy that transitions files from Infrequent Access or Archive back to Standard on first access. This supports renewed frequent use while preserving the same file system and file paths.

### Question 2 (MLA-C02)

**Question:**

A company stores training files for several ML projects in separate directories on one shared Linux file system. Containerized data-preparation jobs run on Amazon EC2 instances, and each project has a distinct IAM role. The containers run as root, and the company cannot modify their images.

The company is moving the files to managed storage. It must retain one shared file system while enforcing these requirements at the storage service: each project's IAM role can access only its assigned directory, file operations use a project-specific non-root POSIX identity regardless of the container's identity, and all client connections use encryption in transit.

Which configuration meets these requirements?

**Correct answer:** Create an Amazon EFS access point for each project with its project directory as the root and an enforced project-specific non-root UID and GID. Configure directory permissions for that identity. Use file-system and IAM policies to permit each role only through its assigned access point and deny non-TLS and unauthorized access. Mount by using the EFS mount helper with TLS, IAM authorization, and the assigned access point.

**Explanation:** EFS access points can enforce both a root directory and a POSIX identity, overriding the identity supplied by the container. IAM authorization and policies that require the assigned access point prevent a project from bypassing that boundary. Denying non-TLS connections enforces encryption in transit.

### Question 3 (SAP-C03)

**Question:**

A media company stores 300 TB of production assets in an Amazon EFS Regional file system that uses General Purpose performance mode and Elastic Throughput. Linux processing fleets in three Availability Zones access the files through NFS. Files are at least 1 MiB and must remain available in the same namespace for 7 years. Most files receive no content reads after their first week, although a daily inventory process lists directories and reads file metadata. Occasionally, an old asset becomes popular and receives frequent content reads for several weeks.

The company wants files with no content access for 30 days to move to lower-cost storage and files with no content access for 90 days to use the lowest-cost compatible EFS storage class. All files must remain readable without a restore workflow; tens-of-milliseconds first-byte latency for cold files is acceptable. When content access resumes, files must automatically return to storage optimized for frequent access. The solution must retain multi-AZ resilience and require no application changes.

Which solution meets these requirements?

**Correct answer:** Retain the existing file system configuration. Configure lifecycle transitions to EFS Infrequent Access after 30 days and EFS Archive after 90 days, and configure transition to EFS Standard on first access.

**Explanation:** EFS lifecycle management tracks file access independently of POSIX access-time attributes; directory listings and metadata operations do not count as content access. These policies move inactive files into progressively lower-cost classes and automatically promote them to Standard when content access resumes. EFS Archive supports online access with tens-of-milliseconds first-byte latency and does not require restoration. The existing Regional, General Purpose, Elastic Throughput configuration supports these capabilities and preserves multi-AZ resilience.

### Question 4 (SOA-C03)

**Question:**

A company runs Linux applications on Amazon EC2 instances that share an Amazon EFS Regional file system. The file system contains a configuration directory and a historical-results directory. Configuration files might remain unread for several months, but every read, including the first read after an idle period, must have the low latency of EFS Standard. Historical results are rarely accessed and can tolerate the additional latency of a lower-cost storage class. Both directories require NFS access, POSIX file locking, and availability across Availability Zones.

A CloudOps engineer must automatically transition historical results to lower-cost storage after 30 days without access while ensuring that configuration files never transition. Application mount paths can be changed.

Which solution meets these requirements?

**Correct answer:** Create separate EFS Regional file systems for configuration files and historical results. Disable lifecycle transitions on the configuration file system, and configure the historical-results file system to transition files to EFS Infrequent Access after 30 days without access.

**Explanation:** EFS lifecycle policies apply to a file system, not to selected directories. Separate Regional file systems allow configuration files to remain in EFS Standard while historical results transition automatically to EFS IA. Both file systems retain shared NFS access, POSIX locking, and multi-AZ resilience.

### Question 5 (SCS-C03)

**Question:**

A biotechnology company uses AWS Backup to create daily recovery points for Amazon EFS file systems. All recovery points currently remain in warm backup storage until they expire. A new policy requires each new recovery point to remain in warm storage for its first 30 days and be configured to expire 120 days after creation. After the initial 30 days, the company accepts the retrieval characteristics of cold backup storage and wants to minimize backup storage costs. The source file systems' storage classes must remain unchanged.

Which configuration should a security engineer implement for new recovery points?

**Correct answer:** Configure the backup rule to transition recovery points to cold storage 30 days after creation and delete them 120 days after creation.

**Explanation:** AWS Backup supports lifecycle transitions to cold storage for EFS recovery points. Cold storage requires a minimum residence of 90 days. Transitioning on day 30 and expiring on day 120 satisfies that minimum, preserves the initial 30-day warm period, and minimizes warm backup storage without changing the source file systems.

### Question 6 (DEA-C01)

**Question:**

A data pipeline uses an AWS Lambda function to refresh a lookup file while many other Lambda invocations read it. All functions mount the same Amazon EFS directory at /mnt/reference. The lookup file already exists at /mnt/reference/current.csv.

Each reader opens current.csv once, reads it sequentially, and closes it. A reader may receive either the previous complete version or the new complete version, but must never receive a partially written file or encounter a missing file during an update. Only one writer runs at a time. All required network connectivity, IAM permissions, and POSIX permissions are configured correctly.

Which writer implementation meets these requirements without changing the reader code?

**Correct answer:** Write the new contents to a unique temporary file in /mnt/reference, close the file, and call os.replace() to replace /mnt/reference/current.csv with the temporary file.

**Explanation:** The temporary file and destination are on the same EFS file system, so replacement by rename is atomic. Readers that already opened the previous file can finish reading it, while subsequent opens can access the completed replacement. The destination is not exposed in a partially written or missing state.

### Question 7 (DOP-C02)

**Question:**

A company uses AWS CodeDeploy to perform in-place deployments to Linux EC2 instances in an Auto Scaling group. All instances mount the same Amazon EFS directory at /opt/orders/uploads. The application stores customer uploads there, and its upload path is configurable. Application binaries are installed under /opt/orders/releases/<revision>.

A deployment hook synchronizes the release bundle into /opt/orders by using rsync --delete. The bundle does not contain customer uploads. During a deployment to one instance, customer files disappear from every instance. Investigation confirms that the synchronization traversed the uploads mount and deleted files that were absent from the bundle.

The company must continue accepting uploads throughout deployments. Application rollback must restore the previous binaries without reverting customer data. Instances must remain disposable, and all instances must continue accessing the same uploads. The company wants to retain its current storage service and deployment mechanism.

Which change should a DevOps engineer implement?

**Correct answer:** Mount the shared uploads directory outside /opt/orders and configure the application to use that path. Limit deployment synchronization and cleanup to instance-local release directories, and make rollback select the previous local release without modifying the shared uploads.

**Explanation:** A deletion through an EFS mount changes the shared filesystem, so it affects every client. Separating persistent shared data from deployment-managed files prevents release cleanup from deleting uploads. Each instance can replace or roll back its local binaries independently while continuing to use the same current customer data.

### Question 8 (SAA-C03)

**Question:**

A company operates a document-management application with two storage components. An Amazon RDS for PostgreSQL DB instance stores document metadata in 300 GiB of allocated General Purpose SSD storage. An Amazon EFS Regional file system stores the documents themselves. Both datasets grow gradually but unpredictably. During the next year, metadata could require 1.5 TiB, and documents could require 20 TiB. Growth is slow enough to allow automatic storage modifications to complete before space is exhausted.

Testing confirms that the current database compute capacity and file system throughput will remain sufficient. The company wants both components to accommodate storage growth without operator intervention while minimizing charges for unused capacity and avoiding custom automation.

Which solution should a solutions architect recommend?

**Correct answer:** Enable RDS storage autoscaling with a maximum storage threshold of 2 TiB. Keep the existing EFS file system without adding capacity-scaling automation.

**Explanation:** RDS storage autoscaling increases allocated database storage as needed, up to the configured maximum, avoiding an immediate allocation for projected peak demand. EFS automatically grows as files are added and does not require provisioned storage capacity or capacity-scaling policies. Its existing throughput is sufficient.

## Practice Amazon Elastic File System (Amazon EFS) in a full exam

Questions on Amazon Elastic File System (Amazon EFS) in each practice exam, with every answer option and an explanation for each:

- [SAA-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-associate): 19 questions
- [SOA-C03](https://blowstack.com/practice-exams/aws-certified-cloudops-engineer-associate): 7 questions
- [DEA-C01](https://blowstack.com/practice-exams/aws-certified-data-engineer-associate): 7 questions
- [CLF-C02](https://blowstack.com/practice-exams/aws-certified-cloud-practitioner): 6 questions
- [MLA-C02](https://blowstack.com/practice-exams/aws-certified-machine-learning-engineer-associate): 4 questions
- [SAP-C03](https://blowstack.com/practice-exams/aws-certified-solutions-architect-professional): 3 questions
- [SCS-C03](https://blowstack.com/practice-exams/aws-certified-security-specialty): 3 questions
- [DOP-C02](https://blowstack.com/practice-exams/aws-certified-devops-engineer-professional): 2 questions

## Learn Amazon Elastic File System (Amazon EFS) in lessons

23 short lessons on Amazon Elastic File System (Amazon EFS) in 8 certification courses.

- CLF-C02: Amazon EFS: elastic shared file storage (Premium), https://app.blowstack.com/lessons/amazon-efs-elastic-shared-file-storage-clf-c02
- MLA-C02: Amazon EFS: mounting and reading shared files (Premium), https://app.blowstack.com/lessons/amazon-efs-mounting-and-reading-shared-files-mla-c02
- SAP-C03: Amazon EBS and Amazon EFS: block versus shared file storage (Premium), https://app.blowstack.com/lessons/amazon-ebs-and-amazon-efs-block-versus-shared-file-storage-sap-c03
- SOA-C03: Amazon EFS vs Amazon FSx: choosing shared file storage (Premium), https://app.blowstack.com/lessons/amazon-efs-vs-amazon-fsx-choosing-shared-file-storage-soa-c03
- SCS-C03: Amazon EFS: lifecycle policies (Premium), https://app.blowstack.com/lessons/amazon-efs-lifecycle-policies-scs-c03
- DEA-C01: Amazon EFS: mounting shared files in Lambda (Premium), https://app.blowstack.com/lessons/amazon-efs-mounting-shared-files-in-lambda-dea-c01
