Bird
0
0

Which of the following is the correct way to specify the handler when creating a Lambda function in AWS?

easy📝 Configuration Q12 of 15
AWS - Lambda
Which of the following is the correct way to specify the handler when creating a Lambda function in AWS?
Ahandler.index
Bindex.handler
Clambda.handler
Dhandler.lambda
Step-by-Step Solution
Solution:
  1. Step 1: Understand handler format

    The handler is specified as filename.functionname. Commonly, the file is index and function is handler.
  2. Step 2: Match options

    Only index.handler matches the correct format; others reverse or misuse parts.
  3. Final Answer:

    index.handler -> Option B
  4. Quick Check:

    Handler = filename.function [OK]
Quick Trick: Handler format is filename.functionname [OK]
Common Mistakes:
  • Swapping filename and function name
  • Using invalid handler names
  • Confusing handler with runtime

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More AWS Quizzes