nerdexam
Microsoft

AI-102 · Question #351

You have an Azure subscription. You need to build an app that will compare documents for semantic similarity. The solution must meet the following requirements: - Return numeric vectors that…

The correct answer is C. embeddings. To compare documents for semantic similarity by returning numeric vectors representing tokens with minimal development effort, you should use an Azure OpenAI embeddings model.

Submitted by emma.c· Mar 30, 2026

Question

You have an Azure subscription. You need to build an app that will compare documents for semantic similarity. The solution must meet the following requirements: - Return numeric vectors that represent the tokens of each document. - Minimize development effort. Which Azure OpenAI model should you use?

Options

  • AGPT-3.5
  • BGPT-4
  • Cembeddings
  • DDALL-E

How the community answered

(57 responses)
  • A
    11% (6)
  • B
    4% (2)
  • C
    84% (48)
  • D
    2% (1)

Why each option

To compare documents for semantic similarity by returning numeric vectors representing tokens with minimal development effort, you should use an Azure OpenAI embeddings model.

AGPT-3.5

GPT-3.5 is a generative language model designed for tasks like text generation and summarization, not primarily for creating numerical vector representations for semantic similarity.

BGPT-4

GPT-4 is a highly advanced generative language model, but like GPT-3.5, its primary purpose is not generating embeddings for semantic similarity, and using it for this task would be inefficient or require additional processing.

CembeddingsCorrect

Azure OpenAI embeddings models (like `text-embedding-ada-002`) are specifically designed to convert text into numerical vector representations (embeddings) that capture semantic meaning, making them ideal for tasks like semantic similarity comparison and minimizing development effort by providing a ready-to-use solution for this task.

DDALL-E

DALL-E is an image generation model and is completely unrelated to processing text for semantic similarity or returning numeric vectors for documents.

Concept tested: Azure OpenAI embeddings for semantic similarity

Source: https://learn.microsoft.com/en-us/azure/ai-services/openai/how-to/embeddings

Topics

#Azure OpenAI embeddings#Semantic similarity#Numeric vectors#AI model selection

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice