Input Validation and Filtering Quiz
5 questions Pass: 70% +25 pts (50 with Pro)
Quiz covering Safety Guardrails
What you'll be asked
- What is the primary purpose of input validation in the context of AI safety guardrails?
- Which of the following is an example of a 'deny-list' approach to input filtering?
- When implementing input filtering for a chatbot, why is it considered best practice to use an 'allow-list' over a 'deny-list' whenever possible?
- A developer notices that users are bypassing text-based input filters by using non-standard Unicode characters to represent malicious commands. What is the most effective way to mitigate this?
- You are designing a system to prevent prompt injection. Which of the following strategies represents a 'defense-in-depth' approach to input validation?
Answers and explanations come after you submit.
Course Content
Godlike Exams
No GH-600 practice exam yet
Your points already work on 76 Amazon, CompTIA and Microsoft exams.
See the exams