wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

AWS Lambda Worksheet

Total questions: 30

Worksheet time: 15mins

Name
Class
Date
1.

What is AWS Lambda primarily used for?

a)

Hosting virtual servers

b)

Running code without provisioning servers

c)

Storing data persistently

d)

Managing containers

2.

Which of the following best describes AWS Lambda’s pricing model?

a)

Pay per hour of execution

b)

Pay per invocation and compute time used

c)

Flat monthly fee

d)

Pay per EC2 instance launched

3.

AWS Lambda is an example of which type of cloud computing model?

a)

IaaS

b)

PaaS

c)

FaaS (Function-as-a-Service)

d)

SaaS

4.

What is the maximum execution timeout for a Lambda function?

a)

1 minute

b)

5 minutes

c)

15 minutes

d)

60 minutes

5.

Which language is NOT supported by AWS Lambda natively?

a)

Python

b)

Java

c)

C++

d)

Node.js

6.

What triggers can invoke AWS Lambda functions?

a)

S3 bucket events

b)

API Gateway

c)

CloudWatch events

7.

Where is the AWS Lambda code stored?

a)

In an EC2 instance

b)

In S3 buckets managed by AWS

c)

In CloudFormation templates

d)

In DynamoDB tables

8.

Which AWS service can be used to expose a Lambda function as a REST API?

a)

Amazon S3

b)

Amazon API Gateway

c)

Amazon EC2

d)

AWS Glue

9.

What is the maximum deployment package size (compressed .zip) for AWS Lambda?

a)

50 MB

b)

100 MB

c)

250 MB

d)

500 MB

10.

Which of the following best describes an AWS Lambda function’s cold start?

a)

Function runs faster after first invocation

b)

Function takes longer during first invocation due to container initialization

c)

Function fails to start without a trigger

d)

Function starts immediately for all invocations

11.

How does AWS Lambda scale automatically?

a)

By creating EC2 instances

b)

By running multiple function instances concurrently

c)

By adding more CPUs

d)

By using Elastic Load Balancers

12.

What is the default memory allocation for a new Lambda function?

a)

128 MB

b)

512 MB

c)

1024 MB

d)

2048 MB

13.

Which AWS service can be used to monitor Lambda function logs?

a)

CloudFormation

b)

CloudWatch Logs

c)

CloudTrail

d)

AWS Config

14.

AWS Lambda functions can be written in all of the following except:

a)

Go

b)

Ruby

c)

PHP

d)

.NET Core (C#)

15.

What AWS service can schedule Lambda functions periodically?

a)

CloudWatch Events (EventBridge)

b)

AWS Config

c)

AWS Organizations

d)

CloudFormation

16.

What role does IAM play in Lambda?

a)

Grants permissions to Lambda to access other AWS services

b)

Manages the size of Lambda memory

c)

Controls function execution time

d)

Handles function concurrency

17.

What is the maximum memory allocation allowed for a Lambda function?

a)

512 MB

b)

1024 MB

c)

2048 MB

18.

Which AWS service helps deploy and version control Lambda functions easily?

a)

AWS CodeCommit

b)

AWS CloudFormation

c)

AWS SAM (Serverless Application Model)

d)

AWS Glue

19.

Which of these can be a Lambda event source?

a)

SNS Topic

b)

DynamoDB Stream

c)

S3 Bucket

d)

All of the above

20.

How are environment variables stored in Lambda?

a)

As encrypted variables using KMS

b)

As plain text in CloudWatch Logs

c)

Inside the function handler

d)

Stored externally in EC2

21.

What is AWS Lambda Layers used for?

a)

To store temporary results

b)

To share code libraries across functions

c)

To manage network traffic

d)

To define API endpoints

22.

What type of compute model does AWS Lambda follow?

a)

Continuous compute model

b)

Event-driven compute model

c)

Dedicated server compute model

d)

Scheduled compute model

23.

Which of the following can trigger a Lambda function in near real-time?

a)

Kinesis Data Stream

b)

EC2 Monitoring

c)

RDS Query

d)

CloudFormation Stack

24.

What is the maximum deployment package size (uncompressed) for Lambda with a container image?

a)

50 MB

b)

100 MB

c)

250 MB

d)

10 GB

25.

What feature helps version control Lambda functions?

a)

Tags

b)

Layers

c)

Aliases and Versions

d)

Snapshots

26.

Which of the following is NOT a Lambda invocation type?

a)

Synchronous

b)

Asynchronous

c)

Stream-based

d)

Static

27.

Which AWS service provides detailed metrics about Lambda invocations?

a)

CloudTrail

b)

CloudWatch Metrics

c)

Config Rules

d)

Inspector

28.

What happens when a Lambda function exceeds its timeout duration?

a)

It completes execution

b)

It restarts automatically

29.

What is the minimum billing duration for AWS Lambda?

a)

1 second

b)

10 milliseconds

c)

100 milliseconds

d)

1 minute

30.

Which of the following is an advantage of using AWS Lambda?

a)

Requires managing servers manually

b)

Automatically scales based on workload

c)

Needs upfront resource provisioning

d)

Fixed cost per month