304 North Cardinal St.
Dorchester Center, MA 02124
In the world of modern development, serverless computing has become table stakes. Serverless computing has seen a major uptake with AWS Lambda having an increased adoption of 667% in 2018. Companies are making the switch to serverless for shorter time to market and decreased operational costs, but for you the advantage lies in the ability to offload the burden of managing infrastructure to serverless platforms, so you can focus on building even better apps.
In this course, you will learn how to run serverless applications using AWS Lambda. You’ll start with the basics such as creating a web service where you’ll learn the steps to deploy an AWS Serverless Application Model (SAM). You’ll then move on to more advanced topics such as handling HTTP Requests, using external storage, and managing sessions and user workflows. By the end of this course, you will be ready to work with AWS Lambda in a professional setting, and you’ll have a great, transferable skill that employers will love to see.
Q1. Select all benefits of using AWS Lambda for a serverless application:
Q2. Select all the factors on which the Lambda pricing depends:
Q3. According to the Lambda pricing model, you have to pay extra for the staging and testing environments even if they are idle.
Q4. Which of the following is NOT a technical limitation of using AWS Lambda?
Q5. I want to build an application that tracks vehicles and transmits their location coordinates to a server. The application will track a vehicle using computer vision technology (which processes dynamic images), detects the vehicle from camera images, and tracks its location. It must transmit the coordinates immediately to the server so that the server knows the exact location of the vehicle before it moves from that location. Is it advisable to use AWS Lambda for this application given the technical constraints?
Q1. What is the purpose of the
--runtime argument in the
sam init command?
Q2. A CloudFormation stack is a source file describing an application infrastructure into a set of running, configured cloud resources.
Q3. You can only use a yaml format to make a CloudFormation template.
Q4. Select all the arguments necessary for Lambda functions:
Q5. Which of the following is the purpose of the Resources sections in template.yaml?
Q1. A log group corresponds to a single running process.
Q2. What is the purpose of the
-s flag in the
sam logs command?
Q3. Select all the tools used to validate templates:
Q4. Select all the possible ways of isolating resources with AWS SAM:
Q5. Fill in the blank: A _________ automates repetitive and error-prone tasks and orchestrates the work required to convert source code into a fully deployed application.
Q1. With AWS Lambda, you can deploy your new code by uploading it to running containers or setting up new instances with the updated code and then destroying the old containers.
Q2. Which of the following refers to the name of a function?
Q3. Fill in the blank: _________ are read-only copies of function configurations, and they are not wiped out after a subsequent update.
Q4. Which of the following property is used to define an alias for a Lambda function?
Q5. Fill in the blank: Lambda supports automatic load balancing between versions assigned to the same alias, using a feature called _____________.
Q1. Fill in the blank: In the API Gateway terminology, a _________ is an endpoint configured to handle an HTTP request on a specific path and with a specific HTTP method.
Q2. Select all the fields that must be present in the JSON object which the API Gateway expects as a response:
Q3. Fill in the blank: _________ APIs are served from a specific region, but the clients connect to the nearest AWS presence point.
Q4. Which of the following is a special marker value supported by the API Gateway for HTTP methods that matches all methods?
Q5. What is the standard stage name used to configure events using the API Gateway?
Q1. Simple Storage Services and DynamoDB are examples of which of the following cloud options?
Q2. Fill in the blank: _______ is/are an object store, designed for large binary unstructured data. It can store individual objects up to 5 TB. The objects are aggregated into buckets.
Q3. Which storage option is suitable if your application has the following requirements?
Q4. Select all the parameters that are required by the standard S3 SDK method
putObject to send data to a bucket:
Q5. Which of the following policies gives a Lambda function read and write access to all objects in a bucket?
Q1. If an application server approves or rejects client requests, talks to back-end storage, schedules asynchronous processing, and passes back results to client devices, it is an example of a three-tier server setup.
Q2. Select all the features of Amazon Cognito:
Q3. Each IAM user has two keys. Select them from the list below:
Q4. Fill in the blank: _________ takes a map of conditions such as the expiration time of the policy, partial or full matching on the uploaded file key, maximum allowed length, and the default access level for the uploaded file.
Q5. Lambda functions work under temporary credentials that are only valid for a short period. Unfortunately, there is no way to generate signed URLs that last longer.
Q1. Select all the types of dead-letter queues that Lambda can use:
Q2. With synchronous calls, errors can be reported directly back to the caller, but the caller cannot decide whether it’s worth retrying or not.
Q3. If there are no subscriptions to an event, what happens in the case of SNS if a message arrives?
Q4. Fill in the blanks:
sam local generate-event command, the first parameter after an generate-event is the ________. The second is the _________.
Q5. Fill in the blank:
CloudFormation can activate or deactivate resources based on certain conditions, which we need to set up in a separate template section titled _________.
Q1. Select all the purposes of the AWS Serverless Application Repository:
Q2. Fill in the blank:
The ______________ SAR component makes ImageMagick utilities available to Lambda functions in the form of a layer.
Q3. A single function can attach up to six layers.
Q4. Fill in the blank:
________ is the Software Package Data Exchange (SPDX) identifier for the application copyright license.
Q5. Which of the following is true about Available Applications?
Q1. AWS Lambda usually works by sending all requests from a single user to the same machine so that web servers can keep session state in memory.
Q2. Which endpoint is automatically activated by AWS when you create an S3 bucket?
Q3. Fill in the blank:
______ is an optional property for
DeploymentResource that defines the access control for uploaded files.
Q4.Fill in the blank:
_________ is a managed hierarchical database intended for direct use by client devices, and it can automatically synchronise states across multiple clients, resolve conflicts, and even handle offline usage scenarios.
Q5. Select all the uses of CloudFront:
Q1. Fill in the blank:
_________ is/are responsible for setting up the application components and translating between the business logic core and the Lambda environment.
Q1. Lambda never reuses existing container instances over a short period of time. This speeds up processing and avoids cold starts.
Q2. Select all the things through which you can share configurations apart from having a single template:
Q3. Select all the ways needed by Lambda functions if they want to share behavior:
Q4. What is the purpose of having a Kinesis Data Streams?
Q5. Lambda charges for memory allocation multiplied by CPU time, so bundling tasks with different memory needs can be unnecessarily expensive.
I hope this Running Serverless Applications with AWS Lambda Educative Quiz Answers would be useful for you to learn something new from this problem. If it helped you then don’t forget to bookmark our site for more Coding Solutions.
This Problem is intended for audiences of all experiences who are interested in learning about Data Science in a business context; there are no prerequisites.
More Coding Solutions >>