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 204 discussion

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

A developer is building an application integrating an Amazon API Gateway with an AWS Lambda function. When calling the API. the developer receives the following error:

Wed Nov 08 01:13:00 UTC 2017 : Method completed with status: 502

What should the developer do to resolve the error?

  • A. Change the HTTP endpoint of the API to an HTTPS endpoint.
  • B. Change the format of the payload sent to the API Gateway.
  • C. Change the format of the Lambda function response to the API call.
  • D. Change the authorization header in the API call to access the Lambda function.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

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
rcaliandro
1 year, 12 months ago
Selected Answer: C
502 http Error is Bad Gateway. Probably the function response is not formatted in a correct way. So C is correct
upvoted 1 times
...
Ashish_Mishra
2 years, 4 months ago
Selected Answer: C
error 5xx is server side so its c
upvoted 1 times
...
Phinx
2 years, 5 months ago
Selected Answer: C
C it is
upvoted 1 times
...
michaldavid
2 years, 6 months ago
Selected Answer: C
ccccccc
upvoted 1 times
...
k1kavi1
2 years, 7 months ago
Selected Answer: C
https://aws.amazon.com/premiumsupport/knowledge-center/malformed-502-api-gateway/
upvoted 2 times
k1kavi1
2 years, 6 months ago
https://www.examtopics.com/discussions/amazon/view/51563-exam-aws-certified-developer-associate-topic-1-question-342/
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 ...