Dataford
Interview QuestionsInterview GuidesExperiencesCoaching
New
Pricing
Get started
Dataford
Popular roles
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Browse
Browse All RolesEvery role hub, from analyst to MLBrowse All CompaniesCompany-specific interview loopsAll Interview GuidesThe full guide library
Top questions by role
Software EngineerData AnalystData ScientistData EngineerBusiness AnalystAI EngineerMachine Learning EngineerProduct Manager
Top questions by skill
SQLPythonStatisticsMachine LearningA/B TestingSystem DesignGenerative AIProduct SenseMetricsBehavioral
Browse all questions →Try a mock interview
Experiences
Practice
Mock InterviewsTimed interview simulations with feedbackCoaching1:1 coaching with people at your target companiesSuccess PathYour 6-week structured planModulesCurated lessons by topicWebinarsTalks from ex-Big Tech data leadsPlaygroundA free-form scratch editor
Learn
BlogInterview strategy and career adviceTech Job Market ReportHiring trends across data and AI rolesFor UniversitiesDataford for career centersAbout DatafordWho we are and how we build
Pricing
Build my plan

Design AI Support Reply Ranking

HardSystem Design00:00
Practice interviewer
In session
5 left
00:00

Your question is Design AI Support Reply Ranking. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Product Context

AssistFlow is a client-facing AI support platform used by enterprise customers. End users type a question in a web or mobile chat, and the system must retrieve relevant knowledge, rank candidate answers, and return a high-quality response with low latency.

Scale

SignalValue
DAU12M end users
Peak QPS45K chat turns/sec
Enterprise tenants18K
Knowledge corpus220M documents/snippets across tenants
New/updated documents9M per day
p99 latency budget900ms end-to-end
Context window for final responseup to 16K tokens

Task

Design an end-to-end ML system for this application, from ingestion through production monitoring. Your design should address:

  1. How data is ingested, cleaned, versioned, and made available for training and serving
  2. A multi-stage online architecture for retrieval, ranking, and optional final re-ranking or answer synthesis
  3. Model choices for each stage, including how you handle tenant isolation, freshness, and cold start
  4. Training, offline evaluation, and online experimentation strategy
  5. Monitoring, alerting, rollback, and failure handling in production

Constraints

  • Tenant data must remain logically isolated; cross-tenant leakage is a hard compliance failure
  • 35% of documents are updated within 24 hours, so freshness matters
  • GPU budget is limited: average inference cost must stay below $0.012 per request
  • Some customers require explainability: the system must expose citations and confidence signals
  • The product must degrade gracefully if the generative stage is unavailable; retrieval-only answers are acceptable
  • Training labels are partially delayed and noisy because many users do not explicitly rate responses