Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Amazon Exam DOP-C02 Topic 3 Question 47 Discussion

Actual exam question for Amazon's DOP-C02 exam
Question #: 47
Topic #: 3
[All DOP-C02 Questions]

A company has a mobile application that makes HTTP API calls to an Application Load Balancer (ALB). The ALB routes requests to an AWS Lambda function. Many different versions of the application are in use at any given time, including versions that are in testing by a subset of users. The version of the application is defined in the user-agent header that is sent with all requests to the API.

After a series of recent changes to the API, the company has observed issues with the application. The company needs to gather a metric for each API operation by response code for each version of the application that is in use. A DevOps engineer has modified the Lambda function to extract the API operation name, version information from the user-agent header and response code.

Which additional set of actions should the DevOps engineer take to gather the required metrics?

Show Suggested Answer Hide Answer

Contribute your Thoughts:

Earleen
5 days ago
Haha, 'response metadata'? That sounds like a great way to confuse everyone. I'd steer clear of that one!
upvoted 0 times
...
Arlen
5 days ago
Wait, did you say 'response metadata'? I think I'd rather go with an option that doesn't involve that. Yikes!
upvoted 0 times
...
Nieves
7 days ago
Option A seems a bit too manual for my liking. I'd prefer a more automated solution like B or D.
upvoted 0 times
...
Edelmira
9 days ago
I don't know, I'm leaning towards C. Getting the data directly from the ALB access logs and then using a metric filter seems like the simplest option.
upvoted 0 times
...
Lasandra
13 days ago
I'd go with D. Using X-Ray to capture the data and then have CloudWatch pull the metrics from there seems like a more robust solution.
upvoted 0 times
...
Georgeanna
24 days ago
Hmm, I think option B is the way to go. Writing the data to CloudWatch Logs and then using Insights to populate the metrics sounds like a pretty straightforward approach.
upvoted 0 times
Fletcher
3 days ago
I agree, option B seems like a good choice. Using CloudWatch Logs and Insights for metrics makes sense.
upvoted 0 times
...
Tu
9 days ago
I agree, option B seems like a good choice. Using CloudWatch Logs and Insights for metrics makes sense.
upvoted 0 times
...
...
Lauran
1 months ago
I'm not sure about option A. I think option D with AWS X-Ray integration could provide more detailed insights and a better way to track the metrics we need.
upvoted 0 times
...
Stanford
1 months ago
I agree with Lottie. Option A provides a clear path to gather the metrics we need, and using CloudWatch Logs for this purpose makes sense.
upvoted 0 times
...
Lottie
1 months ago
I think option A is the best choice. Writing logs to CloudWatch Logs and using metric filters seems like a straightforward way to gather the required metrics.
upvoted 0 times
...

Save Cancel