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 37 discussion

A SysOps administrator must create a solution that immediately notifies software developers if an AWS Lambda function experiences an error.
Which solution will meet this requirement?

  • A. Create an Amazon Simple Notification Service (Amazon SNS) topic with an email subscription for each developer. Create an Amazon CloudWatch alarm by using the Errors metric and the Lambda function name as a dimension. Configure the alarm to send a notification to the SNS topic when the alarm state reaches ALARM.
  • B. Create an Amazon Simple Notification Service (Amazon SNS) topic with a mobile subscription for each developer. Create an Amazon EventBridge (Amazon CloudWatch Events) alarm by using the LambdaError as the event pattern and the SNS topic name as a resource. Configure the alarm to send a notification to the SNS topic when the alarm state reaches ALARM.
  • C. Verify each developer email address in Amazon Simple Email Service (Amazon SES). Create an Amazon CloudWatch rule by using the LambdaError metric and developer email addresses as dimensions. Configure the rule to send an email through Amazon SES when the rule state reaches ALARM.
  • D. Verify each developer mobile phone in Amazon Simple Email Service (Amazon SES). Create an Amazon EventBridge (Amazon CloudWatch Events) rule by using Error as the event pattern and the Lambda function name as a resource. Configure the rule to send a push notification through Amazon SES when the rule state reaches ALARM.
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
ovilla
Highly Voted 2 years, 6 months ago
It's A
upvoted 9 times
...
by116549
Highly Voted 2 years, 2 months ago
Not C or D as SES is used for marketing emails. Leaves us with A or B. With B AWS config, Cloudtrail or Cloudwatch can be the source no a SNS topic. A seems the best reasonable solution
upvoted 8 times
...
willows
Most Recent 5 months, 3 weeks ago
A. https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/
upvoted 1 times
...
tamng
10 months ago
A is Correct
upvoted 1 times
...
jipark
1 year, 2 months ago
Selected Answer: A
the reason for not B : "SNS topic name as a resource" (X) vs "Lambda function name as a dimension" (O) -> cloud watch set Lambda name as dimension.
upvoted 2 times
...
Gomer
1 year, 7 months ago
Everyone seems to choose A. without a second thought, and there is a default metric for Lambda invocation errors. However, this doesn't deal with the alarms that Lambda may generate while running. Dealing with this requires CloudWatch logs to use patterns such as ?ERROR to parse the log files and generate an alert. Since the question doesn't seem that exotic or specific, "A." is probably the right choice, but this is a tricky question. If you think it isn't, read: https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/
upvoted 2 times
eboehm
1 year, 3 months ago
the question doesnt ask how to deal with the error/alarm. It just mentioned that someone needs notified when an error occurs. Once notified they can view the logs and resolve the error. Now ideally, yes, it should be a log subscription which would notify and send details about what caused the error, but the question did not ask for this
upvoted 1 times
...
...
michaldavid
1 year, 10 months ago
Selected Answer: A
aaaaaaaa
upvoted 1 times
...
Liongeek
1 year, 11 months ago
Selected Answer: A
Ans: A
upvoted 1 times
...
Finger41
2 years, 5 months ago
Selected Answer: A
A - https://aws.amazon.com/blogs/mt/get-notified-specific-lambda-function-error-patterns-using-cloudwatch/
upvoted 5 times
...
psou7
2 years, 5 months ago
Selected Answer: A
A is correct
upvoted 4 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