Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

CompTIA CY0-001 Exam - Topic 3 Question 8 Discussion

A customer-facing, AI-powered chatbot has been jailbroken through prompt injections. As a result, the AI model is offering a 99% discount on the purchase of a new vehicle.Which of the following should be implemented to enhance the model's robustness against such attacks?
D) Guardrails
A) Bias filtering
B) System prompt
C) Log monitoring

CompTIA CY0-001 Exam - Topic 3 Question 8 Discussion

Actual exam question for CompTIA's CY0-001 exam
Question #: 8
Topic #: 3
[All CY0-001 Questions]

A customer-facing, AI-powered chatbot has been jailbroken through prompt injections. As a result, the AI model is offering a 99% discount on the purchase of a new vehicle.

Which of the following should be implemented to enhance the model's robustness against such attacks?

Show Suggested Answer Hide Answer
Suggested Answer: D

Basic Concept: Jailbreaking through prompt injection exploits the LLM's tendency to follow instructions embedded in user input, overriding its intended behavior. The model was manipulated to offer unauthorized discounts, demonstrating that its operational boundaries were not properly enforced. CompTIA SecAI+ Study Guide identifies guardrails as the primary defense against jailbreaking attacks.

Why D is Correct: Guardrails are robust, layered controls that enforce behavioral boundaries on LLM inputs and outputs. They can detect and block jailbreaking attempts, enforce business logic constraints such as preventing unauthorized discounts, validate outputs against policy rules before delivery, and prevent the model from operating outside its defined scope. Guardrails are specifically designed to make models more robust against prompt injection and jailbreaking.

Why A is Wrong: Bias filtering is designed to detect and remove biased, discriminatory, or offensive content from model outputs. It addresses content fairness issues but does not prevent jailbreaking attacks that manipulate the model into performing unauthorized actions.

Why B is Wrong: A system prompt sets the model's base instructions and persona, but the jailbreak attack already demonstrates that the current prompt can be overridden. Guardrails provide enforcement at a layer that is more resistant to prompt manipulation than the system prompt alone.

Why C is Wrong: Log monitoring detects jailbreaking attempts after they have already succeeded. It is a detective control that enables incident response but does not prevent the model from offering unauthorized discounts in the first place.


Contribute your Thoughts:

0/2000 characters
Delfina
1 day ago
Totally agree, a system prompt could really tighten things up!
upvoted 0 times
...
Sarah
6 days ago
I think log monitoring could help catch these issues early.
upvoted 0 times
...
Art
12 days ago
99% discount? Really? That seems too good to be true.
upvoted 0 times
...
Carla
17 days ago
Definitely need better guardrails for this!
upvoted 0 times
...
Tamra
22 days ago
Sounds like a serious security flaw!
upvoted 0 times
...
Whitley
27 days ago
I think bias filtering was mentioned in relation to ethical AI, but I’m not clear on how it would apply to this specific situation.
upvoted 0 times
...
Clemencia
1 month ago
I feel like log monitoring is important too, but it’s more about tracking issues after they happen rather than preventing them.
upvoted 0 times
...
Berry
1 month ago
I’m not entirely sure, but I think system prompts might help define the chatbot's behavior better. It could limit the chances of prompt injections.
upvoted 0 times
...
Carry
1 month ago
I remember studying about guardrails in our last session. They seemed crucial for preventing unexpected outputs like that discount.
upvoted 0 times
...

Save Cancel