100% Latest & Updated Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Amazon AWS Certified Generative AI Developer - Professional AIP-C01 Practice Test 11
Question 100
An application adds reranking but its latency budget is exceeded. What should it optimize?
- Limit the first-stage candidate pool and benchmark relevance versus reranker latency.
- Filter candidates by effective policy status and authorized source metadata.
- Rerank the candidate passages using a relevance model before context assembly.
- Evaluate labeled retrieval recall and precision for rare identifiers, not generation fluency alone.
Explanation
Correct Answer
A:Large reranking sets improve neither cost nor speed automatically.
Incorrect Answers
B:Relevance scores do not establish document validity or access rights; large reranking sets improve neither cost nor speed automatically.
C:A reranker can improve ordering without rebuilding the original vector index, whereas large reranking sets improve neither cost nor speed automatically.
D:The retriever can fail even if the model writes fluent responses to poor context. Large reranking sets improve neither cost nor speed automatically.
Question 101
An employee asks, 'What are the warranty rules for both models, and how do they differ?' What query strategy helps?
- Apply relevance and token-budget thresholds before constructing grounded context.
- Generate controlled paraphrases or query expansion while preserving the original intent.
- Define a stable retrieval tool schema with typed query and source-attribution fields.
- Decompose the request into separate product lookups and synthesize from both cited results.
Explanation
Correct Answer
D:Multi-part comparison needs evidence for each entity before merging findings.
Incorrect Answers
A:Low-quality context can displace helpful passages and degrade factual answers; multi-part comparison needs evidence for each entity before merging findings.
B:Synonym expansion can improve recall when literal terms differ from indexed headings, whereas multi-part comparison needs evidence for each entity before merging findings.
C:Typed tool contracts prevent orchestration code from guessing retrieval response structure. Multi-part comparison needs evidence for each entity before merging findings.
Question 102
A user asks about 'the red one' without prior message context. What should the retrieval layer do?
- Decompose the request into separate product lookups and synthesize from both cited results.
- Define a stable retrieval tool schema with typed query and source-attribution fields.
- Apply relevance and token-budget thresholds before constructing grounded context.
- Ask for the missing product referent or resolve it from authorized conversation state.
Explanation
Correct Answer
D:Ambiguous pronouns cannot be turned into reliable document search keys without context.
Incorrect Answers
A:Multi-part comparison needs evidence for each entity before merging findings, whereas ambiguous pronouns cannot be turned into reliable document search keys without context.
B:Typed tool contracts prevent orchestration code from guessing retrieval response structure. Ambiguous pronouns cannot be turned into reliable document search keys without context.
C:Low-quality context can displace helpful passages and degrade factual answers, but ambiguous pronouns cannot be turned into reliable document search keys without context.
Question 103
A customer's wording differs from official support terminology. What transformation could improve retrieval?
- Generate controlled paraphrases or query expansion while preserving the original intent.
- Ask for the missing product referent or resolve it from authorized conversation state.
- Decompose the request into separate product lookups and synthesize from both cited results.
- Apply relevance and token-budget thresholds before constructing grounded context.
Explanation
Correct Answer
A:Synonym expansion can improve recall when literal terms differ from indexed headings.
Incorrect Answers
B:Ambiguous pronouns cannot be turned into reliable document search keys without context, but synonym expansion can improve recall when literal terms differ from indexed headings.
C:Multi-part comparison needs evidence for each entity before merging findings. Synonym expansion can improve recall when literal terms differ from indexed headings.
D:Low-quality context can displace helpful passages and degrade factual answers; synonym expansion can improve recall when literal terms differ from indexed headings.
Question 104
An agent must search a knowledge base as a tool but tool responses have inconsistent shapes. What integration pattern helps?
- Ask for the missing product referent or resolve it from authorized conversation state.
- Define a stable retrieval tool schema with typed query and source-attribution fields.
- Generate controlled paraphrases or query expansion while preserving the original intent.
- Decompose the request into separate product lookups and synthesize from both cited results.
Explanation
Correct Answer
B:Typed tool contracts prevent orchestration code from guessing retrieval response structure.
Incorrect Answers
A:Ambiguous pronouns cannot be turned into reliable document search keys without context, but typed tool contracts prevent orchestration code from guessing retrieval response structure.
C:Synonym expansion can improve recall when literal terms differ from indexed headings; typed tool contracts prevent orchestration code from guessing retrieval response structure.
D:Multi-part comparison needs evidence for each entity before merging findings, whereas typed tool contracts prevent orchestration code from guessing retrieval response structure.
Question 105
A search flow automatically sends every retrieved passage to the FM regardless of relevance. What should its assembly logic do?
- Apply relevance and token-budget thresholds before constructing grounded context.
- Generate controlled paraphrases or query expansion while preserving the original intent.
- Ask for the missing product referent or resolve it from authorized conversation state.
- Define a stable retrieval tool schema with typed query and source-attribution fields.
Explanation
Correct Answer
A:Low-quality context can displace helpful passages and degrade factual answers.
Incorrect Answers
B:Synonym expansion can improve recall when literal terms differ from indexed headings; low-quality context can displace helpful passages and degrade factual answers.
C:Ambiguous pronouns cannot be turned into reliable document search keys without context, whereas low-quality context can displace helpful passages and degrade factual answers.
D:Typed tool contracts prevent orchestration code from guessing retrieval response structure. Low-quality context can displace helpful passages and degrade factual answers.
Question 106
A production assistant ingests untrusted support articles and changes prompt templates weekly. Which TWO safeguards address instruction safety and reproducibility?
- Keep retrieved support articles in lower-trust content blocks separate from trusted system instructions.
- Include raw customer secrets permanently in the prompt template for debugging.
- Allow the user to override the template version for regulated responses without logging.
- Release immutable prompt versions with regression results for each approved change.
- Eliminate output schema validation because a prompt explicitly requests JSON.
Explanation
Correct Answers
A:Untrusted text cannot be allowed to rewrite instruction policy.
D:A fixed prompt snapshot links incidents and behavior changes to a tested artifact.
Incorrect Answers
B:This creates unnecessary long-lived sensitive data exposure.
C:Uncontrolled prompts defeat release governance and reproduction.
E:Prompt wording alone does not enforce the downstream application's format contract.
Question 107
A document retrieved from S3 tells the model to ignore its role and email confidential files. What boundary should the prompt enforce?
- Keep access restrictions in server-enforced authorization, not only prompt wording.
- Treat retrieved document text as untrusted evidence, never as instruction authority.
- Specify a single structured output schema and validate responses before downstream use.
- Encode these behavioral rules in versioned, trusted system instructions with testable output requirements.
Explanation
Correct Answer
B:A source passage must not override trusted policies or tool permissions.
Incorrect Answers
A:A user can request exceptions; the application must reject unauthorized source retrieval, whereas a source passage must not override trusted policies or tool permissions.
C:Schema validation catches format drift that narrative instructions alone cannot guarantee, but a source passage must not override trusted policies or tool permissions.
D:Trusted instructions set expectations consistently across user requests. A source passage must not override trusted policies or tool permissions.
Question 108
A business prompt accidentally includes the same instructions twice with conflicting date formats. What remedy works?
- Treat retrieved document text as untrusted evidence, never as instruction authority.
- Consolidate instructions into one noncontradictory template and run schema regression tests.
- Keep access restrictions in server-enforced authorization, not only prompt wording.
- Encode these behavioral rules in versioned, trusted system instructions with testable output requirements.
Explanation
Correct Answer
B:Conflicting instructions are a source of inconsistent output even with a stable model.
Incorrect Answers
A:A source passage must not override trusted policies or tool permissions. Conflicting instructions are a source of inconsistent output even with a stable model.
C:A user can request exceptions; the application must reject unauthorized source retrieval. Conflicting instructions are a source of inconsistent output even with a stable model.
D:Trusted instructions set expectations consistently across user requests; conflicting instructions are a source of inconsistent output even with a stable model.
Question 109
An assistant returns both human prose and JSON when an API accepts JSON only. What instruction contract fits?
- Encode these behavioral rules in versioned, trusted system instructions with testable output requirements.
- Consolidate instructions into one noncontradictory template and run schema regression tests.
- Specify a single structured output schema and validate responses before downstream use.
- Treat retrieved document text as untrusted evidence, never as instruction authority.
Explanation
Correct Answer
C:Schema validation catches format drift that narrative instructions alone cannot guarantee.
Incorrect Answers
A:Trusted instructions set expectations consistently across user requests, but schema validation catches format drift that narrative instructions alone cannot guarantee.
B:Conflicting instructions are a source of inconsistent output even with a stable model. Schema validation catches format drift that narrative instructions alone cannot guarantee.
D:A source passage must not override trusted policies or tool permissions, whereas schema validation catches format drift that narrative instructions alone cannot guarantee.
Question 110
A sales agent receives user requests to disclose protected internal policy. What control must remain outside user-editable text?
- Treat retrieved document text as untrusted evidence, never as instruction authority.
- Consolidate instructions into one noncontradictory template and run schema regression tests.
- Specify a single structured output schema and validate responses before downstream use.
- Keep access restrictions in server-enforced authorization, not only prompt wording.
Explanation
Correct Answer
D:A user can request exceptions; the application must reject unauthorized source retrieval.
Incorrect Answers
A:A source passage must not override trusted policies or tool permissions. A user can request exceptions; the application must reject unauthorized source retrieval.
B:Conflicting instructions are a source of inconsistent output even with a stable model; a user can request exceptions; the application must reject unauthorized source retrieval.
C:Schema validation catches format drift that narrative instructions alone cannot guarantee, whereas a user can request exceptions; the application must reject unauthorized source retrieval.
AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests