Soru

Zorluk: OrtaBackup and Restore Management

An application stores its static assets in a source Amazon S3 bucket and uses an Amazon RDS for MySQL DB instance. A SysOps Administrator must configure automatic replication of the static assets to a backup S3 bucket in a different Region. The database must also support automatic failover to another Availability Zone without requiring any manual updates to the application configuration. Which configuration satisfies these requirements?

  1. A
    Enable versioning on both the source and backup S3 buckets, configure S3 Cross-Region Replication (CRR), and configure a Route 53 DNS CNAME record at the zone apex pointing to the RDS instance endpoint for automatic failover.
  2. B
    Configure S3 Cross-Region Replication (CRR) from the source S3 bucket to the backup S3 bucket without enabling bucket versioning, and configure the RDS DB instance as a Multi-AZ deployment.
  3. Enable versioning on both the source and backup S3 buckets, configure S3 Cross-Region Replication (CRR), and configure the RDS DB instance as a Multi-AZ deployment.Cevap
  4. D
    Enable versioning on both the source and backup S3 buckets, configure S3 Cross-Region Replication (CRR), and create a Read Replica of the RDS instance in a different Availability Zone to act as the automatic failover target.

Cevap

To meet the requirements, enable versioning on both the source and backup S3 buckets, configure S3 Cross-Region Replication (CRR), and configure the RDS DB instance as a Multi-AZ deployment.
The correct configuration enables S3 Versioning on both the source and backup buckets, which is a mandatory prerequisite for S3 Cross-Region Replication (CRR). Additionally, configuring RDS Multi-AZ ensures a synchronous standby instance is available in another Availability Zone, and RDS automatically updates the DNS record to point to this standby during a failover without requiring any endpoint updates in the application.

Adım Adım Çözüm

1
Enable S3 Versioning on both the source and backup buckets.
Versioning becomes active on both S3 buckets.
S3 Cross-Region Replication (CRR) requires that both the source and destination buckets have versioning enabled.
2
Create and configure the S3 Cross-Region Replication rule on the source bucket pointing to the backup bucket.
Automatic replication of new objects to the destination bucket in the other Region is established.
This satisfies the requirement to back up static assets automatically across Regions.
3
Configure the RDS DB instance with a Multi-AZ deployment.
AWS RDS provisions a synchronous standby replica in a different Availability Zone and maintains a single DNS endpoint.
Multi-AZ configuration ensures automatic failover to the standby replica during an outage without requiring endpoint changes in the application.

Anahtar Kavram

Integrating S3 Cross-Region Replication (which requires versioning) with RDS Multi-AZ deployment (which provides automatic failover without endpoint changes).
Bu soruyu puanla