AWS Certified Developer – Associate — Question 204

A developer is troubleshooting an Amazon API Gateway API. Clients are receiving HTTP 400 response errors when the clients try to access an endpoint of the API.

How can the developer determine the cause of these errors?

Answer options

Correct answer: D

Explanation

The correct answer is D because enabling execution and access logging in Amazon CloudWatch Logs allows the developer to capture detailed information about API requests and responses, which can help identify the cause of the HTTP 400 errors. The other options involve monitoring or logging methods that do not directly provide the necessary information to troubleshoot API Gateway errors effectively.