Securing AI Systems1 / 5
Which security control acts as a filter between user inputs and an LLM to detect and block malicious prompts?
CorrectIncorrect
Alex
A prompt firewall is an AI-specific security control designed to filter and inspect user inputs before they reach the language model. It operates similarly to a web application firewall but is purpose-built for LLM interactions. Prompt firewalls analyze incoming prompts for patterns associated with prompt injection, jailbreak attempts, and policy violations. They can block or sanitize malicious inputs and log suspicious activity. Some prompt firewalls also inspect model outputs for sensitive data leakage or harmful content. This is a key gateway control in the SecAI+ exam, falling under the category of model security controls alongside rate limits, token limits, and endpoint access controls. Exam tip: prompt firewalls are input-side AI security controls — they sit at the gateway between users and the model.
Follow-up answers are available in the app. Create a free account — no credit card required.
Question 1 of 5
Create a free account