All jobs / AI engineer / RAG — Retrieval-Augmented Generation

AI engineer interview question · 5+ years

Leadership wants one assistant over all internal documents — HR, legal, finance, engineering — for every employee.

What is the first design constraint you raise?

The strongest answer

Permissions. Retrieval must enforce each user’s access at query time: access metadata on every chunk, synced from the source systems, filtered server-side before anything reaches the prompt — including revocations and deletions

Why it works

Exactly — a model cannot keep a secret it has been handed. What a user may not open must never be retrieved for them, and access changes in the source have to reach the index.

What a good answer covers

Answers that fall short

Who gets asked this

More RAG — Retrieval-Augmented Generation questions