D1: Streaming Ingestion (Kinesis, MSK, Firehose)
AWS Associate Data Engineer – Associate exam practice questions · 13 flashcards
Question
Amazon Kinesis Data Streams?
1 / 13
Tip: Space flips the card, ← / → navigate.
Show all 13 Streaming Ingestion (Kinesis, MSK, Firehose) practice questions and answers
- Amazon Kinesis Data Streams?Real-time streaming service with shards; consumers read records with custom processing; retention 24 h up to 365 days.
- Kinesis shard capacity?Write: 1 MB/s or 1,000 records/s. Read: 2 MB/s (shared) per shard.
- Provisioned vs on-demand Kinesis Data Streams?Provisioned: you manage shard count. On-demand: scales automatically, pay per throughput.
- What is enhanced fan-out?Each consumer gets dedicated 2 MB/s per shard via push (SubscribeToShard), lowering latency.
- Amazon Data Firehose?Fully managed delivery of streaming data to S3, Redshift, OpenSearch, Splunk, HTTP endpoints, Iceberg tables; buffers, transforms, converts formats.
- Firehose buffering hints?Buffer size (MB) and interval (seconds); delivery occurs when either is reached — near real time, not real time.
- Can Firehose convert JSON to Parquet/ORC?Yes, using a schema from the Glue Data Catalog.
- Amazon MSK?Managed Apache Kafka; MSK Serverless for automatic capacity; use for Kafka-compatible workloads.
- Kinesis Data Streams vs MSK?KDS: AWS-native, simpler. MSK: Kafka APIs/ecosystem, larger message sizes, more configuration control.
- Scenario: load clickstream into S3 as Parquet with minimal code. Service?Amazon Data Firehose with format conversion.
- Scenario: multiple apps need sub-second processing of the same stream. Service?Kinesis Data Streams with enhanced fan-out.
- What is the Kinesis Producer Library (KPL)?Library that batches/aggregates records for efficient high-throughput writes.
- What is the Kinesis Client Library (KCL)?Library for consumers handling shard leasing, checkpointing (in DynamoDB) and load balancing.