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

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

An ecommerce company is using an AWS Lambda function behind Amazon API Gateway as its application tier. To process orders during checkout, the application calls a POST API from the frontend. The POST API invokes the Lambda function asynchronously. In rare situations, the application has not processed orders. The Lambda application logs show no errors or failures.

What should a developer do to solve this problem?

  • A. Inspect the frontend logs for API failures. Call the POST API manually by using the requests from the log file.
  • B. Create and inspect the Lambda dead-letter queue. Troubleshoot the failed functions. Reprocess the events.
  • C. Inspect the Lambda logs in Amazon CloudWatch for possible errors. Fix the errors.
  • D. Make sure that caching is disabled for the POST API in API Gateway.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
captainpike
2 years, 1 month ago
Selected Answer: C
IMO, you can call Lambda asyncronously without a Queue (to be verified). I am assuming there is no queue, so B is not right. I am chosing C
upvoted 1 times
...
mistral
2 years, 2 months ago
Selected Answer: B
B. "Create" and inspect DLQ and Asynchronous
upvoted 1 times
...
pancman
2 years, 3 months ago
Why not D?
upvoted 1 times
...
hamimelon
2 years, 5 months ago
I did think B was reasonable, but I didn't see "dead-letter queue" in the question. Then I found the word "asynchronously", which implies dead-letter queue. B it is.
upvoted 1 times
...
k1kavi1
2 years, 5 months ago
Selected Answer: B
Choosing B
upvoted 3 times
...
michaldavid
2 years, 5 months ago
Selected Answer: B
B for me
upvoted 3 times
...
DrCloud
2 years, 5 months ago
Ans: B https://docs.aws.amazon.com/lambda/latest/dg/invocation-retries.html Asynchronous invocation – Lambda retries function errors twice. If the function doesn't have enough capacity to handle all incoming requests, events might wait in the queue for hours or days to be sent to the function. You can configure a dead-letter queue on the function to capture events that weren't successfully processed.
upvoted 4 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