exam questions

Exam AWS Certified DevOps Engineer - Professional DOP-C02 All Questions

View all questions & answers for the AWS Certified DevOps Engineer - Professional DOP-C02 exam

Exam AWS Certified DevOps Engineer - Professional DOP-C02 topic 1 question 249 discussion

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?

  • A. Create an Amazon EventBridge rule that reacts to RDS storage autoscaling events from RDS events. Create an AWS Lambda function that publishes a CloudWatch custom metric. Configure the EventBridge rule to invoke the Lambda function. Visualize the custom metric by using the CloudWatch dashboard.
  • B. Create a trail by using AWS CloudTrail with management events configured. Configure the trail to send the management events to Amazon CloudWatch Logs. Create a metric filter in CloudWatch Logs to match the RDS storage autoscaling events. Visualize the metric filter by using the CloudWatch dashboard.
  • C. Create an Amazon EventBridge rule that reacts to RDS storage autoscaling events from the RDS events. Create a CloudWatch alarm. Configure the EventBridge rule to change the status of the CloudWatch alarm. Visualize the alarm status by using the CloudWatch dashboard.
  • D. Create a trail by using AWS CloudTrail with data events configured. Configure the trail to send the data events to Amazon CloudWatch Logs. Create a metric filter in CloudWatch Logs to match the RDS storage autoscaling events. Visualize the metric filter by using the CloudWatch dashboard.
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
spring21
1 month ago
Selected Answer: A
AWS CloudTrail does log autoscaling operations by capturing API calls made to the Auto Scaling service, meaning all actions related to scaling your EC2 instances, including scaling up, down, or adjusting scaling policies, will be recorded in your CloudTrail logs.
upvoted 2 times
...
auxwww
3 months, 2 weeks ago
Selected Answer: A
B - Incorrect "Autoscaling operations aren't logged by AWS CloudTrail. For more information on CloudTrail, see Monitoring Amazon RDS API calls in AWS CloudTrail."
upvoted 4 times
...
Shenannigan
4 months, 2 weeks ago
Selected Answer: B
This question is tricky as both A and B are correct If it said in near real time then I would have chosen A, but it didn't so I am saying B as it is less complex and doesn't require writing a lambda function to use custom metrics. Honestly on this question flip a coin and choose one or the other
upvoted 3 times
...
[Removed]
5 months, 2 weeks ago
Selected Answer: A
Voting for A
upvoted 3 times
...
[Removed]
5 months, 2 weeks ago
A for me
upvoted 2 times
...
jamesf
6 months, 1 week ago
Selected Answer: A
keywords: - Amazon EventBridge rule - CloudWatch custom metric
upvoted 4 times
...
trungtd
6 months, 3 weeks ago
Selected Answer: 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.
upvoted 4 times
...
tgv
7 months ago
---> A
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago