What is the difference between "synchronous" and "asynchronous" invocation in AWS Lambda?
Correct! Well done.
Incorrect.
The correct answer is A) In synchronous invocation, the caller waits for the function to process the event and return a response, while in asynchronous invocation, Lambda queues the event for processing and returns immediately, with retries handled automatically on failure
Correct Answer
In synchronous invocation, the caller waits for the function to process the event and return a response, while in asynchronous invocation, Lambda queues the event for processing and returns immediately, with retries handled automatically on failure
Synchronous invocations (e.g. via API Gateway) return the function's response directly to the caller, while asynchronous invocations (e.g. from S3 or SNS events) are queued internally, with Lambda handling retries on errors.