2 Answers
Hello Deepak.
1/ Be very careful that you are not in breach of your NDA with AWS in discussing exam questions particularly if you state or imply that they are from the exam.
~
503 indicates that the Service is not available.
504 indicates endpoint timeout
I need to do some research. At 1st look I would be looking at the EC2/Lambda connection to DDB. Could it be as simple as a Role error preventing Lambda connecting to DDB ?
I will come back shortly after doing some looking.
Rusty
Moderator & Coach
OK,
being clear of it is 503 or 504 is important as it will indicate different things.
Lambda timeout is a possibility. That could be due to the function time limit being to short or one of the other configurable connection timeouts. That could also relate to an issue connecting to DDB preventing the Lambda function completing.
Given that it is an exam question, I would guess that they are going for a common and well documented and often seen issue related to Lambda.
Without seeing the original question I am guessing that it was due to the Lambda function timing out.
🙂
Thanks Rusty, that makes sense.
Check this out and see how it relates to your recollection of the scenerio. https://forums.aws.amazon.com/thread.jspa?threadID=2983