StudyToCert

All certifications / Developer Associate / Lessons

AWS Certified Developer – Associate DVA-C02 · Domain 1: Development with AWS Services

Lambda coding practices: initializing SDK clients and connections outside the handler, reading events, returning API Gateway proxy responses

▶ Watch the overview video

Last reviewed September 25, 2026 · Leer en español

A Lambda function is a handler: a function Lambda calls once per invocation with two arguments, the event (the input data) and the context (runtime information such as the request ID and remaining time). Writing the handler well has a direct effect on speed, cost and correctness.

Free account

Keep reading for free

Create a free StudyToCert account to read the rest of this lesson: 5 more sections, 4 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.

Sign up free Log in

Study Developer Associate for free
A week-by-week plan with every lesson, quizzes, checkpoint tests, a practice exam and hands-on labs.
Open the Developer Associate study plan