exam questions

Exam AWS Certified Developer - Associate DVA-C02 All Questions

View all questions & answers for the AWS Certified Developer - Associate DVA-C02 exam

Exam AWS Certified Developer - Associate DVA-C02 topic 1 question 181 discussion

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?

  • A. Create an Amazon Kinesis Data Firehose delivery stream to receive API call logs from API Gateway. Configure Amazon CloudWatch Logs as the delivery stream’s destination.
  • B. Turn on AWS CloudTrail Insights and create a trail. Specify the Amazon Resource Name (ARN) of the trail for the stage of the API.
  • C. Turn on AWS X-Ray for the API stage. Create an Amazon CloudWatch Logs log group. Specify the Amazon Resource Name (ARN) of the log group for the API stage.
  • D. Turn on execution logging and access logging in Amazon CloudWatch Logs for the API stage. Create a CloudWatch Logs log group. Specify the Amazon Resource Name (ARN) of the log group for the API stage.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

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
walala97
Highly Voted 9 months, 3 weeks ago
Selected Answer: D
why not C,X-Ray is more focused on the internal workings and performance of the API rather than the validity or structure of incoming requests.according to the error 400,it should be the client side error like incorrect request syntax, invalid request message framing, or deceptive request routing
upvoted 6 times
...
65703c1
Most Recent 5 months ago
Selected Answer: D
D is the correct answer.
upvoted 1 times
...
yingying920928
7 months, 1 week ago
Selected Answer: D
Changing answer to D: CloudTrail records API-level events, but it may not capture the payloads, headers, or other details of the requests and responses that are essential for understanding the cause of HTTP 400 response errors.
upvoted 2 times
...
yingying920928
7 months, 2 weeks ago
Selected Answer: B
Logging events of API -> AWS CloudTrail
upvoted 1 times
...
KarBiswa
7 months, 3 weeks ago
Selected Answer: B
Cloud Trail logs
upvoted 2 times
KarBiswa
7 months, 1 week ago
Switching my vote to D
upvoted 1 times
...
...
KarBiswa
7 months, 3 weeks ago
Selected Answer: C
Always the rule of thump is Cloud trail to trace the logging events of API's. https://docs.aws.amazon.com/awscloudtrail/latest/userguide/logging-insights-events-with-cloudtrail.html#:~:text=AWS%20CloudTrail%20Insights,write%20management%20APIs.
upvoted 1 times
KarBiswa
7 months, 3 weeks ago
Sorry its not C its B
upvoted 1 times
...
...
dezoito
1 year ago
D according to https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
upvoted 3 times
...
dilleman
1 year ago
Selected Answer: D
D should be correct
upvoted 2 times
...
Digo30sp
1 year ago
Selected Answer: D
D) https://www.examtopics.com/discussions/amazon/view/88807-exam-aws-certified-developer-associate-topic-1-question-264/
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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago