SAA-C03 · Question #341
A company runs multiple applications in multiple AWS accounts within the same organization in AWS Organizations. A content management system (CMS) runs on Amazon EC2 instances in a VPC. The CMS…
The correct answer is D. Install the amazon-efs-utils package on the EC2 instances. Add the mount target in the efs-config. To access an EFS file system across accounts and VPCs, the EFS must be mounted using VPC peering or AWS Transit Gateway, and the EC2 instances must use the amazon-efs-utils package with the correct mount target or access point. Using an EFS access point simplifies access…
Question
A company runs multiple applications in multiple AWS accounts within the same organization in AWS Organizations. A content management system (CMS) runs on Amazon EC2 instances in a VPC. The CMS needs to access shared files from an Amazon Elastic File System (Amazon EFS) file system that is deployed in a separate AWS account. The EFS account is in a separate VPC. Which solution will meet this requirement?
Options
- AMount the EFS file system on the EC2 instances by using the EFS Elastic IP address.
- BEnable VPC sharing between the two accounts. Use the EFS mount helper to mount the file
- CConfigure AWS Systems Manager Run Command to mount the EFS file system on the EC2
- DInstall the amazon-efs-utils package on the EC2 instances. Add the mount target in the efs-config
How the community answered
(61 responses)- A7% (4)
- B11% (7)
- C5% (3)
- D77% (47)
Explanation
To access an EFS file system across accounts and VPCs, the EFS must be mounted using VPC peering or AWS Transit Gateway, and the EC2 instances must use the amazon-efs-utils package with the correct mount target or access point. Using an EFS access point simplifies access management, especially across accounts, by providing a POSIX identity and access policy layer. VPC sharing doesn't support EFS directly unless the subnet and resources are shared properly, which requires redeployment. Therefore, option D is the most complete and correct.
Community Discussion
No community discussion yet for this question.