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
It’s all about proactive measures, right?
upvoted 0 times
...
Audra
5 days ago
Yes, and they can adapt to new threats over time.
upvoted 0 times
...
Lizette
10 days ago
Exactly! Guardrails create a safety net for the AI.
upvoted 0 times
...
Elena
15 days ago
True, but without guardrails, the system is still vulnerable.
upvoted 0 times
...
Krissy
21 days ago
I think B) System prompt is crucial for setting boundaries initially.
upvoted 0 times
...
Cherelle
26 days ago
C) Log monitoring is important, but it’s more about tracking than prevention.
upvoted 0 times
...
Audra
1 month ago
I feel like A) Bias filtering could help too, but not as much as guardrails.
upvoted 0 times
...
Katina
1 month ago
I agree! Guardrails can prevent such prompt injections.
upvoted 0 times
...
Lizette
1 month ago
This is a tricky question. I think D) Guardrails is the best option.
upvoted 0 times
...
Delfina
2 months ago
Totally agree, a system prompt could really tighten things up!
upvoted 0 times
...
Sarah
2 months ago
I think log monitoring could help catch these issues early.
upvoted 0 times
...
Art
2 months ago
99% discount? Really? That seems too good to be true.
upvoted 0 times
...
Carla
2 months ago
Definitely need better guardrails for this!
upvoted 0 times
...
Tamra
2 months ago
Sounds like a serious security flaw!
upvoted 0 times
...
Whitley
2 months 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
3 months 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
3 months 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
3 months 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