Courseiva
Prompt EngineeringeasyMultiple ChoiceObjective-mapped

1Z0-1127-25 Prompt Engineering Practice Question

Which parameter controls the randomness of the model's output by adjusting the probability distribution of the next token?

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

Temperature adjusts the logits before softmax, making lower values (e.g., 0.1) more deterministic and higher values (e.g., 0.9) more random.

Answer analysis

Option-by-option breakdown

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

  • Frequency penalty

    Why it's wrong here

    Frequency penalty reduces repetition by discouraging tokens that have appeared before, but does not control overall randomness.

  • Top-p

    Why it's wrong here

    Top-p (nucleus sampling) selects tokens from the smallest set whose cumulative probability exceeds p, but does not directly control randomness.

  • Temperature

    Why this is correct

    Temperature scales the logits to control the randomness of token selection.

  • Max tokens

    Why it's wrong here

    Max tokens controls the length of the output, not randomness.

About these practice questions

This 1Z0-1127-25 question is part of Courseiva's 768-question bank — original exam-style content with full explanations and wrong-answer analysis, never real exam questions or exam 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 1Z0-1127-25 practice question is part of Courseiva's free Oracle 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 1Z0-1127-25 exam.