Question 14
Domain 3: Application DevelopmentA development team is choosing an embedding model for a retrieval system. Their documents vary in size, users often submit longer natural-language questions, and the team plans to optimize for retrieval quality rather than only indexing speed. Which factor combination should primarily guide the choice of embedding model context length?
Correct answer: B
Explanation
Choose embedding model context length by weighing source document length, expected query patterns, and the optimization strategy together rather than relying on only one of those factors. — official.txt
Why each option is right or wrong
A. The average document length alone should determine the context length selection.
Context length selection considers source documents, expected queries, and optimization strategy together.
B. The source document length, expected query patterns, and optimization strategy should be evaluated together.
The source material states that selecting an embedding model context length is done by considering source document length, expected query patterns, and the optimization strategy. In this scenario, the team has variation in document size, longer user questions, and a stated retrieval-quality goal, so all three factors must be used together to choose the context length.
C. The expected query patterns alone should drive the context length because retrieval starts with the user query.
Context length selection is not based only on expected queries; source documents and optimization strategy also matter.
D. The optimization strategy alone should determine the context length because performance goals outweigh input characteristics.
Optimization strategy is only one consideration alongside source document length and expected query patterns.