Q19 — AWS SAP-C02 Ch.2
Question 19 of 75 | ← Chapter 2
Q169. A company has an application that runs as a ReplicaSet of multiple pods in an Amazon Elastic Kubernetes Service (Amazon EKS) cluster. The EKS cluster has nodes in multiple Availability Zones.The application generates many small files that must be accessible across all running instances of the application.The company needs to back up the files and retain the backups for 1 year. Which solution will meet these requirements while providing the FASTEST storage performance?
- A. Create an Amazon Elastic File System (Amazon EFS) file system and a mount target for each subnet that contains nodes in the EKS cluster. Configure the ReplicaSet to mount the file system. Direct the application to store files in the file system Configure AWS Backup to back up and retain copies of the data for 1 year ✓
- B. Create an Amazon Elastic Block Store (Amazon EBS) volume.Enable the EBS Multi-Attach feature.Configure the ReplicaSet to mount the EBS volume. Direct the application to store files in the EBS volume. Configure AWS Backup to back up and retain copies of the data for 1 year
- C. Create an Amazon S3 bucket. Configure the ReplicaSet to mount the S3 bucket. Direct the application to store files in the S3 bucket. Configure S3 Versioning to retain copies of the data. Configure an S3 Lifecycle policy to delete objects after 1 year
- D. Configure the ReplicaSet to use the storage available on each of the running application pods to store the files locally. Use a third-party tool to back up the EKS cluster for 1 year
Correct Answer: A. Create an Amazon Elastic File System (Amazon EFS) file system and a mount target for each subnet that contains nodes in the EKS cluster. Configure the ReplicaSet to mount the file system. Direct the application to store files in the file system Configure AWS Backup to back up and retain copies of the data for 1 year
Explanation
To meet the requirement of storing many small files that must be accessible across all running instances of the application, while also providing fast storage performance and backup retention for one year, an Amazon EFS file system can be used. Option A is correct since it involves creating an Amazon EFS file system and configuring a mount target for each subnet that contains nodes in the EKS cluster. The ReplicaSet can be configured to mount the file system and direct the application to store files in it, providing fast storage performance and accessibility. AWS Backup can be configured to back up and retain copies of the data in the file system for one year. This approach provides a scalable, high-performance solution for storing and backing up small files in an EKS cluster. The other options either do not provide sufficient storage performance or backup retention or are not relevant in this scenario.