AI Engineering
/
Multimodal & Document AI
/

Design a verifiable document and media pipeline

Multimodal & Document AI · 3 to 4 hours

Design a verifiable document and media pipeline

Design a pipeline that turns a partly scanned course pack and a lesson recording into cited study material, tracking coverage, transforms, and cross-modal conflicts, and decide what it may answer while processing is still partial.

Hard
System Design

4 h

Premium

Used in interview rounds:

AI System Design (Hard)

Overview

Design a service that answers questions over mixed documents and media while keeping every claim verifiable. A larger model cannot recover evidence that was never captured or rebuild a discarded source reference, so the work is controlling loss and uncertainty at every stage. You practice on a partly processed course pack and lesson recording.

Study time: 3 to 4 hours

Interview format: System design discussion with a coverage and failure walkthrough

By the end you can

  • Define job identity, terminal states, and coverage accounting so a partly processed source states exactly what it can support
  • Link every claim to page regions or recording time ranges through extraction revisions and recorded transforms
  • Handle disagreements between audio, slides, and pages with an explicit rule and full provenance
  • Set escalation budgets and review triggers from measured failure signals and stratified evaluation
  • Keep instructions inside sources away from permissions, and enforce current access on every derivative
  • Write failure-injection tests that check coverage, provenance, and access invariants

Prerequisites

Helpful background: Familiarity with job queues, idempotent workers, and basic coordinate transforms helps.

This topic covers routing uncertain inputs, page-region and time-range evidence, and document and media pipelines. RAG & Data Pipelines covers generic ingestion, chunking, and the document lifecycle.

In this guide

  1. Define the product contract
  2. Durable processing architecture
  3. Idempotency and partial completion
  4. Evidence as a graph
  5. Coordinate and timeline integrity
  6. Cross-page and cross-modal reasoning
  7. Budgets and selective automation
  8. Security boundaries across modalities
  9. Evaluation design
  10. Operations, release, and migration
  11. Scenario: a course pack and a lesson recording
  12. Design the ingestion pipeline
  13. Failure-injection matrix

Hard questions are part of Premium: the study guide, reference answer, rubric, and exercises unlock with Premium.

Practice the interview question

Answer it in your own words before you look at the reference answer.