Skip to main content

AI-200 practice question · Develop AI Solutions by Using Azure Data Management Services

A team using Azure OpenAI in Microsoft Foundry Models is preparing text chunks for a RAG pipeline.

A team using Azure OpenAI in Microsoft Foundry Models is preparing text chunks for a RAG pipeline. Before storing each chunk in a vector store, they must convert it into a numeric vector that captures its meaning, so that chunks with similar meaning end up close together for similarity search. What should they do?

  • ADeploy an embedding model such as text-embedding-3-small and send each chunk to the embeddings endpoint
  • BDeploy a chat completion model such as gpt-4.1 and prompt it to return each chunk as a JSON array of numbers
  • CRun each chunk through the model's tokenizer and store the resulting array of token IDs as the vector
  • DEnable the Azure AI Search semantic ranker on the index so that it vectorizes each chunk during indexing
Show the answer and explanation

Correct answer: A) Deploy an embedding model such as text-embedding-3-small and send each chunk to the embeddings endpoint

RAG pipelines create the semantic vectors they store and search by calling a deployed embedding model, such as text-embedding-3-small. Chat models, tokenizer IDs and rerankers don't produce embeddings.

Why each option is right or wrong

  • A) Correct. An embedding is a vector of floating-point numbers that represents the semantic meaning of text, and similar text produces vectors that are close together. Microsoft's embeddings guidance requires an Azure OpenAI resource with an embedding model deployment, called through the embeddings endpoint.
  • B) Incorrect. A chat model generates text. Any numbers it writes in reply to a prompt aren't trained semantic embeddings, aren't consistent from one call to the next, and aren't suitable for vector similarity search.
  • C) Incorrect. Token IDs are vocabulary indexes. Their length varies with the text, and their values carry no notion of meaning, so similar passages don't produce nearby arrays. They can't replace an embedding.
  • D) Incorrect. The semantic ranker reranks query results that have already been returned. It doesn't generate the vectors stored in the index. Vectorizing content requires an embedding model.
Question type
Multiple choice (one answer)

Practise the full AI-200 exam

This question is one of a small free sample from the CertRidge AI-200 bank. Full practice exams match the real exam's length, time limit and domain weights, explain every option, and Review Mode re-drills the questions you miss.

Original question written from the official exam guide. Not affiliated with Microsoft; never copied from the real exam.