Recall & Review
beginner
What is an event trigger in AWS Lambda?
An event trigger is a source that causes a Lambda function to run automatically when a specific event happens, like a file upload or a message arrival.
Click to reveal answer
beginner
Name three common AWS services that can trigger Lambda functions.
Amazon S3 (file uploads), Amazon DynamoDB (table updates), and Amazon API Gateway (HTTP requests) are common event triggers for Lambda.
Click to reveal answer
beginner
How does Amazon S3 trigger a Lambda function?
When a file is added, modified, or deleted in an S3 bucket, it can send an event notification that triggers a Lambda function to run.
Click to reveal answer
intermediate
What is the role of Amazon EventBridge in Lambda triggers?
EventBridge can route events from many AWS services or custom apps to Lambda functions, enabling complex event-driven workflows.
Click to reveal answer
intermediate
Can a Lambda function have multiple event triggers? Explain.
Yes, a Lambda function can be triggered by multiple event sources, allowing it to respond to different types of events in one place.
Click to reveal answer
Which AWS service can trigger a Lambda function when a new file is uploaded?
✗ Incorrect
Amazon S3 can send event notifications to Lambda when files are uploaded.
What type of event can Amazon DynamoDB send to trigger Lambda?
✗ Incorrect
DynamoDB streams capture table changes and can trigger Lambda functions.
Which service routes events from many sources to Lambda for complex workflows?
✗ Incorrect
EventBridge routes events from multiple sources to Lambda.
Can a Lambda function be triggered by an HTTP request?
✗ Incorrect
API Gateway can trigger Lambda functions on HTTP requests.
What happens when multiple event triggers are set for one Lambda function?
✗ Incorrect
Lambda runs whenever any configured event trigger occurs.
Explain how AWS Lambda uses event triggers to run functions automatically.
Think about what causes Lambda to start without manual action.
You got /3 concepts.
List and describe at least three AWS services that can trigger Lambda functions and the types of events they send.
Consider storage, database, and web services.
You got /3 concepts.