vaayaa Inclusive Education
Technical risk assessment

Machine Learning and Artificial Intelligence Engineering Risk Assessment: Data, Model and Pipeline Controls

A worked example of how an engineering team finds, scores and controls the risks that threaten training data, model integrity, deployed AI services and the people affected by their predictions.

Updated November 2026 8 hazards assessed Review every 6 months Highest risk: Critical to Medium
See the Machine Learning and Artificial Intelligence Engineering course

Executive summary

This assessment shows how an engineering team building and running machine learning models can find, rate and control the risks that matter most to its data, its predictions and the people who rely on them. Eight risks were chosen because they are plausible in everyday model development, training, deployment and monitoring work. Personal data used without privacy review carries the highest inherent score, while data leakage, exposed endpoints and tampered training data follow closely. Drift and third-party model exposure are more likely but easier to watch. Each risk is scored before controls and again after existing and added controls. Most risks fall to Medium or Low once added controls are in place, but privacy exposure stays at Medium because the harm to people remains serious. The first actions are a tested dataset access review, private endpoints with strong sign in, signed model artifacts and a drift alert with a named owner. The team is a teaching example, so every score illustrates method rather than a real organization.

Focus area
Machine learning and artificial intelligence engineering
Setting
Engineering team building and running machine learning models for an online service that handles customer data
Method
Five by five likelihood and impact risk register

Scope

This assessment covers the design, training, deployment and monitoring of machine learning models and AI services, including data pipelines, the model registry, cloud compute and prediction APIs. It does not cover a specific product, legal jurisdiction or vendor, which are assumptions made for teaching. Clinical, safety-critical and other regulated decision uses are excluded and need specialist review before any real deployment.

Context

The team has data scientists, machine learning engineers, a platform group and a security lead. Training runs on managed cloud infrastructure, with features stored in a shared store and models kept in a registry. Training sets include records about customers, some drawn from third-party sources, and pretrained models and open source libraries are used as starting points. Predictions are served through an API that other products call. Each risk is scored before controls to show its natural level, then again after existing controls and the controls that should be added.

Objectives, assets and stakeholders

The objective is to build and run machine learning services that are accurate, secure, consistent with their agreed design and available when users need them, while protecting personal data and meeting the duties that apply. The assets in scope are training datasets, feature stores, model weights and the model registry, experiment records, cloud compute, inference endpoints, API keys and the logs that show how predictions were made. Stakeholders include the engineering and data science teams, product owners, the security team, customers whose data is used, suppliers of pretrained models and cloud services, and the privacy and legal contacts in the organization. Every risk has one owner role, and the engineering lead keeps the register current and reports to leadership each quarter.

Risk matrix: before and after controls

Each cell shows hazard numbers placed by likelihood and impact. Compare the two grids to see how controls move each hazard.

Before controls

Inherent risk

Risk before controls: rows are likelihood from almost certain to rare, columns are impact from insignificant to catastrophic. Cells list hazard numbers.
1
Insignificant
2
Minor
3
Moderate
4
Major
5
Catastrophic
5 Almost certain
4 Likely Likelihood 4, impact 3, score 12, high: H07 Likelihood 4, impact 4, score 16, high: H01 Likelihood 4, impact 5, score 20, critical: H06
3 Possible Likelihood 3, impact 3, score 9, medium: H08 Likelihood 3, impact 4, score 12, high: H02 H04 H05 Likelihood 3, impact 5, score 15, high: H03
2 Unlikely
1 Rare

After controls

Residual risk

Risk after controls: rows are likelihood from almost certain to rare, columns are impact from insignificant to catastrophic. Cells list hazard numbers.
1
Insignificant
2
Minor
3
Moderate
4
Major
5
Catastrophic
5 Almost certain
4 Likely
3 Possible Likelihood 3, impact 2, score 6, medium: H07
2 Unlikely Likelihood 2, impact 2, score 4, low: H08 Likelihood 2, impact 3, score 6, medium: H02 H04 H05 Likelihood 2, impact 4, score 8, medium: H01 H03 H06
1 Rare
  • Low 1 to 4
  • Medium 5 to 9
  • High 10 to 16
  • Critical 17 to 25

Hazard register

A summary first, then the detail for each hazard.

