AWS Certified Solutions Architect – Associate (SAA-C02) — Question 624
A company is developing an application that provides order shipping statistics for retrieval by a REST API. The company wants to extract the shipping statistics, organize the data into an easy-to-read HTML format, and send the report to several email addresses at the same time every morning.
Which combination of steps should a solutions architect take to meet these requirements? (Choose two.)
Answer options
- A. Configure the application to send the data to Amazon Kinesis Data Firehose.
- B. Use Amazon Simple Email Service (Amazon SES) to format the data and to send the report by email.
- C. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled event that invokes an AWS Glue job to query the application's API for the data.
- D. Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled event that invokes an AWS Lambda function to query the application's API for the data.
- E. Store the application data in Amazon S3. Create an Amazon Simple Notification Service (Amazon SNS) topic as an S3 event destination to send the report by email.
Correct answer: D, E
Explanation
Amazon EventBridge can trigger an AWS Lambda function on a daily schedule to query the REST API, retrieve the statistics, and format them into HTML. Once the Lambda function stores the formatted HTML report in an Amazon S3 bucket, an S3 event notification can publish to an Amazon SNS topic to distribute the report via email to multiple subscribers. Other options like AWS Glue or Kinesis Firehose are incorrect because they are designed for large-scale data integration and streaming, rather than lightweight scheduled API querying and reporting.