100% Latest & Updated Amazon AWS Certified AI Practitioner AIF-C01 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 460
A public chatbot receives a request to ignore system constraints and expose hidden configuration. The proposed solution is: Recognize the instruction as a jailbreak attempt rather than a legitimate support task. Which ongoing safeguard most directly addresses the risks of this solution?
- Require application-side authorization for any financial action.
- Reject malformed output rather than executing partially parsed fields.
- Keep credentials out of the model context regardless of prompt protections.
- Promote variants only after reviewing regressions and unsafe outputs.
Explanation
Correct Answer
C:Keep sensitive credentials out of model context so a jailbreak cannot recover those secrets.
Incorrect Answers
A:Financial tool authorization is another safety boundary but may not protect hidden system prompt data.
B:Malformed JSON rejection does not prevent a text reply from exposing secrets.
D:Reviewing prompt revisions helps governance but does not prevent secret exposure by itself.
Question 461
A retrieved knowledge-base article contains text disguised as a developer message telling a finance agent to authorize a payment. What SECURITY THREAT does this forged instruction represent?
- Adopt a versioned prompt template with explicit variable fields.
- State a clear negative constraint and enforce it through output validation.
- Separate untrusted retrieved content from higher-priority system instructions.
- Treat the document instruction as prompt injection carried by lower-trust content.
Explanation
Correct Answer
D:A knowledge-base document pretending to authorize payments is a prompt-injection attempt from lower-trust material.
Incorrect Answers
A:A versioned template does not classify the forged developer message in the retrieved source.
B:Negative constraints help outputs but do not characterize the untrusted-source attack.
C:Keeping retrieved content lower priority is a valid defense, but the question asks WHAT threat the forged instruction represents.
Question 462
A finance agent has read a retrieved document with a forged payment instruction. Which implementation boundary DIRECTLY prevents instructions from that document authorizing payment-tool calls?
- Apply policy enforcement and test resistance to conflicting user instructions.
- Pass external content as tagged data instead of merging it into system instructions.
- Exclude source-embedded commands from the decision to call financial tools.
- Provide a few varied annotated invoice input-output examples in the prompt.
Explanation
Correct Answer
C:Never allow commands embedded in source documents to authorize or trigger financial tool operations.
Incorrect Answers
A:Generic conflicting-instruction tests are useful but do not themselves enforce the financial tool-call boundary.
B:Tagging retrieved material as data reduces confusion but cannot replace tool-layer authorization for payment actions.
D:Few-shot invoice format examples are unrelated to payment privilege escalation.
Question 463
A knowledge base document contains text pretending to be a developer message that authorizes a payment. The proposed solution is: Treat the document instruction as prompt injection carried by lower-trust content. Which measurement would most directly verify that the solution meets the stated requirement?
- Compare completeness and consistency against a documented review rubric.
- Measure only the average number of characters in retrieved documents, without executing any adversarial instruction test.
- Test that the model extracts facts but never obeys document-level privilege escalation.
- Count the number of retrieval chunks processed even when the model executes the forged developer-level payment instruction.
Explanation
Correct Answer
C:Use adversarial retrieved documents and verify the assistant extracts facts without performing document-origin privileged actions.
Incorrect Answers
A:A general review rubric does not test whether a forged document message can trigger payment.
B:Document character counts say nothing about resisting lower-trust source instructions.
D:Chunk count is not a safety measure if embedded instructions can authorize payments.
Question 464
A knowledge base document contains text pretending to be a developer message that authorizes a payment. The proposed solution is: Treat the document instruction as prompt injection carried by lower-trust content. Which ongoing safeguard most directly addresses the risks of this solution?
- Require application-side authorization for any financial action.
- Review template changes before broad deployment.
- Do not include real payment credentials in exemplars.
- Provide a rollback path for a harmful prompt revision.
Explanation
Correct Answer
A:Require independent application-side authorization before any payment action, regardless of retrieved text.
Incorrect Answers
B:Prompt template review may reduce mistakes but does not guard actual financial tool calls.
C:Removing credentials from examples helps secrecy but does not authorize payments.
D:Prompt rollback helps after a failure but cannot enforce transaction permissions at execution time.
Question 465
A team frequently changes model prompts but cannot tell which version generated an inaccurate answer. Which AI approach most directly fits this specific requirement?
- Separate untrusted retrieved content from higher-priority system instructions.
- Use Amazon Bedrock Prompt Management or equivalent versioned prompt control.
- Improve prompt specificity with audience, facts, length and expected sections.
- Use few-shot examples to demonstrate the intended extraction mapping.
Explanation
Correct Answer
B:Use versioned prompt management to identify the exact prompt used when an answer was produced.
Incorrect Answers
A:Document trust boundaries defend against source injection, not attribution of a response to a prompt revision.
C:Clearer prompt audience and sections may improve text but do not provide version traceability.
D:Few-shot examples teach output format rather than release identity.
Question 466
A team frequently changes model prompts but cannot tell which version generated an inaccurate answer. The team selects the approach: Use Amazon Bedrock Prompt Management or equivalent versioned prompt control. Which implementation step directly puts that plan into practice?
- Supply the current authorized policy excerpts with a cite-or-abstain instruction.
- Describe the report's purpose, target readers and exact required fields.
- Store immutable prompt revisions and record the deployed version in evaluations.
- Run alternative prompts against the same scored test cases and output rubric.
Explanation
Correct Answer
C:Persist immutable prompt IDs and record their model configuration in each evaluation or response trace.
Incorrect Answers
A:Source passage grounding improves answer support but does not uniquely identify deployed prompt version.
B:Report field descriptions do not store historical prompt revisions.
D:Comparative test runs are useful but alone cannot associate a production answer with the precise deployed revision.
Question 467
A team frequently changes model prompts but cannot tell which version generated an inaccurate answer. The proposed solution is: Use Amazon Bedrock Prompt Management or equivalent versioned prompt control. Which measurement would most directly verify that the solution meets the stated requirement?
- Trace problematic responses to the exact prompt and model configuration.
- Evaluate correctness on independent task examples.
- Use adversarial tests that inject conflicting instructions into each content source.
- Test that the model extracts facts but never obeys document-level privilege escalation.
Explanation
Correct Answer
A:Trace the inaccurate answer to the recorded prompt revision and model configuration to reproduce it.
Incorrect Answers
B:Independent task evaluation measures output quality but may not identify the version deployed for this response.
C:Adversarial source instruction tests concern security, not version provenance.
D:Privilege-escalation tests address tool safety, not prompt-run traceability.
Question 468
A team frequently changes model prompts but cannot tell which version generated an inaccurate answer. The proposed solution is: Use Amazon Bedrock Prompt Management or equivalent versioned prompt control. Which ongoing safeguard most directly addresses the risks of this solution?
- Restrict prompt promotion permissions and preserve rollback versions.
- Do not include real payment credentials in exemplars.
- Avoid inserting secrets into reusable template instructions.
- Add logging controls so raw prompts do not recreate the sensitive exposure.
Explanation
Correct Answer
A:Limit who can promote prompt versions and preserve a rollback-capable history.
Incorrect Answers
B:Removing payment credentials from examples reduces data exposure but not version-control drift.
C:Excluding secrets from templates is prudent but unrelated to who can change deployed prompts.
D:Raw prompt logging privacy is a different control from release promotion authorization.
Question 469
A policy bot replies with plausible but unsupported rules when asked about recently revised policies. Which AI approach most directly fits this specific requirement?
- Separate untrusted retrieved content from higher-priority system instructions.
- Ground the prompt with retrieved authoritative passages and source constraints.
- Improve prompt specificity with audience, facts, length and expected sections.
- Use Amazon Bedrock Prompt Management or equivalent versioned prompt control.
Explanation
Correct Answer
B:Ground policy answers in authorized current passages and demand source support for claims.
Incorrect Answers
A:Trust boundary separation helps prompt injection but does not supply current rule sources.
C:Better prose instructions alone can still fabricate recently changed rules.
D:Versioning a prompt does not update the policy facts retrieved by it.
Question 470
A policy bot replies with plausible but unsupported rules when asked about recently revised policies. The team selects the approach: Ground the prompt with retrieved authoritative passages and source constraints. Which implementation step directly puts that plan into practice?
- Describe the report's purpose, target readers and exact required fields.
- Supply the current authorized policy excerpts with a cite-or-abstain instruction.
- Provide a few varied annotated invoice input-output examples in the prompt.
- Store immutable prompt revisions and record the deployed version in evaluations.
Explanation
Correct Answer
B:Retrieve relevant approved policy text and require citation or abstention if evidence is missing.
Incorrect Answers
A:Report audience/section descriptions are not current source evidence.
C:Invoice examples are unrelated to policy source correctness.
D:Storing a prompt version does not ensure it includes the revised policy text.
AWS Certified AI Practitioner AIF-C01 Practice Tests