The answer is the `include_contexts` parameter set to false. This parameter directly controls whether citation metadata, such as the `[^1]` marker, is included in the final output when using Azure OpenAI with data sources in preview mode. When `include_contexts` is false, the API suppresses these citation markers even though the underlying data context was correctly retrieved and used to ground the model’s response. On the Microsoft Azure AI Engineer Associate AI-102 exam, this question tests your understanding of how the preview data sources feature handles citation rendering, a common trap being that developers assume citations appear automatically once data is connected. A key memory tip: think of `include_contexts` as the “citation gatekeeper” — if it’s off, citations stay hidden, even if the model used the data.
AI-102 Implement generative AI solutions Practice Question
This AI-102 practice question tests your understanding of implement generative ai solutions. 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.
Exhibit
Refer to the exhibit.
```json
{
"role": "system",
"content": "You are an AI assistant that helps people find information. Provide concise answers with citations."
}
```
```json
{
"role": "user",
"content": "What is the capital of France?"
}
```
```json
{
"role": "assistant",
"content": "The capital of France is Paris [^1].",
"context": {
"citations": [
{
"content": "Paris is the capital and most populous city of France.",
"title": "Wikipedia",
"url": "https://en.wikipedia.org/wiki/Paris"
}
]
}
}
```
Refer to the exhibit. The developer is using Azure OpenAI with data sources (preview) to ground the model on a custom dataset. The assistant response includes a citation [^1]. However, the developer notices that the citation does not appear in the final output displayed to the user. What is the most likely cause?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Refer to the exhibit.
```json
{
"role": "system",
"content": "You are an AI assistant that helps people find information. Provide concise answers with citations."
}
```
```json
{
"role": "user",
"content": "What is the capital of France?"
}
```
```json
{
"role": "assistant",
"content": "The capital of France is Paris [^1].",
"context": {
"citations": [
{
"content": "Paris is the capital and most populous city of France.",
"title": "Wikipedia",
"url": "https://en.wikipedia.org/wiki/Paris"
}
]
}
}
```
A
The 'include_contexts' parameter in the API call is set to false.
When include_contexts is false, citations and other context are not included in the final output.
B
The citation format [^1] is not supported in Azure OpenAI with data sources.
Why wrong: The [^1] format is the standard citation format for Azure OpenAI with data sources.
C
The system message overrides the citation rendering.
Why wrong: The system message does not affect citation rendering; it only sets the assistant's behavior.
D
The 'context' object in the assistant response is not being passed back in the prompt for the next turn.
Why wrong: The context object is part of the API response and is not required in the prompt for citations to appear.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The 'include_contexts' parameter in the API call is set to false.
Option A is correct because the 'include_contexts' parameter controls whether citation metadata from the data sources is included in the final output. When set to false, the API suppresses the citation markers (e.g., [^1]) even though the underlying context was used to generate the response. This is a preview feature of Azure OpenAI with your own data, where the citation rendering is explicitly gated by this parameter.
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.
✓
The 'include_contexts' parameter in the API call is set to false.
Why this is correct
When include_contexts is false, citations and other context are not included in the final output.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
The citation format [^1] is not supported in Azure OpenAI with data sources.
Why it's wrong here
The [^1] format is the standard citation format for Azure OpenAI with data sources.
✗
The system message overrides the citation rendering.
Why it's wrong here
The system message does not affect citation rendering; it only sets the assistant's behavior.
✗
The 'context' object in the assistant response is not being passed back in the prompt for the next turn.
Why it's wrong here
The context object is part of the API response and is not required in the prompt for citations to appear.
Common exam traps
Common exam trap: answer the scenario, not the keyword
Microsoft often tests the distinction between parameters that control output formatting versus those that control retrieval behavior; the trap here is that candidates assume citations are always included when data sources are used, overlooking the 'include_contexts' parameter that explicitly suppresses them.
Detailed technical explanation
How to think about this question
Under the hood, when you use Azure OpenAI with your own data, the API retrieves relevant chunks from the indexed dataset and injects them into the prompt as grounding context. The 'include_contexts' parameter (set to true by default) appends a 'context' object to the response that includes both the retrieved documents and the citation markers. Setting it to false strips this metadata, so the assistant response omits the [^1] markers entirely, even though the model still used the data to generate the answer. This is useful for scenarios where you want to hide the source references from end users but still leverage the grounded data.
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 media company stores terabytes of video archives that are accessed once a year for audit purposes. Moving these objects to a cold storage tier (Azure Archive, S3 Glacier, or Google Nearline) costs a fraction of hot storage. Questions like this test whether you understand storage tiers, access frequency tradeoffs, and retrieval latency requirements.
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.
Implement generative AI solutions — This question tests Implement generative AI solutions — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The 'include_contexts' parameter in the API call is set to false. — Option A is correct because the 'include_contexts' parameter controls whether citation metadata from the data sources is included in the final output. When set to false, the API suppresses the citation markers (e.g., [^1]) even though the underlying context was used to generate the response. This is a preview feature of Azure OpenAI with your own data, where the citation rendering is explicitly gated by this parameter.
What should I do if I get this AI-102 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
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 →
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.
This AI-102 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-102 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.