Summary of hazards with scores before and after controls
No.HazardBeforeAfterOwner
H01 Training data leakage and unauthorized dataset access 16 High 8 Medium Data platform lead
H02 Misconfigured inference endpoints and exposed storage 12 High 6 Medium Cloud platform engineer
H03 Poisoned or tampered training data and model artifacts 15 High 8 Medium Machine learning engineer
H04 Credential compromise, phishing and insider misuse 12 High 6 Medium Security lead
H05 Third-party pretrained models, libraries and data suppliers 12 High 6 Medium Supplier relationship manager
H06 Personal data used in training without adequate privacy review 20 Critical 8 Medium Privacy officer
H07 Model drift and degraded predictions in production 12 High 6 Medium Model operations lead
H08 Service outage, weak logging and slow incident response 9 Medium 4 Low Site reliability engineer
H01

Training data leakage and unauthorized dataset access

Technology and data Before 16 After 8

Training datasets are copied to personal storage, shared links or unmanaged notebooks, so sensitive records are exposed to people or systems that should not hold them.

Who or what is affected: Customers, data scientists and the security team

Causes

Copying data for quick experiments, shared notebooks and access rights that are never removed.

Consequences

Privacy harm to customers, loss of trust, legal exposure and the need to retrain models.

Existing controls

  • Datasets are stored in a managed project that requires sign in.
  • Access requests are approved by a team lead.

Control gaps

Access lists are not compared against current project membership, and exports are not logged.

Additional controls

  • Prevent: Limit dataset access to named roles and remove shared credentials from notebooks.
  • Detect: Review dataset access logs each month and flag downloads outside working hours.
Likelihood 4 x impact 4 before; 2 x 4 after Owner: Data platform lead Target: Within 30 days Early warning: Datasets accessed by users outside the approved access list.
H02

Misconfigured inference endpoints and exposed storage

Technology and data Before 12 After 6

A prediction API or storage bucket is left open to the internet or without authentication, so anyone can query the model, extract its behavior or read stored artifacts.

Who or what is affected: Users, customers and the platform team

Causes

Manual configuration, copied templates and default settings that were never reviewed.

Consequences

Model theft, data exposure, unauthorized queries and higher cloud cost.

Existing controls

  • Endpoints sit behind a gateway that requires an API key.
  • Infrastructure changes go through a peer review before release.

Control gaps

API keys are shared across services and are rarely rotated.

Additional controls

  • Prevent: Place endpoints on private networks and require strong sign in for every caller.
  • Detect: Scan cloud configuration weekly and alert on any public access setting.
Likelihood 3 x impact 4 before; 2 x 3 after Owner: Cloud platform engineer Target: Within 30 days Early warning: An inference endpoint reachable from a public network without authentication.
H03

Poisoned or tampered training data and model artifacts

Technology and data Before 15 After 8

Training records or model files are altered by an attacker or by error, so the model learns wrong patterns or behaves in a way its designers did not intend.

Who or what is affected: Users affected by predictions, product owners and reviewers

Causes

Open data sources, unvalidated uploads and weak control over the model registry.

Consequences

Wrong or biased predictions, unsafe decisions by users and costly retraining.

Existing controls

  • Data sources are listed in the project record.
  • Models are reviewed by a second engineer before release.

Control gaps

Labels from external contributors are accepted without a sample check.

Additional controls

  • Prevent: Sign and verify datasets and model artifacts before they are promoted.
  • Detect: Compare training data statistics with a trusted baseline and alert on sudden shifts.
Likelihood 3 x impact 5 before; 2 x 4 after Owner: Machine learning engineer Target: Within 60 days Early warning: Sudden change in label distribution or feature statistics after a data update.
H04

Credential compromise, phishing and insider misuse

People Before 12 After 6

Engineers are tricked into giving up credentials, reuse passwords or misuse privileged access to model weights and data, either for personal gain or by mistake.

Who or what is affected: Engineering staff, customers and the organization

Causes

Phishing messages that mimic internal requests, reused passwords and broad administrator rights.

Consequences

Stolen weights or data, false releases, insider harm and reputational damage.

Existing controls

  • Staff use single sign on with a password policy.
  • Privileged roles are granted on request and recorded.

Control gaps

Service account tokens do not expire and are left out of access reviews.

Additional controls

  • Prevent: Require multi factor sign in for all privileged roles and for access to the model registry.
  • Respond: Revoke tokens and rotate keys within one hour of a confirmed compromise.
Likelihood 3 x impact 4 before; 2 x 3 after Owner: Security lead Target: Within 30 days Early warning: Repeated failed sign in attempts or phishing reports from engineering staff within one month.
H05

Third-party pretrained models, libraries and data suppliers

Supplier Before 12 After 6

Pretrained weights, open source libraries or data vendors carry vulnerabilities, hidden license limits or unsafe code that enter the project without review.

Who or what is affected: Engineering team, customers and suppliers

