SkillSprout
Chapter 8

Serverless Architecture

Build event-driven applications without managing servers using Lambda for compute, API Gateway for APIs, EventBridge for event routing and Step Functions for orchestration.

1Lambda
Intermediate
8 min
2API Gateway
Intermediate
8 min
3EventBridge
Intermediate
7 min
4Step Functions
Advanced
8 min

Chapter quiz

Serverless Architecture · 5 questions

  1. 1.A Lambda function processes messages from an Amazon SQS queue. Some messages take close to the function's 60-second timeout, and messages are being processed twice. What is the MOST likely fix?

  2. 2.A company exposes a public REST API through Amazon API Gateway backed by Lambda. The same read-only product data is requested thousands of times a minute and rarely changes. How can the solutions architect reduce backend load and latency with the LEAST effort?

  3. 3.A company needs to run a workflow lasting up to 3 days that includes a manual approval step performed by a manager before the process continues. The solution must be serverless and provide an audit trail of each step. Which service should be used?

  4. 4.A company wants to run a Lambda function every day at 02:00 UTC and also trigger a Lambda function whenever an EC2 instance changes state. Which single service can provide both capabilities without managing any servers?

  5. 5.A Lambda function in a private subnet must call a third-party API on the internet and read objects from Amazon S3 at the lowest cost and without exposing the function to inbound internet traffic. What should the architect do?

0 of 5 answered