A company runs a high-performance compute (HPC) cluster on Amazon EC2 instances in private subnets across two Availability Zones (`us-west-2a` and `us-west-2b`). The instances continuously read and write shared datasets on an Amazon EFS file system in the same Region, processing approximately of data per month. A review of the monthly AWS bill reveals high Inter-AZ Data Transfer charges for EFS access, despite the EFS file system having mount targets in both Availability Zones. Investigation reveals that the EC2 instances are mounted to the EFS file system using the static IP address of the mount target in `us-west-2a` to simplify configuration management. Which of the following changes will minimize the data transfer costs while maintaining the required file sharing capability?
- AConfigure a single NAT Gateway in `us-west-2a`, and update the route tables of both private subnets to route all EFS-destined traffic through this NAT Gateway.
- BDeploy an AWS Transit Gateway, associate the VPC subnets, and configure transitive routing using appliance mode across both Availability Zones to load-balance traffic to the EFS mount targets.
- Configure the EC2 instances to mount the EFS file system using its default DNS name rather than a static IP address, and ensure that DNS resolution is enabled in the VPC.Cevap
- DPurchase EC2 Instance Savings Plans to cover the Inter-AZ data transfer fees, and migrate the EFS datasets to an Amazon S3 bucket with a lifecycle policy to archive data to S3 Glacier Flexible Retrieval.