Data Engineering Flashcards

1
Q

Amazon Kinesis Data Streams

A

Collect and store streaming data in real-time
1. Retention up to 365 days (can’t be deleted until it expires)
2. Data ordering guarantee

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

Kinesis Data Streams - Capacity Modes

A

Provisioned mode

  • Choose number of shards
  • Each shard gets 1000 records per second
  • Scale manually
  • Pay per shard provisioned per hour

On demand mode:

  • Default capacity provisiones (4000 records per second)
  • Scale based on observed throughput peaks
  • Pay per stream per hour & data in/out
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Amazon Data Firehose - AWS Destinations

A
  • Amazon S3: Supports compression
  • Amazon Redshift (copy through S3)
  • Amazon OpenSearch
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Amazon Data Firehose

A
  1. Receive records (up to 1MB) from producers
  2. Can make data transformation with Lambda functions
  3. Batch writes to destinations based on buffer time and size, Near Real Time
  4. All or failed data can be backup in S3
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Firehose Buffer Sizing

A

Firehose accumulates records in a buffer and is flushed based on time and size rules

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

Amazon Managed Service for Apache Flink

A

Framework for processing data streams. Can’t read from Amazon Data Firehose.

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

Amazon Managed Streaming For Apache Kafka

A

Amazon MSK creates & manages Kafka brokers nodes.
* Deployed in your VPC, multi-AZ
* Data stores on EBS volumes

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

Kinesis Data Streams vs Amazon MSK

A

Kinesis Data Streams:
* 1 MB message size limit
* 12 months maximum retention
* Shard splitting and merging

Amazon MSK:
* Configure for bigger messages
* No retention limit
* Can only add partitions to a topic

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

AWS Batch

A

Run batch jobs as Docker images

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

AWS Batch - Multi node mode

A

Leverages multiple EC2 / ECS instances. One main node and multiple childs. Doesn’t work with Spot Instances.

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

Amazon Elastic MapReduce

A

EMR creates Hadoop clusters in a single AZ to analyze and process vast amount of data

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

EMR File System

A

EMRFS stores persistent data in Amazon S3 while providing data encryption

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

EMR node types

A
  • Master node: Manage the cluster
  • Core node: Run tasks and store data
  • Task node: Justo to run tasks, usually uses spot
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

EMR instance configuration

A
  • Uniform instance groups: select a single instance type and purchasing option for each node. Has auto scaling.
  • Instance fleet: Select target capoacity, mix instance types and purchasing options. No auto scaling.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

AWS Glue

A

Managed extract, transform and load service

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

AWS Glue Data Catalog

A

Data crawler writes metadata of databases and supportes storages to the data catalog