CY0-001 practice question 25 of 35
Deterministic validation techniques, such as comparing model outputs against a fixed list of forbidden keywords, are considered a comprehensive and sueicient method for validating Semantic Guardrails intended to prevent Indirect Prompt Injection and Social Engineering attacks in Large Language Models (LLMs). Is the statement above True or False?
Full set: 484 questionsThe statement is False. Deterministic validation techniques, such as fixed keyword blocklists, are fundamentally insufficient and not comprehensive for validating Semantic Guardrails against sophisticated attacks like Indirect Prompt Injection. Attackers can easily circumvent such static filters by using synonyms, rephrasing, or embedding malicious instructions within seemingly benign data. These attacks operate on a semantic level, requiring guardrails that can understand context and intent, which a simple keyword list cannot do. A robust defense requires more advanced techniques, often involving another AI model to analyze the semantic meaning of prompts and responses.
True: This option is incorrect because it vastly overstates the effectiveness of a simple, deterministic method against complex, adaptive, and context-aware attacks. Real-world examples have repeatedly shown these filters fail.
1. OWASP Foundation. (2023). OWASP Top 10 for Large Language Model Applications. (The entry for LLM01: Prompt Injection explicitly states that these attacks "bypass filters" and that "Regular filtering, such as denylists, is an incomplete defense").
2. Greshake, K., et al. (2023). Not what you've signed up for: Compromising Real-World LLM-Integrated Applications with Indirect Prompt Injection. In Proceedings of the 2023 ACM Workshop on Artificial Intelligence and Security. (This research paper demonstrates how indirect prompt injections successfully bypass existing defenses, highlighting the inadequacy of simple filtering). DOI: https://doi.org/10.1145/3605764.3623945
3. Wei, A., et al. (2023). Jailbroken: How Does LLM Safety Training Fail?. arXiv preprint arXiv:2307.02483. (This paper explores how safety mechanisms, including filters, can be bypassed, showing that simple deterministic rules are not sufficient).
Keep practicing
Take the free CY0-001 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other CY0-001 practice questions
- Question 1Social media backlash occurs after a customer-facing LLM produces biased medical advice, …
- Question 2Integrating Generative AI (GenAI) and LLMs into high-interaction Honeypots allows securit…
- Question 3Evaluating the core tenets of Responsible AI requires a clear understanding of the compon…
- Question 4Establishing a robust security baseline for the MLOps pipeline involves several cross- fu…
- Question 5Evaluate the following statements regarding the MITRE ATLAS (Adversarial Threat Landscape…
- Question 6Implementing AI-powered security plugins into a developer's IDE (Integrated Development E…
