passdrill
AWS SAA-C03 · RDS, DynamoDB & Databases · Card 010/014 medium

A team wants to automatically send a notification whenever a new order item is inserted into a DynamoDB table, without polling the table on a schedule. The change should be captured and processed within seconds of the write, and it is acceptable if very old, unprocessed changes eventually become unavailable. Which approach fits?

  1. Query the table every few seconds using a scheduled EventBridge rule and diff the results
  2. Enable DynamoDB Streams on the table and configure a Lambda function as a trigger to process each stream record
  3. Enable RDS event notifications on the table
  4. Use a DynamoDB global secondary index and subscribe to it via SNS
Next card → Shuffle