Kinesis Flashcards

1
Q

_____ is a platform on AWS to send your streaming data to.

A

kinesis

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

____ makes it easy to load and analyze streaming data, and also providing the ability for you to build your own custom apps for your business needs.

A

kinesis

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

______ data is data that is generated continuously by thousands of data sources, which typically send in the data records simultaneously, and in small sizes (order of KB).

A

streaming

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

which are Types of streaming data:

  1. purchases online
  2. stock prices
  3. game data (as the game plays)
  4. social network data
  5. geospacial data (think uber)
  6. IOT sensor data
A

all of the above

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

the 3 kinesis services are:

kinesis ____

kinesis ____

kinesis ____

A

streams, firehose, analytics

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

kinesis streams consist of ____

A

shards

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

___ transactions / second for reads, up to a max total data read rate of ___MB/second and UP to _____ records/second for writes, up to a max total data write rate of __MB/second (including partition keys).

A

5,

2,

1,000,

1

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

The data capacity of the stream is a function of the number of _____that you specify for the stream. The rotal capacity of the stream is the sum of the capacities of its _____.

A

shards

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

Kiniesis Firehose has shards

T or F

A

False, only steams has shards

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

Firehose is completely automated

T or F

A

T

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

kinesis consumers

kinesis client library runs on the consumer instances

tracks teh number of shards in your stream

discovers new shards when you reshard

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

Kinesis client library

the kcl ensures that for every shard tehre is a record processor.

kcl manages the number of recod processors relative to teh number of shards and consumers.

if you have only one consumer, the KCL will create all the record processors on a single consumer.

if you have two consumers it will load balance and create half the processors on one instance and half on another.

A

yes

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

with KCL, generally you should ensure that the number of instances does not exceed the number of shards (except for failure or standby purposes)

  • you never need multiple instances to handle the processing load of one shard.
  • however, one worker can process multiple shards
A

yes

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

it’s fine if the number of shards exceeds the number of instances

don’t think that justbecause you reshard, that you need to add more instances.

instead, CPU utilization is what should drive the quantity of consumer instances you have, NOT the number of shards in your Kinesis stream.

-use an auto scaling group, and base scaling decisions on CPU load on your consumers

A

yes

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