1Z0-1127-25 OCI Generative AI Service Practice Question
A developer is using the Chat API for a multi-turn conversation. They want the assistant to adopt a formal tone and always identify itself as 'OracleBot'. How should they configure the API request?
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
✓
Include the persona instructions in the 'preamble_override' field and the conversation history in the 'messages' field of the Chat API
The Chat API supports a 'preamble_override' parameter to set system-level instructions, and 'messages' array for conversation history. The preamble is the correct place to set persona. Temperature and max tokens do not control persona. The Generate API does not support system prompts.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Include the persona instructions in the 'preamble_override' field and the conversation history in the 'messages' field of the Chat API
Why this is correct
Preamble override sets the assistant's behavior; messages carry the conversation history.
- ✗
Set the 'temperature' parameter low and 'max_tokens' high
Why it's wrong here
Temperature and max tokens control randomness and length, not the assistant's identity.
- ✗
Use the Embedding API to embed the persona instructions and pass them with each request
Why it's wrong here
Embedding API is for vector representations, not for setting assistant persona.
- ✗
Set the 'system_prompt' in the Generate API
Why it's wrong here
The Generate API does not have a system prompt capability; Chat API should be used.
Go deeper
Related to this question
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 →
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.