ExamGecko
Question list
Search
Search

List of questions

Search

Related questions











Question 496 - DVA-C01 discussion

Report
Export

A company has an AWS Lambda function that runs hourly, reads log files that are stored in Amazon S3, and forwards alerts to Amazon Simple Notification Service (Amazon SNS) topics based on content A developer wants to add a custom metric to the Lambda function to track the number of alerts of each type for each run The developer needs to log this information in Amazon CloudWatch in a metnc that is named Lambda/AlertCounts How should the developer modify the Lambda function to meet this requirement with the LEAST operational overhead1?

A.
Add a print statement to standard out for each alert and the number of occurrences
Answers
A.
Add a print statement to standard out for each alert and the number of occurrences
B.
Add a call to the PutMetncData API operation Pass an array for alerts and the number of occurrences in the Values and Counts fields with a namespace of "Lambda/AlertCounts"
Answers
B.
Add a call to the PutMetncData API operation Pass an array for alerts and the number of occurrences in the Values and Counts fields with a namespace of "Lambda/AlertCounts"
C.
Add a call to the PutMetncAlarm API operation Pass an array of alerts in the metrics member with the namespace of "Lambda/AlertCounts"
Answers
C.
Add a call to the PutMetncAlarm API operation Pass an array of alerts in the metrics member with the namespace of "Lambda/AlertCounts"
D.
Add a call to the PutDashboard API operation Pass an array of alerts in the metrics member with the namespace of "Lambda/AlertCounts"
Answers
D.
Add a call to the PutDashboard API operation Pass an array of alerts in the metrics member with the namespace of "Lambda/AlertCounts"
Suggested answer: B
asked 16/09/2024
Steve Parnell
30 questions
User
Your answer:
0 comments
Sorted by

Leave a comment first