Chapter 12
Deployment, MLOps and Efficient Deep Learning
Advance Diploma in Artificial Intelligence and Machine Learning
Deep Learning & Neural Networks
•
Advance Diploma
Deployment, MLOps and Efficient Deep Learning
Introduction
A deep-learning model has little practical value if it cannot be reproduced, served reliably, monitored in operation, updated safely, and executed within the available cost, latency, memory, and energy limits. Deployment therefore extends far beyond exporting a trained neural network. It is a lifecycle discipline connecting data engineering, software engineering, infrastructure, security, model evaluation, and responsible governance.
In a laboratory, a model may be evaluated on a fixed test set. In production, inputs change, dependencies fail, traffic varies, hardware becomes unavailable, and users may be affected by systematic errors. MLOps—machine-learning operations—provides processes and tools for managing these realities. Efficient deep learning complements MLOps by reducing computational and operational requirements through quantization, pruning, knowledge distillation, efficient architectures, compilation, and hardware-aware design.
This chapter explains how models are packaged and served through APIs, cloud systems, edge devices, and mobile platforms. It also develops versioning, CI/CD, observability, drift detection, model governance, and lifecycle management as an integrated professional practice.
Learning objectives
After studying this chapter, a learner should be able to:
Distinguish training, validation, staging, and production environments.
Package a model and expose it through a reliable inference API.
Compare cloud, edge, and mobile deployment strategies.
Design an MLOps workflow with data, code, model, and infrastructure versioning.
Select suitable latency, throughput, reliability, and quality metrics.
Explain monitoring, data drift, concept drift, and model degradation.
Apply quantization, pruning, distillation, and compilation appropriately.
Evaluate operational, ethical, security, and governance risks.
Manage model releases, rollback, retraining, and retirement.
1. From trained model to production service
A trained model is normally a mapping from an input space to an output space. For a classifier, it may produce class probabilities:
ŷ = f_θ(x)
Here, x is an input, f_θ is the model with parameters θ, and ŷ is the prediction. In deployment, this mathematical mapping is surrounded by preprocessing, validation, transport, logging, post-processing, authentication, scaling, and error handling.
A production inference path commonly contains the following stages:
Request admission: authenticate the caller, enforce quotas, and validate payload size and schema.
Preprocessing: resize an image, tokenize text, normalize numerical fields, or construct features.
Inference: execute the model using a CPU, GPU, accelerator, or mobile runtime.
Post-processing: decode tokens, apply thresholds, suppress duplicate detections, or format a response.
Observability: record latency, status, model version, resource use, and carefully selected input statistics.
Response: return a documented result or a meaningful error.
The preprocessing used in production must be identical in meaning to the preprocessing used during training. A model trained on normalized pixel values but served raw pixel values may fail even though its weights are correct. Preprocessing code should therefore be versioned and packaged with the model or represented explicitly in a reproducible pipeline.
Batch and online inference
Online inference responds to an individual request, usually under a latency objective. It is appropriate for fraud checks, recommendations, conversational systems, and interactive vision. Batch inference processes many records together, often at lower cost and higher hardware utilization. It is appropriate for nightly risk scoring, document indexing, or demand forecasting.
A useful capacity relationship is:
Throughput = N ÷ T
where N is the number of completed inference requests and T is the observation interval. If 12,000 requests are completed in 60 seconds, throughput is 200 requests per second. This measure is meaningful only when the request size, concurrency, hardware, and latency distribution are also reported.
Latency is not adequately represented by an average alone. Percentiles such as p50, p95, and p99 show the time below which 50%, 95%, and 99% of requests finish. A service may have an acceptable mean latency but unacceptable tail latency caused by queueing or resource contention.
Packaging and reproducibility
A deployable artifact should include, or unambiguously reference:
model weights and architecture;
preprocessing and post-processing logic;
runtime and library versions;
input and output schema;
hardware assumptions;
model card, limitations, and evaluation results;
security and licensing information.
Container images are commonly used to make operating-system libraries and application dependencies repeatable. Containers improve consistency but do not guarantee reproducibility by themselves: floating dependency versions, nondeterministic operations, changing data, and hardware-specific kernels can still produce differences. Pinning dependencies, recording random seeds where applicable, storing immutable artifacts, and testing on representative hardware are essential.
MLOps deployment lifecycle from data to monitoring and retraining
Figure: MLOps deployment lifecycle from data to monitoring and retraining
Figure: A continuous MLOps lifecycle linking data, training, registry, serving, monitoring, and retraining.
2. Serving models through APIs
An inference API defines a contract between a client and a model service. The contract should specify the endpoint, method, authentication, request schema, response schema, error codes, maximum payload, timeout, and model version policy. A typical REST endpoint uses an HTTP POST request containing JSON or binary data. gRPC is often preferred for internal, high-throughput services because it uses strongly typed interfaces and efficient serialization. Streaming protocols may be appropriate for speech or video.
A robust API should validate input before inference. Validation includes data types, tensor dimensions, permitted ranges, missing values, and limits on image or document size. Invalid input should produce a controlled client error rather than an internal stack trace. Timeouts, retries, circuit breakers, and idempotency policies should be designed explicitly. Blind retries can multiply traffic and worsen an overload event.
Synchronous, asynchronous, and streaming services
A synchronous service holds the connection until prediction is available. An asynchronous service accepts a job, returns an identifier, and allows the client to retrieve results later. Asynchronous processing is useful for large documents and long-running generative workloads. Streaming services return partial results or process continuous signals, but they require attention to buffering, ordering, back-pressure, and disconnection recovery.
Scaling may be vertical—using a larger machine—or horizontal—running multiple service replicas behind a load balancer. Autoscaling based only on CPU can be inappropriate for GPU inference; queue length, accelerator utilization, memory, and request latency may be better signals. Warm-up time and model loading must be included in capacity planning.
A model service can be deployed using:
Pattern
Strength
Main concern
Embedded library
Low communication overhead
Tight coupling and dependency conflicts
REST or gRPC service
Independent scaling and language-neutral access
Network latency and service operations
Batch job
Efficient large-scale processing
Not suitable for immediate responses
Serverless function
Elasticity and simple operations
Cold starts, execution limits, and accelerator availability
In-process edge/mobile runtime
Low latency and offline operation
Hardware, memory, and update constraints
3. Cloud, edge, and mobile deployment
Cloud deployment
Cloud platforms provide elastic compute, managed storage, observability, identity services, orchestration, and specialized accelerators. They are suitable when models are large, traffic is variable, centralized governance is required, or data can legally leave the local environment. Costs should include inference compute, storage, network transfer, observability, idle capacity, and engineering operations.
Cloud deployment does not automatically solve privacy or reliability. Data residency, contractual controls, encryption, tenant isolation, secrets management, and service-provider dependencies must be assessed. A multi-zone design can improve availability, but redundancy increases cost and operational complexity.
Edge deployment
Edge inference executes near the data source, such as on an industrial gateway, camera, vehicle, or retail device. It can reduce network latency, preserve privacy, and continue operating during disconnection. Constraints include limited memory, energy, thermal capacity, intermittent connectivity, hardware diversity, and difficult fleet-wide updates.
Edge systems should support secure boot, signed model artifacts, encrypted communications, local access control, health reporting, and rollback. A device that cannot be updated safely becomes a long-term security and compliance liability.
Mobile deployment
Mobile applications usually require compact models and predictable resource use. On-device inference can improve responsiveness and privacy, but models compete with the application and operating system for CPU, memory, battery, and thermal capacity. Mobile runtimes commonly support graph optimization and hardware delegates for CPUs, GPUs, or neural accelerators.
A model should be evaluated on representative devices, not only on a development workstation. Quantization may reduce size and improve speed, but accuracy can vary across classes and demographic groups. Model updates must also account for application compatibility, staged rollout, user consent, and offline behavior.
4. MLOps foundations: versioning and automation
MLOps applies software-engineering discipline to systems whose behavior depends on data and learned parameters. Four forms of versioning are particularly important:
Code versioning: training, preprocessing, evaluation, and serving code.
Data versioning: raw-data references, schemas, labels, exclusions, and dataset snapshots.
Model versioning: weights, architecture, hyperparameters, metrics, and intended use.
Environment and infrastructure versioning: dependency locks, container definitions, deployment manifests, and configuration.
A model registry is more than a file store. It should record lineage: which data, code commit, environment, evaluation run, and approval produced an artifact. Typical model states include development, candidate, validated, approved, deployed, archived, and retired. Promotion between states should be controlled by tests and human approval appropriate to risk.
Continuous integration and delivery
A useful CI/CD pipeline may perform the following checks:
unit tests for preprocessing and post-processing;
schema and data-quality tests;
reproducibility or deterministic-output checks where feasible;
security and dependency scanning;
model-shape and serialization checks;
evaluation against fixed benchmark datasets;
fairness, calibration, and robustness checks;
load, latency, and memory tests;
container and infrastructure validation.
Continuous delivery makes an artifact deployable; continuous deployment automatically releases it when policy gates pass. High-impact applications should not rely on accuracy alone. Approval may require privacy review, security review, human oversight, and evidence that the model is appropriate for its intended population.
Deployment strategies include:
Blue-green: maintain old and new environments and switch traffic between them.
Canary: send a small fraction of traffic to the new version and compare outcomes.
Shadow: run the new model in parallel without using its predictions for decisions.
A/B test: compare variants under a predefined experimental design.
Rollback: return to a known-good artifact when technical or quality criteria fail.
A/B testing of models requires care because randomization, seasonality, user adaptation, and unequal error costs can distort conclusions. Offline gains do not guarantee improved business or social outcomes.
5. Monitoring production deep-learning systems
Monitoring must cover the entire system, not only server uptime. Four layers are useful:
missingness, range violations, feature distributions, schema changes
Model and outcome
confidence, calibration, class rates, accuracy when labels arrive, subgroup performance
A service-level objective (SLO) expresses an intended level of service, such as a p95 latency below a specified threshold or an availability target over a measurement period. An error budget is the permitted amount of failure implied by the SLO. These concepts help balance release speed against reliability.
Model quality is often delayed because ground-truth labels arrive later. Until labels are available, proxy signals—input validity, prediction distributions, confidence, abstention rate, and human-review rate—can provide early warnings. Proxies are not substitutes for outcome evaluation.
Drift and shift
Data drift means that the distribution of inputs changes. Concept drift means that the relationship between inputs and targets changes. Label drift means that the target or class proportions change. A production model can experience one or several simultaneously.
For a numerical feature, a two-sample comparison may be used. The population stability index is sometimes defined as:
PSI = ∑ᵢ (pᵢ − qᵢ) ln(pᵢ ÷ qᵢ)
Here, pᵢ is the reference proportion in bin i, qᵢ is the current proportion, and the sum covers corresponding bins. Both proportions must be positive; zero values require a documented smoothing rule. PSI is a heuristic, not a universal test, and its interpretation depends on binning, sample size, and context.
The Kullback–Leibler divergence is another distribution-comparison measure:
DKL(P ∥ Q) = ∑ₓ P(x) ln(P(x) ÷ Q(x))
It is defined for distributions over the same support, with Q(x) positive whenever P(x) is positive. It is asymmetric and therefore is not a distance in the strict mathematical sense. Monitoring should combine statistical indicators with domain knowledge and outcome labels.
A drift alert should not automatically trigger retraining. The team should investigate whether the change is a data pipeline defect, a temporary event, a legitimate population change, or evidence of degraded model performance. Retraining on contaminated or biased data can make the system worse.
6. Efficient deep learning
Efficiency has several dimensions: model size, memory bandwidth, arithmetic operations, latency, throughput, energy, and monetary cost. An optimization that reduces parameter count may not reduce latency if the resulting operations are poorly supported by the target hardware. Therefore optimization must be measured on the deployment target.
Quantization
Quantization represents weights or activations with fewer bits. In post-training quantization, a trained model is converted after training. In quantization-aware training, the training process simulates quantization effects so parameters can adapt.
For a uniform affine mapping from a real value r to an integer q, a common form is:
q = clamp(round(r ÷ s) + z, qmin, qmax)
Here, s is a positive scale, z is a zero-point, qmin and qmax define the integer range, and clamp restricts the result to that range. Dequantization is approximately:
r̂ = s(q − z)
The scale and zero-point must be calibrated from representative values. Symmetric quantization often uses z = 0, while asymmetric quantization can better represent ranges not centered on zero. Lower precision can reduce memory and accelerate inference, but sensitive layers may need higher precision. Accuracy should be measured overall and by important subgroups.
Pruning
Pruning removes parameters or structures. Unstructured pruning sets individual weights to zero, potentially reducing storage when sparse kernels are supported. Structured pruning removes channels, filters, heads, or blocks and is more likely to produce direct speedups on ordinary hardware. A sparsity ratio may be written as:
S = Nzero ÷ Ntotal
where Nzero is the number of zeroed parameters and Ntotal is the total number of parameters. This ratio alone does not determine runtime improvement; hardware and implementation are decisive.
Pruning can be gradual, followed by fine-tuning. Excessive pruning may harm rare classes or calibration even when aggregate accuracy changes little.
Knowledge distillation
Knowledge distillation trains a smaller student model to learn from a larger teacher. If zt and zs are teacher and student logits, softened probabilities can be formed using temperature τ > 0:
pi(τ) = exp(zi ÷ τ) ÷ ∑ⱼ exp(zj ÷ τ)
A larger temperature produces a softer distribution that contains information about relationships among classes. A practical objective combines hard-label loss and soft-target loss, with the exact weighting and temperature selected empirically. Teacher outputs must be generated consistently, and distillation does not guarantee preservation of fairness or robustness.
Other efficiency methods
Efficient convolutional architectures, low-rank factorization, operator fusion, batching, caching, mixed precision, compilation, and hardware-specific kernels may improve performance. However, batch size affects both throughput and latency; larger batches can increase utilization but may violate response-time requirements. Benchmarking should report accuracy, p50/p95 latency, throughput, memory, energy where relevant, and cost per prediction.
7. Model lifecycle management
A lifecycle begins with a defined problem and ends with retirement. A practical sequence is:
Define intended use, users, risks, success criteria, and non-goals.
Acquire and document data, consent, provenance, and labeling procedures.
Train and evaluate reproducibly using versioned artifacts.
Validate robustness, security, fairness, calibration, and operational performance.
Approve and deploy using a controlled release strategy.
Monitor technical and outcome metrics.
Retrain, replace, rollback, or retire according to evidence and policy.
Retirement is a professional responsibility. A model should be withdrawn when it is obsolete, insecure, unsupported, legally inappropriate, or consistently inferior to a successor. Archived artifacts and decision records may need to be retained for audit, while personal data should be retained only according to lawful and necessary purposes.
Model cards and system documentation should state intended use, out-of-scope uses, training-data characteristics, evaluation populations, limitations, known failure modes, environmental or compute considerations, and contact or escalation procedures.
8. Security, ethics, and governance
Deployed models face ordinary software threats and ML-specific threats. Risks include malicious input manipulation, data poisoning, model extraction, membership inference, prompt injection in generative systems, insecure artifact storage, dependency vulnerabilities, and unauthorized access to prediction logs.
Controls include least-privilege identity, secret management, encryption in transit and at rest, signed artifacts, dependency scanning, network isolation, rate limiting, audit logs, input validation, and incident response. Sensitive inputs should not be logged by default. Logs must be designed to support diagnosis without unnecessarily exposing personal data.
Responsible deployment requires more than technical accuracy. Teams should examine unequal error rates, accessibility, explainability needs, human override, contestability, consent, and the consequences of automation. Privacy-preserving methods such as minimization, aggregation, federated learning, or differential privacy may reduce risk, but each introduces utility, complexity, or governance trade-offs. Regulatory obligations vary by jurisdiction and application; high-impact uses generally require stronger documentation, human oversight, risk management, and post-deployment monitoring.
9. Illustrative case: vision inspection on a factory edge gateway
Background
A manufacturer uses a neural network to detect surface defects on metal components. Cameras capture images on a production line moving 40 components per minute. The factory has unreliable external connectivity and cannot upload all images because components may reveal proprietary designs.
Problem
The original cloud prototype has an average response time of 180 ms, but its p95 latency is 420 ms. Network interruptions stop inspection. The model uses 32-bit floating-point weights and requires more memory than the proposed gateway. A false negative is substantially more costly than a false positive because defective components may reach customers.
Analysis
The team defines requirements: inspection latency below 100 ms at p95, continued operation for at least eight hours without connectivity, secure remote updates, and recall-oriented evaluation emphasizing false negatives. Accuracy alone is rejected as the principal criterion because defects are rare and class imbalance makes accuracy potentially misleading.
The team profiles preprocessing, inference, and post-processing separately. It collects representative images across lighting conditions, shifts, product variants, and camera positions. A shadow deployment compares the candidate model with the existing inspection process without changing production decisions.
Approach and solution
The model is converted to 8-bit quantized inference using calibration images from the production distribution. Sensitive final layers remain at higher precision after evaluation. Structured pruning removes channels with low contribution, followed by fine-tuning. A smaller student model is trained through distillation, but it is accepted only if its defect recall and subgroup performance meet predefined limits.
The gateway runs a signed container or runtime package with a read-only application partition, encrypted local storage, and a rollback slot containing the previous model. Images are retained only when a defect is suspected or when an authorized diagnostic mode is active. The API is local and authenticated; health metrics are periodically transmitted when connectivity returns.
Monitoring includes image-size and brightness ranges, prediction confidence, defect rate, temperature, memory, p95 latency, and disagreement with a human review sample. A drift alert triggers investigation rather than automatic deployment of new weights. Releases use a canary group of production lines before fleet-wide rollout.
Outcome
In this illustrative scenario, the optimized model meets the latency and offline requirements while reducing gateway memory use. The team discovers during shadow testing that one product finish is underrepresented in training data; it expands the dataset before approval. The operational success therefore depends not only on quantization and pruning but also on data coverage, release controls, and monitoring.
Learning points
Edge deployment changes the optimization objective from accuracy alone to accuracy under resource and reliability constraints.
Tail latency and failure behavior matter more than a single average.
Model compression can expose subgroup weaknesses and must be evaluated accordingly.
Signed updates, rollback, and offline operation are part of the model system.
Drift alerts require investigation and governance, not reflexive retraining.
10. Best-practice checklist
Before deployment, confirm that:
the intended use and unacceptable uses are documented;
data, code, model, and environment lineage is reproducible;
preprocessing is identical between evaluation and serving;
schemas, authentication, quotas, timeouts, and errors are tested;
target-hardware benchmarks include p95 or p99 latency;
quality, calibration, robustness, and subgroup metrics are recorded;
monitoring covers infrastructure, service, data, and outcomes;
a rollback artifact and incident procedure exist;
model updates are signed, authorized, and staged;
privacy, security, accessibility, and regulatory requirements are reviewed;
retraining triggers and retirement criteria are explicit.
Chapter Summary
Deployment turns a neural network into a dependable system by combining model artifacts with preprocessing, APIs, infrastructure, monitoring, security, and governance. Cloud services provide elasticity, while edge and mobile deployment can improve latency, privacy, and resilience under resource constraints. MLOps maintains reproducibility through code, data, model, environment, and infrastructure versioning; CI/CD automates testing and controlled release.
Production monitoring must include infrastructure, service behavior, data distributions, and model outcomes. Data drift and concept drift are different phenomena and should not automatically cause retraining. Quantization, pruning, distillation, efficient architectures, compilation, and hardware-aware profiling can reduce cost and latency, but every optimization must be measured on representative hardware and evaluated for accuracy, fairness, and robustness. A complete lifecycle includes problem definition, validation, approval, deployment, monitoring, retraining, rollback, and responsible retirement.
Key Terms
MLOps: Practices for developing, deploying, operating, and governing machine-learning systems.
Inference: Applying a trained model to new input to produce a prediction.
Model artifact: A deployable representation of model architecture, weights, and associated metadata.
API: A defined interface through which software requests predictions or other services.
Container: An isolated package containing application code and its runtime dependencies.
Model registry: A controlled repository that stores model versions, lineage, metadata, and approval states.
CI/CD: Continuous integration and continuous delivery or deployment of tested software artifacts.
Canary release: A deployment in which a small proportion of traffic receives a new version first.
Shadow deployment: Running a candidate model beside production without using its predictions for decisions.
Observability: The ability to understand system state through logs, metrics, and traces.
Data drift: Change in the distribution of model inputs over time.
Concept drift: Change in the relationship between inputs and the target variable.
Quantization: Representing values with lower numerical precision.
Pruning: Removing parameters or structures judged unnecessary for a model.
Knowledge distillation: Training a student model using information from a larger teacher model.
Tail latency: High-percentile response time, such as p95 or p99 latency.
Rollback: Returning to a previously validated version after a release problem.
Model card: Documentation describing a model’s purpose, evaluation, limitations, and risks.
Model lineage: The recorded relationship among data, code, environment, training run, and model artifact.
Edge inference: Executing a model near the source of data rather than in a centralized cloud.
Review Questions
Short Answer Questions
Why must preprocessing be versioned and aligned between training and production?
Distinguish online inference from batch inference.
What information should a model registry record besides model weights?
Define data drift and concept drift.
Why can structured pruning produce more practical speedups than unstructured pruning?
Long Answer Questions
Explain the architecture and operational requirements of a production inference API.
Compare cloud, edge, and mobile deployment in terms of latency, privacy, resources, reliability, and update management.
Describe how CI/CD and model registries support safe model releases.
Explain quantization, pruning, and knowledge distillation, including their principal risks.
Develop a monitoring and governance plan for a high-impact prediction service.
Analytical / Application Questions
A model has excellent offline accuracy but its p99 latency violates the service objective. Propose a systematic diagnostic and optimization plan, and identify the measurements required before and after each change.
A production feature distribution changes substantially, but the delayed ground-truth accuracy has not yet changed. Determine possible explanations and design an investigation that avoids unjustified automatic retraining.
Design a release strategy for a mobile medical-imaging model that includes validation, staged deployment, rollback, privacy protection, subgroup evaluation, and model retirement criteria.
Multiple Choice Questions with Answers
Question 1
Which item is most directly part of model lineage?
A. The screen brightness of a developer’s laptop
B. The data snapshot, code commit, environment, and training run used to produce a model
C. The number of users who visited a website last year
D. The color scheme of the monitoring dashboard
Correct Answer: B. The data snapshot, code commit, environment, and training run used to produce a model
Question 2
Which deployment pattern runs a new model in parallel without using its predictions for production decisions?
A. Blue-green deployment
B. Canary deployment
C. Shadow deployment
D. Batch deployment
Correct Answer: C. Shadow deployment
Question 3
What does p95 latency describe?
A. The average latency of exactly 95 requests
B. The latency below which approximately 95% of requests complete
C. The maximum possible latency of the service
D. The percentage of successful predictions
Correct Answer: B. The latency below which approximately 95% of requests complete
Question 4
In the affine quantization equation, what does the scale parameter control?
A. The mapping between real-valued magnitudes and integer steps
B. The number of training epochs
C. The probability of model rollback
D. The number of API clients
Correct Answer: A. The mapping between real-valued magnitudes and integer steps
Question 5
Which statement best distinguishes concept drift from data drift?
A. Concept drift concerns hardware temperature, whereas data drift concerns memory
B. Concept drift is a change in the input-target relationship, whereas data drift is a change in input distribution
C. Concept drift occurs only during training, whereas data drift occurs only during testing
D. They are two names for identical phenomena
Correct Answer: B. Concept drift is a change in the input-target relationship, whereas data drift is a change in input distribution
Question 6
Why can a lower parameter count fail to reduce inference latency?
A. Latency is unrelated to hardware and implementation
B. The remaining operations may be poorly supported or memory-bound on the target hardware
C. Fewer parameters always increase network traffic
D. Parameter count affects only label quality
Correct Answer: B. The remaining operations may be poorly supported or memory-bound on the target hardware
Question 7
Which practice most directly supports safe recovery after a faulty model release?
A. Deleting the previous model immediately
B. Keeping a validated rollback artifact and testing the rollback procedure
C. Disabling all monitoring during deployment
D. Increasing the model’s temperature parameter
Correct Answer: B. Keeping a validated rollback artifact and testing the rollback procedure
Question 8
What is the primary purpose of knowledge distillation?
A. To train a smaller student model using information from a larger teacher model
B. To encrypt model weights using a teacher password
C. To replace all labels with random values
D. To increase image resolution during preprocessing
Correct Answer: A. To train a smaller student model using information from a larger teacher model
Question 9
Which monitoring signal is an outcome metric rather than an infrastructure metric?
A. GPU memory utilization
B. Network packet loss
C. Subgroup false-negative rate after labels become available
D. Disk temperature
Correct Answer: C. Subgroup false-negative rate after labels become available
Question 10
Why should a drift alert not automatically trigger retraining?
A. Drift measurements are always mathematically invalid
B. The change may be a pipeline error, temporary event, or legitimate shift, and retraining on bad data may worsen the model
C. Retraining can never improve a model
D. Production models cannot be versioned
Correct Answer: B. The change may be a pipeline error, temporary event, or legitimate shift, and retraining on bad data may worsen the model