AWS Certified AI Practitioner AIF-C01 Practice Question

Developers are building a Q&A chatbot that calls Amazon Bedrock foundation models. They worry that user-supplied text could override system instructions and cause the model to behave unexpectedly. Which approach BEST mitigates this prompt injection risk?

  • Store every prompt in an Amazon S3 bucket with AWS CloudTrail logging enabled.

  • Create an Amazon Bedrock Guardrail that blocks disallowed content and enforces the intended system instructions.

  • Run the application in a private VPC subnet that has no internet access.

  • Encrypt all model responses with AWS Key Management Service (AWS KMS) before returning them to users.

AWS Certified AI Practitioner AIF-C01
Security, Compliance, and Governance for AI Solutions
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

Bash, the Crucial Exams Chat Bot
AI Bot