Soru

Zorluk: KolayDatabase and Storage Strategy

A company is designing a new relational Online Transaction Processing (OLTP) system. The system has key performance indicators requiring a recovery point objective (RPO) of zero (no data loss) and a recovery time objective (RTO) of less than 60 seconds during an Availability Zone outage. Additionally, the database must dynamically scale its read capacity to handle sudden spikes in query volume. Which of the following database configurations meets these requirements?

  1. Deploy an Amazon Aurora MySQL DB cluster with a primary instance and configure Aurora Auto Scaling to dynamically adjust the number of Aurora Replicas based on CPU utilization.Cevap
  2. B
    Deploy an Amazon RDS for MySQL DB instance in a Multi-AZ deployment, and configure the application to send read queries directly to the standby instance in the secondary Availability Zone during peak traffic.
  3. C
    Deploy a single-node Amazon RDS for MySQL DB instance, and configure a cross-region read replica to act as the primary failover target with an automated script to promote the replica within 60 seconds.
  4. D
    Deploy an Amazon Aurora MySQL DB cluster, configure cross-account sharing using AWS-managed KMS keys to run read replicas in a secondary audit account, and scale them to absorb the read spikes.

Cevap

Deploy an Amazon Aurora MySQL DB cluster with a primary instance and configure Aurora Auto Scaling to dynamically adjust the number of Aurora Replicas based on CPU utilization.
The correct option addresses all requirements: Amazon Aurora replicates data synchronously to multiple Availability Zones within the region (maintaining an RPO of zero). It supports dynamic scaling of up to 15 Aurora Replicas using Aurora Auto Scaling to handle sudden increases in read volume. In the event of a primary instance failure, Aurora automatically fails over to one of the replicas in less than 30 seconds, which satisfies the RTO constraint of less than 60 seconds.

Adım Adım Çözüm

1
Evaluate the database replication and high availability requirements.
An RPO of zero requires synchronous replication inside a single region, which is supported by Amazon Aurora's cluster volume write-path replication and RDS Multi-AZ synchronous replication.
Asynchronous replication (such as cross-region replicas) can lead to data loss and violates the RPO of zero constraint.
2
Determine the capability of the database architecture to serve read traffic.
Select a service that supports active horizontal read scaling. Aurora Replicas serve read queries and support Auto Scaling, whereas RDS Multi-AZ standby instances cannot be accessed for queries.
RDS standby instances are strictly passive and cannot offload read queries.
3
Confirm cross-account and encryption configurations if applicable.
Ensure KMS key sharing constraints are respected. Customer Managed Keys are required for cross-account resource sharing, as AWS-managed KMS keys cannot be shared.
AWS-managed keys cannot be updated with custom policies to allow external accounts.

Anahtar Kavram

Amazon Aurora vs. Amazon RDS Multi-AZ scaling and high availability features
Bu soruyu puanla