Design The Hourly Continuous Compliance Test Runner

Last updated: November 29, 2026

Quick Overview

Design the system that, every hour, syncs data from each customer's connected integrations (AWS, GitHub, Okta, HRIS, MDM) and evaluates over a thousand compliance tests against it, storing results as audit evidence and notifying owners when a test starts failing.

Vanta
System Design
Software Engineer
Vanta
November 29, 2026
Software Engineer
System Design Round
System Design
Hard

0

0

0 solved


Design the system that, every hour, syncs data from each customer's connected integrations (AWS, GitHub, Okta, HRIS, MDM) and evaluates over a thousand compliance tests against it, storing results as audit evidence and notifying owners when a test starts failing.

This is the heart of Vanta's automated compliance product: hundreds of integrations, thousands of tests, many thousands of tenants, all on a recurring schedule. The interviewer probes scheduling and fairness under third-party rate limits, separating data collection from evaluation, evidence immutability, and strict tenant isolation for a security company.

What the Interviewer Expects
  • Separates integration sync (I/O bound, rate limited) from test evaluation (CPU bound)
  • Schedules per tenant and per integration with jitter and fairness
  • Stores normalized resource snapshots and append-only test results as evidence
  • Handles disconnected credentials and partial syncs without false passes
  • Strong tenant isolation and least-privilege credentials
  • Notifies on state transitions, not every run
Key Topics to Cover
scheduling
multi-tenancy
rate limiting
event-driven pipelines
evidence storage
idempotency
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
  • A vendor API has an outage for three hours. What do customers see?
  • How do you roll out a change to a test's logic without rewriting historical evidence?
  • How do you let one enterprise tenant with 2M resources not starve small tenants?
  • How would you support real-time triggers instead of hourly polling for some integrations?
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: connect integrations with customer credentials, sync resources hourly, run tests mapped to controls, keep a time series of results for audit windows, alert owners on new failures, show rem...

High-Level Design

Scheduler emits sync(tenant, integration) jobs spread across the hour (hash of tenant id gives a stable offset, so we do not hit every vendor at :00). Sync workers pull from vendor APIs with stored,...


Submit Your Answer
Markdown supported

Related Questions