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 43 discussion

A DevOps team manages an API running on-premises that serves as a backend for an Amazon API Gateway endpoint. Customers have been complaining about high response latencies, which the development team has verified using the API Gateway latency metrics in Amazon CloudWatch. To identify the cause, the team needs to collect relevant data without introducing additional latency.
Which actions should be taken to accomplish this? (Choose two.)

  • A. Install the CloudWatch agent server side and configure the agent to upload relevant logs to CloudWatch.
  • B. Enable AWS X-Ray tracing in API Gateway, modify the application to capture request segments, and upload those segments to X-Ray during each request.
  • C. Enable AWS X-Ray tracing in API Gateway, modify the application to capture request segments, and use the X-Ray daemon to upload segments to X-Ray.
  • D. Modify the on-premises application to send log information back to API Gateway with each request.
  • E. Modify the on-premises application to calculate and upload statistical data relevant to the API service requests to CloudWatch metrics.
Show Suggested Answer Hide Answer
Suggested Answer: AC 🗳️

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
madperro
Highly Voted 2 years ago
Selected Answer: AC
AC is using standard parts of the solution.
upvoted 8 times
...
thanhnv142
Highly Voted 1 year, 5 months ago
A and C: use cloudwatch log agent to collect app log and use AWS X-ray to collect information about requests (traces). B is incorrect because modifying app to send message directly to X-RAY introduces more latency to the app. Use X-RAY daemon to do that task is a better idea
upvoted 6 times
thanhnv142
1 year, 5 months ago
- <API Gateway latency metrics> means dev team have collect APM. They need to collect app log as well, which indicates option A. D and E: modifing the app introduces latencies
upvoted 2 times
...
...
jamesf
Most Recent 11 months, 2 weeks ago
Selected Answer: AC
AC is less impact to Application Latencies. Keywords: without additional latencies, cloudwatch B will provide more latencies DE will require modify the app and give more latencies.
upvoted 2 times
...
TEC1
1 year, 2 months ago
Selected Answer: AC
The X-Ray daemon batches and uploads the data in the background, which helps to avoid introducing additional latency.
upvoted 3 times
...
yorkicurke
1 year, 7 months ago
Selected Answer: AC
the reason i am not so sure about is that API Gateway have built-in integration with X-Ray. This means that they automatically send trace data to X-Ray without needing a separate X-Ray daemon. and i dont think we have the option of installing one or using one, unless someone shows me the official link.
upvoted 3 times
...
Bassel
2 years, 1 month ago
Selected Answer: BE
Installing the CloudWatch agent server-side (option A) is not directly related to collecting latency data from API Gateway. The CloudWatch agent is typically used to collect and monitor system-level metrics from the server itself. Enabling AWS X-Ray tracing in API Gateway and using the X-Ray daemon (option C) is not necessary in this scenario. The X-Ray daemon is primarily used when you have applications running on EC2 instances or on-premises servers that need to send trace data to X-Ray. Modifying the on-premises application to send log information back to API Gateway with each request (option D) is not an optimal solution for collecting latency data. It may introduce additional latency and overhead to the API requests and could be challenging to implement efficiently and accurately.
upvoted 3 times
rhinozD
2 years ago
Do you think that doing B or E doesn't bring any latency? I think C is necessary because you could trace the performance of the application. And even the team can look into app logs on its server, but sending logs to Cloudwatch logs and then making a further investigation with AWS tools is not too bad.
upvoted 2 times
...
...
EricZhang
2 years, 1 month ago
Why A? The team still can check logs without uploading to CloudWatch? I'd prefer E over A.
upvoted 2 times
NivNZ
1 year, 11 months ago
I thought the same but E might cause additional latency which is NOT what we want.
upvoted 3 times
...
...
ele
2 years, 1 month ago
Selected Answer: AC
AC less impact on app
upvoted 4 times
...
alce2020
2 years, 2 months ago
Selected Answer: AC
A, C, correct
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 ...