CAISP Domain 3: Adversarial ML and MITRE ATLAS
40 free practice questions for Adversarial ML and MITRE ATLAS in the Certified AI Security Professional exam. Try each question first, then open "Show answer" for the correct option and explanation.
Adversarial ML and MITRE ATLAS practice questions
-
Question 1. What does MITRE ATLAS provide?
Show answer
Answer: D. A knowledge base of adversary tactics and techniques against AI systems
ATLAS (Adversarial Threat Landscape for Artificial-Intelligence Systems) is modeled on ATT&CK and catalogs real-world attacks and case studies against ML systems.
-
Question 2. Which tactic is unique to MITRE ATLAS and doesn't appear in the enterprise ATT&CK matrix?
Show answer
Answer: C. ML Model Access
ATLAS adds AI-specific tactics such as ML Model Access and ML Attack Staging to the familiar ATT&CK tactics.
-
Question 3. An attacker adds subtle, carefully crafted noise to an image so a classifier labels a stop sign as a speed limit sign. What type of attack is this?
Show answer
Answer: C. Evasion (adversarial example)
Evasion attacks manipulate inputs at inference time to cause misclassification, without changing the model or its training data.
-
Question 4. An attacker injects mislabeled samples into a model's training data to degrade its accuracy. What is this?
Show answer
Answer: A. Data poisoning
Poisoning corrupts training (or fine-tuning) data. Provenance tracking, data validation, and anomaly detection help defend against it.
-
Question 5. A model behaves normally except when an input contains a specific trigger pattern, which causes an attacker-chosen output. What is this?
Show answer
Answer: B. A backdoor (trojan) inserted during training
Backdoors are hidden behaviors planted via poisoned training data or tampered weights. They are hard to detect because normal accuracy is unaffected.
-
Question 6. An attacker queries a paid model API thousands of times and trains a copy that mimics its behavior. What is this attack?
Show answer
Answer: A. Model extraction (model stealing)
Extraction replicates a model's functionality from its outputs, which threatens intellectual property. Rate limiting, monitoring query patterns, and limiting output detail help.
-
Question 7. An attacker determines whether a specific person's record was part of a model's training data. What is this called?
Show answer
Answer: A. Membership inference
Membership inference is a privacy attack. Techniques like differential privacy and reducing overfitting lower the risk.
-
Question 8. An attacker uses a facial recognition model's outputs to reconstruct approximate images of people in its training set. What is this?
Show answer
Answer: C. Model inversion
Model inversion recovers representative features of training data from model outputs, which is a privacy risk for sensitive training data.
-
Question 9. Which defense technique trains a model on adversarial examples to make it more robust against evasion attacks?
Show answer
Answer: C. Adversarial training
Adversarial training includes perturbed examples during training so the model learns to resist them, though it doesn't guarantee robustness to all attacks.
-
Question 10. Which technique adds calibrated noise during training to limit how much a model reveals about any single training record?
Show answer
Answer: D. Differential privacy
Differential privacy provides a mathematical bound on individual data leakage, which mitigates membership inference and some inversion attacks.
-
Question 11. In a black-box attack, what does the attacker have access to?
Show answer
Answer: B. Only the model's inputs and outputs, such as via an API
Black-box attackers can only query the model. White-box attackers know the internals, which enables stronger gradient-based attacks.
-
Question 12. Why is monitoring the pattern of API queries useful for defending deployed models?
Show answer
Answer: A. It can reveal extraction or probing attempts by unusual usage
Extraction, inversion, and adversarial probing often involve high-volume or systematic queries that stand out from normal use.
-
Question 13. The Fast Gradient Sign Method (FGSM) is used to:
Show answer
Answer: A. Generate adversarial examples using the model's gradients
FGSM perturbs inputs in the direction of the loss gradient's sign, creating evasion examples in a white-box setting.
-
Question 14. Projected Gradient Descent (PGD) attacks differ from FGSM mainly because they:
Show answer
Answer: D. Apply many small iterative steps within a perturbation bound
PGD is an iterative, stronger version of gradient-based evasion and is commonly used to evaluate robustness.
-
Question 15. What does adversarial example transferability mean?
Show answer
Answer: C. Examples crafted against one model often fool other models too
Transferability lets attackers craft attacks on a substitute model and use them against a black-box target.
-
Question 16. A printed sticker placed on an object causes a vision model to misclassify it in the real world. What is this?
Show answer
Answer: D. A physical adversarial patch
Adversarial patches work in the physical world, which is a concern for cameras in vehicles and surveillance.
-
Question 17. In a label-flipping attack, what does the attacker change?
Show answer
Answer: B. The labels of some training samples
Flipping labels corrupts the learned decision boundary. It's a simple form of data poisoning.
-
Question 18. What makes a clean-label poisoning attack hard to detect?
Show answer
Answer: A. Poisoned samples are correctly labeled and look normal
Clean-label attacks subtly craft correctly labeled inputs that still shift the model's behavior, evading label audits.
-
Question 19. A 'sponge' attack against an AI model aims to:
Show answer
Answer: A. Maximize energy use and latency to degrade availability
Sponge examples trigger worst-case computation, a denial-of-service technique against ML systems.
-
Question 20. What is the purpose of model watermarking?
Show answer
Answer: D. Help prove ownership or detect misuse of a model or its outputs
Watermarks embed verifiable signals that can support claims of theft or identify generated content.
-
Question 21. In federated learning, what risk do malicious participants pose?
Show answer
Answer: B. Submitting poisoned model updates to corrupt the global model
Byzantine or malicious clients can poison aggregated models. Robust aggregation and anomaly detection help.
-
Question 22. How do attackers often use 'shadow models' in membership inference attacks?
Show answer
Answer: A. Train look-alike models to learn how members differ from non-members
Shadow models mimic the target's behavior, which lets attackers train a classifier that predicts training-set membership.
-
Question 23. What is model distillation's role in model extraction attacks?
Show answer
Answer: B. Training a student model to imitate the target's outputs
Distillation on API outputs can replicate much of a model's capability without access to its weights.
-
Question 24. Which defense reduces the effectiveness of model extraction via an API?
Show answer
Answer: C. Returning only labels instead of detailed confidence scores
Less detailed outputs, combined with rate limits and query monitoring, make extraction harder.
-
Question 25. Which technique helps detect poisoned samples before training?
Show answer
Answer: A. Data validation and anomaly detection on training data
Outlier detection, provenance checks, and data validation can catch suspicious samples.
-
Question 26. What does MITRE ATLAS include in addition to tactics and techniques?
Show answer
Answer: D. Case studies of real-world attacks on AI systems
ATLAS case studies document observed attacks, which helps defenders understand realistic threats.
-
Question 27. How can defenders use MITRE ATLAS in practice?
Show answer
Answer: A. Map threats and controls to known AI attack techniques
ATLAS provides a common language for threat modeling, red teaming, and detection coverage.
-
Question 28. Which statement about adversarial robustness is MOST accurate?
Show answer
Answer: D. Improving robustness often trades off some clean accuracy or cost
Defenses like adversarial training increase compute and can reduce accuracy, and no defense covers every attack.
-
Question 29. Why is 'security through obscurity' a weak defense for deployed models?
Show answer
Answer: A. Attackers can use black-box and transfer attacks anyway
Keeping architecture secret doesn't prevent query-based or transfer attacks.
-
Question 30. What is input preprocessing (such as denoising or compression) intended to do as a defense?
Show answer
Answer: D. Remove adversarial perturbations before inference
Preprocessing can blunt some perturbations but adaptive attackers may bypass it, so it's a partial defense.
-
Question 31. An attacker poisons a small fraction of a web-scale dataset by buying expired domains that the dataset links to. What does this show?
Show answer
Answer: C. Web-sourced training data can be poisoned via changing content
Datasets that reference live URLs can change after curation. Hash verification of content mitigates this.
-
Question 32. What is the goal of a targeted poisoning attack, as opposed to an indiscriminate one?
Show answer
Answer: C. Cause misbehavior on chosen inputs while keeping accuracy
Targeted attacks are stealthier because general performance remains normal.
-
Question 33. Which access level gives an attacker the strongest capability to craft evasion attacks?
Show answer
Answer: A. White-box access to weights and gradients
With gradients, attackers can compute precise perturbations efficiently.
-
Question 34. What is ensemble defense in adversarial ML?
Show answer
Answer: A. Combining multiple models so a single perturbation is less likely to fool all
Diverse ensembles can raise the bar for attacks, although transferable attacks can still succeed.
-
Question 35. Why should model confidence scores be monitored in production?
Show answer
Answer: A. Unusual patterns may reveal adversarial probing or data drift
Anomalies in confidence distributions can signal attacks or changing data that degrade reliability.
-
Question 36. A spam classifier's accuracy slowly drops as attackers adapt their messages. What is this an example of?
Show answer
Answer: A. Evasion through adversarial adaptation plus concept drift
Attackers change inputs to evade detection over time. Continuous monitoring and retraining are needed.
-
Question 37. What is a gradient masking defense, and why is it considered weak?
Show answer
Answer: C. It hides gradients but attackers can use substitutes or approximations
Obfuscated gradients give a false sense of security. Adaptive attacks often circumvent them.
-
Question 38. Which privacy attack aims to recover specific sensitive text that a language model memorized during training?
Show answer
Answer: D. Training data extraction
Carefully crafted prompts can make models regurgitate memorized data such as personal information or secrets.
-
Question 39. What is the main purpose of a red team using ATLAS techniques against an ML system?
Show answer
Answer: C. Emulate realistic adversaries to find weaknesses first
Adversary emulation validates defenses against known AI attack patterns.
-
Question 40. Why can poisoning be especially damaging for models retrained continuously on user feedback?
Show answer
Answer: D. Attackers can inject malicious feedback that shapes future behavior
Online learning loops need validation and rate limits on feedback to prevent manipulation.
CAISP is a certification offered by Practical DevSecOps. These questions are original study material, not questions from the real exam.