AIP-C01 safety, security, governance

Updated November 23, 2026

AI Safety, Security, and Governance is 20% of the AIP-C01 scored content. It covers four tasks: input and output safety controls (3.1), data security and privacy (3.2), governance and compliance (3.3) and responsible AI (3.4). Questions here reward the answer that enforces a control in the architecture rather than asking the model to behave.

3.1 Input and output safety

  • Bedrock Guardrails filter harmful content on inputs and outputs and enforce responsible AI policies. For custom checks, Step Functions and Lambda can add moderation workflows.
  • Hallucination reduction: ground responses with Bedrock Knowledge Bases, verify with confidence scoring or semantic similarity, and enforce structured output with JSON Schema. The guide also mentions text-to-SQL transformations for deterministic results.
  • Defense in depth: layered controls, for example Comprehend pre-processing filters, model-based guardrails, Lambda post-processing and API Gateway response filtering. No single layer is enough.
  • Threat detection: prompt injection and jailbreak detection, input sanitization, safety classifiers and automated adversarial testing.

3.2 Data security and privacy

GoalMechanism named in the guide
Keep traffic privateVPC endpoints for network isolation
Control data accessIAM policies, AWS Lake Formation
Find sensitive dataAmazon Comprehend, Amazon Macie
Remove it from outputsBedrock guardrails, data masking, anonymization
Limit retentionAmazon S3 Lifecycle configurations

CloudWatch monitors data access. Bedrock’s native data privacy features also appear in the list; check the current Bedrock documentation for exact behavior.

3.3 Governance and compliance

Governance is about proving what happened. SageMaker AI model cards document models, AWS Glue and the Glue Data Catalog track data lineage and sources, metadata tagging attributes generated content to its sources, CloudTrail records API activity and CloudWatch Logs collect decision logs. Task 3.3.4 adds continuous monitoring: detecting misuse, drift and policy violations, monitoring bias drift, alerting and automated remediation, and logging responses with token-level redaction.

3.4 Responsible AI

  • Transparency: show reasoning or sources to users, expose confidence, and use Bedrock agent tracing to see reasoning steps.
  • Fairness: use fairness metrics, A/B testing through Prompt Management and Prompt Flows, and LLM-as-a-judge evaluations to look for biased outputs.
  • Policy compliance: guardrails tied to policy, model cards documenting limitations, and automated compliance checks in Lambda.

How to pick the answer

  1. Prefer an enforced technical control (guardrail, IAM, VPC endpoint) over a prompt instruction.
  2. For privacy, protect both directions: what goes into the model and what comes out.
  3. For compliance questions, look for audit evidence: logs, lineage and documentation.
  4. When a scenario says least effort, a managed feature usually beats custom code.

Three practice questions

Question 1. Prompts sent to a Bedrock model by a healthcare app must travel only over the company network, never the public internet. Which measure meets this?

  • A. Enable encryption at rest on the S3 bucket
  • B. Add an internet gateway with a restrictive security group
  • C. Configure a Bedrock guardrail with a denied topic
  • D. Use a VPC interface endpoint for Amazon Bedrock and restrict access with IAM
Show answer

Answer: D

A VPC interface endpoint for Bedrock keeps the traffic on the AWS private network. Encrypting at rest does not change the network path, an internet gateway sends traffic publicly, and Guardrails filter content but do not control routing.

Want more questions like this? Full AIP-C01 practice tests →

Question 2. A legal team must show an auditor, six months later, which source documents contributed to an AI-generated summary. What should the developer implement?

  • A. Source attribution metadata on outputs, data source registration in the Glue Data Catalog and CloudTrail audit logging
  • B. A lower temperature for the model
  • C. A larger context window
  • D. Short log retention to limit storage
Show answer

Answer: A

Registering data sources in the Glue Data Catalog and tagging generated content with source metadata, together with audit logging, gives traceability from output to source. Lowering temperature affects randomness, a larger context window does not record provenance, and deleting logs removes the evidence.

Want more questions like this? Full AIP-C01 practice tests →

Question 3. Users have begun pasting instructions such as ignore your rules into a customer chatbot. Which design gives the strongest protection?

  • A. A stronger wording in the system prompt only
  • B. A single keyword blocklist on the input
  • C. Input sanitization and injection detection, a Bedrock guardrail and post-processing validation of outputs
  • D. Turn off the chat feature
Show answer

Answer: C

Layered defenses combine input filtering and jailbreak or prompt injection detection, model-based guardrails and output validation. Relying on the system prompt alone can be overridden, a single filter has gaps, and disabling the chat removes the product rather than protecting it.

Want more questions like this? Full AIP-C01 practice tests →

Next

Safety measures add cost and latency, which is the theme of domain 4, operational efficiency. Review the study plan to see how this domain fits in week 3.