nerdexam
Microsoft

AI-102 · Question #371

You have an Azure subscription and 10,000 ASCII files. You need to identify files that contain specific phrases. The solution must use cosine similarity. Which Azure OpenAI model should you use?

The correct answer is A. text-embedding-ada-002. To identify files that contain specific phrases using cosine similarity, you should use an embedding model. The text-embedding-ada-002 model is specifically designed to create embeddings (numerical representations of text) that can be used for similarity searches, such as…

Submitted by klara.se· Mar 30, 2026Implement Knowledge Mining Solutions

Question

You have an Azure subscription and 10,000 ASCII files. You need to identify files that contain specific phrases. The solution must use cosine similarity. Which Azure OpenAI model should you use?

Options

  • Atext-embedding-ada-002
  • BGPT-4
  • CGPT-35 Turbo
  • DGPT-4-32k

How the community answered

(53 responses)
  • A
    75% (40)
  • B
    4% (2)
  • C
    8% (4)
  • D
    13% (7)

Explanation

To identify files that contain specific phrases using cosine similarity, you should use an embedding model. The text-embedding-ada-002 model is specifically designed to create embeddings (numerical representations of text) that can be used for similarity searches, such as cosine similarity. This model is efficient and optimized for tasks that involve finding similarity between pieces of text, making it ideal for identifying files with specific phrases.

Topics

#Azure OpenAI#Text embeddings#Cosine similarity#Semantic search

Community Discussion

No community discussion yet for this question.

Full AI-102 Practice