AWS Certified Developer – Associate (DVA-C02) — Question 178

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 is essential for diagnosing the cause of the HTTP 400 errors. Options A, B, and C do not provide the necessary logging details specific to API execution and access, making them less effective for troubleshooting this issue.