- A
Use the OCI GenAI content moderation filter.
Content moderation filters explicitly block harmful or offensive content in outputs.
- B
Change model to LLAMA.
Why wrong: Changing the model does not automatically enforce safety policies; each model may still generate offensive content.
- C
Increase maxTokens.
Why wrong: Increasing maxTokens may produce longer offensive text, worsening the issue.
- D
Set temperature to 0.
Why wrong: Temperature 0 makes output deterministic but does not filter offensive content.
Quick Answer
The answer is to use the OCI GenAI content moderation filter. This filter is the correct choice because it is specifically designed to enforce safety policies by detecting and blocking offensive, harmful, or policy-violating content in both input prompts and model outputs, effectively overriding problematic system instructions like “You are a sarcastic assistant.” On the Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 exam, this scenario tests your understanding of how safety guardrails function independently of model behavior—a common trap is assuming you can fix offensive output by simply rewriting the system prompt, but the filter is the only mechanism that enforces policy at the infrastructure level. Remember that the filter acts as a mandatory gatekeeper for both input and output, so when you see a question about blocking harmful responses despite a provocative system prompt, the content moderation filter is your answer. Memory tip: think “Filter First”—it catches policy violations before the model even sees the prompt or after it generates the response.
1Z0-1127 Fundamentals of Large Language Models Practice Question
This 1Z0-1127 practice question tests your understanding of fundamentals of large language models. Match the stated requirement to the specific cloud service, access model, or configuration option — many options are valid in isolation but not for this scenario. 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 runs an OCI GenAI chat request with system prompt "You are a sarcastic assistant." The output is offensive. How can the developer enforce safety policies?
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 OCI GenAI content moderation filter.
Option A is correct because the OCI GenAI content moderation filter is specifically designed to enforce safety policies by detecting and blocking offensive, harmful, or policy-violating content in both input prompts and model outputs. By enabling this filter, the developer can prevent the model from generating offensive responses even when a system prompt like 'You are a sarcastic assistant' encourages undesirable behavior.
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 OCI GenAI content moderation filter.
Why this is correct
Content moderation filters explicitly block harmful or offensive content in outputs.
Related concept
Read the scenario before looking for a memorised answer.
- ✗
Change model to LLAMA.
Why it's wrong here
Changing the model does not automatically enforce safety policies; each model may still generate offensive content.
- ✗
Increase maxTokens.
Why it's wrong here
Increasing maxTokens may produce longer offensive text, worsening the issue.
- ✗
Set temperature to 0.
Why it's wrong here
Temperature 0 makes output deterministic but does not filter offensive content.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Oracle often tests the misconception that adjusting model parameters (like temperature or maxTokens) or switching model families can substitute for explicit content moderation, when in fact safety enforcement requires dedicated filtering mechanisms that operate independently of model behavior.
Trap categories for this question
Command / output trap
Temperature 0 makes output deterministic but does not filter offensive content.
Detailed technical explanation
How to think about this question
OCI GenAI content moderation filters use pre-trained classifiers and rule-based engines to evaluate text against safety policies (e.g., hate speech, harassment, violence) before returning the output to the user. These filters operate at the API level, intercepting the response stream and applying configurable thresholds (e.g., severity scores) to block or flag violations. In a real-world scenario, a developer deploying a customer-facing chatbot must enable such filters to comply with regulatory requirements like the EU AI Act or internal corporate policies, as model-level safeguards alone are insufficient.
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.
- →
Fundamentals of Large Language Models — study guide chapter
Learn the concepts, then practise the questions
- →
Fundamentals of Large Language Models practice questions
Targeted practice on this topic area only
- →
All 1Z0-1127 questions
500 questions across all exam domains
- →
Oracle Cloud Infrastructure Generative AI Professional 1Z0-1127 study guide
Full concept coverage aligned to exam objectives
- →
1Z0-1127 practice test guide
How to use practice tests most effectively before exam day
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.
Fundamentals of Large Language Models practice questions
Practise 1Z0-1127 questions linked to Fundamentals of Large Language Models.
Using OCI Generative AI Service practice questions
Practise 1Z0-1127 questions linked to Using OCI Generative AI Service.
Building LLM Applications with RAG and Vector Search practice questions
Practise 1Z0-1127 questions linked to Building LLM Applications with RAG and Vector Search.
Deploying and Managing Generative AI on OCI practice questions
Practise 1Z0-1127 questions linked to Deploying and Managing Generative AI on OCI.
1Z0-1127 fundamentals practice questions
Practise 1Z0-1127 questions linked to 1Z0-1127 fundamentals.
1Z0-1127 scenario practice questions
Practise 1Z0-1127 questions linked to 1Z0-1127 scenario.
1Z0-1127 troubleshooting practice questions
Practise 1Z0-1127 questions linked to 1Z0-1127 troubleshooting.
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?
Fundamentals of Large Language Models — This question tests Fundamentals of Large Language Models — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: Use the OCI GenAI content moderation filter. — Option A is correct because the OCI GenAI content moderation filter is specifically designed to enforce safety policies by detecting and blocking offensive, harmful, or policy-violating content in both input prompts and model outputs. By enabling this filter, the developer can prevent the model from generating offensive responses even when a system prompt like 'You are a sarcastic assistant' encourages undesirable behavior.
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.
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 →
Last reviewed: Jun 30, 2026
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.
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.
Sign in to join the discussion.