How to cost-effectively use LLMs with Amazon Bedrock for PDF product manuals?
Short answer
D Upload PDF documents to an Amazon Bedrock knowledge base. Use the knowledge base to provide context when users submit prompts to Amazon Bedrock.
Question
Key Takeaways
This question tests the ability to choose RAG (Knowledge Base) over prompt stuffing or fine-tuning when dealing with large, static document sets, balancing cost, accuracy, and scalability.
The most cost-effective way to build a chat interface over PDF product manuals with Amazon Bedrock is to use a Bedrock Knowledge Base, which leverages retrieval-augmented generation (RAG) to fetch only the relevant document chunks at query time.
Common mistake: Candidates often choose option A (adding one PDF via prompt engineering) because it sounds simple and avoids infrastructure, but embedding an entire PDF in every prompt wastes tokens and becomes far more expensive at scale than a knowledge base.
Expert Analysis
Why Option D is Correct
Amazon Bedrock Knowledge Base is a fully managed RAG (Retrieval-Augmented Generation) service. It ingests PDF documents, chunks them, generates embeddings, and stores them in a vector store. At query time, only the relevant chunks are retrieved and injected into the prompt. This means:
- You pay only for the input tokens actually used per query, not for entire manuals.
- No model retraining or fine-tuning costs.
- Easy to update when manuals change — just re-sync the knowledge base.
Community comment Blair77 correctly highlights: "Using a knowledge base allows for efficient retrieval of relevant information from the PDFs without having to include all the content in every prompt."
Why the Other Options Are Wrong
- Option A (one PDF as context): While cheaper than option B, stuffing an entire PDF into every prompt still wastes tokens on irrelevant content. Costs scale linearly with prompt size and are unpredictable.
- Option B (all PDFs as context): This is the most expensive approach. LLMs have context window limits, and sending all manuals per query will exceed them or incur massive token costs.
- Option C (fine-tuning): Fine-tuning in Bedrock is designed for teaching a model a new style or behavior, not for memorizing static documents. It incurs training costs, storage costs, and still doesn't guarantee factual recall of specific manual content. It is also overkill for this use case.
Key Takeaway
For question-answering over large document collections, RAG via Amazon Bedrock Knowledge Base is the AWS-recommended, most cost-effective pattern.
Official Reference
https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base.html
This link opens the official vendor documentation in a new tab.
Exam Strategy
When an AWS AI question mentions large static document sets (PDFs, manuals, FAQs) and asks for cost-effectiveness, immediately think RAG / Knowledge Base — not fine-tuning, and never prompt stuffing.
Community Votes
100% of anonymous learners picked answer D. Votes are pick records left by other test-takers — they are not the verified answer.
Discussion 4 contributions
Compiled from public community threads and reader submissions, lightly edited for clarity. Handles and vote tallies are shown as recorded, and comments reflect the views of individual contributors.
From public community threads 4
-
Jessiii 👍 2 Answered DUpload PDF documents to an Amazon Bedrock knowledge base. Use the knowledge base to provide context when users submit prompts to Amazon Bedrock: While this could be an efficient solution, it may not be as cost-effective as using prompt engineering with just the necessary context per query. Building and maintaining a knowledge base could incur additional costs, especially if the company only needs a temporary context for each query.
-
Blair77 👍 1 Answered DUsing a knowledge base allows for efficient retrieval of relevant information from the PDFs without having to include all the content in every prompt.
-
jove 👍 2 Answered DKnowledgebase is the solution
-
85b5b55 👍 1 Answered DAmazon Bedrock Knowledge Base
Reader comments & corrections
No reader corrections yet — spotted an error or have a note? Share it below.
Related Analysis
Practice All AIF-C01 Questions
Access 100 questions with complete answers and detailed explanations.
View Full AIF-C01 Practice Test →