r/leetcode • • 5d ago

Intervew Prep Snowflake Onsite AI Native Database Engineering

I have a onsite interview which will have coding round and system design round

Anyone has gone through this process recently

It would be really helpful if anyone can give some adive on System Design round

4 Upvotes

4 comments sorted by

1

u/Various-Mine-8642 5d ago

For the system design round they usually want the data path not a generic web app. Pin scale latency and how fresh results need to be then walk the write path the index build and query serving. On an AI native database team cover embedding storage approximate vs exact search and whether the index updates in batch or streaming. Mention one failure like a partial index rebuild and how reads stay correct while that runs. For coding just drill mediums plus a little SQL since database teams like that mix.

1

u/Dizzy_Macaron2087 5d ago

On the System Design round for an AI native database team, the comment here is right that they want the data path, not a generic web app. Here is one to practise out loud. One huge query lands in a shared warehouse and starts hogging it. What breaks first for everyone else using it, and how would you protect their queries without simply killing the big one?

1

u/Uahakan 4d ago

the design side is covered above, so on the coding round: one Snowflake problem people have reported is a rate limiter that grows in stages. per-client limits first, then plan tiers with a default for clients without a plan, then changing a tier's limit while it's running.

the follow-up that catches people is "how would you test this?" since the refill depends on the clock. pass the clock in instead of calling time directly, so a test can move time forward. then they may ask what changes when it runs on many servers.

1

u/BackgroundBreak6485 4d ago

Haven't done this exact loop, but for a database engineering team the system design round usually leans toward the database itself, not a generic "design Twitter" question. Things worth being solid on:

- Storage vs. compute separation, since that's core to how Snowflake works, and why it matters for scaling and cost

- Query execution basics: partitioning/pruning, caching, how a query gets split across workers

- Metadata and transactions: how you track files and versions, and what consistency guarantees you give

- The "AI native" part: be ready for vector search / embeddings inside the database, or serving LLM workloads next to SQL. Think about indexing, latency and how you'd keep it fresh.

In the round itself, clarify scale and access patterns first, then go deep on one or two components instead of drawing a lot of boxes. Database interviewers usually push hard on the tradeoffs.

I keep interview reports for a bunch of companies here if useful: aceoffer.app/interviews

Good luck!