Courseiva
hardMultiple ChoiceObjective-mapped

AIF-C01 Practice Question: A data scientist is using Amazon Bedrock to…

A data scientist is using Amazon Bedrock to generate product descriptions. They notice the output is often repetitive and lacks creativity. Which combination of parameter adjustments is MOST likely to produce more diverse and less repetitive output?

⚠ Common exam trap

AWS often tests the misconception that increasing temperature alone is sufficient for diversity, but candidates forget that top-p must also be increased to avoid the model repeatedly sampling from a narrow set of high-probability tokens.

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

Increase temperature and increase top-p

Increasing temperature raises the probability of sampling lower-probability tokens, which increases randomness and diversity. Increasing top-p (nucleus sampling) expands the set of tokens considered for sampling, further reducing repetitiveness. Together, these adjustments encourage the model to explore a wider range of possible continuations, producing more creative and less repetitive output.

Answer analysis

Option-by-option breakdown

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

  • Decrease temperature and decrease top-p

    Why it's wrong here

    This makes output more deterministic and repetitive, worsening the problem.

  • Decrease temperature and increase top-p

    Why it's wrong here

    Lower temperature reduces randomness; higher top-p may not compensate enough for repetitive output.

  • Increase temperature and decrease top-p

    Why it's wrong here

    Increasing temperature helps diversity, but decreasing top-p may counteract that effect by narrowing token selection.

  • Increase temperature and increase top-p

    Why this is correct

    Higher temperature flattens probability distribution; higher top-p expands the set of candidate tokens, both promoting diversity.

About these practice questions

One of 619 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.