Skip to Content

Amazon AWS SAA-C02: Amazon EventBridge and Lambda for Shipping Statistics Emails

Learn how to use Amazon EventBridge and AWS Lambda to extract shipping statistics, format data into HTML, and send daily email reports using a REST API.

Table of Contents

Question

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.)

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.

Answer

B. Use Amazon Simple Email Service (Amazon SES) to format the data and to send the report by email.
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.

Explanation

To meet the requirements of extracting shipping statistics, organizing the data into an easy-to-read HTML format, and sending the report to multiple email addresses at the same time every morning, a solutions architect should:

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. The Lambda function can be scheduled to run at the desired time each morning using EventBridge. The function will retrieve the shipping statistics from the application’s REST API.

B. Use Amazon Simple Email Service (Amazon SES) to format the data and to send the report by email. After the Lambda function retrieves the data, it can format it into an HTML template. The function can then use Amazon SES to send the formatted report to the specified email addresses simultaneously.

This combination allows for the automated extraction of data, formatting into an easy-to-read HTML report, and distribution to multiple recipients on a scheduled basis.

Amazon AWS Certified Solutions Architect – Associate SAA-C02 certification exam practice question and answer (Q&A) dump with detail explanation and reference available free, helpful to pass the Amazon AWS Certified Solutions Architect – Associate SAA-C02 exam and earn Amazon AWS Certified Solutions Architect – Associate SAA-C02 certification.