Serverless Flashcards

1
Q

What is AWS Lambda?

A

A compute service where you can upload your code and create a Lambda function. AWS Lambda takes care of provisioning and managing the servers that you use to run the code.

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

What are the different ways to use AWS Lambda?

A
  • Event driven compute service where AWS Lambda runs your code in response to events
  • Comput service to run your code in response to HTTP requests using Amazon API Gateway or API calls made using AWS SDKs
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is AWS X-Ray?

A

Helps you debug serverless applications

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

True or False. RDS can trigger Lambda.

A

False. RDS cannot trigger Lambda.

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

What are the various Lambda triggers?

A
  • API Gateway
  • AWS IoT
  • Alexa Skills Kit
  • Alexa Smart Home
  • Application Load Balancer
  • CloudFront
  • CloudWatch Events/EventBridge
  • CloudWatch Logs
  • Code Commit
  • Cognito Sync Trigger
  • DynamoDB
  • Kinesis
  • S3
  • SQS
  • SNS
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

True or False. Kinesis Data Firehose is the easiest way to load streaming data into data stores and analytics tools. It captures, transforms, and loads streaming data and you can deliver the data to “destinations” including Amazon S3 buckets for later analysis

A

True.

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

True or False. Amazon Kinesis Data Analytics is the easiest way to process and analyze real-time, streaming data. Kinesis Data Analytics can use standard SQL queries to process Kinesis data streams and can ingest data from Kinesis Streams and Kinesis Firehose.

A

True.

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

What is a shard for Kinesis Data stream?

A

Each shard has a sequence of data records. Each data record has a sequence number that is assigned by Kinesis Data Streams. A shard is a uniquely identified sequence of data records in a stream.

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

True or False. Amazon Aurora can handle the loss of up to two copies of data without affecting DB write availability and up to three copies without affecting read availability.

A

True.

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

True or False. For globally distributed applications you can use Global Database, where a single Aurora database can span multiple AWS regions to enable fast local reads and quick disaster recovery.

A

True.

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

True or False. Amazon Aurora Multi-Master is a new feature of the Aurora MySQL-compatible edition that adds the ability to scale out write performance across multiple Availability Zones, allowing applications to direct read/write workloads to multiple instances in a database cluster and operate with higher availability.

A

True.

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

True or False. Though CloudFront can trigger Lambda functions it is more suited to customizing content delivered from an origin.

A

True.

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