exam questions

Exam AWS Certified Developer Associate All Questions

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

Exam AWS Certified Developer Associate topic 1 question 264 discussion

Exam question from Amazon's AWS Certified Developer Associate
Question #: 264
Topic #: 1
[All AWS Certified Developer Associate Questions]

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
DrCloud
Highly Voted 2 years, 5 months ago
Selected Answer: D
Ask: error ==> "cause" for "access an endpoint of the API". To help debug issues related to request execution or "client access" to your API, you can enable Amazon CloudWatch Logs to log API calls. There are two types of API logging in CloudWatch: execution logging and access logging. X-Ray is "not needed" here. Reason: we don't need "end-to-end" or "travel-though" (Ref: https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-xray.html )
upvoted 16 times
tony554556
2 years, 3 months ago
thanks for that
upvoted 1 times
...
...
SoMaL69
Most Recent 2 years, 5 months ago
Selected Answer: D
Error code 400 means bad request. https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html The logged data includes errors or execution traces (such as request or response parameter values or payloads).
upvoted 3 times
...
SBoksh
2 years, 5 months ago
Selected Answer: D
https://docs.aws.amazon.com/apigateway/latest/developerguide/set-up-logging.html
upvoted 3 times
...
michaldavid
2 years, 5 months ago
Selected Answer: C
C for me
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: C
Agreed
upvoted 1 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