Troubleshooting and Optimization

A Python Lambda invocation reports “Handler 'process' missing on module 'app'.” Which configuration should the developer verify?

Show the answer

Correct answerD. The function's runtime handler setting

AWhy not this: Memory allocation affects available resources, not which callable the runtime looks for.

BWhy not this: Environment variables supply configuration values but do not select the Python entry point.

CWhy not this: The execution timeout limits runtime duration after invocation begins; it does not resolve a missing callable.

DWhy this is right: The handler setting must match the deployed module name and the callable defined within it.

The Python handler setting identifies the module and callable Lambda invokes. A missing-handler error indicates that the configured callable cannot be found; increasing the timeout does not fix handler resolution.