AI Technologies and Controls · Topic 4 of 7
Data Management Controls for AI
Treating risk in data used by AI: provenance and lineage, quality and labelling, poisoning defences, minimization, sensitive data in prompts and outputs.
- 5 min
- Provenance shows where data came from and whether it may be used; lineage shows where it went.
- Poisoning defences: restricted write access, trusted sources, integrity checks, validation and versioning.
- Minimize sensitive data before training or indexing; it is hard to remove afterwards.
What it is
Data is where most AI risk begins. A model learns from training data, is adapted with fine-tuning data, answers from retrieval data, receives prompts and produces outputs. Each of these can expose confidential information, introduce bias or carry poisoned content.
Data management controls treat that risk across the AI life cycle: knowing where data came from, keeping it accurate and untampered, using only what is needed, and stopping sensitive data from leaking through the model.
How it works
Provenance and lineage
Provenance records where data came from, under what terms and how it was collected. Lineage traces how it was transformed and which models were built from it.
Together they answer key questions: may this data be used for this purpose, which models are affected if a source turns out to be poisoned or unlawful, and what must be retrained or deleted when a person exercises their rights. Lineage is recorded in the data catalogue and model registry.
Data quality and labelling
| Concern | Control |
|---|---|
| Incomplete or unrepresentative data | Profile datasets; check coverage of groups and conditions the model will meet |
| Historical bias | Review outcomes in the data before training; rebalance or reweight |
| Labelling errors | Clear labelling guidance, quality sampling, multiple labellers for critical data |
| Duplicates and leakage between sets | Keep training, validation and test sets separate |
| Stale data | Refresh schedules tied to drift monitoring |
Defending against data poisoning
Poisoning works when an attacker can influence data the model learns from or retrieves. Controls:
- Restrict who can add or change training and retrieval data, with logging of changes.
- Use trusted sources and verify integrity with hashes or signatures.
- Validate and scan ingested data for anomalies, outliers and embedded instructions.
- Version datasets so a clean earlier version can be restored.
- Test models for unexpected behaviour on trigger-like inputs after training.
- Monitor retrieval sources that accept outside content, such as shared drives and websites.
Minimization and sensitive data
Data minimization means using only the data needed for the purpose. For AI this means removing direct identifiers and unneeded personal or confidential fields before training or indexing, because data learned by a model is hard to remove later.
| Data point | Control |
|---|---|
| Training and fine-tuning sets | Discover and remove or mask personal and secret data; approval for sensitive sources |
| Retrieval sources | Classify before indexing; exclude restricted content or apply permission-aware retrieval |
| Prompts | Data loss prevention on prompts to external services; acceptable use rules |
| Outputs | Filter for personal data, secrets and classified content before display or onward use |
| Logs | Prompts and outputs in logs are sensitive data with access control and retention limits |
Rights, licences and intellectual property
Before data is used, the organization confirms it has the right to use it for AI: consent or another lawful basis for personal data, licence terms for purchased or scraped data, and contractual limits on customer data. Copyrighted material and confidential third-party data need legal review.
Retention and deletion
Retention rules cover datasets, embeddings, logs and models. When data must be deleted, lineage shows which derived assets are affected. Removing learned information from a trained model is difficult; options include retraining without the data or retiring the model, so these consequences are considered when deciding what to train on.
Synthetic data
Synthetic data generated to resemble real data can reduce exposure of personal information in development and testing. It is not automatically safe: poorly generated synthetic data can still reveal real records, and it may not reflect real-world conditions, so it is validated for both privacy and usefulness.
A worked example
A team wants to fine-tune a model on five years of customer support tickets. Many tickets contain names, account numbers and occasionally passwords customers typed in.
The security manager requires a data review first. Identifiers and credentials are detected and removed, the lawful basis is confirmed with privacy, the cleaned dataset is versioned and hashed, access is limited to the project team, and lineage links the dataset to the resulting model. Output filtering is added as a second layer in case anything was missed.
How the exam asks about this
- "What is the BEST way to reduce the risk that a model reveals personal data from its training set?" Remove or minimize personal data before training, with output filtering as a further layer.
- "A training data source is found to be poisoned. What helps MOST to identify affected models?" Data lineage linking datasets to the models built from them.
- "Which control BEST prevents staff sending confidential data to an external AI service?" Data loss prevention on prompts, supported by acceptable use rules.
What to remember for the exam
- Provenance shows where data came from and whether it may be used; lineage shows where it went.
- Poisoning defences: restricted write access, trusted sources, integrity checks, validation and versioning.
- Minimize sensitive data before training or indexing; it is hard to remove afterwards.
- Prompts, outputs and logs are sensitive data needing their own controls.
- Confirm rights and licences before data is used for AI.
Deleting a record from the dataset does not delete it from a model already trained on it. Decide what to exclude before training, not after.
Common mistakes
Cleaning data after training. By then the model may already have learned the sensitive content.
Treating synthetic data as automatically anonymous. It must be tested for privacy leakage and usefulness.
Forgetting logs. Prompt and output logs often contain the most sensitive data in the AI system and need access control and retention limits.
Check yourself
What is data lineage used for in AI?
Tracing how data was transformed and which models were built from it, so affected models can be found and retrained or retired.
Name two controls against data poisoning.
Any two of restricted write access, trusted sources with integrity checks, validation and scanning of ingested data, dataset versioning or post-training testing.
Why apply data minimization before training?
Information a model learns is hard to remove later, so excluding unneeded sensitive data first is the most reliable control.
Topic 4 of 7 in AI Technologies and Controls
Test yourself on AI Technologies and Controls
The full ISACA AAISM question bank has 747 questions, with timed practice exams and an explanation for every answer.
This study guide is independent and is not affiliated with, endorsed by, or sponsored by ISACA. Vendor names, certification names and exam codes are trademarks of their respective owners and are used for identification only.