AWS AI Practitioner AIF-C01 · Applications of Foundation Models · medium
A healthcare company wants an LLM on Amazon Bedrock to answer employee questions using internal HR policy PDFs that are updated weekly, and every answer must cite the exact source document and page number without the expense of retraining the foundation model every week. Which architecture pattern should they implement?
Published · Last updated · checked before publication — how we verify questions
Options
Answer: A. Retrieval-Augmented Generation (RAG) with Knowledge Bases
Retrieval-Augmented Generation (RAG) (implemented via Amazon Bedrock Knowledge Bases) converts the HR PDFs into vector embeddings stored in a vector database, retrieves the most relevant chunks at query time, injects them into the prompt context, and returns grounded answers with source citations — without retraining or fine-tuning the model.
Why the other options are wrong
- B. Continued pre-training of a 70B parameter LLM from scratch weekly — Continued pre-training costs thousands of dollars in compute per run and does not provide automatic document citations.
- C. Reinforcement Learning from Human Feedback (RLHF) on raw pixels — RLHF aligns model behavior preferences rather than injecting weekly HR policy updates with source citations.
- D. Lowering the context window to 10 tokens in zero-shot mode — A 10-token context window cannot fit the user question or retrieved policy passages.
More Applications of Foundation Models questions
- When configuring Amazon Bedrock Knowledge Bases for a RAG pipeline over 50,000 technical manuals (each 80 pages long)…
- An enterprise wants a generative AI assistant on Amazon Bedrock that can not only answer policy questions from a…
- A media company wants a foundation model to adopt a very specific brand voice, JSON output schema, and domain-specific…
- A mobile-app company uses a massive 405-billion-parameter teacher LLM on Amazon Bedrock that achieves 95% accuracy on…
- An attacker types the following input into a public customer-support LLM chat box: 'Ignore all previous system…
- You are evaluating an LLM that generates abstractive text summaries of news articles against human-written reference…
- An analyst prompts an LLM to solve a multi-step supply-chain math word problem. When asked for the final number…
All Applications of Foundation Models questions and the topic overview →
AWS and Amazon Web Services are trademarks of Amazon.com, Inc. PrepIQ Hub is not affiliated with, endorsed by, or sponsored by Amazon Web Services.