Courseiva
Implementing AI SolutionsmediumMultiple ChoiceObjective-mapped

AI0-001 Implementing AI Solutions Practice Question

A team is implementing a document intelligence solution to extract key-value pairs from invoices. They plan to use a pre-trained vision-language model with a RAG pipeline that indexes invoice images. Which chunking strategy is BEST suited for invoice documents that have a consistent layout but vary in length?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

Hierarchical chunking that groups lines into logical sections (header, line items, totals)

Invoices typically have sections (header, line items, totals). Hierarchical chunking preserves this structure, enabling retrieval at the section level. Fixed-size may split important fields, semantic chunking is less predictable on structured documents.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Semantic chunking based on sentence boundaries

    Why it's wrong here

    Semantic chunking works well for prose but may break structured invoice fields that span multiple lines.

  • Hierarchical chunking that groups lines into logical sections (header, line items, totals)

    Why this is correct

    Hierarchical chunking preserves the invoice structure, enabling retrieval of complete sections for accurate key-value extraction.

  • Fixed-size chunking with 512 tokens per chunk

    Why it's wrong here

    Fixed-size can split related information (e.g., invoice total across chunks), harming retrieval.

  • No chunking; pass the entire invoice as one document per query

    Why it's wrong here

    Invoices of varying lengths may exceed context windows, and retrieval on full documents is inefficient.

About these practice questions

This AI0-001 question is part of Courseiva's 754-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AI0-001 practice question is part of Courseiva's free CompTIA certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AI0-001 exam.