Aws Lambda In Depth Flashcards

1
Q

What is AWS Lambda?

A

AWS Lambda is a serverless computing service that runs your code in response to events and automatically manages the underlying compute resources.

Example sentence: AWS Lambda can be used to process image uploads in response to S3 events.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How does AWS Lambda handle triggers and scalability?

A

Lambda automatically scales by running code in response to each trigger individually. Triggers include changes in AWS services like S3 or DynamoDB, or direct API calls.

Additional information: Lambda can handle bursts of traffic by scaling out and executing multiple instances of the function simultaneously.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What does it mean that Lambda functions are stateless, and what languages does it support?

A

Each Lambda function runs independently, without sharing data between executions, supporting multiple languages including Node.js, Python, Java, and more.

Example sentence: Lambda functions can be written in Python to process real-time data streams from IoT devices.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

How is AWS Lambda priced and secured?

A

Pricing is based on the number of requests and the execution duration, measured in milliseconds. Security is managed through IAM roles and policies to control access to other AWS resources.

Additional information: AWS Lambda provides built-in logging and monitoring capabilities to track function invocations and performance.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly