rag
AI security interview questions tagged rag, across every topic.
14 questions · 3 unlocked for you
Concepts behind "rag"
Explanations of the mechanisms these questions rely on.
Foundational
Retrieval-Augmented Generation as a Data FlowRetrieval-augmented generation supplies selected external evidence during a request, using vector, keyword or other search. Review source ingestion, current access, ranking, context and output consumers separately. Relevance is not permission, and access changes or deletion must follow derived records and reused answers. How LLM Systems Work
Foundational
Indirect Prompt InjectionIndirect prompt injection carries attempted task redirection inside content an application processes. Map the source writer, ingestion path, model influence and effect policy. Learn to test retrieval and consequences separately, preserve unknown outcomes and account for derived copies without overstating risk. Prompt Injection
Foundational
RAG SecuritySecuring retrieval-augmented generation means three things. Retrieval must enforce the asking user's permissions in code, with permissions copied into the index and kept in sync, tenants isolated and deletions propagated. Retrieved text must be treated as untrusted, because anyone who can write a source can inject instructions or misinformation. And the answer must be handled safely on its way out. Permission failures can expose data even when no prompt injection occurs. LLM Application Security