โ† All Data Engineering Flashcard Decks

Real-Time Streaming Architectures Flashcards

7 cards from real Data Engineering practice questions. Tap to flip, then mark Knew It or Still Learning โ€” missed cards come back until you master them.

Read the first 7 Real-Time Streaming Architectures flashcards as text
  1. The Kappa architecture differs from Lambda primarily because it:

    Answer: Uses a single stream-processing path for both real-time and reprocessing

    Kappa removes the batch layer and reprocesses by replaying the log through one streaming path.

  2. What is a session window in stream processing?

    Answer: A window defined by periods of activity separated by inactivity gaps

    Session windows group events that occur close together, closing after a configured inactivity gap.

  3. In Kafka, increasing the replication factor primarily improves:

    Answer: Fault tolerance and durability

    More replicas mean the data survives more broker failures, raising durability.

  4. What is the function of a checkpoint in a stateful stream processor like Flink?

    Answer: Persist state snapshots for recovery after failure

    Checkpoints periodically snapshot operator state so processing can resume consistently after a crash.

  5. Which serialization format is commonly used with a schema registry for streaming data?

    Answer: Avro

    Avro pairs well with schema registries to enforce and evolve schemas across producers and consumers.

  6. Processing-time semantics differ from event-time semantics because processing time:

    Answer: Uses the clock of the machine processing the event

    Processing time relies on the processor's wall clock, not when the event actually occurred.

  7. What problem does a dead-letter queue solve in a streaming system?

    Answer: Isolating messages that repeatedly fail processing

    A dead-letter queue captures unprocessable messages so the main pipeline keeps flowing.

Real-Time Streaming Architectures Flashcards โ€” Data Engineering Study Cards with Answers