Courseiva
Prompt EngineeringmediumMultiple ChoiceObjective-mapped

1Z0-1127-25 Prompt Engineering Practice Question

A prompt engineer is designing a system prompt for a customer support agent. The goal is to ensure the agent always responds in a polite, professional tone and never provides medical advice. Which approach best achieves this?

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 a system prompt that includes both the desired tone and the constraint about medical advice

System prompt is designed to set persona, tone, and constraints. Including both tone and constraints in the system prompt is the intended practice.

Answer analysis

Option-by-option breakdown

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

  • Set the temperature to 0 to ensure consistent tone and hope it avoids medical topics

    Why it's wrong here

    Temperature zero makes output deterministic but does not enforce tone or content restrictions.

  • Specify tone in the system prompt and add the medical advice restriction in each user message

    Why it's wrong here

    Repeating restrictions in user messages is inefficient and error-prone.

  • Rely on the model's inherent training to avoid medical advice, so no explicit instruction needed

    Why it's wrong here

    Models are not inherently safe; explicit instructions are necessary to enforce policies.

  • Use a system prompt that includes both the desired tone and the constraint about medical advice

    Why this is correct

    System prompt is the proper place for global instructions about persona, tone, and constraints.

About these practice questions

One of 768 original 1Z0-1127-25 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. 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.