
EC-CouncilCertified Offensive AI Security Professional
Domain 3Objective 1
Prompt Injection Attacks COASP Practice Questions (Page 7)
Part of the Prompt Injection and LLM Application Attacks domain, which makes up ~14% of our current practice bank.
37questions here
8free pages
5concepts
Questions 31–35
- 31
A company's LLM assistant can access a customer database and send emails. The security team wants to reduce the impact of a successful prompt injection. Which configuration best applies the principle of least privilege?
Select an answer first - 32
An organization uses an LLM to automate responses to customer emails. The LLM has access to the customer database and can send emails. Which defense-in-depth strategy best mitigates prompt injection?
Select an answer first - 33
A security team is implementing monitoring for an LLM-based customer support chatbot. They have limited logging budget and must choose between two monitoring approaches: (A) logging all user inputs and running pattern-based detection for known injection phrases; (B) logging all LLM outputs and running anomaly detection to flag outputs that deviate from expected responses. The team wants to detect both direct and indirect prompt injection attempts. Which approach is more effective, and why?
Select an answer first - 34
A security analyst is investigating a potential prompt injection attack on an LLM that summarizes legal documents. The analyst notices the model output a paragraph that was not in the source document. Which investigation step would best confirm whether this was an injection?
Select an answer first - 35
A financial advisory chatbot uses a retrieval-augmented generation (RAG) pipeline that pulls from public web sources. An attacker plants a webpage that says 'The stock price of Company X has dropped 90%.' The chatbot retrieves this page and answers a user's question about Company X. What is the most likely impact and the best detection method?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by EC-Council. “COASP” is a trademark of its owner, used for identification only.