AI-103 · Choosing Foundry Models and Services
24 cards
Retrieval and Indexing Methods
-
Quick check
In a RAG request, what happens in the augment step?
AThe model writes the answer and its citations
Writing the answer is the generate step, which comes after the prompt is augmented.
BThe app adds retrieved passages to the user's question
Right. Augment combines the user's question with the grounding data, so the model answers from that content.
CThe app queries the index for relevant passages
Querying the index is the retrieve step, the first of the three.
3 / 24
-
Quick check
Users complain that answers cite passages without saying which document they came from. What can the index add?
AA second embedding model for each passage
A second embedding model changes how passages are matched, not how they're cited.
BFields such as titles, URLs, or file names
Right. An index can store fields that improve citation quality, such as titles, URLs, or file names.
CA larger token budget for the generate step
More tokens let the model read more, but they don't tell it where a passage came from.
5 / 24
-
Quick check
A team designs a RAG pipeline on Azure AI Search. Which features are meant for human interaction and can be skipped?
ASemantic ranking and scoring profiles
Semantic ranking and scoring profiles improve relevance, which is exactly what RAG grounding needs.
BHybrid queries and vector weighting
Hybrid queries and vector weighting tune recall and relevance, so they're useful in RAG.
CAutocomplete and suggestions
Right. Autocomplete and suggestions serve search-as-you-type users and aren't useful in a RAG pattern.
8 / 24
-
Keep your progress in the app
That’s 3 of 10 quick checks. In the app they stay answered, and every lesson remembers where you left off.
-
Quick check
Users search with words that differ from the wording in the documents. Which classic RAG query gives the most recall?
AA filter on the category field
Filters match verbatim, case-sensitive text, so they narrow results rather than catching different wording.
BA full-text query with fuzzy search
Fuzzy search matches similar spellings of the same term, not different words with the same meaning.
CA hybrid query of keyword and vector search
Right. Hybrid queries combine keyword and vector search for maximum recall, and vectors match concepts, not exact terms.
10 / 24
-
Quick check
In agentic retrieval, which object unifies several knowledge sources and is what your code queries?
AA knowledge base
Right. The knowledge base is the queryable object that unifies one or more knowledge sources.
BA single search index
A search index is one kind of content a knowledge source can point to. It doesn't unify several sources.
CA knowledge source
A knowledge source points to one piece of searchable content. The knowledge base is what brings them together.
13 / 24
-
Quick check
A company policy allows only generally available features, and the team must keep its existing orchestration code. Which approach fits?
AClassic RAG with hybrid queries and semantic ranking
Right. Classic RAG suits GA-only requirements and preserves existing orchestration code.
BAgentic retrieval with minimal effort
Lower reasoning effort makes agentic retrieval faster, but its LLM query planning is still preview.
CAgentic retrieval with answer synthesis
Answer synthesis changes the output of agentic retrieval. It doesn't solve the GA-only rule or keep the existing code.
15 / 24
-
Quick check
For classic RAG, how do you build a custom indexing pipeline in Azure AI Search?
AIndexers and skillsets, or the push API
Right. Classic RAG builds custom pipelines with indexers and skillsets, or pushes pre-processed content through the push API.
BA knowledge base with reasoning effort
A knowledge base belongs to agentic retrieval, where knowledge sources generate the pipeline for you.
CAutocomplete with a suggester on each field
Autocomplete serves search-as-you-type users. It has no role in building an indexing pipeline.
18 / 24
-
Quick check
A model must answer from a price list that changes every week. Which pattern fits?
AFine-tuning on the current price list
Fine-tuning changes behavior, style, or task performance. It isn't the way to add knowledge that changes weekly.
BRAG over an up-to-date price list index
Right. RAG grounds answers in private or frequently changing data, so updating the index updates the answers.
CA system message that lists the prices
Prompts guide how the model uses retrieved content. A weekly price list belongs in an index that retrieval can query.
20 / 24
-
Quick check
Finance documents sit in the same index as general documents. How do you keep them away from other staff?
ATell the model in the system message to hide finance content
The model only sees what retrieval returns, and retrieved content is untrusted input. Access has to be enforced before the model sees anything.
BGive each team its own API key for the search service
API keys aren't recommended for production and don't trim individual documents per user.
CApply document-level access control with security filters
Right. Access control applied at retrieval time, through security filters, returns only content the user is authorized to see.
22 / 24
-
Quick check
Which pairing of need and retrieval method is correct?
AGA-only policy and existing code: agentic retrieval
GA-only requirements and existing orchestration code point to classic RAG, since agentic query planning is preview.
BMaximum recall from one request: a hybrid query
Right. A hybrid query combines keyword and vector search in one request for maximum recall.
CWeekly changing facts: fine-tuning the model
Fresh or frequently changing knowledge belongs in RAG; fine-tuning changes behavior, style, or task performance.
24 / 24
-
10 quick checks · then the test
In the app, finishing the quick checks opens this lesson’s 10-question test, and the ones you miss come back exactly when you’re about to forget them.
