Flashcardsfor IT Certifications

D2: RAG Architecture Patterns

AWS Certified Machine Learning Engineer – Associate exam practice questions · 10 flashcards

Question
Basic (naive) RAG?
1 / 10

Tip: Space flips the card, ← / → navigate.

Last updated: · Report an error on this page

Show all 10 RAG Architecture Patterns practice questions and answers
  1. Basic (naive) RAG?
    Embed query → vector search → stuff top chunks into prompt → generate.
  2. Hybrid search RAG?
    Combine keyword (BM25) and semantic search to improve recall for exact terms.
  3. Reranking RAG?
    Retrieve many candidates then rerank with a reranker model for precision.
  4. Query rewriting/decomposition?
    Reformulate or split complex queries into sub-queries before retrieval.
  5. GraphRAG?
    Use knowledge graphs (Neptune Analytics) for multi-hop relationship questions.
  6. Agentic RAG?
    An agent decides when/where to retrieve, iterates and uses tools.
  7. Structured data RAG?
    Natural language to SQL over warehouses (Bedrock Knowledge Bases structured retrieval with Redshift).
  8. Multimodal RAG?
    Retrieve images/diagrams along with text.
  9. When RAG over fine-tuning?
    Frequently changing knowledge, need for citations, access control by document.
  10. Scenario: answers fail on exact product codes. Pattern fix?
    Hybrid search.