ExamQuestions.com

Register
Login
AWS Certified Developer Associate Exam Questions

Amazon

AWS Certified Developer Associate

358 / 474

Question 358:

You have a serverless application with AWS Lambda. This application has Lambda as a backend and has its data stored in DynamoDB. This application is very latency-sensitive. How could you alert your team if the application gets high latency in any of its components?

Answer options:

A.Import the time library in the Lambda code. Calculate how much time it takes the Lambda to finish operations in DynamoDB, deploy these logs to Cloudwatch and create an alarm if the time in the logs is high.
B.Enable X-Ray tracing on Lambda, use the AWS SDK inside Lambda code to monitor DynamoDB API calls in X-Ray, send this information to CloudWatch, and create a metric that triggers an SNS alert if the response times get too high.
C.Enable X-Ray tracing on Lambda, use the AWS SDK inside Lambda code to monitor DynamoDB API calls in X-Ray, send this information to CloudTrail, and create a metric that triggers an SNS alert if the response times get too high.
D.Enable X-Ray in Lambda and DynamoDB. Create a Lambda that will retrieve the info from X-Ray every minute. Send this information to CloudWatch, create a metric that triggers an SNS alert if the response times get too high.