AWS Certified Solutions Architect – Associate (SAA-C02) — Question 382
A web application must persist order data to Amazon S3 to support neat-real time processing. A solutions architect needs create an architecture that is both scalable and fault tolerant.
Which solutions meet these requirements? (Choose two.)
Answer options
- A. Write the order event to an Amazon DynamoDB table. Use DynamoDB Streams to trigger an AWS Lambda function that parses the payload and writes the data to Amazon S3.
- B. Write the order event to an Amazon Simple Queue Service (Amazon SQS) queue. Use the queue to trigger an AWSLambda function that parsers the payload and writes the data to Amazon S3.
- C. Write the order event to an Amazon Simple Notification Service (Amazon SNS) topic. Use the SNS topic to trigger an AWS Lambda function that parses the payload and writes the data to Amazon S3.
- D. Write the order event to an Amazon Simple Queue Service (Amazon SQS) queue. Use an Amazon EventBridge (Amazon CloudWatch Events) rule to trigger an AWS Lambda function that parses the payload and writes the data to Amazon S3.
- E. Write the order event to an Amazon Simple Notification Service (Amazon SNS) topic. Use an Amazon EventBridge (Amazon CloudWatch Events) rule to trigger an AWS Lambda function that parses the payload andwrites the data to Amazon S3.
Correct answer: A, B
Explanation
Amazon DynamoDB Streams (Option A) and Amazon SQS (Option B) both offer durable, scalable, and fault-tolerant mechanisms to queue or stream data and natively trigger AWS Lambda for processing. Amazon SNS (Option C) is a pub/sub service that does not offer the same message queuing, throttling, and buffering capabilities as SQS. Triggering AWS Lambda via an Amazon EventBridge rule from an SQS queue or SNS topic (Options D and E) is an unnecessary and incorrect architecture because SQS and SNS can invoke Lambda directly without EventBridge acting as an intermediary.