Saturday, June 6, 2020

AWS Lamda



Few Questions



1.What is AWS Lambda?
AWS Lambda is a compute service that lets you run code without provisioning or managing servers.

2.Which of the following can be used to execute or invoke your Lambda code?
AWS Console
AWS CloudTrail
AWS S3
AWS SNS

EBS is a storage service and can not invoke Lambda. Lambda can be executed from the AWS Console. SNS, S3, and CloudTrail can also invoke the execution on a Lambda function.

3.What are the two primary ways you are charged for using Lambda?
Execution requests and execution duration

The two primary ways you are charged for using Lambda are the number of times your code is executed (execution request), and how long it takes for your code to execute (execution duration).

4.What AWS service will Lambda likely replace?
EC2

It is likely for Lambda to replace EC2 because EC2 is a computing service as well, but Lambda automates the entire infrastructure. This alleviates a lot of the pressure in creating an infrastructure because with Lambda you can let AWS managed that aspect of your business.

5. Which of the following describes serverless computing?
Serverless computing allows you to build and run applications and services without having to think about servers.

6.What are the current languages that Lambda supports?
Java, Go, PowerShell, Node.js, C#, Python, and Ruby code, and provides a Runtime API which allows other languages including Powershell.

7.What is the first step to creating a Lambda Function in the AWS Console?
Create a Function

8.Which of the following would be a good use case for AWS Lambda?
Trigger the processing of an image file in an S3 bucket.

below are not
Bulk storage of data.
To monitor the health of EC2 instances.
Install a SQL Database on Lambda to store data for a web application.

9.Which of the following services can directly trigger a Lambda function?
CloudWatch

below are invalid
Route Table, EC2, DNS









No comments:

Post a Comment