Guide-linked quiz · Hard Level
AI Security Quiz
Tests threat modeling, lifecycle attacks, authorization, tool boundaries, output validation, scoped testing, and residual risk.
Question 1 of 8
A public chatbot and an internal agent with write access are being assessed. Why need separate threat models?
Preview every question8 questions
Answers and explanations appear as you take the quiz.
- A public chatbot and an internal agent with write access are being assessed. Why need separate threat models?
- All AI applications have identical trust boundaries
- Their assets, permissions, adversaries, and possible consequences differ
- Write access makes the internal agent automatically safe
- Public systems cannot expose private data
- What does a prompt saying “follow security rules” replace?
- Account isolation
- Secret management
- Nothing; authorization and permission limits still need enforcement in code
- Output validation
- Which example is a training-stage threat?
- An attacker changes one inference-time image
- A user guesses a password
- A database rejects a valid query
- Poisoned training material that changes learned behavior
- A model writes a database query from a user request. What safeguard applies before execution?
- Validate and safely handle the generated output at the software boundary
- Assume the model understands database permissions
- Use the output as a command without inspection
- Rely only on a prompt asking for safe SQL
- Why restrict a tool to only the permissions it needs?
- It prevents every adversarial input
- A model error then cannot silently expose broader capability
- It eliminates security testing
- It guarantees confidentiality of all logs
- What must a successful refusal test not be confused with?
- Evidence that one test case passed
- One observed model behavior
- Proof that the whole system is secure across different paths and modalities
- A useful regression example
- How should security testing be conducted?
- By probing unrelated external systems
- Only after a breach
- Without documenting scope or ownership
- On representative failure paths in an authorized environment
- What should security telemetry balance?
- Enough diagnostic value with minimized collection of sensitive content
- Maximum prompt retention regardless of purpose
- No event data at all
- Full response logging for every user indefinitely
Keep testing yourself
More quizzes picked for your level.