DOP-C02 Exam QuestionsBrowse all questions from this exam

DOP-C02 Exam - Question 249


A company has configured Amazon RDS storage autoscaling for its RDS DB instances. A DevOps team needs to visualize the autoscaling events on an Amazon CloudWatch dashboard.

Which solution will meet this requirement?

Show Answer
Correct Answer: A

The most efficient solution involves directly reacting to Amazon RDS storage autoscaling events and publishing them to a custom CloudWatch metric. Creating an Amazon EventBridge rule to react to these specific events and then using an AWS Lambda function to publish the events to a CloudWatch custom metric provides a straightforward way to visualize these metrics. This avoids the complexity and potential delay introduced by creating metric filters in CloudWatch Logs through CloudTrail. Thus, creating an Amazon EventBridge rule and a Lambda function offers a more streamlined and direct method, which is better suited for visualizing RDS storage autoscaling events on a CloudWatch dashboard.

Discussion

2 comments
Sign in to comment
tgv
Jul 7, 2024

---> A

trungtdOption: A
Jul 14, 2024

While CloudTrail can capture RDS events and send them to CloudWatch Logs, creating a metric filter in CloudWatch Logs is more complex and indirect compared to using EventBridge and a Lambda function to publish custom metrics directly to CloudWatch.