Courseiva
Prompt EngineeringmediumMultiple ChoiceObjective-mapped

1Z0-1127-25 Prompt Engineering Practice Question

A team is prompting a model to translate English to French. They notice the model occasionally mixes French with other Romance languages. Which prompt refinement strategy would MOST likely improve language consistency?

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

Add a constraint in the system prompt: 'Translate only to French. Do not use any other language.'

Explicitly constraining the output to French only, with a clear prohibition against other languages, directly addresses language mixing.

Answer analysis

Option-by-option breakdown

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

  • Add a constraint in the system prompt: 'Translate only to French. Do not use any other language.'

    Why this is correct

    A clear constraint in the system prompt reduces ambiguity and prevents mixing.

  • Use a stop sequence to halt after the first sentence

    Why it's wrong here

    Stop sequence does not prevent mixing within the generated text.

  • Lower top-k to 1 for deterministic output

    Why it's wrong here

    Deterministic output may still mix languages if the model is not instructed otherwise.

  • Increase temperature to encourage more focused output

    Why it's wrong here

    Higher temperature usually increases randomness, worsening mixing.

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.