Soru

Zorluk: OrtaResilient and Highly Available Storage Infrastructure

A software development company hosts a collaborative code repository application on Amazon EC2 instances deployed across two Availability Zones. The application requires a shared file system that is POSIX-compliant. The file system must dynamically scale to support large code repositories, provide consistent low latencies for active files, and replicate data across multiple Availability Zones to ensure high availability. Which two actions should a solutions architect take to meet these requirements? (Select TWO.)

  1. Create an Amazon Elastic File System (Amazon EFS) file system using the Regional (Standard) storage class.Cevap
  2. Mount the Amazon EFS file system on the EC2 instances using the EFS mount helper and mount targets created in the subnets of each Availability Zone.Cevap
  3. C
    Provision an Amazon EBS volume with Multi-Attach enabled, and attach it to the EC2 instances across both Availability Zones.
  4. D
    Configure an Amazon RDS Multi-AZ DB cluster to store the repository files and use read replicas for failover.
  5. E
    Create an Amazon EFS file system using the One Zone storage class and configure AWS Backup to perform hourly replication to the other Availability Zone.

Cevap

Create an Amazon Elastic File System (Amazon EFS) file system using the Regional (Standard) storage class, and mount the file system on the EC2 instances using the EFS mount helper and mount targets created in the subnets of each Availability Zone.
The correct configuration combines Amazon EFS Regional storage class with mount targets in each Availability Zone. The Regional storage class automatically replicates data across multiple Availability Zones, ensuring high resilience and availability. Mount targets in each AZ subnet allow EC2 instances in different AZs to mount the file system concurrently over the network using standard NFS/POSIX protocols.

Adım Adım Çözüm

1
Identify the storage requirements of the application.
The application requires a POSIX-compliant shared file system that dynamically scales and is accessible concurrently across multiple Availability Zones with high availability.
This rules out block storage solutions like EBS, which are typically restricted to a single instance or single AZ, and points towards Amazon EFS.
2
Select the appropriate Amazon EFS storage class.
Choose the EFS Regional (Standard) storage class.
Regional storage classes replicate data across multiple Availability Zones to protect against AZ failure, whereas One Zone storage classes restrict data to a single AZ.
3
Configure client access to the file system across AZs.
Create EFS mount targets in the subnets of each Availability Zone and mount them on the EC2 instances.
This allows instances in both Availability Zones to connect to the shared EFS file system concurrently.

Anahtar Kavram

Amazon Elastic File System (EFS) provides highly available, durable, and POSIX-compliant shared file storage across multiple Availability Zones.
Bu soruyu puanla