AWS Certified AI Practitioner (AIF-C01) · Objective 3.2
Prioritizing exact identifiers
3.2Standard
Search product codes, contract numbers, and natural-language questions.
Do not bury exact codes in semantic matches.
Choose two designs.
Hint 1: Focus on the requirement
Match the retrieval signal to the query: exact identifiers need lexical matching, while natural language benefits from combined semantic and lexical signals.
Hint 2: Key terms
Review identifier search and hybrid retrieval.
Hybrid search
Combining lexical matching with vector similarity or other retrieval signals.
Exact match
A retrieval condition requiring a token or identifier to match the stored value precisely.
Identifier search
Searching for codes, numbers, or names where exact characters carry important meaning.
Query intent
The purpose behind a query, such as finding an exact record or exploring related content.
× Incorrect
Prioritize exact or keyword signals for identifiers and combine keyword and vector search for natural language, evaluating query types separately.
Detailed explanation
A
CorrectPrioritize keyword or exact-match signals for codes and contract numbers
Similar identifiers are less likely to be confused.
B
IncorrectIgnore exact code matches when vector similarity is high
A similar number may be wrong.
C
IncorrectUse one search mode and metric for every query
Query-specific quality differences are hidden.
D
CorrectCombine vector and keyword search for natural language and evaluate by query type
Different search intents are covered.
Check official documentation
Compare the following points with the official documentation.
Path & Pass is an independent learning site and is not affiliated with any certification body. Questions are original practice content based on published objectives.