An enterprise retail company wants to deploy a multi-region, active-active database configuration for its online shopping cart application. The database needs to support write operations in both the us-east-1 and us-west-2 Regions with sub-second replication latency. The solution must achieve a Recovery Point Objective (RPO) of under 1 second and a Recovery Time Objective (RTO) of near-zero in the event of a regional outage. The database must automatically handle replication and conflict resolution based on a last-writer-wins rule. Which two actions should a solutions architect take to configure the database to meet these resilience requirements? (Select two.)
- Enable Amazon DynamoDB Streams on the primary table in us-east-1 and set the stream view type to NEW_AND_OLD_IMAGES.Cevap
- Add a replica of the table in us-west-2 to the DynamoDB table configuration to establish a global table.Cevap
- CSet up Amazon Route 53 Latency routing with active-passive failover checks to route database write queries, relying on DNS routing to manage write replication.
- DDeploy an Amazon RDS for PostgreSQL database in us-east-1 and configure a cross-region read replica in us-west-2, promoting the replica manually during a regional failover.
- EConfigure an Amazon Aurora PostgreSQL Global Database and write a custom AWS Lambda script to execute a manual database failover using a pilot light disaster recovery strategy.
Cevap
The correct options are to enable Amazon DynamoDB Streams with the stream view type set to NEW_AND_OLD_IMAGES, and to add a replica of the table in the us-west-2 Region to establish a global table.
To support active-active writes in both us-east-1 and us-west-2 with an RPO of under 1 second and automatic conflict resolution, Amazon DynamoDB Global Tables is the ideal solution. Configuring a global table requires enabling DynamoDB Streams on the source table with the stream view type set to NEW_AND_OLD_IMAGES, and then adding the replica region to create the multi-region configuration.
Adım Adım Çözüm
Anahtar Kavram
Amazon DynamoDB Global Tables provides a fully managed, multi-region, active-active database replication solution. To configure it, you must enable DynamoDB Streams with the NEW_AND_OLD_IMAGES view type on the source table and add replica regions to the table configuration.