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?

22
Q

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

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
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.
DynamoDB Accelerator (DAX)
26
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.
DynamoDB Streams
27
A collection of one or more replica tables, all owned by a single AWS account.
DynamoDB Global Tables
28
What type of Dynamo DB indexes are there?
Global Secondary Indexes (GSI) Local Secondary Indexes (LSI)
29
What does an API Gateway do?
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
What does API Gateway integrate with?
Lambda Function HTTP AWS Service
31
What are the three ways to deploy API Gateway?
* Edge Optimized (default) * Regional * Private
32
* the single-entry point for defined back-end APIs and microservices * the gateway acts as protector, enforcing security and ensuring scalability and high availability
API Gateway
33
Which API Gateway Security feature is this? * Great for users / roles already within your AWS account. * Handles authentication & authorization * Leverages Sig v4
IAM Permissions
34
The process to add authentication information to AWS API requests sent by HTTP
Signature Version 4 (SigV4)
35
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
Lambda Authorizer (Custom Authorizer)
36
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
Cognito User Pool
37
Gives users an identity so that they can interact with our application
AWS Cognito
38
* Sign in functionality for app users * Integrate w API Gateway for authentication Which Cognito product is this?
Cognito User Pools
39
* 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?
Cognito Identity Pools (Federated Identity)
40
* 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?
Cognito Sync
41
What does SAM stand for?
Serverless Application Model
42
* 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
AWS SAM
43
RCU & WCU are __________. | What does that mean?
Decoupled, meaning you can increase/decrease each value separately
44
This feature is integrated with Lambda so that you create triggers that automatically respond to events in real time.
DynamoDB Streams
45
To create a serverless API - what should you integrate Amazon API Gateway with?
AWS Lambda
46
Where are API requests routed to?
The nearest CloudFront Edge Location (which improves latency)
47
Who is an Edge-Optimized API Gateway best for?
Geographically distributed clients
48
What feature integrates w Facebook to provide authenticated logins for your application users?
Amazon Cognito User Pools (CUP)
49
What feature allows you to run code closer to your users, which improves performance and reduces latency.
Lambda@Edge