AWS Certified SysOps Administrator – Associate — Question 321

A company has deployed an application on AWS. The application runs on a fleet of Linux Amazon EC2 instances that are in an Auto Scaling group. The Auto Scaling group is configured to use launch templates. The launch templates launch Amazon Elastic Block Store (Amazon EBS) backed EC2 instances that use General Purpose SSD (gp3) EBS volumes for primary storage.

A SysOps administrator needs to implement a solution to ensure that all the EC2 instances can share the same underlying files. The solution also must ensure that the data is consistent.

Which solution will meet these requirements?

Answer options

Correct answer: A

Explanation

Amazon Elastic File System (Amazon EFS) is a fully managed service that allows multiple Linux EC2 instances to concurrently mount and share the same file system with strong data consistency. Creating the EFS file system independently and mounting it using user data in a new launch template version is the standard approach to achieve this. Option D is incorrect because a launch template should mount an existing EFS file system rather than attempting to create a new file system instance during every EC2 boot process.