
Answer-first summary for fast verification
Answer: Create an Amazon EFS file system; create a new launch template version with user data mounting EFS; update the Auto Scaling group.
Amazon EFS is a shared file system that can be mounted by multiple EC2 instances across AZs with POSIX semantics and data consistency. Use user data in launch template to mount it automatically. EBS Multi-Attach is limited and not for Linux generally, cron sync is error-prone.
Author: LeetQuiz Editorial Team
Ultimate access to all questions.
Linux EC2 instances in an Auto Scaling group need to share the same underlying files with data consistency. Which solution meets this?
A
Create an Amazon EFS file system; create a new launch template version with user data mounting EFS; update the Auto Scaling group.
B
Enable Multi-Attach on EBS volumes; mount across instances via launch template.
C
Create a cron job to sync data between EBS volumes with lifecycle hooks.
D
Create a new launch template version that creates an EFS file system.
No comments yet.