Courseiva
Fundamentals of Generative AIeasyMultiple ChoiceObjective-mapped

AIF-C01 Fundamentals of Generative AI Practice Question

A company is building a customer service chatbot using Amazon Bedrock. Which component of a foundation model determines the creativity and randomness of the generated responses?

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

Temperature

The temperature parameter controls randomness. Higher values (e.g., >1) produce more creative but less focused outputs, while lower values (e.g., near 0) produce more deterministic responses.

Answer analysis

Option-by-option breakdown

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

  • Prompt template

    Why it's wrong here

    Prompt template structures the input but does not affect the generation randomness.

  • Temperature

    Why this is correct

    Temperature scales the logits before softmax, controlling randomness. Lower values make outputs more deterministic.

  • Max tokens

    Why it's wrong here

    Max tokens limits the length of the response but does not control randomness.

  • Top-p

    Why it's wrong here

    Top-p (nucleus sampling) controls the cumulative probability threshold for token selection, affecting diversity but not directly randomness.

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.