Flashcardsfor IT Certifications

D1: Preparing Documents for RAG

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

Question
Why chunk documents?
1 / 10

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

Last updated: · Report an error on this page

Show all 10 Preparing Documents for RAG practice questions and answers
  1. Why chunk documents?
    Fit context windows and retrieve focused, relevant passages.
  2. Fixed-size chunking?
    Split by token count with overlap; simple and predictable.
  3. Semantic chunking?
    Split where meaning changes, using embedding similarity.
  4. Hierarchical chunking?
    Parent and child chunks: retrieve small child, return larger parent for context.
  5. Chunk overlap purpose?
    Preserve context across chunk boundaries.
  6. Metadata extraction for RAG?
    Attach source, title, date, department to chunks for filtering and citations.
  7. Bedrock Knowledge Bases parsing options?
    Default parser, foundation model parsing, or Bedrock Data Automation for complex documents/tables/images.
  8. Custom chunking in Knowledge Bases?
    Use a Lambda transformation function.
  9. Effect of chunk size?
    Too small loses context; too large adds noise and cost.
  10. Scenario: PDFs with complex tables need accurate retrieval. Parsing?
    FM-based parsing or Bedrock Data Automation.