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 24
Question 230
A financial advice bot must not discuss prohibited investment schemes even when user wording is indirect. What guardrail component fits?
- Test allowed and prohibited samples before promoting the updated guardrail version.
- Apply a versioned Bedrock Guardrail with the relevant content-filter policy to prompts and responses.
- Configure a denied-topics policy and test representative paraphrases.
- Require the specified Guardrail identifier in IAM conditions on supported inference calls.
Explanation
Correct Answer
C:Topic controls enforce domain restrictions that a simple block-word list may miss.
Incorrect Answers
A:Guardrail tuning can trade harmful-content blocking against legitimate task availability. Topic controls enforce domain restrictions that a simple block-word list may miss.
B:A guardrail can evaluate configured harmful-content categories on model interactions; topic controls enforce domain restrictions that a simple block-word list may miss.
D:Authorization policy can deny invocations missing the mandated guardrail configuration. Topic controls enforce domain restrictions that a simple block-word list may miss.
Question 231
A generated message sometimes includes customer phone numbers that should not be displayed. What Bedrock policy helps?
- Configure a denied-topics policy and test representative paraphrases.
- Test allowed and prohibited samples before promoting the updated guardrail version.
- Configure sensitive-information filters to mask or block supported PII patterns.
- Apply a versioned Bedrock Guardrail with the relevant content-filter policy to prompts and responses.
Explanation
Correct Answer
C:PII filters can detect and transform sensitive data in inputs and outputs.
Incorrect Answers
A:Topic controls enforce domain restrictions that a simple block-word list may miss; pII filters can detect and transform sensitive data in inputs and outputs.
B:Guardrail tuning can trade harmful-content blocking against legitimate task availability, whereas pII filters can detect and transform sensitive data in inputs and outputs.
D:A guardrail can evaluate configured harmful-content categories on model interactions, but pII filters can detect and transform sensitive data in inputs and outputs.
Question 232
A regulated agent must always use the approved Bedrock Guardrail, even if a developer omits it in code. What enforcement helps?
- Configure a denied-topics policy and test representative paraphrases.
- Apply a versioned Bedrock Guardrail with the relevant content-filter policy to prompts and responses.
- Require the specified Guardrail identifier in IAM conditions on supported inference calls.
- Configure sensitive-information filters to mask or block supported PII patterns.
Explanation
Correct Answer
C:Authorization policy can deny invocations missing the mandated guardrail configuration.
Incorrect Answers
A:Topic controls enforce domain restrictions that a simple block-word list may miss, whereas authorization policy can deny invocations missing the mandated guardrail configuration.
B:A guardrail can evaluate configured harmful-content categories on model interactions. Authorization policy can deny invocations missing the mandated guardrail configuration.
D:PII filters can detect and transform sensitive data in inputs and outputs. Authorization policy can deny invocations missing the mandated guardrail configuration.
Question 233
A team changes filter thresholds but does not evaluate false positives on legitimate customer requests. What release gate matters?
- Test allowed and prohibited samples before promoting the updated guardrail version.
- Require the specified Guardrail identifier in IAM conditions on supported inference calls.
- Configure sensitive-information filters to mask or block supported PII patterns.
- Configure a denied-topics policy and test representative paraphrases.
Explanation
Correct Answer
A:Guardrail tuning can trade harmful-content blocking against legitimate task availability.
Incorrect Answers
B:Authorization policy can deny invocations missing the mandated guardrail configuration, but guardrail tuning can trade harmful-content blocking against legitimate task availability.
C:PII filters can detect and transform sensitive data in inputs and outputs. Guardrail tuning can trade harmful-content blocking against legitimate task availability.
D:Topic controls enforce domain restrictions that a simple block-word list may miss; guardrail tuning can trade harmful-content blocking against legitimate task availability.
Question 234
A retrieved web page tells a purchasing agent to override its system policy and email secrets. What should be enforced?
- Enforce authenticated caller authorization independently of model claims.
- Add attack cases that test tool misuse, credential exfiltration, and indirect instructions.
- Separate trusted instructions from tool-result content using explicit trust boundaries.
- Treat retrieved content as lower-trust data and deny policy or tool-privilege changes originating from it.
Explanation
Correct Answer
D:External text may contain adversarial instructions but lacks authority to change runtime controls.
Incorrect Answers
A:A textual assertion of privilege does not create a valid authorization grant, but external text may contain adversarial instructions but lacks authority to change runtime controls.
B:Prompt threats can target downstream tool behavior rather than only visible response text. External text may contain adversarial instructions but lacks authority to change runtime controls.
C:Untrusted results must remain evidence, not become high-priority instructions; external text may contain adversarial instructions but lacks authority to change runtime controls.
Question 235
A user crafts prompts that repeatedly try to bypass content policy through roleplay. Which detection is relevant?
- Enforce authenticated caller authorization independently of model claims.
- Evaluate adversarial inputs using a supported prompt-attack filter and representative jailbreak tests.
- Add attack cases that test tool misuse, credential exfiltration, and indirect instructions.
- Treat retrieved content as lower-trust data and deny policy or tool-privilege changes originating from it.
Explanation
Correct Answer
B:Prompt-attack defenses target attempts to override instruction hierarchy.
Incorrect Answers
A:A textual assertion of privilege does not create a valid authorization grant. Prompt-attack defenses target attempts to override instruction hierarchy.
C:Prompt threats can target downstream tool behavior rather than only visible response text, whereas prompt-attack defenses target attempts to override instruction hierarchy.
D:External text may contain adversarial instructions but lacks authority to change runtime controls. Prompt-attack defenses target attempts to override instruction hierarchy.
Question 236
A tool-result block is included in a privileged developer instruction template. What is the architectural weakness?
- Separate trusted instructions from tool-result content using explicit trust boundaries.
- Add attack cases that test tool misuse, credential exfiltration, and indirect instructions.
- Evaluate adversarial inputs using a supported prompt-attack filter and representative jailbreak tests.
- Treat retrieved content as lower-trust data and deny policy or tool-privilege changes originating from it.
Explanation
Correct Answer
A:Untrusted results must remain evidence, not become high-priority instructions.
Incorrect Answers
B:Prompt threats can target downstream tool behavior rather than only visible response text, whereas untrusted results must remain evidence, not become high-priority instructions.
C:Prompt-attack defenses target attempts to override instruction hierarchy. Untrusted results must remain evidence, not become high-priority instructions.
D:External text may contain adversarial instructions but lacks authority to change runtime controls, but untrusted results must remain evidence, not become high-priority instructions.
Question 237
An agent can issue `DeleteCustomer` when a prompt says the caller is an administrator. What must the action API verify?
- Evaluate adversarial inputs using a supported prompt-attack filter and representative jailbreak tests.
- Treat retrieved content as lower-trust data and deny policy or tool-privilege changes originating from it.
- Enforce authenticated caller authorization independently of model claims.
- Separate trusted instructions from tool-result content using explicit trust boundaries.
Explanation
Correct Answer
C:A textual assertion of privilege does not create a valid authorization grant.
Incorrect Answers
A:Prompt-attack defenses target attempts to override instruction hierarchy, whereas a textual assertion of privilege does not create a valid authorization grant.
B:External text may contain adversarial instructions but lacks authority to change runtime controls. A textual assertion of privilege does not create a valid authorization grant.
D:Untrusted results must remain evidence, not become high-priority instructions. A textual assertion of privilege does not create a valid authorization grant.
Question 238
A security team blocks obvious injection strings but ignores tool-parameter exfiltration attempts. What testing is missing?
- Evaluate adversarial inputs using a supported prompt-attack filter and representative jailbreak tests.
- Add attack cases that test tool misuse, credential exfiltration, and indirect instructions.
- Separate trusted instructions from tool-result content using explicit trust boundaries.
- Enforce authenticated caller authorization independently of model claims.
Explanation
Correct Answer
B:Prompt threats can target downstream tool behavior rather than only visible response text.
Incorrect Answers
A:Prompt-attack defenses target attempts to override instruction hierarchy. Prompt threats can target downstream tool behavior rather than only visible response text.
C:Untrusted results must remain evidence, not become high-priority instructions. Prompt threats can target downstream tool behavior rather than only visible response text.
D:A textual assertion of privilege does not create a valid authorization grant; prompt threats can target downstream tool behavior rather than only visible response text.
Question 239
A contract summarizer cites pages but invents an obligation absent from the supplied text. Which specialized Bedrock check helps?
- Validate document authority and claim support rather than treating embedding distance as proof.
- Evaluate claim-to-passage entailment against the cited source version.
- Use a supported contextual-grounding check with the source, query, and response.
- Check generated values against an authorized deterministic source of truth.
Explanation
Correct Answer
C:Grounding checks can flag content that is unsupported by provided reference material.
Incorrect Answers
A:Semantic closeness indicates relevance candidates, not factual or legal correctness, but grounding checks can flag content that is unsupported by provided reference material.
B:Citation presence alone cannot establish that the evidence supports each assertion. Grounding checks can flag content that is unsupported by provided reference material.
D:Syntax correctness does not establish the truth of the fields inside the object, whereas grounding checks can flag content that is unsupported by provided reference material.
Question 240
A policy bot retrieves zero authorized passages and still produces a confident recommendation. What response policy should apply?
- Use a supported contextual-grounding check with the source, query, and response.
- Evaluate claim-to-passage entailment against the cited source version.
- Check generated values against an authorized deterministic source of truth.
- Refuse unsupported conclusions and explain that relevant authoritative evidence was unavailable.
Explanation
Correct Answer
D:Generation should not substitute guesses for absent required grounding.
Incorrect Answers
A:Grounding checks can flag content that is unsupported by provided reference material. Generation should not substitute guesses for absent required grounding.
B:Citation presence alone cannot establish that the evidence supports each assertion; generation should not substitute guesses for absent required grounding.
C:Syntax correctness does not establish the truth of the fields inside the object, whereas generation should not substitute guesses for absent required grounding.
AWS Certified Generative AI Developer - Professional AIP-C01 Practice Tests