Design a Proactive Insights Pipeline for a Virtual Banking Assistant

Last updated: November 29, 2026

Quick Overview

Design the system that scans customers' transactions and balances to generate personalized proactive alerts, such as a duplicate charge, a subscription price increase or a likely low balance, and delivers them in the app without spamming users.

Bank of America
System Design
Software Engineer
Bank of America
November 29, 2026
Software Engineer
System Design Round
System Design
Medium

0

0

0 solved


Design the system that scans customers' transactions and balances to generate personalized proactive alerts, such as a duplicate charge, a subscription price increase or a likely low balance, and delivers them in the app without spamming users.

Modeled on Erica's proactive insights in the BofA app, which serve tens of millions of active users. The interviewer checks streaming versus batch choices, rule and model plug-in design, deduplication and frequency capping, and privacy constraints on customer data.

What the Interviewer Expects
  • Ingest posted and pending transactions as events
  • Pluggable insight detectors, some streaming and some batch
  • Ranking, dedup and per-user frequency caps before delivery
  • Delivery to in-app feed and push with user preferences
  • Feedback loop on dismissals and taps
  • Data access controls and audit
Key Topics to Cover
Stream processing
Event-driven architecture
Notification systems
Frequency capping
Personalization
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 would you detect a subscription price increase reliably?
  • How would you roll out a new insight type safely to 1 percent of users?
  • What happens if the transaction stream is delayed by an hour?
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

Generate insights from transactions, balances and scheduled payments; show them in an in-app feed and optionally push. Freshness: duplicate charge alerts within minutes, forecast style alerts daily. N...

High-Level Design

Core banking emits transaction events to Kafka. A stream processor (Flink or Kafka Streams) keyed by account keeps short-term state and runs real-time detectors (duplicate charge: same merchant and am...


Submit Your Answer
Markdown supported

Related Questions