Topic 1 Question 845
A company has 15 employees. The company stores employee start dates in an Amazon DynamoDB table. The company wants to send an email message to each employee on the day of the employee's work anniversary.
Which solution will meet these requirements with the MOST operational efficiency?
Create a script that scans the DynamoDB table and uses Amazon Simple Notification Service (Amazon SNS) to send email messages to employees when necessary. Use a cron job to run this script every day on an Amazon EC2 instance.
Create a script that scans the DynamoDB table and uses Amazon Simple Queue Service (Amazon SQS) to send email messages to employees when necessary. Use a cron job to run this script every day on an Amazon EC2 instance.
Create an AWS Lambda function that scans the DynamoDB table and uses Amazon Simple Notification Service (Amazon SNS) to send email messages to employees when necessary. Schedule this Lambda function to run every day.
Create an AWS Lambda function that scans the DynamoDB table and uses Amazon Simple Queue Service (Amazon SQS) to send email messages to employees when necessary. Schedule this Lambda function to run every day.
ユーザの投票
コメント(4)
- 正解だと思う選択肢: C
SNS for sending mails Lambda to scan the database + send the message to the SNS topic.
Using a script on a EC2 will add maintenance on both the EC2 and the script + cronjobs are not reliable and can be hard to monitor properly.
SO answer C !
👍 3Mikado2112024/04/19 - 正解だと思う選択肢: C
AnswerC
Deploying full instance is an overkill. Lambda should be enough + SNS to sent email. And it should be quite cheap
👍 3Scheldon2024/06/03 - 正解だと思う選択肢: C
Operational efficiency, script need to be run every time, and send email need to use SNS, so it should be C
👍 3KennethNg9232024/06/16
シャッフルモード