AIP-C01 practice question: Semantic, hybrid search and reranking
Foundation Model Integration, Data Management, and Compliance A free question from our original AIP-C01 practice exam. Try it, then open the answer to see why each option is right or wrong.
A hardware distributor runs a search box over 400,000 product records. Buyers type exact part numbers, such as XK-4471-B, and also describe what they need in plain language, such as a quiet pump for well water.
Vector-only search finds the descriptions well but often returns the wrong item for a part number, because codes carry little meaning in an embedding. Keyword-only search finds the part numbers but misses the descriptions.
The results must satisfy both query types in one search box, with the best match at the top, and the distributor wants to keep its current OpenSearch index.
Which change meets these requirements?
Choose one answer.
AA. Run hybrid search in the OpenSearch index, combining keyword matching on part numbers with vector similarity on descriptions, and then rerank the merged results.
BB. Keep vector-only search, and increase the chunk size of each product record so that the part number sits closer to the surrounding words in the embedding.
CC. Keep keyword-only search, and maintain a long synonym list that maps common descriptions such as quiet pump or well water to the matching part numbers.
DD. Fine-tune an embedding model on pairs of part numbers and descriptions so codes land near their descriptions, and keep vector-only search with it.
B. Wrong: Longer records make the embedding more diluted, and the part number still carries little meaning in a vector. This does not fix exact code matches, so the first requirement is missed.
C. Wrong: A synonym list has to be updated by hand for every new product and phrasing, and it can never cover the variety of plain-language descriptions. It misses the meaning requirement and adds ongoing maintenance.
D. Wrong: Fine-tuning needs a large set of labeled pairs and a training project, which delays the change and adds cost. Codes may still match poorly against unseen numbers, so this does not guarantee exact matches.
Explanation
Hybrid search covers exact part numbers through keywords and plain-language descriptions through vectors, within the existing OpenSearch index, and a reranker sets the final order. Longer records, synonym lists and fine-tuning each leave one query type poorly served or add ongoing effort.
Want more on Semantic, hybrid search and reranking? The 5 full-length practice sets have 5 more Semantic, hybrid search and reranking questions, 375 in all, none of them in the free exam. One payment of $14.99, no subscription. See the practice sets →