Causes

Fast adoption of open components, weak vendor checks and unclear license terms.

Consequences

Vulnerable code in production, legal claims and rework when a supplier changes its terms.

Existing controls

  • Vendors are listed in a supplier register with a named contact.
  • Libraries are pinned to fixed versions in the build.

Control gaps

Pretrained models are not scanned for unsafe components before fine tuning.

Additional controls

  • Prevent: Approve each external model and library before use and record its source and license terms.
  • Detect: Run dependency scans on each build and track new security advisories.
Likelihood 3 x impact 4 before; 2 x 3 after Owner: Supplier relationship manager Target: Within 60 days Early warning: A new security advisory for a library or model used in production.
H06

Personal data used in training without adequate privacy review

Legal and compliance Before 20 After 8

Records about individuals are used to train or evaluate models without a clear purpose, notice, retention limit or check that the use is permitted, so people's rights are breached.

Who or what is affected: Customers, data subjects and privacy officers

Causes

Reuse of data collected for other purposes and unclear rules for derived or synthetic data.

Consequences

Regulatory action, customer complaints, deletion of models and damage to trust.

Existing controls

  • Data protection contacts are named in the project charter.
  • Retention periods are written in the data inventory.

Control gaps

Model retraining does not check whether a deletion request has been honored.

Additional controls

  • Prevent: Complete a privacy review before any personal data joins a training set and remove unneeded fields.
  • Respond: Stop training on a dataset when a rights request or complaint shows it should not be used.
Likelihood 4 x impact 5 before; 2 x 4 after Owner: Privacy officer Target: Within 45 days Early warning: A deletion or access request that cannot be traced to a trained model version.
H07

Model drift and degraded predictions in production

Operational Before 12 After 6

Changes in user behavior, inputs or upstream systems make a deployed model less accurate over time, so predictions no longer match the conditions the model was built for.

Who or what is affected: Users relying on predictions, product owners and support staff

Causes

Changing user behavior, seasonal patterns, altered upstream data and infrequent retraining.

Consequences

Poor decisions, customer harm, lost revenue and rushed retraining under pressure.

Existing controls

  • Accuracy is measured on a held out test set before release.
  • Support tickets about wrong outputs are logged.

Control gaps

Live monitoring covers errors but not input drift, and the rollback has not been rehearsed.

Additional controls

  • Detect: Monitor input distributions and live error rates with alerts against an agreed band.
  • Respond: Roll back to the last approved model version when the band is breached for three days.
Likelihood 4 x impact 3 before; 3 x 2 after Owner: Model operations lead Target: Within 60 days Early warning: Accuracy or error rate outside the agreed band for two consecutive weeks.
H08

Service outage, weak logging and slow incident response

Operational Before 9 After 4

A failed training job, overloaded inference service or lost log stream stops predictions and hides the cause of errors, so the team cannot explain what happened or restore service in time.

Who or what is affected: Customers, internal users and the operations team

Causes

Capacity limits reached during peak use, untested changes and gaps in log coverage.

Consequences

Service downtime, lost predictions, slow investigations and unclear accountability.

Existing controls

  • Inference services run across two zones with health checks.
  • Critical logs are shipped to a central store.

Control gaps

Prediction logs do not record the model version, so incidents are hard to trace.

Additional controls

  • Prevent: Set capacity limits and autoscaling rules for training and inference workloads.
  • Recover: Test rebuilding the serving environment from infrastructure code each quarter.
Likelihood 3 x impact 3 before; 2 x 2 after Owner: Site reliability engineer Target: Within 90 days Early warning: Prediction requests with no logged model version or response time above target.

Rating method and evaluation

Each risk is rated on two five-point scales. Likelihood runs from Rare to Almost certain, and impact runs from Insignificant to Severe, covering harm to people, data, service availability, legal exposure and trust. Multiplying the two gives a score from 1 to 25, which falls into one of four bands: Low from 1 to 4, Medium from 5 to 9, High from 10 to 16 and Critical from 17 to 25. The band guides priority and is not a measurement. Inherent risk is the score before any controls, judged as if the controls did not exist. Residual risk is the score after existing and added controls are working, and it must never be higher than inherent. Critical risks need immediate senior attention and a dated plan, High risks need a named owner and a plan within the stated timeframe, Medium risks need routine controls and monitoring, and Low risks are accepted and watched. Impact to people is never rated down simply because a harm has not yet happened. Ratings are challenged in a review by someone outside the owning team, who asks what evidence supports each control and whether it has been tested. Ratings are also revisited whenever an early warning indicator reaches its threshold or a material change is made to data, models or infrastructure.

