Question 297 of 991
OCI Generative AI ServicemediumMultiple ChoiceObjective-mapped

How to Set a Formal Tone and Identity for Your Multi-Turn Chatbot Using the System Message Parameter

This 1Z0-1127 practice question tests your understanding of oci generative ai service. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.

A developer is using the OCI GenAI Chat API to build a multi-turn customer support chatbot. They want the assistant to always introduce itself as 'SupportBot' and never mention being an AI. How should they configure the API call?

Clue words in this question

Noticing these words before you look at the options changes how you read each choice.

  • Clue: "always"

    Why it matters: Absolute qualifier. An answer using 'always' is only correct if there are genuinely no exceptions — absolute statements are often wrong in networking.

  • Clue: "never"

    Why it matters: Absolute qualifier. True only if the statement has zero exceptions — be cautious of options that seem obvious but break down in edge cases.

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

Set the system message (preamble) to 'You are SupportBot. You must never mention that you are an AI.'

Option C is correct because the OCI GenAI Chat API supports a 'system message' or 'preamble' parameter that sets the assistant's behavior and identity for the entire conversation. By setting the preamble to 'You are SupportBot. You must never mention that you are an AI.', the developer enforces the desired persona and restriction across all turns, ensuring the assistant introduces itself as SupportBot and avoids any reference to being an AI.

Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

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 Generate API instead and include the instruction in the prompt

    Why it's wrong here

    The Generate API is for single-turn generation without multi-turn conversation management.

  • Set the preamble override to a JSON object with the assistant's identity

    Why it's wrong here

    The preamble override expects a plain text string, not a JSON object.

  • Set the system message (preamble) to 'You are SupportBot. You must never mention that you are an AI.'

    Why this is correct

    The system message (preamble) defines the assistant's persona and instructions.

    Clue confirmation

    The clue words "always", "never" in the question point toward this answer.

    Related concept

    Read the scenario before looking for a memorised answer.

  • Set the first user message to 'Introduce yourself as SupportBot and never say you are an AI.'

    Why it's wrong here

    A user message does not permanently set the assistant's identity; it only influences the next response.

Common exam traps

Common exam trap: answer the scenario, not the keyword

A common trap in the OCI GenAI exam is confusing the system message (preamble) parameter with a regular user message. Candidates may think placing instructions in the first user message is sufficient, but only the dedicated preamble parameter enforces behavior across all turns. The Chat API requires explicit use of the preamble to set persistent assistant identity and restrictions.

Detailed technical explanation

How to think about this question

The OCI GenAI Chat API uses a 'system message' (also called preamble) that is prepended to the conversation context and influences the model's behavior for all user and assistant turns. This system message is not part of the visible conversation history but is injected as a hidden instruction, ensuring consistent persona enforcement. In multi-turn scenarios, the model's attention mechanism processes the system message at each step, so it remains effective even as the conversation grows, unlike user messages which can be forgotten or overridden by later context.

KKey Concepts to Remember

  • Read the scenario before looking for a memorised answer.
  • Find the constraint that changes the correct option.
  • Eliminate answers that are true in general but not in this case.

TExam Day Tips

  • Watch for words such as best, first, most likely and least administrative effort.
  • Review why wrong options are wrong, not only why the correct option is correct.

Key takeaway

Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.

Real-world example

How this comes up in practice

A practitioner preparing for the 1Z0-1127 exam encounters this exact type of scenario on the job. The correct answer here is not the most general option — it is the best answer for the specific constraint described. Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option. Real exam questions reward reading the full scenario before eliminating options, because the constraint defines which answer fits.

What to study next

Got this wrong? Here's your next step.

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Related practice questions

Related 1Z0-1127 practice-question pages

Use these pages to review the topic behind this question. This is how one missed question becomes focused revision.

Practice this exam

Start a free 1Z0-1127 practice session

Short sessions build daily habit. Longer sessions build exam-day stamina. Try a timed session to simulate real conditions.

FAQ

Questions learners often ask

What does this 1Z0-1127 question test?

OCI Generative AI Service — This question tests OCI Generative AI Service — Read the scenario before looking for a memorised answer..

What is the correct answer to this question?

The correct answer is: Set the system message (preamble) to 'You are SupportBot. You must never mention that you are an AI.' — Option C is correct because the OCI GenAI Chat API supports a 'system message' or 'preamble' parameter that sets the assistant's behavior and identity for the entire conversation. By setting the preamble to 'You are SupportBot. You must never mention that you are an AI.', the developer enforces the desired persona and restriction across all turns, ensuring the assistant introduces itself as SupportBot and avoids any reference to being an AI.

What should I do if I get this 1Z0-1127 question wrong?

Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.

Are there clue words in this question I should notice?

Yes — watch for: "always", "never". Absolute qualifier. An answer using 'always' is only correct if there are genuinely no exceptions — absolute statements are often wrong in networking.

What is the key concept behind this question?

Read the scenario before looking for a memorised answer.

About these practice questions

Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

Same concept, more angles

4 more ways this is tested on 1Z0-1127

These questions test the same concept from different angles. Work through them to make sure you can recognise it however the exam phrases it.

Variation 1. A developer is using the OCI Generative AI Chat API with Cohere Command R+ to build a multi-turn conversational agent. They want the agent to always respond in a formal tone, regardless of the user's phrasing. Which parameter should they set in the API request to achieve this consistently?

hard
  • A.Set the 'stop_sequences' parameter to include periods
  • B.Set the 'temperature' parameter to 0.1
  • C.Use the 'system' parameter (or preamble_override) to provide a system message like 'You are a formal assistant'
  • D.Set the 'max_tokens' parameter to 200

Why C: A system message or preamble override sets the overall behavior and tone of the assistant for the entire conversation. Temperature controls randomness; max tokens limits length; stop sequences end generation — none are suitable for defining a persistent tone.

Variation 2. A developer is using the OCI Generative AI Chat API to build a multi-turn conversational assistant. They want the assistant to adopt a formal tone throughout the conversation. Which parameter should they set in the API request to achieve this?

medium
  • A.preamble_override
  • B.temperature
  • C.frequency_penalty
  • D.max_tokens

Why A: The 'preamble_override' parameter sets the system-level instruction (e.g., 'You are a formal assistant...') that persists across turns. The other options control generation statistics, not system behavior.

Variation 3. 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?

hard
  • A.Include the persona instructions in the 'preamble_override' field and the conversation history in the 'messages' field of the Chat API
  • B.Set the 'temperature' parameter low and 'max_tokens' high
  • C.Use the Embedding API to embed the persona instructions and pass them with each request
  • D.Set the 'system_prompt' in the Generate API

Why A: 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.

Variation 4. A developer is using the OCI Generative AI Chat API to create a customer support bot. They want the bot to maintain a consistent personality and follow specific guidelines. Which TWO settings should they use?

medium
  • A.System prompt
  • B.Preamble override
  • C.Temperature
  • D.Frequency penalty
  • E.Max tokens

Why A: A system prompt sets the bot's behavior and guidelines, and preamble override allows customizing the model's initial instructions. Temperature and max tokens do not define personality or guidelines.

Keep practising

More 1Z0-1127 practice questions

Last reviewed: Jul 4, 2026

Question Discussion

Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.

Loading comments…

Sign in to join the discussion.

This 1Z0-1127 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 exam.