CAISP · Domain 3 of 5 · 20% of the exam

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

  1. Question 1. What does MITRE ATLAS provide?

    1. A regulation governing high-risk AI in the EU
    2. A benchmark for measuring model accuracy
    3. A certification program for machine learning engineers
    4. A knowledge base of adversary tactics and techniques against AI systems
    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.

  2. Question 2. Which tactic is unique to MITRE ATLAS and doesn't appear in the enterprise ATT&CK matrix?

    1. Initial Access
    2. Exfiltration
    3. ML Model Access
    4. Persistence
    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.

  3. 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?

    1. Membership inference
    2. Data poisoning
    3. Evasion (adversarial example)
    4. Model extraction
    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.

  4. Question 4. An attacker injects mislabeled samples into a model's training data to degrade its accuracy. What is this?

    1. Data poisoning
    2. Evasion attack
    3. Model inversion
    4. Prompt injection
    Show answer

    Answer: A. Data poisoning

    Poisoning corrupts training (or fine-tuning) data. Provenance tracking, data validation, and anomaly detection help defend against it.

  5. Question 5. A model behaves normally except when an input contains a specific trigger pattern, which causes an attacker-chosen output. What is this?

    1. A membership inference attack
    2. A backdoor (trojan) inserted during training
    3. A denial-of-wallet attack
    4. An evasion attack at inference time
    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.

  6. Question 6. An attacker queries a paid model API thousands of times and trains a copy that mimics its behavior. What is this attack?

    1. Model extraction (model stealing)
    2. Model inversion of outputs
    3. Adversarial evasion at inference
    4. Training data poisoning
    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.

  7. Question 7. An attacker determines whether a specific person's record was part of a model's training data. What is this called?

    1. Membership inference
    2. Model extraction
    3. Evasion
    4. Backdoor insertion
    Show answer

    Answer: A. Membership inference

    Membership inference is a privacy attack. Techniques like differential privacy and reducing overfitting lower the risk.

  8. Question 8. An attacker uses a facial recognition model's outputs to reconstruct approximate images of people in its training set. What is this?

    1. Membership inference
    2. Data poisoning
    3. Model inversion
    4. Model extraction
    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.

  9. Question 9. Which defense technique trains a model on adversarial examples to make it more robust against evasion attacks?

    1. Differential privacy
    2. Model watermarking
    3. Adversarial training
    4. Quantization
    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.

  10. Question 10. Which technique adds calibrated noise during training to limit how much a model reveals about any single training record?

    1. Adversarial training
    2. Input sanitization
    3. Model distillation
    4. Differential privacy
    Show answer

    Answer: D. Differential privacy

    Differential privacy provides a mathematical bound on individual data leakage, which mitigates membership inference and some inversion attacks.

  11. Question 11. In a black-box attack, what does the attacker have access to?

    1. The full model weights and architecture
    2. Only the model's inputs and outputs, such as via an API
    3. The complete training dataset and labels
    4. The training code and hyperparameters
    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.

  12. Question 12. Why is monitoring the pattern of API queries useful for defending deployed models?

    1. It can reveal extraction or probing attempts by unusual usage
    2. It prevents all prompt injection attacks
    3. It makes the model's predictions more accurate
    4. It replaces the need for access control
    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.

  13. Question 13. The Fast Gradient Sign Method (FGSM) is used to:

    1. Generate adversarial examples using the model's gradients
    2. Speed up training on large datasets
    3. Compress models for edge devices
    4. Encrypt gradients during federated learning
    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.

  14. Question 14. Projected Gradient Descent (PGD) attacks differ from FGSM mainly because they:

    1. Require no access to model outputs at all
    2. Modify training data instead of inputs
    3. Only work on text models
    4. Apply many small iterative steps within a perturbation bound
    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.

  15. Question 15. What does adversarial example transferability mean?

    1. Adversarial examples can be emailed between attackers
    2. Poisoned data moves between datasets automatically
    3. Examples crafted against one model often fool other models too
    4. Models can transfer their weights to attackers
    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.

  16. Question 16. A printed sticker placed on an object causes a vision model to misclassify it in the real world. What is this?

    1. A model extraction attack
    2. A membership inference attack
    3. A prompt injection attack
    4. A physical adversarial patch
    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.

  17. Question 17. In a label-flipping attack, what does the attacker change?

    1. The model's output format
    2. The labels of some training samples
    3. The inference hardware
    4. The model's activation functions
    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.

  18. Question 18. What makes a clean-label poisoning attack hard to detect?

    1. Poisoned samples are correctly labeled and look normal
    2. It only affects inference, not the training process
    3. The poisoned samples are encrypted before training
    4. It requires no access to the training data at all
    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.

  19. Question 19. A 'sponge' attack against an AI model aims to:

    1. Maximize energy use and latency to degrade availability
    2. Clean poisoned samples from datasets
    3. Replace model weights with random values
    4. Absorb and steal the training data
    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.

  20. Question 20. What is the purpose of model watermarking?

    1. Encrypt model weights at rest
    2. Make the model more accurate on edge cases
    3. Speed up inference on GPUs
    4. Help prove ownership or detect misuse of a model or its outputs
    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.

  21. Question 21. In federated learning, what risk do malicious participants pose?

    1. Disabling encryption for all participants
    2. Submitting poisoned model updates to corrupt the global model
    3. Increasing the central server's storage costs
    4. Reading every other participant's raw data directly
    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.

  22. Question 22. How do attackers often use 'shadow models' in membership inference attacks?

    1. Train look-alike models to learn how members differ from non-members
    2. Hide their own models from security scanning tools
    3. Replace the target model in production with a copy
    4. Encrypt their queries so the target can't log them
    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.

  23. Question 23. What is model distillation's role in model extraction attacks?

    1. Encrypting a model before deployment
    2. Training a student model to imitate the target's outputs
    3. Reducing the size of the training dataset
    4. Removing backdoors from a compromised model
    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.

  24. Question 24. Which defense reduces the effectiveness of model extraction via an API?

    1. Publishing the model's architecture openly
    2. Disabling authentication on the endpoint
    3. Returning only labels instead of detailed confidence scores
    4. Allowing unlimited free queries
    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.

  25. Question 25. Which technique helps detect poisoned samples before training?

    1. Data validation and anomaly detection on training data
    2. Using a larger batch size during training
    3. Training the model for additional epochs
    4. Increasing the learning rate of the optimizer
    Show answer

    Answer: A. Data validation and anomaly detection on training data

    Outlier detection, provenance checks, and data validation can catch suspicious samples.

  26. Question 26. What does MITRE ATLAS include in addition to tactics and techniques?

    1. Pricing for AI security products
    2. Certified lists of secure models
    3. Legal requirements for AI in each country
    4. Case studies of real-world attacks on AI systems
    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.

  27. Question 27. How can defenders use MITRE ATLAS in practice?

    1. Map threats and controls to known AI attack techniques
    2. Certify models as secure
    3. Replace risk assessments entirely
    4. Automatically patch vulnerable models
    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.

  28. Question 28. Which statement about adversarial robustness is MOST accurate?

    1. Robustness can be achieved by hiding the model architecture
    2. Robust models are immune to all attacks
    3. Robustness only matters for image models
    4. Improving robustness often trades off some clean accuracy or cost
    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.

  29. Question 29. Why is 'security through obscurity' a weak defense for deployed models?

    1. Attackers can use black-box and transfer attacks anyway
    2. Obscure models can't receive updates or patches
    3. Obscuring a model makes its inference much slower
    4. Hiding model details violates every AI regulation
    Show answer

    Answer: A. Attackers can use black-box and transfer attacks anyway

    Keeping architecture secret doesn't prevent query-based or transfer attacks.

  30. Question 30. What is input preprocessing (such as denoising or compression) intended to do as a defense?

    1. Encrypt inputs before they reach the model
    2. Increase the model's output confidence scores
    3. Improve the model's training speed on GPUs
    4. Remove adversarial perturbations before inference
    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.

  31. 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?

    1. Web data is always safe to use for training
    2. Domains can't affect training data
    3. Web-sourced training data can be poisoned via changing content
    4. Only labeled data can be poisoned
    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.

  32. Question 32. What is the goal of a targeted poisoning attack, as opposed to an indiscriminate one?

    1. Delete the model from production entirely
    2. Reduce the model's accuracy evenly across all inputs
    3. Cause misbehavior on chosen inputs while keeping accuracy
    4. Increase inference costs for every user of the model
    Show answer

    Answer: C. Cause misbehavior on chosen inputs while keeping accuracy

    Targeted attacks are stealthier because general performance remains normal.

  33. Question 33. Which access level gives an attacker the strongest capability to craft evasion attacks?

    1. White-box access to weights and gradients
    2. Access only to the model's documentation
    3. No access to the model at all
    4. Label-only black-box access
    Show answer

    Answer: A. White-box access to weights and gradients

    With gradients, attackers can compute precise perturbations efficiently.

  34. Question 34. What is ensemble defense in adversarial ML?

    1. Combining multiple models so a single perturbation is less likely to fool all
    2. Encrypting a model with several keys
    3. Training one model on multiple datasets sequentially
    4. Running one model on multiple GPUs
    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.

  35. Question 35. Why should model confidence scores be monitored in production?

    1. Unusual patterns may reveal adversarial probing or data drift
    2. They replace the need for access logs
    3. They determine the model's hosting cost
    4. They encrypt the model's outputs
    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.

  36. Question 36. A spam classifier's accuracy slowly drops as attackers adapt their messages. What is this an example of?

    1. Evasion through adversarial adaptation plus concept drift
    2. Removal of the model's ownership watermark by spammers
    3. Membership inference by spammers probing the model
    4. Backdoor insertion during the model's original training
    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.

  37. Question 37. What is a gradient masking defense, and why is it considered weak?

    1. It permanently prevents model extraction
    2. It encrypts gradients so no attack is possible
    3. It hides gradients but attackers can use substitutes or approximations
    4. It removes the need for adversarial training
    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.

  38. Question 38. Which privacy attack aims to recover specific sensitive text that a language model memorized during training?

    1. Adversarial patching
    2. Sponge attack
    3. Label flipping
    4. Training data extraction
    Show answer

    Answer: D. Training data extraction

    Carefully crafted prompts can make models regurgitate memorized data such as personal information or secrets.

  39. Question 39. What is the main purpose of a red team using ATLAS techniques against an ML system?

    1. Train the model on a dataset of red-colored images
    2. Certify the model for regulatory approval in the EU
    3. Emulate realistic adversaries to find weaknesses first
    4. Replace the blue team's existing monitoring tools
    Show answer

    Answer: C. Emulate realistic adversaries to find weaknesses first

    Adversary emulation validates defenses against known AI attack patterns.

  40. Question 40. Why can poisoning be especially damaging for models retrained continuously on user feedback?

    1. Feedback data is always verified automatically
    2. Continuous training makes models immune to poisoning
    3. Retraining deletes all previous knowledge
    4. Attackers can inject malicious feedback that shapes future behavior
    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.