Book Image

Learn AWS Serverless Computing

By : Scott Patterson
Book Image

Learn AWS Serverless Computing

By: Scott Patterson

Overview of this book

Serverless computing is a way to run your code without having to provision or manage servers. Amazon Web Services provides serverless services that you can use to build and deploy cloud-native applications. Starting with the basics of AWS Lambda, this book takes you through combining Lambda with other services from AWS, such as Amazon API Gateway, Amazon DynamoDB, and Amazon Step Functions. You’ll learn how to write, run, and test Lambda functions using examples in Node.js, Java, Python, and C# before you move on to developing and deploying serverless APIs efficiently using the Serverless Framework. In the concluding chapters, you’ll discover tips and best practices for leveraging Serverless Framework to increase your development productivity. By the end of this book, you’ll have become well-versed in building, securing, and running serverless applications using Amazon API Gateway and AWS Lambda without having to manage any servers.
Table of Contents (20 chapters)
Free Chapter
1
Section 1: Why We're Here
4
Section 2: Getting Started with AWS Lambda Functions
9
Section 3: Development Patterns
12
Section 4: Architectures and Use Cases

Questions

  1. Event-driven compute and architectural patterns have evolved to abstract away the runtime from the developer so that they can focus on writing business value into their code. Such a pattern is called what?

A) Platform as a Service (Paas)
B) Infrastructure as a Service (IaaS)
C) Functions as a Service (FaaS)
D) Mobile Backend as a Service (MBaaS)

  1. When creating a Lambda function, there are a number of configurable options. Which of the following is NOT a directly configurable option?

A) CPU cores
B) Memory allocation
C) Runtime
D) Execution timeout

  1. Lambda functions can be written in what programming language?

A) Node.js
B) Python
C) Java
D) Go
E) C#
F) Ruby
G) All of the above

  1. What would be a good method for enabling multiple environments for a Lambda function?

A) Deploy multiple copies of the function
B) Use environment aliases to point to a particular version
...