1Z0-1127-25 Prompt Engineering Practice Question
A prompt engineer wants to ensure the model outputs a JSON object with specific keys. Which prompt component is most appropriate to specify this requirement?
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
✓
Output format specification
Output format specification explicitly tells the model the desired structure, such as JSON, XML, or markdown. The other options serve different purposes.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Task instruction
Why it's wrong here
Task instruction describes what to do, not the format of the output.
- ✓
Output format specification
Why this is correct
Output format specification is used to define the required format, e.g., JSON or XML.
- ✗
Constraints
Why it's wrong here
Constraints set limits like length or tone, but do not specify the output format.
- ✗
Context/background
Why it's wrong here
Context provides background information, not output structure.
Go deeper
Related to this question
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 →
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.