exam questions

Exam AWS Certified SysOps Administrator - Associate All Questions

View all questions & answers for the AWS Certified SysOps Administrator - Associate exam

Exam AWS Certified SysOps Administrator - Associate topic 1 question 124 discussion

A SysOps administrator needs to develop a solution that provides email notification and inserts a record into a database every time a file is put into an Amazon S3 bucket.

What is the MOST operationally efficient solution that meets these requirements?

  • A. Set up an S3 event notification that targets an Amazon Simple Notification Service (Amazon SNS) topic. Create two subscriptions for the SNS topic. Use one subscription to send the email notification. Use the other subscription to invoke an AWS Lambda function that inserts the record into the database.
  • B. Set up an Amazon CloudWatch alarm that enters ALARM state whenever an object is created in the S3 bucket. Configure the alarm to invoke an AWS Lambda function that sends the email notification and inserts the record into the database.
  • C. Create an AWS Lambda function to send the email notification and insert the record into the database whenever a new object is detected in the S3 bucket. Invoke the function every minute with an Amazon EventBridge (Amazon CloudWatch Events) scheduled rule.
  • D. Set up two S3 event notifications. Target a separate AWS Lambda function with each notification. Configure one function to send the email notification. Configure the other function to insert the record into the database.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
marcelodba
Highly Voted 2 years, 5 months ago
Selected Answer: A
https://aws.amazon.com/pt/premiumsupport/knowledge-center/lambda-subscribe-sns-topic-same-account/
upvoted 10 times
jipark
1 year, 8 months ago
S3 itself support SNS
upvoted 1 times
...
...
10cc6ba
Most Recent 9 months, 3 weeks ago
Selected Answer: A
A only
upvoted 1 times
...
74d3443
1 year, 4 months ago
A and D can be correct answer. IMO the term "Operationally Efficient" is a bit confusing in this scenario. I would go for A to manage one single notification from the source into a fan out strategy where I can handle the exception in SNS.
upvoted 1 times
74d3443
1 year, 4 months ago
Please cancel this comment, I misread the D option. Is A for sure.
upvoted 1 times
...
...
edu_anadat
2 years, 4 months ago
Selected Answer: A
You can't set up two S3 event notifications with the same Event types. But it's possible configure Lambda function, without SNS, in S3 event notifications
upvoted 4 times
...
michaldavid
2 years, 4 months ago
Selected Answer: A
aaaaaaaa
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago