Microsoft Azure AI Engineer Associate AI-102 Practice Question
You plan to index several thousand JSON documents stored in Azure Blob Storage by using Azure AI Search. Each document contains a content string that you want to query with both semantic ranking and vector similarity search. You create an index with these fields:
id (Edm.String, key)
content (Edm.String, searchable) You also create a skillset that calls the Azure OpenAI embedding REST API. When you configure the indexer, which additional step is required to ensure that the generated embeddings are stored in the index so that you can run vector‐based k-nearest neighbor (KNN) queries?
Add an output field mapping in the skillset that routes the embedding skill output to a new index field of type Collection(Edm.Single) configured for vector search.
Schedule the indexer to run in high‐frequency incremental mode so that new embeddings are generated on every change.
Append the query string parameter ?vectorize=true to the Blob Storage connection string used by the data source.
Enable semantic configuration on the content field and set its weight to the maximum value.
Embeddings produced by the Azure OpenAI skill must be written to a dedicated vector field in the index. To do this, add an output field mapping in the skillset that targets a new field of type Collection(Edm.Single) (for example, contentVector) marked as a vector field. Merely enabling semantic configuration, changing the indexer schedule, or adding query parameters to the data source does not create or populate the vector column, so vector KNN queries would fail.
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 are embeddings, and why are they needed for vector-based queries?
Open an interactive chat with Bash
What is the purpose of the Collection(Edm.Single) field in Azure AI Search?
Open an interactive chat with Bash
How does the Azure OpenAI embedding REST API integrate with 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 .