Font size
WorksheetsAWS Lambda Worksheet
Total questions: 30
Worksheet time: 15mins
What is AWS Lambda primarily used for?
Hosting virtual servers
Running code without provisioning servers
Storing data persistently
Managing containers
Which of the following best describes AWS Lambda’s pricing model?
Pay per hour of execution
Pay per invocation and compute time used
Flat monthly fee
Pay per EC2 instance launched
AWS Lambda is an example of which type of cloud computing model?
IaaS
PaaS
FaaS (Function-as-a-Service)
SaaS
What is the maximum execution timeout for a Lambda function?
1 minute
5 minutes
15 minutes
60 minutes
Which language is NOT supported by AWS Lambda natively?
Python
Java
C++
Node.js
What triggers can invoke AWS Lambda functions?
S3 bucket events
API Gateway
CloudWatch events
Where is the AWS Lambda code stored?
In an EC2 instance
In S3 buckets managed by AWS
In CloudFormation templates
In DynamoDB tables
Which AWS service can be used to expose a Lambda function as a REST API?
Amazon S3
Amazon API Gateway
Amazon EC2
AWS Glue
What is the maximum deployment package size (compressed .zip) for AWS Lambda?
50 MB
100 MB
250 MB
500 MB
Which of the following best describes an AWS Lambda function’s cold start?
Function runs faster after first invocation
Function takes longer during first invocation due to container initialization
Function fails to start without a trigger
Function starts immediately for all invocations
How does AWS Lambda scale automatically?
By creating EC2 instances
By running multiple function instances concurrently
By adding more CPUs
By using Elastic Load Balancers
What is the default memory allocation for a new Lambda function?
128 MB
512 MB
1024 MB
2048 MB
Which AWS service can be used to monitor Lambda function logs?
CloudFormation
CloudWatch Logs
CloudTrail
AWS Config
AWS Lambda functions can be written in all of the following except:
Go
Ruby
PHP
.NET Core (C#)
What AWS service can schedule Lambda functions periodically?
CloudWatch Events (EventBridge)
AWS Config
AWS Organizations
CloudFormation
What role does IAM play in Lambda?
Grants permissions to Lambda to access other AWS services
Manages the size of Lambda memory
Controls function execution time
Handles function concurrency
What is the maximum memory allocation allowed for a Lambda function?
512 MB
1024 MB
2048 MB
Which AWS service helps deploy and version control Lambda functions easily?
AWS CodeCommit
AWS CloudFormation
AWS SAM (Serverless Application Model)
AWS Glue
Which of these can be a Lambda event source?
SNS Topic
DynamoDB Stream
S3 Bucket
All of the above
How are environment variables stored in Lambda?
As encrypted variables using KMS
As plain text in CloudWatch Logs
Inside the function handler
Stored externally in EC2
What is AWS Lambda Layers used for?
To store temporary results
To share code libraries across functions
To manage network traffic
To define API endpoints
What type of compute model does AWS Lambda follow?
Continuous compute model
Event-driven compute model
Dedicated server compute model
Scheduled compute model
Which of the following can trigger a Lambda function in near real-time?
Kinesis Data Stream
EC2 Monitoring
RDS Query
CloudFormation Stack
What is the maximum deployment package size (uncompressed) for Lambda with a container image?
50 MB
100 MB
250 MB
10 GB
What feature helps version control Lambda functions?
Tags
Layers
Aliases and Versions
Snapshots
Which of the following is NOT a Lambda invocation type?
Synchronous
Asynchronous
Stream-based
Static
Which AWS service provides detailed metrics about Lambda invocations?
CloudTrail
CloudWatch Metrics
Config Rules
Inspector
What happens when a Lambda function exceeds its timeout duration?
It completes execution
It restarts automatically
What is the minimum billing duration for AWS Lambda?
1 second
10 milliseconds
100 milliseconds
1 minute
Which of the following is an advantage of using AWS Lambda?
Requires managing servers manually
Automatically scales based on workload
Needs upfront resource provisioning
Fixed cost per month
