Courseiva

Improving Azure AI Search Relevance with Semantic Ranking

An organization uses Azure AI Search to power an internal knowledge base. They notice that search results are returning irrelevant documents. The index includes a 'content' field with full text and a 'tags' field with metadata. Users often search for specific terms that appear in the 'tags' field. How should you configure the search index to improve relevance?

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Configure a scoring profile with a higher weight for the 'tags' field.

Configuring a scoring profile with a higher weight for the 'tags' field increases the relevance score of documents where search terms match the tags, thereby prioritizing those results. Option A (freshness-based scoring) would favor newer documents but does not address matching on tags. Option C sets the 'tags' field to use the 'keyword' analyzer, which changes tokenization but does not adjust field weighting. Option D enables semantic search on the 'content' field, which enhances understanding of natural language queries but does not specifically boost the weight of the tags field.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✗

    Add a custom scoring profile based on freshness.

    Why it's wrong here

    Freshness ranking cannot boost tag matches, because scoring profiles weight fields or functions, not which field a query term hits; the stem's problem is term placement in 'tags'. A freshness profile suits news feeds or time-sensitive content where recency should outrank textual relevance.

  • ✓

    Configure a scoring profile with a higher weight for the 'tags' field.

    Why this is correct

    Scoring profiles apply field weights during query evaluation, so boosting the 'tags' field raises documents whose metadata matches the user's terms. This directly addresses the relevance problem, since tags carry the specific terms users search, whereas the full-text 'content' field dilutes matching scores.

  • ✗

    Set the 'tags' field to use the 'keyword' analyzer.

    Why it's wrong here

    The keyword analyzer treats the entire tags value as one token, so multi-word tag searches fail to match individual terms. It suits fields holding single indivisible identifiers, such as product codes or exact IDs, not multi-term metadata.

  • ✗

    Enable semantic search on the 'content' field.

    Why it's wrong here

    Semantic search re-ranks the 'content' field using language models, but the stem states users search terms held in 'tags', which semantic ranking does not query. It is tempting because semantic search genuinely improves relevance for natural-language queries over prose, and would be correct if the mismatched terms lived in the full-text body rather than metadata.

About these practice questions

Courseiva writes every AI-102 question from scratch — 761 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

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.