D1: Stream Processing (Flink, Lambda) & Replayability
AWS Associate Data Engineer – Associate exam practice questions · 10 flashcards
Question
Amazon Managed Service for Apache Flink?
1 / 10
Tip: Space flips the card, ← / → navigate.
Show all 10 Stream Processing (Flink, Lambda) & Replayability practice questions and answers
- Amazon Managed Service for Apache Flink?Run Apache Flink apps (Java, Python, SQL) for stateful real-time stream processing.
- Stateful vs stateless stream processing?Stateless: each event processed independently. Stateful: keeps state across events (windows, aggregations, joins).
- What is windowing?Grouping stream events by time: tumbling (fixed, non-overlapping), sliding/hopping (overlapping), session (activity gaps).
- What is replayability?Ability to reprocess past data, e.g. by re-reading a stream within retention or reprocessing raw S3 data.
- How do you replay Kinesis data?Start consumer from an earlier sequence number/timestamp within retention.
- Lambda with Kinesis: batch settings?Batch size, batching window, parallelization factor (up to 10 per shard), bisect on error, max retry, on-failure destination.
- What is a poison-pill record?A record that repeatedly fails processing and blocks the shard; use bisect batch/on-failure destination.
- Exactly-once in Flink?Achieved with checkpoints and transactional sinks.
- What is late-arriving data?Events arriving after their window closed; handled with watermarks and allowed lateness.
- Scenario: compute rolling 5-minute averages of IoT readings. Service?Managed Service for Apache Flink.