AIF-C01 Applications of Foundation Models Practice Question
An e-commerce company uses Amazon Bedrock to generate product descriptions from keywords. Some descriptions contain inaccurate details about product specifications. Which approach should the company take to reduce factual errors?
⚠ Common exam trap
AWS often tests the misconception that increasing model parameters or changing models alone improves factual accuracy, when in fact prompt engineering with grounded data is the most effective and efficient method to reduce hallucinations.
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
✓
Include the product specifications in the prompt and instruct the model to base the description on the provided data.
Providing the product specifications directly in the prompt and instructing the model to base the description on that data grounds the generation in factual information, reducing hallucinations. This technique, known as prompt engineering with in-context learning, ensures the model uses the given data rather than relying on its training data, which may contain inaccuracies.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Increase the maxTokens parameter to allow more detailed descriptions.
Why it's wrong here
Raising maxTokens only lengthens the generated text; it does not supply the model with verified product specification data, so inaccuracies remain or increase. It is tempting because longer outputs can appear more thorough, and would be correct if descriptions were being truncated before reaching the required detail.
- ✗
Use a different foundation model from Bedrock for each product category.
Why it's wrong here
Swapping foundation models per category does not ground outputs in the actual product specification data, so hallucinations persist regardless of which model generates the text. It is tempting because model selection can affect accuracy generally, and would be correct if one model demonstrably handled certain categories better than another.
- ✗
Deploy the model to a SageMaker endpoint and use human-in-the-loop validation.
Why it's wrong here
Hosting on a SageMaker endpoint changes where inference runs, not whether generated specifications are factually grounded, and human review only catches errors after generation. It is tempting because human-in-the-loop validation genuinely suits high-stakes outputs, and would be correct where review capacity exists and latency permits.
- ✓
Include the product specifications in the prompt and instruct the model to base the description on the provided data.
Why this is correct
Supplying the specifications directly in the prompt grounds generation in authoritative source data, so the model conditions its output on those facts rather than relying on parametric knowledge that may be outdated or hallucinated. This directly satisfies the stem's constraint of reducing inaccurate specification details, since the model is instructed to base descriptions solely on the provided data.
Go deeper
Related to this question
About these practice questions
Courseiva writes every AIF-C01 question from scratch — 862 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →
JA
Written by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
This AIF-C01 practice question is part of Courseiva's free Amazon Web Services 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 AIF-C01 exam.