Microsoft Azure AI Engineer Associate AI-102 Practice Question
You manage an Azure AI Search index that contains a 1536-dimension field named productVector and a semantic configuration called product-semantic. You need to return the five most relevant documents by combining BM25 keyword ranking, semantic re-ranking, and vector similarity in a single request. Which set of request parameters should you include in the body of a POST /indexes//docs/search call to meet the requirement?
queryType set to "full" with semanticConfiguration set to "product-semantic" together with a vectorQueries clause
searchMode set to "all" together with scoringProfile set to "vectorBoost" and a vectorQueries clause
queryType set to "semantic" and searchMode set to "any" (no vectorQueries clause)
queryType set to "semantic", semanticConfiguration set to "product-semantic", and a vectorQueries clause that supplies the embedding, the productVector field, and k = 5
Set queryType to "semantic" so the semantic ranker is invoked.
Indicate which semantic configuration to use with the semanticConfiguration parameter (because the configuration is not named "default").
Add a vectorQueries clause that supplies the query embedding, the target vector field (productVector), and k = 5 to request the five nearest neighbors. Without semanticConfiguration the request will fail when an index has a non-default semantic configuration name. Setting searchMode, scoringProfile, or queryType="full" does not enable semantic ranking, and omitting the vectorQueries clause prevents vector similarity scoring.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is BM25 keyword ranking?
Open an interactive chat with Bash
What is vector similarity and how is it used in Azure AI Search?
Open an interactive chat with Bash
What is semantic re-ranking in Azure AI Search?
Open an interactive chat with Bash
Microsoft Azure AI Engineer Associate AI-102
Implement knowledge mining and information extraction solutions
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .