0
0
AWScloud~5 mins

Event triggers for Lambda in AWS - Cheat Sheet & Quick Revision

Choose your learning style9 modes available
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?
AAmazon VPC
BAmazon EC2
CAmazon RDS
DAmazon S3
What type of event can Amazon DynamoDB send to trigger Lambda?
ATable updates like inserts or deletes
BEC2 instance launches
CS3 bucket creation
DCloudWatch alarm
Which service routes events from many sources to Lambda for complex workflows?
AAmazon EventBridge
BAmazon SNS
CAmazon CloudFront
DAWS IAM
Can a Lambda function be triggered by an HTTP request?
AYes, but only from Amazon S3
BNo, Lambda only triggers on file uploads
CYes, via Amazon API Gateway
DNo, Lambda only triggers on database changes
What happens when multiple event triggers are set for one Lambda function?
AThe function runs only on the first trigger
BThe function runs when any trigger event occurs
CThe function runs only if all triggers happen simultaneously
DThe function cannot have multiple triggers
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.