Section 20: Serverless Overviews from a Solution Architect Perspective Flashcards

1
Q

What is the maximum execution time for a Lambda function?

A

900 seconds (15 minutes)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

How much space can your environment variables take up in a Lambda function?

A

4KB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the maximum memory allocation for a Lambda function execution?

A

128MB - 10GB (in 1MB increments)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

This service is a serverless, event-driven compute service that lets you run code for virtually any type of application or backend service without provisioning or managing servers

A

AWS Lambda

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What are the two types of Edge Functions provided by AWS CloudFront?

A

CloudFront Functions and Lamda@Edge

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

This service is a fully managed NoSQL database service that provides fast and predictable performance with seamless scalability

A

DynamoDB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the maximum size of an item in a DynamoDB?

A

400KB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What service could you use if you need a database that allows for a rapidly evolving schema?

A

DynamoDB

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

DynamoDB Read/Write Capacity Mode that requires the user to specify the number of reads/writes per second - good for predictable workloads

A

Provisioned Mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

DynamoDB Read/Write Capacity Mode that enables read/writes to automatically scale up/down with your workloads - good for unpredictable workloads

A

On-Demand Mode

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

A fully managed, highly available, in-memory cache for Amazon DynamoDB that delivers up to a 10 times performance improvement—from milliseconds to microseconds—even at millions of requests per second.

A

Amazon DynamoDB Accelerator (DAX)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

DynamoDB feature that captures a time-ordered sequence of item-level modifications in any DynamoDB table and stores this information in a log for up to 24 hours.

A

DynamoDB Streams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

DynamoDB feature that replicates your DynamoDB tables automatically across your choice of AWS Regions

A

DynamoDB Global Tables

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

This DynamoDB feature underpins DynamoDB Global Tables

A

DynamoDB Streams

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

A fully managed service that makes it easy for developers to create, publish, maintain, monitor, and secure APIs at any scale.

A

Amazon API Gateway

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

API Gateway endpoint type that routes requests through the CloudFront Edge locations to improve latency

A

Edge-Optimized

17
Q

API Gateway endpoint type that is typically used when clients that will be using the API Gateway are in the same region

A

Regional

18
Q

API Gateway endpoint type that can only be accessed from your VPC using an interface VPC (ENI)

A

Private

19
Q

A serverless orchestration service that lets you integrate with AWS Lambda functions and other AWS services to build business-critical application

A

AWS Step Functions

20
Q

True/False - Before you create a DynamoDB table, you need to provision the EC2 instance the DynamoDB table will be running on

A

False - DynamoDB is serverless

21
Q

True/False - Read Capacity Units (RCU) and Write Capacity Units (WCU) for a DynamoDB can be adjusted independently

A

True - RCU and WCU are decoupled

22
Q

What service can provide an in memory cache for DynamoDB that can help you avoid ProvisionedThroughputExceededExceptions exceptions during periods of high traffic?

A

DynamoDB Accelerator (DAX)

23
Q

True/False - When you are using an Edge-Optimized API Gateway, your API Gateway lives in CloudFront Edge Locations across all AWS Regions.

A

False - API requests will be routed to the nearest CloudFront Edge Location, but the API Gateway itself still lives in one AWS Region

24
Q

Which AWS service would you use if you wanted to authenticate users at the CloudFront Edge Locations instead of having authentication requests go all the way to your origins?

A

Lambda@Edge

25
Q

Which AWS service allows you to build Serverless workflows using AWS services (e.g., Lambda) and supports human approval?

A

AWS Step Functions

26
Q

What is the best and most cost-effective way to convert DynamoDB data to json files?

A

Select DynamoDB table then select Export to S3

27
Q

Which service can be placed in front of an existing application to make it more scalable and cheaper by caching static content at the edge?

A

CloudFront

28
Q

True/False - AWS Lambda has an out-of-the-box caching feature

A

False

29
Q

An AWS service allows you to capture gigabytes of data per second in real-time and deliver these data to multiple consuming applications, with a replay feature.

A

Kinesis Data Streams

30
Q

True/False: Lambda functions always operate from an AWS-owned VPC

A

True

31
Q

A Lambda ___________ is a ZIP archive that contains libraries, a custom runtime, or other dependencies that allows you to use libraries in your function without needing to include them in your deployment package

A

Layer

32
Q

True/False: You cannot package and deploy Lambda functions as container images

A

False