312-52
Certified Offensive AI Security Professional (C|OASP) practice test
155 EC-Council 312-52 practice questions with explanations, in study, timed and flashcard modes. 12 sample questions are free.
Full access
$99
- All 155 questions, with explanations
- Study, timed and flashcard modes
- Progress saved, resume any time
- Questions
- 155
- Free samples
- 12
- Versions
- 1
- Updated
- Mar 2026
Exam simulator
Practice 312-52 in the simulator.
Study, timed and flashcard modes. Answers and explanations as you go, and your progress saves.
At a glance
312-52, by the numbers.
Official specifications published by EC-Council.
- Duration
- 360 min
- Questions
- 70
- Passing score
- 70-80%
- Valid for
- 3 years

Exam guide
Everything about 312-52.
312-52 · EC-Council · v1
What is 312-52?
Penetration testers take 312-52 to show they can attack AI systems, from chatbots to model training pipelines. It earns EC-Council's Certified Offensive AI Security Professional (C|OASP), and you need three years of cybersecurity experience. A central attack is prompt injection: hiding instructions in text so a language model ignores its own rules. One task might be to test whether poisoned training data can plant a backdoor in a model. The practice test works through LLM app attacks, model theft, data poisoning, attacks on AI agents and AI incident response.
What you'll practise
- Map an AI system's attack surface, from its data sources to its training pipeline.
- Scan and fuzz AI models and pipelines for weaknesses.
- Use prompt injection and jailbreaks to make LLM apps leak data or break their rules.
- Run adversarial, inference and model extraction attacks on machine learning models.
- Attack AI agents, plugins, APIs and supply chains.
- Test, report and help harden AI systems, and investigate AI security incidents.
Requirements
- Required: three years of cybersecurity experience.
- Recommended: penetration testing experience and knowledge of the OWASP Top 10 and MITRE ATT&CK.
- Recommended: familiarity with LLMs, prompt engineering, Python and security tooling.
Who it's for
- Penetration testers and red team members whose targets now include AI.
- Ethical hackers who test chatbots, LLM apps and machine learning models.
- Security engineers who assess AI systems before they go live.
Exam details
Published by EC-Council, plus what is in our question bank.
What does 312-52 cover?
The practice test's questions, grouped by exam topic. Open a topic to see what it covers.
10 topics · 46 subtopics · 155 questions
How do I earn this certification?
Passing 312-52 earns the Certified Offensive AI Security Professional (C|OASP) in the AI Security - Defend Pillar (ADG Framework) track.
How to study for this exam?
Use the 312-52 practice test alongside the official material below.
Three ways to practise
Study mode
Work through the bank at your own pace with the answer and explanation one tap away. Flag questions, add notes, bookmark the hard ones.
Open in the simulatorTimed mode
A shuffled deck with a countdown that mirrors the real exam. Your score is saved to your attempt history.
Open in the simulatorFlashcards
Question on the front, answer on the back. Good for the last week before the exam.
Open in the simulator