Prompt Injection Prevention Quiz
5 questions Pass: 70% +25 pts (50 with Pro)
Quiz covering GenAI Security and Compliance
What you'll be asked
- What is the primary goal of a prompt injection attack?
- Which of the following is an effective technique for mitigating prompt injection at the system level?
- Why is 'sandwiching' user input between system instructions considered a partial but insufficient defense?
- When implementing a 'dual LLM' pattern for security, what is the role of the second, smaller model?
- A system uses a retrieval-augmented generation (RAG) pipeline. An attacker inserts instructions into a document that the RAG system retrieves. What is this specific type of attack called?
Answers and explanations come after you submit.
Course Content
Godlike Exams
Spend your points to unlock exam-style practice questions
Spend points to unlock AI-300 exam-style practice questions.
Practice for AI-300