AI & Technical question
Ramp needs to support changing tax rules across US entities and international VAT/GST regimes. How would you design the product and underlying rule system so that most tax logic can be updated through configuration or data rather than bespoke code? Be specific about the abstractions, versioning, and auditability you would need.
- Ramp
- AI & Technical
- Hard
Practice this question out loud. An AI interviewer asks it, follows up like a real interviewer would, and scores your answer. Type or speak.
Start a mock interview on this question · Mock interview from a job description
What this question tests
Whether you can design a configuration-driven system architecture for a domain (tax rules) that changes constantly and requires strict auditability.
How to approach it
- Model tax rules as versioned, structured data (rates, thresholds, jurisdiction-specific logic) rather than hardcoded conditionals, so updates are configuration changes, not code deploys.
- Design a jurisdiction abstraction layer that separates universal tax-calculation logic from jurisdiction-specific parameters, so adding a new US entity type or VAT regime means adding data, not new code paths.
- Version every rule set with an effective date range, so historical transactions always calculate against the rules that were active at the time, which is essential for audit and amendment.
- Build an approval and staging workflow for rule changes: a tax or compliance owner reviews and approves before a new rule version goes live, with a clear audit trail of who changed what and when.
- Add automated regression tests that run new rule versions against a fixed set of known-correct historical transactions before activation, catching unintended side effects.
- Expose a reporting layer that can reconstruct exactly which rule version applied to any past transaction, satisfying audit requirements without engineering involvement.
What a strong answer includes
- Names the core architectural pattern precisely: versioned, dated rule sets over a jurisdiction abstraction layer, rather than a vague 'make it configurable' answer.
- Explicitly separates calculation logic from jurisdiction data, which is the real technical unlock for scaling to new regimes without new code.
- Requires effective-dated versioning specifically because tax rules change retroactively and historical transactions must remain reproducible for audits.
- Includes a regression-test gate before any rule change goes live, since a bad tax rule change has direct compliance and financial consequences.
Common mistakes
- Describing configurability in general terms without the specific mechanism (jurisdiction abstraction, effective dating).
- No mention of auditability or historical reproducibility, which is core to the question.
- No approval or testing gate before a rule change goes live in a compliance-sensitive system.
Likely follow-up questions
- How would you handle a jurisdiction whose tax logic genuinely cannot fit the standard abstraction?
- What would you do if two rule versions conflict during a transition period?
- How would you decide who has authority to approve a rule change?
More ai & technical questions
- How would you measure whether Ramp's AI agents make better decisions than humans?Ramp · AI & Technical · Hard
- Ramp is considering an API-based partnership that would expand the product surface area. From first conversation to launch decision, how would you structure the evaluation? Be specific about the product and engineering inputs you would need, such as API coverage, auth model, data flows, SLAs, implementation effort, and ongoing partner dependencies, and how those technical facts would affect whether Ramp should build the integration.Ramp · AI & Technical · Hard
- Pick one concrete international-payments workflow where an LLM could create real leverage at Ramp, for example, KYB document review, payment exception handling, or explaining why a cross-border transfer was delayed. How would you design the human-in-the-loop experience, identify failure modes such as hallucinated compliance conclusions or incorrect document extraction, and decide whether the system is safe and useful enough to ship?Ramp · AI & Technical · Hard
- You own AI-powered contract analysis that extracts pricing terms, renewal dates, and risk flags from vendor agreements. Design the pre-launch evaluation framework: what labeled datasets and test slices would you use, how would you score extraction accuracy and explanation quality, what failure modes must trigger fallback or human review, and what launch gate would you set for enterprise readiness?Ramp · AI & Technical · Hard
- Ramp wants to launch an LLM-powered tax feature that extracts tax-relevant data from bills and proposes filing-ready outputs. What offline evals, online guardrail metrics, and launch thresholds would you require before general availability? How would you decide which error classes can auto-resolve, which must escalate to manual review, and which should block launch entirely?Ramp · AI & Technical · Hard
- Design a simple load balancer for Google.com. What data structures would you use?Google · AI & Technical · Hard
More questions from Ramp
Learn the skill behind it
Chapters of the AI PM course that teach what this question tests.
- Chapter 1: Foundations: the model and the decisions it forces on you
- Chapter 8: Evals: define good and make the number defensible
- Chapter 6: Agents and agentic architecture