Exam DOP-C02 All QuestionsBrowse all questions from this 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?

    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
trungtdOption: A

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.

tgv

---> A