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. Which runtime choice allows you to bundle your own binary and run your own language inside a Lambda function?

A) Python
B) Go
C) Java
D) Custom runtime

  1. What's the best way to reuse the same code across multiple Lambda functions?

A) Shared git repository
B) Lambda layers
C) Invoke another Lambda function to use the shared library
D) You can't reuse code across multiple Lambda functions

  1. What is the default maximum number of concurrent Lambda executions per region in an AWS account?

A) 100
B) 1,000
C) 1,000,000
D) Unlimited

  1. Which service would I use if I wanted automated rotation of secrets?

A) AWS Secrets Manager
B) AWS Systems Manager Parameter Store
C) AWS Key Management Service

  1. Which part of a Lambda function is responsible for abstracting services and external integrations?

A) Controller
B) Environment variables
C) Handler
D) Service

  1. What will...