Serverless Overviews from a Solution Architect Perspective Flashcards

1
Q

What does Serverless mean?

A

You don’t manage, provision or see servers.

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

What applications are serverless in AWS?

A
AWS Lambda
DynamoDB
AWS Cognito
AWS API Gateway
Amazon S3
AWS SNS & SQS
AWS Kinesis Data Firehose
Aurora Serverless 
Step Functions
Fargate
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Increasing RAM of AWS Lambda will also improve what?

A

CPU & Network

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

What languages does AWS lambda support?

A
Node.js (JavaScript)
Python
Java (Java 8 compatible)
C# (.NET Core)
Golang
C# / Powershell
Ruby
Custom Runtime API (community supported)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is preferred for running arbitrary Docker images?

A

ECS / Fargate

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

A Linux command used for scheduling tasks to be executed sometime in the future.

This is usually used to schedule a job that is executed periodically, for example every morning

What is this called?

A

Cron Job

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

In AWS Lambda how many of the first call request are free?

A

1 million

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

In AWS Lambda how many of the first compute time per month are free?

A

400,000 GB-seconds

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

For AWS Lambda what is the memory allocation?

A

128 MB - 10 GB

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

For AWS Lambda what is the maximum execution time?

A

900 seconds (15 minutes)

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

For AWS Lambda what are the environment variables?

A

4 KB

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

For AWS Lambda what are the concurrency executions?

A

1000 (can be increased)

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

What is the Lambda function deployment size?

A

50 MB

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

For Lambda what is the size of uncompressed deployment?

A

250 MB

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

In AWS Lambda deployment, how would you upload other files?

A

/tmp directory

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

You can use Lambda to change what?

A

CloudFront requests and responses

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
17
Q
  • Website Security and Privacy
  • Dynamic Web Application at the Edge
  • Search Engine Optimization (SEO)
  • Intelligently Route Across Origins and Data Centers
  • Bot Mitigation at the Edge
  • Real-time Image Transformation
  • A/B Testing
  • User Authentication and Authorization
  • User Prioritization
  • User Tracking and Analytics
A

Lambda@Edge

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

the execution of two or more computer programs by a single computer

A

Concurrency executions

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

Creating 2 versions of a digital asset to see which one users respond to better. Examples of assets include a landing page, display ad, marketing email , and social post.

A

A/B Testing

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
20
Q
  • Fully managed, highly available with replication across multiple AZs
  • NoSQL database - not a relational database
  • Scales to massive workloads, distributed database
  • Millions of requests per seconds, trillions of row, 100s of TB of storage
  • Fast and consistent in performance (low latency on retrieval)
  • Integrated with lAM for security, authorization and administration
  • Enables event driven programming with DynamoDB Streams
  • Low cost and auto-scaling capabilities
A

Amazon Dynamo DB

21
Q

Dynamo DB is made from what?

A

Tables

22
Q

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

A

400KB

23
Q
  • You specify the number of reads/writes per second
  • You need to plan capacity beforehand

• Pay for (blank) Read Capacity
Units (RCU) & Write Capacity Units (WCU)

• Possibility to add auto-scaling mode for RCU & WCU

What DynamoDB mode is this?

A

Provisioned Mode

24
Q
  • Read/writes automatically scale up/down with your workloads
  • No capacity planning needed
  • Pay for what you use, more expensive ($$$)
  • Great for unpredictable workloads

What DynamoDB mode is this?

A

On-Demand Mode

25
Q

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

A

DynamoDB Accelerator (DAX)

26
Q

This feature when enabled, captures a time-ordered sequence of item-level modifications in a DynamoDB table and durably stores the information for up to 24 hours.

A

DynamoDB Streams

27
Q

A collection of one or more replica tables, all owned by a single AWS account.

A

DynamoDB Global Tables

28
Q

What type of Dynamo DB indexes are there?

A

Global Secondary Indexes (GSI)

Local Secondary Indexes (LSI)

29
Q

What does an API Gateway do?

A

To put it simply, the API Gateway takes all API requests from a client, determines which services are needed, and combines them into a unified, seamless experience for the user.

30
Q

What does API Gateway integrate with?

A

Lambda Function

HTTP

AWS Service

31
Q

What are the three ways to deploy API Gateway?

A
  • Edge Optimized (default)
  • Regional
  • Private
32
Q
  • the single-entry point for defined back-end APIs and microservices
  • the gateway acts as protector, enforcing security and ensuring scalability and high availability
A

API Gateway

33
Q

Which API Gateway Security feature is this?

  • Great for users / roles already within your AWS account.
  • Handles authentication & authorization
  • Leverages Sig v4
A

IAM Permissions

34
Q

The process to add authentication information to AWS API requests sent by HTTP

A

Signature Version 4 (SigV4)

35
Q

What API Gateway Security feature is this?

  • Great for 3rd party tokens
  • Very flexible in terms of what IAM policy is returned
  • Handle Authentication + Authorization
  • Pay per Lambda invocation
A

Lambda Authorizer (Custom Authorizer)

36
Q

What API Gateway Security feature is this?

  • You manage your own user pool (backed by FB, Google login etc)
  • No need to write any custom code
  • Must implement authorization in the backend
A

Cognito User Pool

37
Q

Gives users an identity so that they can interact with our application

A

AWS Cognito

38
Q
  • Sign in functionality for app users
  • Integrate w API Gateway for authentication

Which Cognito product is this?

A

Cognito User Pools

39
Q
  • Provide AWS credentials to user so they can access AWS resources directly
  • Integrate with Cognito User Pools as an identity provider

Which Cognito product is this?

A

Cognito Identity Pools (Federated Identity)

40
Q
  • Synchronise data from device to Cognito
  • Requires Federated Identity Pool in Cognito (not User Pool)
  • Deprecated and replaced by AppSync

Which Cognito product is this?

A

Cognito Sync

41
Q

What does SAM stand for?

A

Serverless Application Model

42
Q
  • Framework for developing and deploying serverless applications
  • Can help you run Lambda, API Gateway, DynamoDB locally
  • Can use CodeDeploy to deploy Lambda functions
  • Allows you to deploy Lambda Functions, DynamoDB, API Gateway & Cognito User Pools
A

AWS SAM

43
Q

RCU & WCU are __________.

What does that mean?

A

Decoupled, meaning you can increase/decrease each value separately

44
Q

This feature is integrated with Lambda so that you create triggers that automatically respond to events in real time.

A

DynamoDB Streams

45
Q

To create a serverless API - what should you integrate Amazon API Gateway with?

A

AWS Lambda

46
Q

Where are API requests routed to?

A

The nearest CloudFront Edge Location (which improves latency)

47
Q

Who is an Edge-Optimized API Gateway best for?

A

Geographically distributed clients

48
Q

What feature integrates w Facebook to provide authenticated logins for your application users?

A

Amazon Cognito User Pools (CUP)

49
Q

What feature allows you to run code closer to your users, which improves performance and reduces latency.

A

Lambda@Edge