Courseiva
OCI Generative AI ServicemediumMultiple ChoiceObjective-mapped

1Z0-1127-25 OCI Generative AI Service Practice Question

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?

⚠ Common exam trap

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.

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.'

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.

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.

  • 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.

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.