Generative AI Solutions
What generative AI is, and how an LLM actually produces an answer
One filter decides every "is this generative AI?" question on the exam: is the output freshly composed content (a drafted email, a generated image, a conversational answer) or a fixed prediction like a number, a class, or a bounding box? That single test is what the Identify features of generative AI solutions objective rewards. The cheat-sheet above frames generative AI as one of the AI-900 workload categories; this section pins down the mechanics by name, so a stem can quote any one of them and you still place it in the larger picture.
Generative AI answers "compose something new," not "what is this?"
The other AI-900 workloads return a fixed result: a classification model answers "which category is this?", a regression model answers "what number?", and a computer-vision model returns a label or a bounding box. Generative AI instead produces new, original content (natural-language text, code, images, or audio) in response to an input. Microsoft Learn frames it directly: generative AI powers applications that can create content, answer questions, and assist with tasks[1]. Typical generative tasks are summarizing a report, drafting or rewriting an email, answering a question conversationally, or generating an image from a description. The single mental filter for the exam: if the output is brand-new content, it is generative AI; if the output is a number, a class, or a box, it is predictive AI.
LLMs and the transformer architecture
Text-based generative AI is driven by large language models (LLMs) and their smaller relations, small language models (SLMs). Microsoft Learn describes them as models that encapsulate the linguistic and semantic relationships between the words and phrases in a vocabulary[2], so the model can reason over natural-language input and generate relevant responses. LLMs are built on the transformer architecture, which Microsoft describes as consisting of two "blocks": an encoder block that creates the embeddings by applying a technique called attention[2] (embeddings being the numeric vectors that capture each token's meaning) and a decoder layer that uses the embeddings calculated by the encoder to determine the next most probable token in a sequence[2]. The crucial conceptual point: an LLM does not look up an answer. Microsoft says LLMs are trained to generate completions based on prompts[2] and likens them to a super-powerful example of the predictive text feature on many cellphones[2], it predicts the most probable next token, over and over. That probabilistic mechanism explains both the model's fluency and why its output is not guaranteed to be factually correct.
Tokens are the atomic unit, not whole words
Although humans think in words, LLMs operate on tokens. Microsoft Learn notes that while we tend to think of language in terms of words, LLMs break down their vocabulary into tokens[2], and that tokens include words, but also sub-words (like the "un" in "unbelievable" and "unlikely"), punctuation, and other commonly used sequences of characters[2]. The first step in training is to break the training text into these distinct tokens and assign a unique integer identifier to each one[2], building a vocabulary of hundreds of thousands of tokens[2]. Because the model consumes the prompt and produces its completion as sequences of tokens, token count, not word count, is the atomic unit the exam expects you to recognize. (Turning those tokens into the meaning-capturing embeddings introduced above, via attention, is worth knowing by name but is a level of depth AI-900 only touches lightly.)
Prompts in, completions out
The input/output contract is the most exam-portable fact here. Microsoft Learn states plainly: a prompt is simply the input you give to an LLM to get a response[3], and the model responds to a prompt with a completion[3]. There are two kinds of prompt: system prompts that set the behavior and tone of the model, and any constraints it should adhere to[3], and user prompts that elicit a response to a specific question or instruction[3]. The system prompt is normally set by the application; the user prompt is what a person types. Keep "prompt" (input) and "completion" (output) crisply apart, the exam tests that pairing directly. Pulling the pieces together, the figure below traces the path from prompt to completion: the prompt is split into tokens, the encoder turns them into embeddings using attention, and the decoder reads those embeddings to predict the next most probable token, looping one token at a time until the completion is assembled.
Copilots, grounding with RAG, and responsible generative AI
Knowing what an LLM is gets you halfway; the AI-900 blueprint also expects you to recognize how generative AI is delivered (copilots), how it is made trustworthy on your data (grounding via RAG), and how its specific risks are managed (responsible generative AI). These three ideas are the back half of "features of generative AI solutions."
Copilots wrap the prompt-and-completion loop into everyday apps
A copilot is an AI-powered assistant that embeds the prompt-to-completion loop inside the tools people already use. Microsoft 365 Copilot, for example, brings generative AI into Word, Excel, Outlook, and Teams so users can draft, summarize, and create content without leaving the app. To keep a conversation coherent, copilots and chat assistants often keep track of the conversation history and include summarized versions of it in subsequent prompts[3], giving the model ongoing context to build on across turns. For the exam, recognize a copilot as the user-facing packaging of an LLM, not a different kind of model.
Prompt quality is a lever you control
Because a completion is generated from the prompt, the prompt materially changes the result. Microsoft's guidance is concrete: be clear and specific[3] (explicit instructions beat vague language), add context[3] (topic, audience, format), use examples[3] of the style you want, and ask for structure[3] such as bullet points or tables. The exam-portable point: better results often come from a better prompt, not a bigger model.
Grounding with retrieval augmented generation (RAG)
An LLM only knows what was in its training data, so it cannot answer about your private documents or recent facts, and, generating probabilistically, it can produce confident but wrong answers (commonly called hallucinations). Grounding fixes the knowledge gap. Microsoft Learn describes retrieval augmented generation (RAG) as an approach that involves retrieving information, like documents or emails, and using it to augment the prompt with relevant data[3], so that the response generated by the model is then grounded in the information that was provided[3]. The canonical example: an expenses assistant first retrieves the relevant section of the company expenses policy, adds it to the prompt alongside the user's question, and the model answers from that supplied context rather than guessing. Recognize RAG as the answer whenever a stem says the assistant must reflect internal, organization-specific, or up-to-date information.
Responsible generative AI: harms and layered mitigation
Because generative AI creates content, it carries heightened responsible-AI concerns. Microsoft frames the work as four stages applied after the initial planning of a solution. Microsoft Learn organizes it as planning the solution, then map potential harms, measure potential harms, mitigate potential harms, and manage (operate) a responsible solution[4], i.e. map, measure, mitigate, and manage, the four stages the exam shorthand names. Mitigation itself is applied in layers, not one place: the model[5] itself, a safety system with content filters, the system message and grounding data that steer and constrain the model, and the user experience (the application UI and documentation). The takeaway for AI-900: generative AI does not replace responsible-AI thinking, it intensifies it, and the mitigation is a stack rather than a single switch.
Exam-pattern recognition: reading AI-900 generative-AI stems
Generative-AI questions on AI-900 follow a handful of repeatable shapes. Naming the pattern lets you answer on recognition under time pressure instead of recall. Each pattern below pairs the stem signal with the right answer and the distractor that is built to look right.
Pattern 1: "Is this generative AI?", decided by the output type
The stem describes a task and asks which AI workload it is. The deciding clue is the kind of output:
- Summarize a document, draft/rewrite text, generate code, answer questions conversationally, create an image → generative AI (the output is new content).
- Predict a number (price, demand) → regression; assign a category (spam/not-spam, sentiment) → classification; detect objects / read a form → computer vision or document intelligence. These are not generative AI because the output is a fixed prediction, not composed content.
The classic distractor labels a summarization or chat task as "classification" or "NLP analysis." It is wrong because nothing is being categorized, something new is being written.
Pattern 2: "Which component / term?", the vocabulary chain
The stem quotes one mechanism and asks you to name it, or offers four terms and asks which fits. Anchor on the chain tokens → embeddings → transformer (encoder/decoder + attention) → prompt → completion:
- "The unit an LLM breaks text into" → token (not "word", that is the built-in trap, since humans think in words).
- "The architecture LLMs are built on" → transformer.
- "The input you give the model" → prompt; "the model's response" → completion. Swapping these two is the most common distractor.
- "Sets the model's behavior and constraints" → system prompt, versus the user prompt that asks the specific question.
Pattern 3: "The assistant must use our private/recent data", grounding with RAG
When a stem says responses must reflect internal documents, company policy, or current facts the model was never trained on, the answer is grounding / retrieval augmented generation (RAG), retrieve the relevant data and add it to the prompt. The distractor proposes "retrain the model" or "fine-tune on the documents," which AI-900 treats as heavier and unnecessary for simply supplying current context; RAG is the lightweight, exam-correct move. A second distractor says "just ask the base model," which is wrong because the model has no knowledge of private or recent data.
Pattern 4: "Why is the answer wrong / made up?", the probabilistic-generation limitation
The stem describes the model returning a fluent but factually incorrect or invented answer and asks for the cause or the fix. The cause is that the model generates the next token probabilistically rather than retrieving a verified fact, a hallucination. The fix is grounding (RAG) to supply real data and/or responsible-AI mitigations (content filters, a clear system message, human review). A distractor that says "the model is broken / needs more training data" misses the point: fluent-but-wrong output is an inherent property of generative models, mitigated by grounding and guardrails, not a defect cured by more of the same training.
Pattern 5: "What's a feature/benefit vs a limitation/risk of generative AI?", the balanced pair
Some stems ask you to pick a true capability (creates original text/code/images, summarizes, answers conversationally, powers copilots in everyday apps) or a true limitation/risk (can produce confident but inaccurate output, lacks knowledge of private or recent data, can generate offensive or biased content, is non-deterministic). The trap pairs a real capability with an overstated claim like "always factually accurate" or "gives the same answer every time", both false, because generation is probabilistic. When a stem frames generative AI as deterministic, auditable, or guaranteed-correct, that option is wrong; those are properties of a deterministic program or a conventional predictive model, not an LLM. (Naming the specific Azure services that host generative AI, Azure OpenAI, Azure AI Foundry, the model catalog, is the separate Azure GenAI services subtopic; this section is about the concepts, not the SKUs.)
| Aspect | Traditional (predictive) AI | Generative AI |
|---|---|---|
| Primary output | A fixed prediction: number, class label, or bounding box | New original content: text, code, image, or audio |
| Question it answers | "What is this?" / "What number?" | "Compose or create something new" |
| Core model | Regression, classification, clustering, or vision/NLP models | Large language model (LLM) on a transformer architecture |
| Typical input | Structured data, an image, or text to be analyzed | A natural-language prompt |
| Example task | Predict house price; flag negative sentiment | Draft an email; summarize a report; answer a question |
Sharp facts the exam loves — give these one last read before exam day.
Cheat sheet
Sharp facts the exam loves — scan these before test day.
- Generative AI produces new content, not a fixed prediction
Generative AI is the AI category that produces new, original content (natural-language text, code, images, or audio) in response to an input, rather than returning a fixed prediction. The exam filter: brand-new content (summarize, draft, rewrite, answer conversationally, generate an image) is generative AI; a number, a class label, or a bounding box is predictive AI.
Trap Treating image classification or object detection as generative because it involves images. Those emit a label or box, not new content, so they are predictive AI.
20 questions test this
- A product team wants a tool that, given a short description of a new beverage, can suggest many possible product names and slogan ideas.…
- Which statement best describes how a generative AI solution differs from a traditional keyword search engine?
- A business wants to deploy an assistant that customers can interact with in natural language conversation to get answers to their questions…
- A development team wants to use AI to create realistic but artificial sample customer records so they can test an application without…
- Which characteristic best distinguishes generative AI from other categories of artificial intelligence?
- A legal firm wants to use generative AI to condense lengthy contracts into short, easy-to-read overviews that capture the main points.…
- An analyst has a short list of bullet points and wants a tool that can expand them into full, well-written paragraphs. Which capability of…
- A company deploys a generative AI assistant that automatically drafts written replies to customer support emails. Which feature of…
- Which scenario is an example of using generative AI to summarize content?
- A global company wants to use a generative AI model to translate its marketing messages into several languages while preserving the…
- A retail company wants to deploy an assistant that can hold natural, multi-turn text conversations with customers and answer their…
- Select the answer that correctly completes the sentence. The key feature that distinguishes generative AI from other types of AI is its…
- A legal team wants a generative AI solution that can take lengthy contract documents and produce a shorter version that captures the main…
- A marketing team provides a short topic description and wants a generative AI solution to write an original, full-length article about it.…
- A communications team wants a tool that can take a customer's informally written message and rewrite it in a polished, professional tone…
- A software developer wants an AI assistant that suggests and completes lines of program code as they type in their development environment.…
- A data science team has only a small training dataset and wants to produce additional realistic but artificial sample records to expand it.…
- Which of the following tasks is NOT an example of a capability provided by generative AI?
- A game development studio wants to automatically create original background music tracks from short text descriptions of the desired mood…
- An editor wants a tool that can rewrite a customer email in a more professional tone while keeping the original meaning. Which AI…
- LLMs (and smaller SLMs) power text-based generative AI
Text-based generative AI runs on large language models (LLMs) and their more compact relations, small language models (SLMs). These models encapsulate the linguistic and semantic relationships between the words and phrases in a vocabulary, letting them reason over natural-language input and generate relevant responses.
Trap Assuming only large language models can generate text and SLMs cannot. Small language models are compact relations of LLMs that also generate text-based content.
- LLMs are built on the transformer architecture
LLMs are built on the transformer architecture, which has two blocks: an encoder that creates embeddings by applying a technique called attention, and a decoder that uses those embeddings to determine the next most probable token in a sequence. Recognizing
transformeras the architecture behind LLMs, andattentionas the technique inside the encoder, is a discrete AI-900 fact.Trap Naming a neural-network type like CNN or RNN as the LLM architecture. The AI-900 answer is the transformer.
3 questions test this
- Select the answer that correctly completes the sentence. In the names of models such as GPT-4, the abbreviation 'GPT' stands for [answer…
- Which deep learning architecture serves as the foundation for most modern generative AI language models?
- In the Transformer architecture used by generative AI language models, what does the attention mechanism enable the model to do?
- An LLM predicts the next token, it doesn't look up an answer
An LLM generates completions by repeatedly predicting the most probable next token (Microsoft frames it as a super-powerful version of a phone's predictive text) rather than retrieving a stored answer. This probabilistic next-token mechanism explains both the model's fluency and why its output is not guaranteed to be factually correct.
Trap Assuming an LLM stores and looks up facts like a database. It predicts tokens, which is why it can sound confident yet be wrong.
3 questions test this
- Which statement best describes a characteristic of how a generative AI language model produces a response when the same prompt is submitted…
- Which statement best describes how a generative AI language model produces its output?
- Which statement best describes how a generative AI language model produces the text of a response to a prompt?
- LLMs operate on tokens, not whole words
LLMs break their vocabulary into tokens (words, but also sub-words such as the
uninunbelievableandunlikely, punctuation, and other common character sequences), each assigned a unique integer identifier. Modern LLM vocabularies hold hundreds of thousands of tokens, and token count, not word count, is the unit by which usage is measured.Trap Equating one token with one word when estimating usage. A token can be a sub-word, punctuation, or character sequence, so token count and word count differ.
5 questions test this
- How does Azure OpenAI Service process text when handling requests?
- Generative AI language models in the Azure OpenAI service break the text in prompts and responses into smaller units in order to process…
- Select the answer that correctly completes the sentence. When using Azure OpenAI Service, the number of input and output characters…
- Select the answer that correctly completes the sentence. The process of splitting input text into smaller units that a generative AI…
- In the context of a generative AI language model, which statement best describes a token?
- A prompt is the input; a completion is the output
A prompt is simply the input you give to an LLM to get a response (a question, a command, or a comment), and the model responds to a prompt with a completion. Keep the pair crisply apart: the prompt is what goes in, the completion is what comes out.
Trap Swapping the terms and calling the model's output the prompt. The input is the prompt, the generated output is the completion.
10 questions test this
- Which Azure OpenAI model capability allows a user to enter a text prompt and receive a text completion as a response?
- A retail company wants to use Azure OpenAI Service GPT models for automating customer service responses. Which capability is supported by…
- Select the answer that correctly completes the sentence. In a generative AI interaction, the response text that a model produces in…
- Select the answer that correctly completes the sentence. Azure OpenAI GPT models are [Answer choice] that accept text prompts and generate…
- You need to interact with an Azure OpenAI model to generate text. The model is prompt-based. What does the model do when you provide a text…
- Which capability is enabled by the completions endpoint in Azure OpenAI Service?
- Select the answer that correctly completes the sentence. Azure OpenAI GPT models use a [Answer choice] interface where users provide text…
- Select the answer that correctly completes the sentence. The natural language input that a user provides to a generative AI model to…
- Select the answer that correctly completes the sentence. When using Azure OpenAI chat completion models, the user interacts with the model…
- How do GPT models in Azure OpenAI Service interact with users to generate text?
- System prompt sets behavior; user prompt asks the question
Prompts come in two kinds. A system prompt is set by the application to define the model's behavior, tone, and any constraints it must adhere to (e.g. "You're a helpful assistant that responds in a cheerful, friendly manner"). A user prompt elicits a response to a specific question or instruction and is typically what a person types; the model answers the user prompt while obeying the system prompt.
Trap Assuming the user (not the application) sets the system prompt. The application defines the system prompt to constrain the model.
6 questions test this
- What is the primary purpose of a system message provided to a generative AI model in a chat solution?
- Which component in Azure OpenAI is used to prime a chat model with context, instructions, and define the assistant's personality?
- In the Azure OpenAI chat playground, which element lets you provide instructions that set the assistant's overall behavior, tone, and role…
- In Azure OpenAI Service, what is the purpose of the system message in a chat completion request?
- A developer is using Azure OpenAI Service to build a conversational application. Which message role should be used to define the…
- In a generative AI chat solution, what is the purpose of a system message?
- A copilot is the app packaging of an LLM, not a new model type
A copilot is an AI-powered assistant that embeds the prompt-to-completion loop inside everyday tools. Microsoft 365 Copilot, for example, brings generative AI into apps like Word, Excel, Outlook, and Teams. Recognize a copilot as the user-facing packaging of an LLM, not a distinct kind of model.
Trap Treating a copilot as a distinct type of model rather than an application that surfaces an underlying LLM inside everyday tools.
- Apps re-feed summarized conversation history into each prompt
To keep a multi-turn conversation consistent and relevant, generative AI apps keep track of the conversation history and include summarized versions of it in subsequent prompts. That supplies ongoing context so the model interprets each new question in relation to what was said before.
Trap Assuming the model itself remembers earlier turns. The application supplies continuity by re-feeding summarized history into each new prompt.
- Prompt quality, not just model size, drives completion quality
Because a completion is generated from the prompt, a better prompt materially changes the result. Microsoft's prompt-engineering guidance: be clear and specific, add context (topic, audience, format), use examples of the desired style, and ask for structure such as bullet points, tables, or numbered lists. Better results often come from a better prompt, not a bigger model.
Trap Reaching for a larger model to improve a weak result when clearer, more specific prompting is the cheaper and often more effective lever.
- Use RAG to ground answers in private or recent data
An LLM only knows its training data, so it can't answer about private documents or recent facts on its own. Retrieval augmented generation (RAG) retrieves relevant information (documents, emails, policy pages) and uses it to augment the prompt, so the response is grounded in the supplied data. RAG is the exam-correct answer whenever a stem needs internal, organization-specific, or up-to-date information.
Trap Reaching for fine-tuning when the need is current or organization-specific facts. That re-trains style/behavior, whereas RAG injects the actual data at prompt time.
10 questions test this
- A company wants its generative AI chat solution to answer questions using the organization's own internal documents so that responses are…
- What is the primary purpose of using the Retrieval Augmented Generation (RAG) pattern with Azure AI Search and Azure OpenAI Service?
- A company wants to use Azure OpenAI with their own documents stored in Azure AI Search without writing complex retrieval code. Which Azure…
- What does 'grounding' mean in the context of generative AI with Azure?
- A company wants to enable Azure OpenAI models to answer questions based on their internal HR policy documents. Which Azure OpenAI feature…
- In a RAG solution that uses Azure AI Search and Azure OpenAI, what is the role of Azure AI Search?
- Which prompt engineering technique involves providing grounding data to improve the reliability of Azure OpenAI model responses?
- What is the primary purpose of providing grounding data to a generative AI model?
- A company wants its Azure OpenAI chat application to answer employee questions using the company's own internal documents rather than only…
- What problem does RAG solve that makes it preferable to using only an LLM's pre-trained knowledge for enterprise applications?
- Hallucinations are inherent to probabilistic generation
Because generation is probabilistic, an LLM can produce confident but factually wrong or invented answers, commonly called hallucinations. This is an inherent property of generative models, not a defect cured by more training; the mitigations are grounding (RAG) to supply real data plus responsible-AI guardrails such as content filters and human review.
Trap Assuming more training data eliminates hallucinations. They stem from probabilistic generation, so the fix is grounding and guardrails, not retraining.
2 questions test this
- Responsible generative AI follows map, measure, mitigate, manage
Because it creates content, generative AI intensifies responsible-AI concerns. Microsoft frames a lifecycle of mapping (identifying) potential harms, measuring potential harms, mitigating potential harms, and managing (operating) a responsible solution. The exam shorthand is map, measure, mitigate, manage.
5 questions test this
- When planning a responsible generative AI solution, which task should be performed first in the recommended process?
- In Microsoft's four-stage process for developing a responsible generative AI solution, which stage involves systematically testing the…
- In the Microsoft process for developing a responsible generative AI solution, which stage involves systematically testing the solution to…
- In Microsoft's four-stage process for developing a responsible generative AI solution, which stage involves following a phased delivery…
- In Microsoft's four-stage process for developing a responsible generative AI solution, which stage involves applying a layered approach,…
- Mitigation is applied across four layers, not one switch
Responsible generative-AI harm mitigation is a layered approach, not a single switch. Microsoft applies it across four layers: the Model itself, a Safety System with content filters and prompt shields, the System message and grounding that steer and constrain the model (including RAG), and the User experience (application UI input/output validation and transparent documentation).
Trap Believing content filters alone make a solution safe. The safety system is only one of four layers, alongside model choice, system message/grounding, and UX.
- Foundation models are pretrained broadly, then adapted per task
A foundation model (the basis of an LLM) gains broad, general-purpose language capability by being pretrained on enormous volumes of largely unlabeled text from many sources such as books and websites. That broad pretraining lets one model be adapted to many downstream tasks through prompting or fine-tuning, without retraining from scratch for each task.
Trap Assuming a foundation model is trained from scratch on labeled data for one specific task. It is pretrained broadly on largely unlabeled text and then adapted to many tasks.
4 questions test this
- Select the answer that correctly completes the sentence. Large language models used in generative AI solutions acquire their broad language…
- Which term describes a large generative AI model that is pretrained on a broad range of data and can be adapted to perform many different…
- Select the answer that correctly completes the sentence. A large language model acquires its broad, general-purpose capabilities by first…
- Which feature of a foundation generative AI model allows it to perform many different language tasks, such as summarizing, translating, and…
- Multimodal models accept more than one input type
A multimodal generative AI model accepts and reasons over multiple input types (such as text and images) in the same prompt, and returns a natural-language response. This is what lets a user upload a photo and ask questions about its contents; the Azure OpenAI example is GPT-4o, which integrates text and images in a single model.
Trap Picking a text-only model and bolting on a separate image classifier when one multimodal model like GPT-4o reasons over text and images together in a single prompt.
5 questions test this
- A company wants to build a chatbot that can process both text questions and analyze uploaded images within the same conversation. Which…
- Which statement best describes a multimodal generative AI model?
- Select the answer that correctly completes the sentence. A generative AI [answer choice] is a model that can accept and process more than…
- A company wants an application where a user can upload a photograph and then ask questions about its contents in natural language and…
- Which Azure OpenAI model can accept an image as input alongside a text prompt and generate a natural language description of what the image…
- Match the scenario to the right Responsible AI principle
Microsoft's six Responsible AI principles map to distinct concerns: fairness = minimize bias so the model doesn't produce discriminatory outputs; reliability and safety = account for probabilistic models being fallible; privacy and security = keep training data and models from exposing personal information; inclusiveness = don't exclude users (e.g. captions for hearing-impaired users); transparency = make users aware they're interacting with AI and explain its limitations; accountability = people and organizations stay responsible, with governance and human sign-off.
4 questions test this
- A bank plans to use a generative AI model to help draft replies to customers. The team wants to ensure the model's outputs do not…
- An organization deploys a generative AI chatbot and wants to clearly inform users that they are interacting with an AI system and explain…
- A team building a generative AI application wants to make sure it provides an effective experience for users with disabilities and people…
- An organization decides that a person must review and approve every AI-generated medical summary before it is shared with patients,…