A company is building an application that provides order shipping statistics via a REST API. The company needs to extract those statistics, format them into HTML, and email the report to multiple addresses at the same time each morning. Which two steps should a solutions architect take to meet these requirements? (Choose two.)
Choose an answer
Tap an option to check your answer.
Correct answer: Use Amazon Simple Email Service (Amazon SES) to format the data and send the report by email., Create an Amazon EventBridge (Amazon CloudWatch Events) scheduled event that invokes an AWS Lambda function to query the application's API for the data..
Why this is the answer
The correct options involve using an EventBridge scheduled event to trigger a Lambda function, and then using SES for email delivery. An EventBridge scheduled event (formerly CloudWatch Events) can be configured to run at a specific time each day, invoking an AWS Lambda function. The Lambda function can then query the application's REST API to extract the required shipping statistics. Once the data is retrieved, the Lambda function can format it into HTML. Amazon Simple Email Service (SES) is a cost-effective, flexible, and scalable email sending service that can be used by the Lambda function to send the formatted HTML report to multiple recipients. Using Kinesis Data Firehose is incorrect because it's for streaming data delivery to destinations like S3, Redshift, or Splunk, not for querying an API or sending emails. An AWS Glue job is designed for ETL (Extract, Transform, Load) operations on large datasets, typically from data lakes or data warehouses, and is overkill for simply querying an API and formatting a small report. Storing data in S3 and using SNS as an S3 event destination is incorrect because S3 events are triggered by actions on S3 objects, not by scheduled API calls, and SNS is primarily for message fan-out, not for formatting HTML emails.
Pass your exam — without the endless answer hunt
Get every verified question and explanation for this exam in one place, and save hours of prep. 1,000+ certifications · 20+ languages · free to start.
Pass your exam faster → No card needed