exam questions

Exam AWS-SysOps All Questions

View all questions & answers for the AWS-SysOps exam

Exam AWS-SysOps topic 1 question 879 discussion

Exam question from Amazon's AWS-SysOps
Question #: 879
Topic #: 1
[All AWS-SysOps Questions]

An image processing system runs asynchronously on AWS Lambda. A SysOps administrator is configuring a Lambda function to notify developers when an image falls to process after three attempts. The SysOps administrator has created an Amazon Simple Notification Service (Amazon SNS) topic to notify the developers.
Which additional action should the SysOps administrator take to meet this requirement?

  • A. Configure an Amazon CloudWatch alarm for errors from the Lambda function, which notifies the Amazon SNS topic.
  • B. Implement a dead-letter queue targeting the Amazon SNS topic.
  • C. Modify the Lambda function code to publish failed orders to the Amazon SNS topic before exiting.
  • D. Subscribe to Lambda function error notifications from the AWS Personal Health Dashboard.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
Reference:
https://docs.aws.amazon.com/AmazonCloudFront/latest/DeveloperGuide/receiving-notifications.html

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
albert_kuo
9 months, 1 week ago
Selected Answer: B
By implementing a Dead-Letter Queue targeting the Amazon SNS topic, the Lambda function can forward the failed image processing event to the topic after three attempts. This way, developers will be notified about the failure via the Amazon SNS topic.
upvoted 1 times
...
gulu73
1 year, 2 months ago
Selected Answer: B
B is the answer
upvoted 1 times
...
random_007
2 years, 6 months ago
B. Implement a dead-letter queue targeting the Amazon SNS topic. -- not ideal one C. Modify the Lambda function code to publish failed orders to the Amazon SNS topic before exiting. -- lambda can only retry 2 times. D. Subscribe to Lambda function error notifications from the AWS Personal Health Dashboard. -- ignoring as we dont require Personal Health Dashboard Answer : A
upvoted 3 times
...
lin
2 years, 6 months ago
B https://docs.aws.amazon.com/lambda/latest/dg/invocation-async.html
upvoted 3 times
wahlbergusa
2 years, 6 months ago
Question mentions "3 attempts" , Async call of Lambda retries only for two times. It is mentioned in the same URL that you shared.
upvoted 1 times
raychen
2 years, 6 months ago
1 attempt + 2 retries = 3 attempts.
upvoted 1 times
...
...
...
TroyMcLure
2 years, 6 months ago
Correct Answer: A
upvoted 3 times
TroyMcLure
2 years, 6 months ago
I agree with @lin. Thanks for the link! Correct Answer: B
upvoted 1 times
...
...
binhdt2611
2 years, 7 months ago
I think A CloudWatch Logs let you invoke a Lambda function when a log entry matches a pattern. Amazon CloudWatch alarms are used to notify when an error occurs with a Lambda function; this notification does not give any specifics about the error. For scenarios where you need specificity on the error in the notification, you can use a CloudWatch Logs subscription. CloudWatch Logs subscriptions let you match entries with a particular error pattern in your log and be notified with those error details. This saves you an extra step to parse through the logs and take necessary action. You can also use this as a blueprint to build automated reactive measures when that error pattern is detected in your Lambda function. https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/
upvoted 3 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