AWS Certified Developer Associate (#61)

In a move toward using microservices, a company’s Management team has asked all Development teams to build their services so that API requests depend only on that service’s data store. One team is building a Payments service which has its own database; the service needs data that originates in the Accounts database. Both are using Amazon DynamoDB. What approach will result in the simplest, decoupled, and reliable method to get near-real time updates from the Accounts database?

Use Amazon Glue to perform frequent ETL updates from the Accounts database to the Payments database.
Use Amazon ElastiCache in Payments, with the cache updated by triggers in the Accounts database.
Use Amazon Kinesis Data Firehouse to deliver all changes from the Accounts database to the Payments database.
Use Amazon DynamoDB Streams to deliver all changes from the Accounts database to the Payments database.