100% Latest & Updated Amazon AWS Certified AI Practitioner AIF-C01 Practice Test Questions, Exam Dumps & Verified Answers!
30 Days Free Updates, Instant Download!
Question 710
A service integrates an external API key used by an agent to look up inventory. The team selects the approach: Store secrets in a controlled secret-management service such as AWS Secrets Manager. Which implementation step directly puts that plan into practice?
- Retrieve the secret at runtime using a scoped role instead of embedding it in prompts.
- Constrain the agent tool's query fields and volume before allowing data reads.
- Separate retrieved data from trusted instructions and restrict outbound tool calls.
- Enable appropriate trails or event data stores and preserve relevant management events.
Explanation
Correct Answer
A:Fetch the inventory API key at runtime with a narrow role; do not place the value in prompts or static tool schemas.
Incorrect Answers
B:Query-volume limits control data access but do not protect the secret value used to authenticate calls.
C:Separating untrusted retrieval from instructions prevents injection but does not provide secure secret retrieval.
D:CloudTrail event stores audit actions but do not securely deliver an external API token to the agent.
Question 711
A service integrates an external API key used by an agent to look up inventory. The proposed solution is: Store secrets in a controlled secret-management service such as AWS Secrets Manager. Which measurement would most directly verify that the solution meets the stated requirement?
- Verify audit utility without leaking protected payloads in logs.
- Test harmful and benign prompts to quantify filter effectiveness.
- Test that tool calls work while secret values remain absent from logs and responses.
- Audit access logs for unexpected volume and unauthorized destinations.
Explanation
Correct Answer
C:Execute allowed inventory lookups and inspect logs/model replies to confirm the key value is not disclosed.
Incorrect Answers
A:Masked security logs are useful, but alone do not confirm that the agent can call inventory without exposing the live key.
B:Safety filter testing concerns harmful language, not external API credential secrecy.
D:Unexpected request-volume auditing detects misuse but does not prove the key is absent from response text.
Question 712
A third-party inventory API key used by an agent is suspected exposed. Which ongoing response directly limits continued unauthorized use of that credential?
- Require review of data-export actions and rate limits for tools.
- Do not treat the managed AI service as a substitute for application security.
- Rotate compromised keys and audit secret read access.
- Keep privileged instructions and credentials inaccessible to retrieved content.
Explanation
Correct Answer
C:Rotate an exposed credential and audit secret retrieval events to detect misuse and reestablish trust.
Incorrect Answers
A:Export approval and rate limits constrain data access; they do not recover a compromised inventory credential.
B:General application-security responsibility is not an operational incident response for the exposed key.
D:Keeping credentials away from retrieved content prevents one leakage route but does not rotate a key already compromised.
Question 713
A retrieved web page tells a corporate assistant to send its internal instructions to an external URL. Which AI approach most directly fits this specific requirement?
- Use supported scoped identity controls such as Amazon Bedrock AgentCore Identity when appropriate.
- Assess Amazon Macie for discovering sensitive data in Amazon S3.
- Use content safety controls such as relevant Amazon Bedrock Guardrails policies.
- Treat the page content as untrusted prompt injection, not an authorized instruction.
Explanation
Correct Answer
D:An external page telling the assistant to reveal its system instructions is untrusted prompt injection, not a user-authorized command.
Incorrect Answers
A:AgentCore identity constrains supported identities, but identity alone does not classify a malicious instruction inside a web page.
B:Macie discovers sensitive S3 content and does not determine whether retrieved web text is an authorized instruction.
C:Bedrock Guardrails may supplement defenses but cannot turn lower-trust web commands into high-priority authorization.
Question 714
A retrieved web page falsely claims authority to instruct an assistant to send hidden instructions to an external URL. Which implementation directly preserves the page-as-data boundary AND prevents unauthorized outbound actions?
- Document which controls AWS manages and which require tenant configuration.
- Retrieve the secret at runtime using a scoped role instead of embedding it in prompts.
- Separate retrieved data from trusted instructions and restrict outbound tool calls.
- Enforce read/write scopes and explicit approval in the tool execution layer.
Explanation
Correct Answer
C:Delimit web content as data and enforce outbound URL/tool restrictions so it cannot issue privileged exfiltration commands.
Incorrect Answers
A:The shared-responsibility model is policy context, not a concrete runtime control for the forged external-page command.
B:Runtime secret management protects keys but cannot, by itself, separate malicious page instructions from the assistant’s system rules.
D:Generic tool read/write scopes help authorization but are not sufficient to reject page-embedded instructions requesting system-prompt exfiltration.
Question 715
A corporate assistant reads external pages. Which test directly proves that malicious page commands cannot trigger system-instruction disclosure or off-domain exfiltration?
- Test that a request without approval cannot trigger a write operation.
- Check permitted decrypt operations and expected access denials.
- Find authorized and denied API operations by principal and time window.
- Use adversarial tests to confirm injected commands are ignored.
Explanation
Correct Answer
D:Inject page-borne exfiltration instructions into tests and verify the assistant ignores them and makes no unauthorized outbound request.
Incorrect Answers
A:A no-approval write test checks transactional safety, not whether a page can extract hidden instructions to an attacker URL.
B:KMS decrypt permission testing does not evaluate external content prompt-injection attempts.
C:Cloud API event lookup supports forensics but does not demonstrate that the assistant resists malicious page commands.
Question 716
A retrieved web page tells a corporate assistant to send its internal instructions to an external URL. The proposed solution is: Treat the page content as untrusted prompt injection, not an authorized instruction. Which ongoing safeguard most directly addresses the risks of this solution?
- Do not treat the managed AI service as a substitute for application security.
- Reject unlicensed or improperly consented data from new ingest jobs.
- Keep privileged instructions and credentials inaccessible to retrieved content.
- Do not assume an endpoint substitutes for service-side IAM authorization.
Explanation
Correct Answer
C:Keep privileged instructions and credentials inaccessible through retrieval content and tool outputs, with explicit authorization barriers.
Incorrect Answers
A:Managed-service responsibility is relevant to cloud security but does not isolate sensitive instructions from untrusted web text.
B:Data licensing checks govern input provenance, not malicious retrieved commands trying to extract hidden prompts.
D:IAM authorization is necessary for AWS APIs but does not by itself enforce a prompt trust boundary for external web-page text.
Question 717
A customer service model may output account identifiers that should never reach another user. Which AI approach most directly fits this specific requirement?
- Use appropriate encryption at rest combined with authorized access controls.
- Add output validation and data-loss-prevention checks after model generation.
- Apply least-privilege IAM model invocation permissions.
- Evaluate AWS PrivateLink or VPC endpoints where the specific service supports them.
Explanation
Correct Answer
B:Validate and redact sensitive identifiers in output and apply DLP checks before returning a reply.
Incorrect Answers
A:Encryption at rest limits storage theft but does not detect account numbers in generated text sent to the wrong customer.
C:Least-privilege model invocation controls who calls the model, not which customers’ identifiers it emits.
D:A VPC endpoint protects service connectivity but does not filter text for cross-customer identifiers.
Question 718
A response-generation stage may emit another customer’s account number even after retrieval permissions were checked. Which runtime implementation directly blocks the identifier at the final response boundary?
- Bind tool access to approved agent and user identities with limited credentials.
- Document which controls AWS manages and which require tenant configuration.
- Detect and block disallowed identifier patterns before returning the answer.
- Capture data origin, transformations and access classification in catalog metadata.
Explanation
Correct Answer
C:Inspect each generated answer against disallowed customer identifier patterns and block/redact before delivery.
Incorrect Answers
A:Agent-user role scoping protects tool retrieval but, alone, may not catch identifiers already present in generated text.
B:Shared responsibility documentation identifies obligations but does not block a specific leaking response.
D:Data lineage helps investigation but is not a runtime output filter.
Question 719
A customer service model may output account identifiers that should never reach another user. The proposed solution is: Add output validation and data-loss-prevention checks after model generation. Which measurement would most directly verify that the solution meets the stated requirement?
- Test that a request without approval cannot trigger a write operation.
- Test for cross-user identifier leakage with controlled synthetic records.
- Verify encryption configuration and denied unauthorized reads on test objects.
- Audit access logs for unexpected volume and unauthorized destinations.
Explanation
Correct Answer
B:Use synthetic cross-user account identifiers to verify the output filter and tenant isolation before public exposure.
Incorrect Answers
A:No-approval write tests focus on tool actions, not whether one customer can see another customer’s account number.
C:Object encryption tests assess storage security rather than customer-to-customer response leakage.
D:Unexpected API request volume could detect abuse, but not whether a permitted response displayed the wrong person’s identifier.
Question 720
A customer service model may output account identifiers that should never reach another user. The proposed solution is: Add output validation and data-loss-prevention checks after model generation. Which ongoing safeguard most directly addresses the risks of this solution?
- Record who approved an action and what exact data was changed.
- Apply authorization checks to retrieved context as well as outputs.
- Limit log retention and access according to classification requirements.
- Rotate compromised keys and audit secret read access.
Explanation
Correct Answer
B:Apply user and tenant authorization to retrieved documents as well as resulting disclosures to reduce cross-account leakage.
Incorrect Answers
A:Action-approval records support account changes but do not prevent unauthorized personal data reaching the generator.
C:Log retention is a separate privacy risk and cannot enforce cross-tenant retrieval permissions.
D:Secret rotation controls credentials, not the tenant identity of documents shown to another customer.
AWS Certified AI Practitioner AIF-C01 Practice Tests