Courseiva
Fundamentals of Large Language ModelshardMultiple ChoiceObjective-mapped

1Z0-1127-25 Fundamentals of Large Language Models Practice Question

During inference with OCI Generative AI, you notice that the model is generating repetitive phrases. Which combination of parameters can help reduce repetition?

⚠ Common exam trap

Oracle often tests the misconception that lowering Top_p (making it more restrictive) reduces repetition, when in fact it can worsen repetition by limiting the model to only the most probable tokens, which are often the same ones already used.

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

Top_p = 0.9, frequency_penalty = 0.5

A high Top_p value (0.9) allows the model to consider a diverse set of tokens, reducing the chance of getting stuck in repetitive loops, while a positive frequency_penalty (0.5) actively penalizes tokens that have already been generated, discouraging the model from repeating the same phrases. Together, these parameters balance creativity and repetition suppression.

Answer analysis

Option-by-option breakdown

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

  • Top_p = 0.1, frequency_penalty = 0.5

    Why it's wrong here

    Top_p = 0.1 severely limits the pool of possible tokens, often making output repetitive despite the penalty.

  • Top_p = 0.9, frequency_penalty = 0.5

    Why this is correct

    This combination applies a gentle penalty on repeated tokens while keeping token selection diverse, effectively reducing repetition.

  • Top_p = 0.9, frequency_penalty = 0.0

    Why it's wrong here

    Without any frequency penalty, the model has no incentive to avoid repetition.

  • Top_p = 1.0, frequency_penalty = 0.0

    Why it's wrong here

    Top_p = 1.0 includes all tokens (no nucleus sampling) and no penalty, so repetition is likely.

About these practice questions

Courseiva writes every 1Z0-1127-25 question from scratch — 768 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 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.