Courseiva
hardMultiple ChoiceObjective-mapped

AIF-C01 Uses Amazon Bedrock to generate content Practice Question

An organization uses Amazon Bedrock to generate content. They have implemented guardrails to block toxic content. However, some users are able to bypass the guardrails by encoding their prompts. What step should be taken to improve security?

⚠ Common exam trap

The AIF-C01 exam often tests the misconception that encoding or encrypting inputs is a security measure, when in reality it is a common bypass technique that must be countered by content inspection mechanisms like prompt injection detection.

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

Enable prompt injection detection in the guardrail configuration.

Amazon Bedrock guardrails include a built-in prompt injection detection capability that can identify and block attempts to bypass content filters through encoded or obfuscated prompts. Enabling this feature specifically addresses the scenario where users encode their inputs to evade toxic content blocking, as it analyzes the decoded intent of the prompt rather than just the surface-level encoding.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • Encode the prompts before sending to the model.

    Why it's wrong here

    Encoding prompts does not prevent bypass; the model would decode and potentially still produce toxic content.

  • Enable prompt injection detection in the guardrail configuration.

    Why this is correct

    Prompt injection detection can identify and block encoded or malicious prompts.

  • Use a different foundation model that is less susceptible.

    Why it's wrong here

    Model susceptibility is not the root cause; guardrails can be bypassed regardless.

  • Restrict access to the model using IAM policies.

    Why it's wrong here

    Access control does not prevent authorized users from submitting encoded prompts.

About these practice questions

Courseiva writes every AIF-C01 question from scratch — 619 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This AIF-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 AIF-C01 exam.