Courseiva
Prompt EngineeringhardMultiple ChoiceObjective-mapped

1Z0-1127-25 Prompt Engineering Practice Question

A developer uses a Cohere Command model with a preamble: 'You are a helpful assistant that answers questions based on the provided document.' They also include a user message with a query and a relevant document excerpt. However, the model often ignores the document and uses its own knowledge. Which improvement is MOST effective?

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

Use the document-grounded generation format with <doc> and </doc> tags around the document

Cohere's document-grounded generation syntax uses special tags to clearly separate the document from the query, ensuring the model focuses on the provided content rather than its training data.

Answer analysis

Option-by-option breakdown

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

  • Use the document-grounded generation format with <doc> and </doc> tags around the document

    Why this is correct

    Explicit document tags help the model distinguish between the query and the grounding document.

  • Increase the temperature to 0.7 to reduce reliance on parametric knowledge

    Why it's wrong here

    Temperature does not control grounding; a higher temperature may even increase hallucination.

  • Set frequency penalty to 0.5

    Why it's wrong here

    Frequency penalty does not address grounding.

  • Remove the preamble and rely solely on the user message

    Why it's wrong here

    Removing the preamble may worsen adherence to the document.

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.