Design Change Data Capture From a Client Mainframe Into a Cloud Lakehouse

Last updated: November 29, 2026

Quick Overview

A bank client wants its core mainframe DB2 data replicated into a cloud lakehouse within five minutes of commit, so analytics and new microservices can stop querying the mainframe. Design the pipeline end to end.

Accenture
System Design
Data Engineer
Accenture
November 29, 2026
Data Engineer
System Design Round
System Design
Hard

0

0

0 solved


A bank client wants its core mainframe DB2 data replicated into a cloud lakehouse within five minutes of commit, so analytics and new microservices can stop querying the mainframe. Design the pipeline end to end.

Mainframe offload is a staple of Accenture's banking and insurance modernization work, and data engineers there are expected to design for regulated environments with strict correctness. The interviewer checks ordering, exactly-once effects, schema evolution, reconciliation and cutover planning rather than a list of tool names.

What the Interviewer Expects
  • Chooses log-based CDC over batch extracts and justifies it
  • Preserves per-key ordering and handles replays idempotently
  • Explains initial snapshot plus change stream handoff without gaps
  • Plans for schema changes and EBCDIC or packed-decimal conversion
  • Designs reconciliation between source and target totals
  • Addresses security, PII masking and audit for a regulated client
Key Topics to Cover
Change data capture
Kafka
Lakehouse merge
Exactly-once processing
Reconciliation
Schema evolution
How to Approach This
  1. Start by clarifying functional and non-functional requirements with the interviewer.
  2. Estimate the scale: QPS, storage, bandwidth. This drives your design decisions.
  3. Draw a high-level architecture first, then deep dive into 1-2 critical components.
  4. Discuss trade-offs explicitly (e.g., consistency vs availability, SQL vs NoSQL).
  5. Address failure scenarios, monitoring, and how the system handles 10x traffic spikes.
Possible Follow-up Questions
  • How do you prove to the bank's auditors that no transaction was lost?
  • A downstream microservice wants to write back. What changes?
  • How would you handle a DB2 table with no primary key?
  • What is your rollback plan if the lakehouse falls behind during month-end close?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Practice System Design Problems
Sample Answer
Requirements

Functional: replicate around 400 DB2 tables, inserts, updates and deletes, to the lakehouse with p95 freshness under five minutes. Expose curated tables for analytics and an event stream for new servi...

High-Level Design

A log-based CDC agent reads the DB2 recovery log on the mainframe side and publishes change records to Kafka (managed, in the client's cloud tenancy over a private link). One topic per table, keyed by...


Submit Your Answer
Markdown supported

Related Questions