1Z0-1127-25 Prompt Engineering Practice Question
A team is troubleshooting a chatbot that sometimes outputs harmful content despite having a system prompt with safety instructions. Which THREE measures should they implement to reduce the risk?
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
✓
Reinforce the system prompt with explicit safety constraints and periodic reminders
Input filtering blocks malicious inputs, output filtering catches harmful responses before delivery, and system prompt reinforcement strengthens initial instructions. Adding more few-shot examples does not directly address safety.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✓
Reinforce the system prompt with explicit safety constraints and periodic reminders
Why this is correct
Strengthening the system prompt with detailed safety rules reduces the chance of harmful outputs.
- ✗
Increase temperature to make output more random
Why it's wrong here
Higher temperature increases randomness, which could increase risk of harmful outputs.
- ✗
Add more few-shot examples of safe responses
Why it's wrong here
Few-shot examples may help but are not a direct safety control; they can be overridden.
- ✓
Use output filtering to scan and block harmful responses before showing to users
Why this is correct
Output filtering is a critical safety layer to catch unintended content.
- ✓
Implement input filtering to detect and block malicious prompt injection attempts
Why this is correct
Input filtering helps prevent prompt injection that could bypass safety instructions.
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.