1Z0-1127-25 Using OCI Generative AI Service Practice Question
Which THREE parameters can be adjusted to reduce repetition in generated text? (Choose three.)
⚠ Common exam trap
Oracle OCI often tests the distinction between parameters that control output length (max_tokens) versus those that control repetition (presence_penalty, frequency_penalty), and candidates mistakenly think temperature reduces repetition when it actually controls 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
✓
presence_penalty
A is correct because presence_penalty directly penalizes tokens that have already appeared in the generated text, reducing the likelihood of repeating the same concepts or phrases. This parameter works by subtracting a fixed penalty from the logits of tokens that are already present in the sequence, making the model less likely to reuse them.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
presence_penalty
Why this is correct
Penalizes tokens that have appeared at all.
- ✓
top_k
Why this is correct
Limits tokens to top K, reducing chance of repetitive low-probability tokens.
- ✗
max_tokens
Why it's wrong here
Max tokens limits length, not repetition.
- ✓
frequency_penalty
Why this is correct
Penalizes tokens that have appeared frequently.
- ✗
temperature
Why it's wrong here
Temperature adjusts randomness, not specifically repetition.
Go deeper
Related to this question
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 →
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.