Courseiva
Prompt EngineeringmediumMultiple ChoiceObjective-mapped

1Z0-1127-25 Prompt Engineering Practice Question

A prompt engineer notices that the model's output frequently repeats the same phrases. Which parameter adjustment is MOST likely to reduce this repetition?

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 the frequency penalty

Frequency penalty reduces the chance of repeating tokens that have already appeared, directly mitigating repetition. Presence penalty also helps but is broader; frequency penalty is more targeted.

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 max tokens

    Why it's wrong here

    Max tokens limits length, not repetition.

  • Decrease top-p to 0.5

    Why it's wrong here

    Lower top-p reduces vocabulary diversity, which might increase repetition.

  • Increase the frequency penalty

    Why this is correct

    Frequency penalty penalizes tokens based on how often they have appeared, reducing repetition.

  • Increase temperature to 0.9

    Why it's wrong here

    Higher temperature increases randomness but may not specifically reduce repetition; could make output less coherent.

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.