DE Mastery GitHub

Apache Flink · FLK-06

State, checkpoints & exactly-once — surviving a TaskManager crash

From your world. SOX accuracy & completeness: a ledger with no dropped and no double-posted entries, even across a crash

Practice quiz with instant feedback. For a scored run that counts toward your local progress, use uv run de quiz FLK-06.

1A TaskManager gets SIGKILL in the middle of a run. Which combination makes the final committed output contain every input exactly once?
2What is a checkpoint barrier?
3Flink recovers from the last completed checkpoint. What happens to the sources?
4How does a commit-on-checkpoint (transactional/2PC) sink avoid duplicates after a crash?
5The main difference between a savepoint and a checkpoint is that a savepoint is:
6Why must a source be 'replayable' for exactly-once?
7A crash happens in the middle of a run. Which 'ledger invariants' must hold over the committed sink output? (choose all) (select all that apply)
8What happens to keyed state (for example a running balance for each account) during a checkpoint?