A Lambda function is sometimes timing out during execution. How can a developer identify the root cause of these timeouts?
Practise this AWS Developer Associate Prep 2 question free, then download the PDF, watch the video walkthrough, or unlock timed mock exams for the full web bank.
AIncrease the Lambda function memory allocation to maximum
BAdd detailed logging with timestamps throughout the function code
CChange the programming language of the Lambda function
DDisable all integrations with other AWS services
✓ Correct answer: B. Add detailed logging with timestamps throughout the function codeAdding detailed logging with timestamps helps track execution progress and identify which operations are taking longer than expected, helping to pinpoint the cause of Lambda timeouts.
Keep practising. Use the free AWS Developer Associate Prep 2 PDF, watch the YouTube walkthrough, or unlock all 10 web questions with timed mock exams.
Free practice here. Timed mocks when you are ready.
Study the AWS Developer Associate Prep 2 free question explanations, download the PDF, then unlock timed mock exams on the web when you want exam-day practice.