AIP-C01 AI Safety Security And Governance Practice Question
You are deploying a Generative AI application using Amazon SageMaker JumpStart. You need to ensure that the model endpoint is protected against prompt injection attacks. Which approach is most effective?
Answer choices
Why each option matters
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
Use a prompt-based filter system that detects malicious intent via a secondary validation model
Implementing Guardrails for Amazon Bedrock or a similar input validation layer using semantic checks is the recommended way to mitigate prompt injection.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
- ✗
Encrypt the model weights with a CMK
Why it's wrong here
Encryption protects the model integrity at rest, not its behavior during inference.
- ✗
Enable Amazon Inspector on the endpoint
Why it's wrong here
Inspector is for vulnerability scanning of container images and EC2 instances.
- ✓
Use a prompt-based filter system that detects malicious intent via a secondary validation model
Why this is correct
Using a secondary model or Guardrails to evaluate input intent is the standard defense against prompt injection.
- ✗
Disable the API Gateway execute-api method
Why it's wrong here
Disabling the API would prevent legitimate traffic as well.
About these practice questions
One of 181 original AIP-C01 practice questions on Courseiva, each with a full explanation and wrong-answer analysis — not exam dumps or protected exam content. Learn why practice questions differ from exam dumps →
JA
Written and reviewed by Johnson Ajibi, MSc IT Security
Senior Network & Security Engineer · founder of Courseiva
Last reviewed August 2026 · checked against the official Amazon Web Services exam blueprint
This AIP-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the AIP-C01 exam.