Answer – D
The AWS Documentation also mentions the following.
With Amazon Elastic File System (Amazon EFS), you can create network file systems that can be mounted by instances across multiple Availability Zones. An Amazon EFS file system is an AWS resource that uses security groups to control access over the network in your default or custom VPC.In an Elastic Beanstalk environment, you can use Amazon EFS to create a shared directory that stores files uploaded or modified by users of your application. Your application can treat a mounted Amazon EFS volume like local storage. So you don`t have to change your application code to scale up to multiple instances.
Option A is incorrect since this is used for object-based storage.
Option B is incorrect since this is used for archive storage.
Option C is incorrect since this is used for local block storage for EC2 Instances.
For more information on Elastic beanstalk and EFS, please refer to the below URL-
https://docs.aws.amazon.com/elasticbeanstalk/latest/dg/services-efs.html