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 12
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.
Question 111
A stateless chatbot forgets the user's verified order number between turns. What architecture is needed?
- Partition session state by authenticated tenant and user identity with access checks.
- Persist authorized conversation state and supply only required history for each request.
- Track workflow checkpoint and side-effect operation IDs separately from the chat transcript.
- Summarize verified older state and retrieve focused history rather than replaying everything.
Explanation
Correct Answer
B:Model calls do not automatically retain external client context across invocations.
Incorrect Answers
A:Memory retrieval is a data-access operation and must honor identity boundaries; model calls do not automatically retain external client context across invocations.
C:Business state and idempotency records must survive retries to prevent repeated mutations. Model calls do not automatically retain external client context across invocations.
D:Context compression preserves important facts while keeping the request within model limits, but model calls do not automatically retain external client context across invocations.
Question 112
A service caches full conversation logs indefinitely for convenience. What is a safer memory design?
- Define bounded retention, purpose limitation, and selective redaction of session memory.
- Summarize verified older state and retrieve focused history rather than replaying everything.
- Partition session state by authenticated tenant and user identity with access checks.
- Persist authorized conversation state and supply only required history for each request.
Explanation
Correct Answer
A:Conversation context can contain sensitive information that should not be stored without limit.
Incorrect Answers
B:Context compression preserves important facts while keeping the request within model limits. Conversation context can contain sensitive information that should not be stored without limit.
C:Memory retrieval is a data-access operation and must honor identity boundaries, but conversation context can contain sensitive information that should not be stored without limit.
D:Model calls do not automatically retain external client context across invocations. Conversation context can contain sensitive information that should not be stored without limit.
Question 113
An agent resumes a complex refund workflow after a crash but repeats a payment reversal. What should memory include?
- Partition session state by authenticated tenant and user identity with access checks.
- Persist authorized conversation state and supply only required history for each request.
- Track workflow checkpoint and side-effect operation IDs separately from the chat transcript.
- Define bounded retention, purpose limitation, and selective redaction of session memory.
Explanation
Correct Answer
C:Business state and idempotency records must survive retries to prevent repeated mutations.
Incorrect Answers
A:Memory retrieval is a data-access operation and must honor identity boundaries. Business state and idempotency records must survive retries to prevent repeated mutations.
B:Model calls do not automatically retain external client context across invocations, but business state and idempotency records must survive retries to prevent repeated mutations.
D:Conversation context can contain sensitive information that should not be stored without limit; business state and idempotency records must survive retries to prevent repeated mutations.
Question 114
A conversation context approaches the supported window while older turns are still relevant. What memory strategy fits?
- Track workflow checkpoint and side-effect operation IDs separately from the chat transcript.
- Define bounded retention, purpose limitation, and selective redaction of session memory.
- Summarize verified older state and retrieve focused history rather than replaying everything.
- Persist authorized conversation state and supply only required history for each request.
Explanation
Correct Answer
C:Context compression preserves important facts while keeping the request within model limits.
Incorrect Answers
A:Business state and idempotency records must survive retries to prevent repeated mutations, but context compression preserves important facts while keeping the request within model limits.
B:Conversation context can contain sensitive information that should not be stored without limit. Context compression preserves important facts while keeping the request within model limits.
D:Model calls do not automatically retain external client context across invocations, whereas context compression preserves important facts while keeping the request within model limits.
Question 115
A new chat starts under another tenant but loads the previous tenant's conversation memory. What isolation is necessary?
- Define bounded retention, purpose limitation, and selective redaction of session memory.
- Summarize verified older state and retrieve focused history rather than replaying everything.
- Track workflow checkpoint and side-effect operation IDs separately from the chat transcript.
- Partition session state by authenticated tenant and user identity with access checks.
Explanation
Correct Answer
D:Memory retrieval is a data-access operation and must honor identity boundaries.
Incorrect Answers
A:Conversation context can contain sensitive information that should not be stored without limit. Memory retrieval is a data-access operation and must honor identity boundaries.
B:Context compression preserves important facts while keeping the request within model limits; memory retrieval is a data-access operation and must honor identity boundaries.
C:Business state and idempotency records must survive retries to prevent repeated mutations, whereas memory retrieval is a data-access operation and must honor identity boundaries.
Question 116
A production team edits a prompt in place and cannot reproduce prior outputs. What governance action is needed?
- Deploy immutable, versioned prompt snapshots linked to an application release.
- Use parameterized runtime variables and secret minimization rather than hardcoding customer data.
- Include prompt-output schema compatibility tests in the deployment gate.
- Log approved prompt version, model ID, request correlation ID, and decision outcome with redaction.
Explanation
Correct Answer
A:A fixed prompt version permits comparison and rollback after behavior changes.
Incorrect Answers
B:Templates should remain portable and avoid accidental long-lived secret storage, whereas a fixed prompt version permits comparison and rollback after behavior changes.
C:Prompt changes can be breaking API changes even without code modifications. A fixed prompt version permits comparison and rollback after behavior changes.
D:Versioned trace evidence links an output to its governed configuration without exposing unnecessary raw data, but a fixed prompt version permits comparison and rollback after behavior changes.
Question 117
Several prompt variants exist, but the team selects one based on subjective preference. What comparison is appropriate?
- Evaluate prompt variants against a common labeled holdout set and business metrics.
- Include prompt-output schema compatibility tests in the deployment gate.
- Deploy immutable, versioned prompt snapshots linked to an application release.
- Log approved prompt version, model ID, request correlation ID, and decision outcome with redaction.
Explanation
Correct Answer
A:Controlled evaluation can show tradeoffs in accuracy, latency, and safety.
Incorrect Answers
B:Prompt changes can be breaking API changes even without code modifications. Controlled evaluation can show tradeoffs in accuracy, latency, and safety.
C:A fixed prompt version permits comparison and rollback after behavior changes, but controlled evaluation can show tradeoffs in accuracy, latency, and safety.
D:Versioned trace evidence links an output to its governed configuration without exposing unnecessary raw data. Controlled evaluation can show tradeoffs in accuracy, latency, and safety.
Question 118
A shared template embeds a customer's secret inside a reusable prompt. What should be changed?
- Evaluate prompt variants against a common labeled holdout set and business metrics.
- Use parameterized runtime variables and secret minimization rather than hardcoding customer data.
- Log approved prompt version, model ID, request correlation ID, and decision outcome with redaction.
- Deploy immutable, versioned prompt snapshots linked to an application release.
Explanation
Correct Answer
B:Templates should remain portable and avoid accidental long-lived secret storage.
Incorrect Answers
A:Controlled evaluation can show tradeoffs in accuracy, latency, and safety. Templates should remain portable and avoid accidental long-lived secret storage.
C:Versioned trace evidence links an output to its governed configuration without exposing unnecessary raw data. Templates should remain portable and avoid accidental long-lived secret storage.
D:A fixed prompt version permits comparison and rollback after behavior changes; templates should remain portable and avoid accidental long-lived secret storage.
Question 119
A new prompt version changes answer labels without corresponding client updates. What release requirement helps?
- Evaluate prompt variants against a common labeled holdout set and business metrics.
- Deploy immutable, versioned prompt snapshots linked to an application release.
- Use parameterized runtime variables and secret minimization rather than hardcoding customer data.
- Include prompt-output schema compatibility tests in the deployment gate.
Explanation
Correct Answer
D:Prompt changes can be breaking API changes even without code modifications.
Incorrect Answers
A:Controlled evaluation can show tradeoffs in accuracy, latency, and safety, but prompt changes can be breaking API changes even without code modifications.
B:A fixed prompt version permits comparison and rollback after behavior changes. Prompt changes can be breaking API changes even without code modifications.
C:Templates should remain portable and avoid accidental long-lived secret storage; prompt changes can be breaking API changes even without code modifications.
Question 120
A legal RAG assistant is about to be deployed for regulated interpretations. Choose THREE controls that establish a defensible workflow for cited answers and prohibited actions.
- Filter retrieved legal documents by the caller's authorization before model context assembly.
- Require source-passage citations and refuse claims unsupported by retrieved authoritative evidence.
- Feed entire unrestricted document archives to the model to maximize recall.
- Validate structured output and require separately authenticated approval for consequential downstream changes.
- Let quoted documents change system instructions when the author is a senior employee.
- Rely solely on temperature zero as a factual verification process.
Explanation
Correct Answers
A:Data access must be enforced before confidential passages reach the model.
B:A plausible answer is not proof of a legal conclusion without current sources.
D:Generated text cannot authorize legal or financial side effects on its own.
Incorrect Answers
C:Excess context is both an authorization risk and a source of irrelevant evidence.
E:Document contents are still lower-trust evidence, not runtime policy authority.
F:Stable sampling does not guarantee legal groundedness.
AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests