Compact CY0-001 Cheat sheet for AI security threats, controls, secure lifecycle, SOC use cases, governance, and troubleshooting.
This Cheat Sheet is an IT Mastery study companion for candidates preparing for CompTIA SecAI+ (CY0-001). Use it to refresh the most testable ideas before moving into topic drills, mock exams, and detailed explanations in the IT Mastery question bank.
The main exam-prep mindset: secure the full AI system, not just the model. CY0-001-style questions may describe data pipelines, model behavior, cloud services, prompts, APIs, users, governance, incident response, monitoring, or business risk. Read each scenario for the asset at risk, the threat actor’s path, and the control that most directly reduces the stated risk.
Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.
Scope and study context
Item
Value
Vendor/provider
CompTIA
Official exam title
CompTIA SecAI+ (CY0-001)
Official exam code
CY0-001
Page purpose
Independent quick reference for compact review and practice support
After reviewing these notes, move into IT Mastery practice using original practice questions organized by topic. A good sequence is:
Start with short topic drills on AI threats, data security, and LLM/RAG controls.
Review every missed question with the detailed explanations, especially the wrong-answer rationales.
Build mixed sets that combine governance, architecture, incident response, and model evaluation.
Take timed mock exams only after you can explain why each control fits a scenario.
Revisit this Cheat Sheet to patch weak areas, then repeat targeted drills.
Practical next step: choose one weak domain from this Cheat Sheet, complete a focused question bank drill on that topic, and read the detailed explanations until you can identify the attack, affected AI component, and best control without guessing.
Sensitive logs, insufficient telemetry, missed drift or abuse
A strong answer usually protects the specific weak point described in the question. For example, encrypting a model artifact may help confidentiality, but it does not stop a prompt injection attack against a deployed chatbot.
Common AI Terms to Keep Straight
Term
Quick meaning
Trap
Training
Model learns patterns from data
Training data quality directly affects model behavior
Inference
Model generates predictions or outputs
Runtime controls matter even if training was secure
Fine-tuning
Additional training for a specific task/domain
Can introduce new leakage, bias, or unsafe behavior
Embedding
Numeric representation of text/data
Embeddings may still reveal sensitive information
RAG
Retrieval-augmented generation using external knowledge
Retrieval permissions must match user permissions
Prompt
Input/instructions to an AI system
Prompts are not trusted security boundaries
Guardrail
Control that constrains model behavior
Guardrails reduce risk; they do not guarantee safety
Hallucination
Plausible but incorrect output
Different from unauthorized disclosure
Drift
Production data/behavior changes over time
Requires monitoring and possible retraining
Model card
Documentation about model use, limits, and performance
Documentation supports governance, not runtime enforcement
Core Terms and Exam Distinctions
Term
Compact meaning
Exam trap
Artificial intelligence
Systems performing tasks associated with reasoning, prediction, generation, or decision support
AI is broader than ML and generative AI
Machine learning
Models learn patterns from data
Not all AI uses ML
Deep learning
Neural-network-based ML with multiple layers
Powerful but often less interpretable
Foundation model
Large pretrained model adaptable to many tasks
Pretrained does not mean trusted
LLM
Large language model for text/code reasoning and generation
Output can be plausible but wrong
Inference
Using a trained model to produce output
Different from training
Training
Fitting model parameters using data
Highest data/provenance risk phase
Fine-tuning
Further training a model for a narrower task
Can introduce poisoning or overfitting
Prompt engineering
Designing instructions and context for an AI system
Not a substitute for access control
System prompt
High-priority instruction configuring model behavior
Can be targeted by prompt injection
Context window
Input/output text the model can consider at once
Larger context increases leakage risk
Embedding
Vector representation of data for similarity search
Embeddings can still leak sensitive meaning
Vector database
Stores and searches embeddings
Must enforce authorization and data lifecycle controls
RAG
Adds retrieved content to model context
Retrieval layer becomes part of the attack surface
Hallucination
Confident but unsupported output
Mitigate with grounding, validation, and human review
Model drift
Model performance changes as real-world data changes
Requires monitoring and retraining triggers
Data drift
Input data distribution changes
May precede model drift
Concept drift
Relationship between inputs and labels changes
A model can fail even if input format looks normal
Explainability
Ability to understand model behavior
Explainability is not the same as accuracy
Interpretability
Human-understandable internal logic or reasoning
Harder for complex deep models
Bias
Systematic unfair or inaccurate treatment of groups/data patterns
Can come from data, labels, design, or deployment
Human-in-the-loop
Human reviews or approves AI decisions
Must be meaningful, not rubber-stamp approval
Guardrail
Control limiting unsafe inputs/outputs/actions
Guardrails can fail and need testing
Model card
Documentation of model purpose, data, limits, metrics, risks
Documentation is governance evidence, not a control by itself
AI red teaming
Testing AI systems for misuse, evasion, leakage, and unsafe behavior
Broader than normal vulnerability scanning
AI System Attack Surface
flowchart LR
U[User or Application] --> G[AI Gateway / Policy Layer]
G --> P[Prompt + Context Builder]
P --> R[Retrieval Layer / Vector DB]
P --> M[Model Endpoint]
M --> O[Output Filter / Validator]
O --> U
M --> T[Tools / APIs / Agents]
T --> D[Enterprise Data and Systems]
subgraph Control Points
IAM[IAM and Secrets]
LOG[Logging and Monitoring]
DLP[DLP and Data Governance]
IR[Incident Response]
end
IAM -.-> G
IAM -.-> R
IAM -.-> T
LOG -.-> G
LOG -.-> M
LOG -.-> T
DLP -.-> P
DLP -.-> O
IR -.-> LOG
Threats and Controls Cheat Sheet
Threat
What it targets
Typical symptom
Primary controls
Prompt injection
LLM instructions and context
Model ignores policy, reveals hidden instructions, performs unintended action
Instruction hierarchy, input isolation, output validation, tool allowlists, least privilege
Jailbreak
Safety rules and model behavior
User persuades model to generate prohibited content
Example trap: A model can have high overall accuracy while performing poorly for a smaller subgroup. If the scenario emphasizes fairness, equity, or disparate performance, do not choose “increase overall accuracy” as the complete answer.
Triage impact: data, users, systems, decisions, and business process.
Contain the model, endpoint, agent, dataset, or integration.
Preserve evidence: prompts, outputs, logs, versions, access records.
Eradicate root cause: fix data, prompts, permissions, dependencies, or architecture.
Recover safely: redeploy known-good version, test controls, monitor closely.
Improve: update playbooks, tests, monitoring, documentation, and training.
Common trap: In a security incident, immediately retraining the model is not always the best first step. If active data leakage or unauthorized action is happening, containment comes first.
“Ignore previous instructions” or hidden instructions in a document
Prompt injection
Excessive API calls to learn model outputs
Model extraction
Inferring original private data from outputs
Model inversion
Determining whether a person’s data was included
Membership inference
Model performance degrades as real-world inputs change
Data drift or concept drift
AI retrieves documents outside user’s role
RAG access control failure
AI tool performs action without approval
Agent authorization failure
Data Security and Privacy
Data Risk Checklist
For CY0-001 review, ask these questions whenever a scenario involves data:
What type of data is involved? Sensitive, confidential, personal, regulated, proprietary, or public?
Where does the data flow? Training set, prompt, vector database, logs, model output, third-party service?
Who can access it? Users, developers, vendors, admins, AI agents, downstream applications?
How is it protected? Encryption, IAM, DLP, masking, tokenization, retention controls?
Can it be reconstructed or inferred? Embeddings, outputs, model behavior, logs, analytics?
Is it necessary? Data minimization is often a better answer than collecting more data.
Privacy and Confidentiality Controls
Control
Best use
Data minimization
Reduce what is collected, stored, trained on, or sent to a model
Deidentification/masking
Lower direct exposure of sensitive fields
Tokenization
Replace sensitive values with controlled substitutes
Encryption
Protect data at rest and in transit
Access control
Restrict who and what can use data
DLP
Detect or block sensitive data in prompts, outputs, or storage
Retention limits
Reduce exposure window
Audit logging
Support investigation and accountability
Privacy review
Confirm appropriate use and risk treatment before deployment
Notes and examples
Common trap: anonymization is not automatically permanent protection. AI systems can sometimes infer, correlate, or reconstruct sensitive information. If the question emphasizes reidentification risk, choose stronger privacy controls, minimization, aggregation, or governance review.
LLM, Prompt, RAG, and Agent Security
Prompt and LLM Controls
Risk
Practical control
Prompt injection
Separate system instructions from user content; validate inputs; treat retrieved text as untrusted
Jailbreak attempts
Use safety filters, red-team prompts, behavior monitoring
Sensitive output
Apply DLP/redaction and restrict access to source data
Hallucinated answers
Use grounding, citations, retrieval constraints, human review for high-impact use
Unsafe code generation
Sandbox execution; require review; scan outputs
Overreliance
Add human-in-the-loop controls for high-risk decisions
Prompt leakage
Avoid embedding secrets or policies that should not be disclosed
Notes and examples
RAG Security
RAG systems often fail when they retrieve the right-looking document for the wrong user. The key is to enforce permissions before and during retrieval, not only after generation.
High-yield rule: Do not give an AI agent broad credentials just because the user is authenticated. Scope the agent’s permissions to the task, data, and risk level.
Central logging, SIEM integration, behavioral analytics
Reduce blast radius
Segmentation, least privilege, tenant isolation
Support rollback
Versioned models, deployment pipeline controls
Prove accountability
Audit logs, approvals, documentation
Notes and examples
Least Privilege in AI Systems
Apply least privilege to:
Human users
Developers and data scientists
Service accounts
Training jobs
Inference services
AI agents and tools
Vector databases
Model registries
CI/CD pipelines
Monitoring and logging platforms
A frequent exam trap is focusing only on user permissions while ignoring service accounts, plugins, connectors, or AI tools that can access sensitive systems.
Governance, Risk, and Compliance Concepts
Governance Artifacts
Artifact
Purpose
AI acceptable use policy
Defines permitted and prohibited use
Risk assessment
Identifies likelihood, impact, and treatment options
Threat model
Maps attack paths and controls
Data inventory
Tracks data sources, sensitivity, and owners
Model inventory
Tracks deployed models, versions, owners, and use cases
Model card
Documents model purpose, limitations, evaluation, and risks
Data sheet
Documents dataset source, collection, quality, and constraints
Approval record
Shows review and accountability
Audit log
Supports investigation and evidence
Incident playbook
Defines response steps for AI-specific events
Notes and examples
Human Oversight
Human review is especially important when AI outputs affect:
Security enforcement decisions
Financial or employment outcomes
Legal, safety, or health-related decisions
Access to sensitive resources
Irreversible or high-impact actions
Public communications or customer commitments
Exam trap: Human-in-the-loop is not just “a person exists somewhere.” The reviewer must have enough information, authority, and time to meaningfully approve, reject, or escalate the AI output.