Courseiva
hardMultiple Select

AIF-C01 Practice Question: Using Amazon Bedrock to generate personalized…

A company is using Amazon Bedrock to generate personalized marketing emails. They notice that the model sometimes produces outputs that are off-brand or contain factual errors about their products. Which TWO prompt engineering techniques would be MOST effective to address these issues? (Choose TWO.)

⚠ Common exam trap

AWS often tests the distinction between techniques that reduce randomness (temperature) versus techniques that provide explicit guidance (few-shot, system prompts), and candidates mistakenly choose temperature reduction as a fix for content accuracy rather than for style variability.

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 few-shot examples in the prompt that demonstrate correct brand tone and factual accuracy

Option A is correct because few-shot examples embed concrete demonstrations of the desired brand tone and accurate product facts directly in the prompt, letting the model imitate those patterns and reducing off-brand or incorrect outputs. Option C is correct because a system prompt sets persistent instructions and context—such as brand guidelines and authoritative product details—that condition every response, which directly constrains tone and factual grounding. Chain-of-thought prompting (B) mainly improves multi-step reasoning and does not supply brand or factual grounding, so it does not address these issues. Zero-shot prompting (D) removes the very examples that would steer tone and accuracy, making it counterproductive. Lowering temperature to 0.0 (E) only reduces sampling randomness; it cannot correct a model that lacks brand or product knowledge, so it does not fix off-brand or factually wrong content.

Answer analysis

Option-by-option breakdown

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

  • ✓

    Include few-shot examples in the prompt that demonstrate correct brand tone and factual accuracy

    Why this is correct

    Few-shot examples embed concrete demonstrations of brand tone and correct product facts directly in the prompt, conditioning the model on desired output patterns. This satisfies the stem's constraints of off-brand tone and factual errors by grounding generation in verified exemplars, rather than relying on abstract instructions alone.

  • ✗

    Apply chain-of-thought prompting to encourage reasoning

    Why it's wrong here

    Chain-of-thought prompting improves multi-step reasoning accuracy but supplies no brand guidelines or product facts, so off-brand wording and factual errors persist. It is tempting because it genuinely helps arithmetic and logic tasks, where reasoning transparency rather than grounding in source material is the actual problem.

  • ✓

    Use a system prompt that includes brand guidelines and factual product details

    Why this is correct

    Embedding brand guidelines and product facts in the system prompt supplies persistent context the model conditions every response on, directly constraining off-brand tone and product inaccuracies at generation time. Unlike per-request user prompts, the system prompt applies across all invocations, satisfying the requirement for consistent, factually grounded marketing copy.

  • ✗

    Use zero-shot prompting without any examples

    Why it's wrong here

    Zero-shot prompting provides no examples or reference material, leaving the model to invent brand voice and product details, which is precisely what causes the errors. It is tempting for speed on simple, well-specified tasks, but here the model needs grounding in approved content.

  • ✗

    Decrease the temperature to 0.0 to eliminate randomness

    Why it's wrong here

    Lowering temperature reduces randomness in word selection but does not inject brand guidelines or correct product facts; a confident wrong statement remains wrong. Temperature tuning is the right control when output variety or creativity is the problem, not when accuracy and brand alignment are.

About these practice questions

One of 862 original AIF-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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 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.