Your development team has set up the AWS API gateway service.
The resources and methods have been set up.
Now a staging environment has been set up to test the service.
You need to monitor the end to end execution trace of the request to the API gateway.
Which one of the following services can help you achieve this?
Click on the arrows to vote for the correct answer
A. B. C. D.Answer - B.
The AWS Documentation mentions the following.
You can use AWS X-Ray to trace and analyze user requests as they travel through your Amazon API Gateway APIs to the underlying services.
API Gateway supports AWS X-Ray tracing for all API Gateway endpoint types: regional, edge-optimized, and private.
You can use AWS X-Ray with Amazon API Gateway in all regions where X-Ray is available.
X-Ray gives you an end-to-end view of an entire request.
So you can analyze latencies in your APIs and their backend services.
You can use an X-Ray service map to view the latency of an entire request and that of the downstream services that are integrated with X-Ray.
And you can configure sampling rules to tell X-Ray which requests to record, at what sampling rates, according to criteria that you specify.
If you call an API Gateway API from a service that's already being traced, API Gateway passes the trace through, even if X-Ray tracing is not enabled on the API.
Option A is incorrect since this service is used to monitor configuration changes.
Option C is incorrect since this service is used for API monitoring.
Option D is incorrect since this service is used for logging purposes.
For more information on API gateway and X-Ray, please refer to the below URL-
https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.htmlThe service that can help monitor the end-to-end execution trace of requests to the AWS API gateway is AWS X-Ray.
AWS X-Ray is a service that helps to analyze and debug distributed applications. It allows developers to trace requests made to an application and provides an end-to-end view of the request flow. In the case of the API gateway, X-Ray can trace requests from the API gateway to the backend services that process them.
Using X-Ray, developers can identify and diagnose performance bottlenecks, errors, and exceptions that occur during the execution of the request. It also helps to understand the dependencies between various components of the application and identify any issues related to them.
AWS Config is a service that provides a detailed inventory of AWS resources and their configurations. It can be used to track changes to AWS resources and their compliance with organizational policies and guidelines.
AWS CloudTrail is a service that provides a record of all API actions performed in an AWS account. It can be used to audit, monitor, and troubleshoot AWS API calls.
AWS CloudWatch is a service that provides monitoring and management of AWS resources and applications. It can be used to collect and track metrics, collect and monitor log files, and set alarms.
In conclusion, the correct answer to the question is B - AWS X-Ray.