Likelihood, impact and rating bands

Likelihood

  • 5 Almost certain: Expected to happen in most circumstances.
  • 4 Likely: Will probably happen in many circumstances.
  • 3 Possible: Could happen at some time.
  • 2 Unlikely: Not expected, but it could happen.
  • 1 Rare: Only in exceptional circumstances.

Impact

  • 1 Insignificant: No lasting effect. Handled within routine work.
  • 2 Minor: Small effect that is quickly corrected.
  • 3 Moderate: Noticeable effect that needs managed effort to correct.
  • 4 Major: Serious effect on people, delivery or reputation.
  • 5 Catastrophic: Severe or lasting effect that threatens the whole activity.

Bands (likelihood x impact)

  • Low (1 to 4): Accept and monitor.
  • Medium (5 to 9): Manage with routine controls.
  • High (10 to 16): Senior attention and a treatment plan.
  • Critical (17 to 25): Act first. Do not proceed until reduced.

Monitoring, escalation and review

Review this assessment every 6 months, and sooner when an indicator below reaches its threshold.

Early-warning indicators and escalation thresholds
Indicator to watchEscalate when
Datasets accessed by users outside the approved access list.Escalate to the data platform lead at once, and to the security lead if access is not removed within 24 hours.
Inference endpoints reachable without authentication or from public networks.Escalate to the cloud platform lead immediately and restrict the endpoint until the owner confirms the fix.
Model versions promoted without a verified signature or review record.Escalate to the machine learning engineering manager before release, and block the promotion until it is resolved.
Accuracy or error rate drifting beyond the agreed band for two consecutive weeks.Escalate to the model operations lead, and to the product owner for a rollback decision if the band is breached for three days.
Three or more phishing or failed sign in reports from engineering staff within one month.Escalate to the security lead when the threshold is reached, and to the head of engineering if any account is confirmed compromised.

Contingency arrangements

If a serious event occurs, such as a confirmed leak of training data, a compromised credential or a model that makes harmful predictions in production, the engineering lead disables the affected endpoint or rolls back to the last approved model version. The security lead preserves logs, revokes keys and isolates affected storage. Privacy and legal contacts are informed promptly, and external notices are made only by the person authorized to make them under the relevant rules. Customers are told what they need to know early and in plain language. Recovery uses tested backups and signed model versions, and the post incident review is recorded in the register.

Prioritized action plan

  1. Restrict dataset access to named roles and review it, owner data platform lead, within 30 days.
  2. Move inference endpoints behind private networking with strong sign in, owner cloud platform engineer, within 30 days.
  3. Complete a privacy review of each training dataset before use, owner privacy officer, within 45 days.
  4. Sign and verify model artifacts before promotion, owner machine learning engineer, within 60 days.
  5. Set drift alerts and a tested rollback runbook, owner model operations lead, within 60 days.

Conclusion

Reliable machine learning depends on steady habits: controlled data access, signed model artifacts, private endpoints, tested backups, logged predictions and a named owner for every risk. The highest scores sit with personal data use, data exposure and the integrity of training data, and each has actions that bring the residual score down. Treat the register as a living record, review it on the stated cycle, and seek qualified review for any privacy, security or regulated use before deployment.

Assumptions and limitations

Assumptions

  • Jurisdiction is not specified, so privacy and compliance duties are described in general terms only.
  • Models run on managed cloud infrastructure, with security responsibilities shared between the provider and the team.
  • Training data includes some personal information, and the team does not own every source system.

Limitations

  • The scores are examples for learning and do not describe any real product, team or service.
  • Privacy, security and any regulated use of AI need specialist review, and this content is not legal or security advice.
  • Model risk varies widely by domain, so a formal site specific assessment is needed before deployment.

Related frameworks to study

  • Risk management cycle with identify, assess, treat and monitor steps
  • Least privilege access model
  • Hierarchy of controls
  • Three lines model of risk ownership
  • Secure software development practices

Technical Risk Assessment

China, India, United States, Indonesia, Pakistan, Nigeria, Brazil, Bangladesh, Russia, Japan, Mexico, Philippines, Vietnam, Egypt, Turkey, Germany, United Kingdom, France, Italy, Canada, South Korea, Australia, Spain.

For Learning Reference Only: This assessment demonstrates how risk assessment principles are applied in a practical setting, providing a useful reference for learning and understanding. Actual assessments may be adapted to suit specific site conditions and circumstances.

Keep learning

Study the subject behind this assessment.

More Technical risk assessments

Hourly Active: 45,552 Learners