AI-900 Practice Question: Describe features of generative AI workloads on Azure
What is 'structured output' (JSON mode) in Azure OpenAI?
⚠ Common exam trap
Watch out — candidates often confuse 'structured output' with general text formatting (like bullet points or numbered lists) rather than recognizing it as a specific API feature that enforces JSON schema compliance for programmatic consumption.
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
✓
Constraining model responses to valid JSON conforming to a specified schema for application integration
Structured output (JSON mode) in Azure OpenAI constrains the model to generate responses that are valid JSON objects conforming to a user-defined schema. This is achieved by setting the `response_format` parameter to `{ "type": "json_object" }` and optionally providing a JSON schema via the `json_schema` parameter, ensuring the output can be directly parsed and integrated into applications without additional formatting logic.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Formatting the model's text response with numbered sections and bullet points
Why it's wrong here
This option describes Markdown styling, which affects how text appears to a human reader. Numbered sections and bullet points are visual presentation aids; they impose no machine-readable contract on the data itself. Structured output, in contrast, forces the model to generate tokens that form valid JSON adhering to a specific JSON Schema, so downstream systems can deserialize the object directly without parsing headings or list markers.
- ✓
Constraining model responses to valid JSON conforming to a specified schema for application integration
Why this is correct
This is correct because structured output in Azure OpenAI constrains the model's token generation so that the final response is valid JSON matching a developer-defined JSON Schema. This guarantees machine-parseable output, eliminating fragile string parsing and enabling direct deserialization into application objects. It also supports strict schema compliance, making integration with APIs, function calls, and data pipelines reliable and deterministic.
- ✗
Saving model responses to a structured database table automatically
Why it's wrong here
Saving responses to a structured database table is a post-inference application concern. The model itself does not perform persistence, and the database write is performed by orchestration code after the response is received. Structured output operates during generation, constraining the token stream to produce JSON that matches a schema, so this option confuses storage side effects with the model's response format guarantee.
- ✗
Generating output in multiple languages simultaneously in a structured format
Why it's wrong here
Generating content in multiple languages is a translation and generation capability, not a structural constraint. Structured output says nothing about the language of the text inside the fields; it constrains the syntactic envelope, such as requiring a JSON object with particular property names and value types. A model can produce multilingual JSON, but the defining feature of structured output is the schema-valid JSON contract, not the number of languages emitted.
Go deeper
Related to this question
About these practice questions
This AI-900 question is part of Courseiva's 985-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 AI-900 practice question is part of Courseiva's free Microsoft 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 AI-900 exam.