Courseiva
Fundamentals of Generative AIhardMultiple SelectObjective-mapped

AIF-C01 Fundamentals of Generative AI Practice Question

A company is using Amazon Bedrock to generate creative marketing copy. They want to reduce the randomness of the output while maintaining diversity. Which TWO parameters should they adjust?

⚠ Common exam trap

The AIF-C01 exam often tests the misconception that increasing top_k or top_p reduces randomness, when in fact increasing either expands the token pool and can increase randomness, while decreasing them is what reduces randomness.

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

Decrease the top_p value

Decreasing the temperature (Option E) reduces randomness by lowering the probability of sampling lower-ranked tokens, making the model more deterministic. Decreasing top_p (Option D) narrows the cumulative probability threshold for token selection, which also reduces randomness while still allowing some diversity within the narrowed set. Together, these parameters control the trade-off between creativity and determinism in Amazon Bedrock's text generation.

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 temperature

    Why it's wrong here

    Higher temperature increases randomness.

  • Increase the max token count

    Why it's wrong here

    Max tokens affects output length, not randomness.

  • Increase the top_k value

    Why it's wrong here

    Increasing top_k allows more tokens, potentially increasing randomness.

  • Decrease the top_p value

    Why this is correct

    Lower top_p reduces the set of possible tokens, making output less random.

  • Decrease the temperature

    Why this is correct

    Lower temperature makes output more deterministic.

About these practice questions

Courseiva writes every AIF-C01 question from scratch — 619 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 →

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.