Site icon Exam4Training

Which solution will meet this requirement?

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 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 Errors 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.

Answer: A

Explanation:

To immediately notify software developers if an AWS Lambda function experiences an error, follow these steps:

Create an SNS Topic:

Navigate to the Amazon SNS console and create a new topic. Add email subscriptions for each developer to the SNS topic.

Reference: Creating an Amazon SNS Topic Create a CloudWatch Alarm:

Go to the Amazon CloudWatch console and create an alarm based on the Errors metric for the specific Lambda function.

Use the Lambda function name as a dimension.

Configure the alarm to trigger when the metric exceeds a threshold indicating an error.

Reference: Creating Alarms in Amazon CloudWatch

Configure Notification:

Set the CloudWatch alarm action to send a notification to the SNS topic created in step 1 when the alarm state reaches ALARM.

Reference: Using Amazon SNS for CloudWatch Alarms

This configuration ensures that developers are notified immediately via email if the Lambda function experiences an error.

Latest SOA-C02 Dumps Valid Version with 54 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version