Q27 — AWS SAA-C03 Ch.4
Question 27 of 105 | ← Chapter 4
Q222. A company is developing an application that provides order shipping statistics for retrieval by a RESTAPI. 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? (Select 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 ✓
Correct Answer: 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
Explanation
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, and then use this lambda function to extract the shipping statistics from the REST API.E. Store the application data in Amazon S3 and then organize the data into an easy-to-read HTML format using Amazon S3 static website hosting feature. After that, use the Amazon Simple Email Service (Amazon SES) to send the report by email and create an Amazon Simple Notification Service (Amazon SNS) topic as an S3 event destination to notify the recipients about the shipment report.Explanation:Option A is not a good choice because Kinesis Data Firehose does not format or process data in any way before delivering it to a destination, such as Amazon S3, Amazon Redshift, or Amazon Elasticsearch.Option B is almost correct, except that it does not include a step to extract the shipping statistics from the REST API.Option C is incorrect because AWS Glue is not necessary for extracting data from a REST API.Option D is a good choice because it allows you to schedule a Lambda function to retrieve data from the REST API.Option E is also a good choice because it allows you to store data in S3 and then use S3 static website hosting feature to organize the data into an easy-to-read HTML format. You can then use Amazon SES to send the report by email and Amazon SNS to notify the recipients about the shipment report. D.