Question 90
A team proposes doubling chunk size because one question improved. What evidence should guide adoption?
- Approve solely on the successful question
- Evaluate only grammatical fluency
- Compare retrieval and answer metrics across representative question types under a fixed context budget
- Compare only total indexed bytes
Explanation
Correct Answer
C:Larger chunks can improve context while diluting matching precision. A diverse controlled evaluation exposes both effects.
Incorrect Answers
A:One example cannot characterize the effect on narrow factual and multi-step questions. The change may regress other categories.
B:A fluent response can lack the relevant source. Segmentation primarily changes available evidence and must be assessed accordingly.
D:Storage measures resource consumption rather than whether retrieved passages contain usable evidence.
Question 91
General embeddings confuse specialized chemical abbreviations that domain-aware candidates distinguish. How should the developer choose a replacement?
- Evaluate candidate embeddings on labeled domain retrieval queries and operational constraints
- Choose whichever embedding returns the largest numeric values
- Choose the generator with the longest answers
- Select the embedding with the highest dimensionality without domain testing
- Select by the number of downloads alone
Explanation
Correct Answer
A:Domain recall and ranking test the actual representation need. Include latency, dimensionality, and migration costs before selecting a candidate.
Incorrect Answers
B:Vector magnitude alone does not measure semantic discrimination. Values depend on representation and similarity configuration.
C:Generation length does not evaluate embedding separation. The confused abbreviations occur before response generation.
D:More dimensions can increase storage and compute but do not guarantee better separation of domain abbreviations.
E:Popularity can guide discovery but does not establish performance on the specialized vocabulary.
Question 92
English questions fail to retrieve relevant Arabic documents in an otherwise functioning index. Which experiment best tests the representation issue?
- Evaluate cross-language retrieval using multilingual embeddings or a controlled translation path
- Filter the corpus to English documents only
- Use language detection as the final answer
- Increase English completion length
Explanation
Correct Answer
A:Queries and documents need comparable semantic representations across languages. Test translations for preserved domain meaning and assess the full retrieval result.
Incorrect Answers
B:This removes the needed evidence rather than enabling cross-language retrieval.
C:Detection can support routing, but it neither translates nor retrieves the source material.
D:Output capacity does not align Arabic source representations with English queries.
Question 93
A question asks how two independent product warranties differ. A single search retrieves evidence for only the more popular product. What query strategy fits?
- Repeat the original query unchanged several times
- Ask the model to infer the missing warranty
- Decompose the comparison into product-specific retrievals, then combine cited evidence
- Rerank the same one-product candidate set without retrieving the other product
- Increase the creativity of the final comparison
Explanation
Correct Answer
C:Separate searches prevent one entity from dominating candidate selection. The synthesis must preserve which warranty each passage describes.
Incorrect Answers
A:Deterministic retrieval may return the same dominant product. Repetition does not deliberately obtain the missing side.
B:Inference from another product is not authoritative evidence. It risks fabricating contractual differences.
D:Reranking can improve ordering but cannot supply the missing comparison evidence from an absent product.
E:More varied wording cannot compensate for missing source coverage.
Question 94
A query-expansion model adds a related but incorrect product name, lowering retrieval precision. Which mitigation is most suitable?
- Remove exact product identifiers from every query
- Increase the number of expanded searches without checking generated entity names
- Accept every generated expansion as authoritative
- Constrain expansion to supported query meaning and compare results against the original query
Explanation
Correct Answer
D:Expansion should improve recall without silently replacing entities. Retaining the original query provides a baseline and fallback.
Incorrect Answers
A:Identifiers are important anchors. Deleting them increases the drift already observed.
B:More searches can amplify the wrong product substitution. The defect is expansion fidelity rather than an insufficient candidate count.
C:Generated terms are hypotheses, not verified user intent. Unchecked expansion can redirect evidence selection.
Question 95
After discussing device XR-8, a user asks, "Does it support offline mode?" Independent retrieval of that sentence fails. Which preprocessing step fits?
- Search only for the pronoun it
- Answer from the last generated sentence without retrieval
- Append every prior conversation from every user
- Resolve the reference using authorized conversation context before issuing a standalone search
Explanation
Correct Answer
D:A rewritten query can include XR-8 while preserving the user's question. Validate that reference resolution does not substitute another device.
Incorrect Answers
A:The pronoun contains no device identity. It cannot discriminate relevant product documentation.
B:A previous response may not contain offline-mode evidence. Conversation continuity does not establish factual support.
C:Cross-user histories create privacy risks and unrelated context. Reference resolution requires only the current authorized session.
Question 96
A knowledge assistant retrieves passages whose scores are weak and whose contents do not answer the question. What behavior best preserves trust?
- Treat any nonempty retrieval result as sufficient
- Use an evaluated evidence-sufficiency rule to abstain or request clarification
- Present the highest-scoring passage as proof regardless of content
- Invent a citation to a likely manual page
Explanation
Correct Answer
B:The application should distinguish missing support from a supported answer. Thresholds need calibration because raw similarity is not a factual-confidence probability.
Incorrect Answers
A:Unrelated passages can be nonempty. Sufficiency depends on whether the requested facts are supported.
C:Ranking chooses a relative best candidate, which can still be irrelevant. A top result does not guarantee answerability.
D:A fabricated reference conceals the absence of evidence and misleads the reader.
Question 97
Search returns two policies with conflicting limits. Both are relevant, but only one is currently approved. Which retrieval control most directly resolves authority?
- Use effective-date and approval metadata to select the applicable revision
- Average the two limits
- Let generation temperature determine the version
- Select whichever passage has more words
- Choose the passage with the highest similarity score as the approved policy
Explanation
Correct Answer
A:Semantic closeness cannot establish policy authority. Verified lifecycle metadata identifies which revision governs the requested date.
Incorrect Answers
B:A numerical compromise does not implement either policy. It creates an unsupported third rule.
C:Sampling variability is unrelated to document authority and can produce inconsistent policy advice.
D:Length does not indicate approval or applicability. An obsolete policy may be more detailed.
E:Semantic relevance identifies topic fit, not effective-date authority. An obsolete version can be the closest lexical or vector match.
Question 98
A generated answer cites a genuine document but the cited passage does not support its main claim. What validation is missing?
- Count all citations as correct whenever documents exist
- Check claim-to-passage support rather than merely source existence
- Check only whether the cited document was approved for ingestion
- Check only that each cited passage is topically similar to the question
Explanation
Correct Answer
B:A resolvable citation establishes provenance location, not entailment. Validate that the referenced text supports the specific assertion.
Incorrect Answers
A:Existence and support are separate properties. This rule would accept the failure described.
C:Approval establishes source eligibility, not whether this particular passage supports this particular claim. Claim-to-evidence alignment remains necessary.
D:Topical similarity does not entail the specific assertion. A passage can discuss refunds without supporting the answer's exact refund deadline.
Question 99
A developer wants full control over prompt construction after obtaining Bedrock knowledge-base passages. Which API approach fits?
- Use Retrieve and assemble the generation request in application code
- Use an ingestion job as the synchronous query API
- Change only the knowledge-base display name
- Assume Retrieve always generates the final narrative
Explanation
Correct Answer
A:Retrieval can be separated from generation so the application controls context selection and prompting. It must preserve authorization and citations itself.
Incorrect Answers
B:Ingestion updates indexed content. It is not the interface for answering a user's current question.
C:Naming does not change the API boundary or expose a custom generation stage.
D:The retrieval operation returns search results rather than completing the entire response workflow.
Question 100
An application uses RetrieveAndGenerate for a continuing dialogue. What should it do with the session identifier returned by the service?
- Replace document metadata with the session identifier
- Treat it as an IAM credential
- Associate it with the correct user conversation and reuse it for that conversation as documented
- Use one returned identifier for all customers
Explanation
Correct Answer
C:Session continuity must stay within the intended interaction. Mixing identifiers can confuse context and compromise isolation.
Incorrect Answers
A:Conversation continuity does not define document ownership or source lineage.
B:A conversation identifier is not authority to access AWS resources. Authentication remains separate.
D:Shared session state can mix unrelated dialogue. It is incompatible with per-conversation continuity.