volume_mute

Choose the invocation models for running Lambda functions

publish date2024/08/28 05:22:00 UTC

volume_mute
Synchronous invocation
Asynchronous invocation
Polling invocation

Correct Answer

(1) Synchronous invocation
(2) Asynchronous invocation
(3) Polling invocation

Explanation

  • Synchronous Invocation: When you invoke a function synchronously, Lambda runs the function and waits for a response.
  • Asynchronous Invocation: When you invoke a function asynchronously, events are queued and the requestor doesn't wait for the function to complete.
  • Polling Invocation: This invocation model is designed to integrate with AWS streaming and queuing based services with no code or server management. Lambda will poll (or watch) these services, retrieve any matching events, and invoke your functions. 

Reference

AWS Skill Builder


Quizzes you can take where this question appears