Based on the MLS-C01 exam guideReport an error
Domain 1: DATA Domain 2: EDA Domain 3: MODELING Domain 4: OPS
────────────────────────────────────────────────────────────────────────────────────
Kinesis Streams → Clean missing values → Tabular data + trees → Real-time endpoint
S3 data lake → One-Hot encoding → XGBoost + AMT → Auto Scaling
Glue ETL → Correlation checks → Bayesian tuning → Drift monitoring
Athena SQL → Distribution plots → F1 (for imbalance) → Canary deployment
→ Residual plot → Model Registry| Pair | Deciding criterion | Left-side clue | Right-side clue | Example |
|---|---|---|---|---|
| Streams ↔ Firehose | Consumer control and replay vs fully managed delivery | Milliseconds, multiple consumers, replay | Serverless, buffer then load into S3 | Multiple teams reading means Streams; a log copy means Firehose |
| Glue ↔ EMR | Serverless vs cluster control | Fast ETL, schema catalog | Spark version/library tuning | "Fast ETL" = Glue, "Spark tuning" = EMR |
| Athena ↔ Redshift | Ad hoc queries vs warehouse | Serverless SQL on S3 | Large-scale structured analytics, always-on BI | Log exploration = Athena, company-wide reporting = Redshift |
| XGBoost ↔ CNN | Data shape | Mixed numeric/categorical columns | Pixels, photos, object locations | Fraud = XGBoost, face verification = CNN |
| Scaling needed ↔ not needed | Does it use distances or gradients | KNN, SVM, neural networks, PCA | Trees, XGBoost | "Standardization is mandatory for XGBoost" is a trap |
| Precision ↔ Recall | FP cost vs FN cost | False positives are expensive | False negatives are expensive | Spam = precision, disease screening = recall |
| Accuracy ↔ F1, PR-AUC | Whether classes are balanced | Roughly balanced | Extreme imbalance, positives 0.5-5% | 99.5% accuracy with 0.5% fraud is meaningless |
| Real-time ↔ Serverless | Is traffic constant | Constant low latency | Intermittent calls, cold start OK | Public API vs internal tool |
| Batch ↔ Async | Bulk vs per-request queuing | Nightly bulk scoring, no endpoint needed | Large payload, long processing | Scoring 10 million images overnight = Batch |
| Canary ↔ Shadow | Do results reach users | Some real users, gradual shift | Traffic mirrored only, responses not returned | "Risk-free validation" = Shadow |
| Monitor ↔ Debugger | After deployment vs during training | Input distribution change, performance drop | Gradient explosion/vanishing | CTR drop 6 weeks after deployment = Monitor |
| Monitor ↔ CloudWatch | Model quality vs infrastructure | Drift, baseline deviation | Latency, invocation count, error rate | For API auditing it is neither: CloudTrail |
| Debugger ↔ Clarify | Training process vs bias and explanation | Training tensor/gradient diagnostics | Disparate Impact, SHAP | Explaining a loan rejection reason = Clarify |
⚠️ Trap: Often all the options are "technically possible." What is asked is not possibility but the MOST appropriate choice. Rank them along the axis the passage emphasizes (cost, latency, operational burden, regulation).
1. DATA: Daily fraud reports → S3 (data lake)
Kinesis Data Streams: real-time fraud flags (consumed independently by several teams)
Glue ETL: daily batch cleaning → deduplication, missing-value imputation
2. EDA: Exploration shows a 0.5% fraud rate (extreme imbalance)
merchant_id is a high-cardinality categorical → One-Hot encoding
No scaling needed (XGBoost)
3. MODELING: XGBoost binary classification
AMT Bayesian tuning: optimize F1 (not accuracy!)
Diagnosis: training 85%, validation 78% → overfitting
→ Add dropout and L1 regularization
→ Final: training 80%, validation 79% (better generalization)
4. OPS: Real-time endpoint (the user waits for the response)
Canary deployment: 5% → 25% → 100%
Automatic alarm if recall drops below 70%
Model Monitor: daily baseline refresh
On drift detection → trigger the retraining pipeline| Requirement sentence | Domain | Choice | Reason |
|---|---|---|---|
| "Several teams each consume the same real-time flags, with replay after failures" | 1 | Kinesis Data Streams | Multiple consumers, replay within the retention period |
| "Daily deduplication and missing-value imputation" | 1 | S3 + Glue ETL | Lake storage + serverless transformation |
| "The fraud rate is 0.5%" | 2 | Drop accuracy, use F1 and PR-AUC | Accuracy overstates performance under imbalance |
| "merchant_id has a very large number of distinct values" | 2 | One-Hot | Unordered categorical |
| "Binary classification on structured tabular data" | 3 | XGBoost | Strong default for tabular data |
| "The tuning budget is limited" | 3 | AMT Bayesian, F1 Maximize | Efficient search that uses earlier trials |
| "Training 85% / validation 78%" | 3 | Overfitting → regularization, dropout | The train-validation gap is the signal |
| "The user waits on the checkout screen" | 4 | Real-time endpoint | Low-latency requirement |
| "Release the new model while reducing risk" | 4 | Canary 5%→25%→100% | Controls user impact in stages |
| "Detect performance drops automatically" | 4 | Model Monitor + CloudWatch alarm | Drift → retraining trigger |
A case where product images taken by factory-line cameras are scored all at once overnight to pull out defect candidates.
[Line cameras] → S3 (raw images) → Glue Catalog (metadata)
│
├─ EDA: 2% defect labels · lighting/angle variation → augmentation plan
│
├─ MODELING: Image Classification (CNN) + transfer learning
│ Metric: recall first (a miss = recall cost)
│ Training: Managed Spot Training (interruption tolerated)
│
└─ OPS: Nightly Batch Transform (S3 input → S3 output)
No always-on endpoint → zero cost during the day
Weekly retraining: Pipelines + Model Registry| Requirement sentence | Domain | Choice | Reason |
|---|---|---|---|
| "Hundreds of thousands of images pile up per hour" | 1 | S3 + Glue Catalog | Large-volume object storage and metadata |
| "Defective samples are only 2%" | 2 | Data augmentation, class weights | Reinforce the minority class |
| "It is image data" | 3 | Image Classification (CNN) | Data shape determines the algorithm |
| "Missing a defect means a costly product recall" | 3 | Recall-focused threshold | FN cost > FP cost |
| "Score everything overnight, no calls during the day" | 4 | Batch Transform | Removes the always-on endpoint cost |
| "Weekly retraining + approval process" | 4 | Pipelines + Model Registry | Automation plus version and approval governance |
⚠️ Trap: The word "real-time" does not always mean a Real-time Endpoint. Real time in data ingestion (Kinesis) and real time in inference (endpoint) are different layers. First work out which stage the requirement belongs to.
A case where weekly demand for thousands of SKUs is forecast and handed to the supply-chain system in batches.
[Store POS / RDS] ─DMS→ S3 ─Glue/Athena→ daily/weekly aggregate tables
│
├─ EDA: missing weeks, cold start for new SKUs
│ Split by time point (no random shuffling)
│
├─ MODELING: DeepAR (many related time series)
│ Promotions/holidays = related time series / categorical features
│ Metrics: RMSE / MAE (no classification metrics)
│
└─ OPS: Batch Transform once a week → S3 → supply-chain integration
Seasonal change → Model Monitor + scheduled retraining| Requirement sentence | Domain | Choice | Reason |
|---|---|---|---|
| "Sales history lives in an on-premises relational DB" | 1 | Migrate to S3 with DMS | Service dedicated to database migration |
| "How do we split training and validation?" | 2 | Split by time point | Random shuffling leaks data in time series |
| "Train thousands of related time series together" | 3 | DeepAR | Suited to global training across many series |
| "External variables such as promotions and holidays" | 3 | Feed in related time series / categorical features | Reflects exogenous variables |
| "Evaluate the forecast error" | 3 | RMSE / MAE | Regression metrics (F1 is wrong) |
| "Handing over the results as a file once a week is enough" | 4 | Batch Transform → S3 | No always-on endpoint needed |
| "The pattern changes with the season" | 4 | Model Monitor + scheduled retraining | Responds to drift |
In scenario questions, the real constraint is hidden in the last sentence. A trailing sentence like "However, an always-on endpoint is not needed" or "There must be no impact on users" flips the answer.
| Question type | Clue to check first | Elimination rule | Typical answer candidates |
|---|---|---|---|
| "Which service should be used" | Data shape · scale/latency · management burden | Remove options that contradict the required management level | Streams / Firehose / Glue / EMR / Athena |
| "Is this data leakage" | Time order, can the feature be built at prediction time | Remove options with future information or target-derived features | Time-based split, fit on the training set only |
| "Fix the overfitting" | The gap between training and validation scores | If both are low it is underfitting → remove stronger regularization | Regularization, early stopping, dropout, augmentation |
| "Which metric to use" | Class balance, FP/FN cost, regression/classification | Remove F1/AUC for regression, RMSE/R² for classification | F1 / PR-AUC / recall / precision / RMSE |
| "Deploy safely" | May results reach users | Remove Canary when "risk-free" is required | Shadow, Canary, Linear, Blue/Green |
| "Performance got worse after deployment" | Is it during training or after deployment | Remove training-time tools (Debugger) | Model Monitor + alarm + retraining |
| "Reduce cost" | Traffic pattern, need for always-on operation | Remove always-on Real-time options | Batch, Serverless, Spot, Multi-Model |
| "Explanation/fairness required" | Regulation/audit, rationale for individual decisions | Remove drift and logging tools | Clarify (SHAP, Disparate Impact) |
| Multiple answers (choose 2-3) | The number of answers in the instruction | Remove options that overlap at the same layer | Combinations across different layers (ingestion + storage, deployment + monitoring) |
| Domain | Weight | Typical question form | Answer axis |
|---|---|---|---|
| 1. Data Engineering | 20% | Choosing ingestion, storage, and ETL services | The four Kinesis services, S3/Glue/EMR/Athena/Redshift, DMS |
| 2. Exploratory Data Analysis | 24% | Preprocessing, encoding, imbalance, leakage judgments | One-Hot, standardization, SMOTE, PCA, correlation/outliers |
| 3. Modeling | 36% | Algorithm selection, tuning, metrics, overfitting diagnosis | XGBoost/CNN/DeepAR/RCF, AMT, F1/RMSE |
| 4. ML Implementation and Operations | 20% | Deployment type, safe rollout, monitoring, cost | Batch/Serverless/Async, Canary/Shadow, Clarify |
In questions that mix domains, some options are "right in only one domain." The algorithm is right but the deployment type is wrong, or the metric is right but the ingestion service is wrong. An option is correct only when the whole sentence is true.
In the next note, we bundle the exam structure and time allocation, the requirement translation table, and a full roundup of traps into a single page to build a D-Day operating manual.
Click a choice to reveal the answer and explanation.
Question 1
A fintech company ingests mobile app clickstream data at millisecond granularity; the fraud detection team and the recommendation team must each consume the same stream independently, and the previous 1 day of data must be reprocessed after a failure. Which ingestion service is MOST appropriate?
Question 2
Credit approval data is extremely imbalanced, with a default (positive) rate of 2%. You want to compare candidate models by discriminative power independent of the threshold, and then set the operating threshold separately according to FN/FP costs. Which evaluation approach is MOST appropriate?
Question 3
A data scientist wants to explore logs in an S3 data lake with standard SQL without provisioning a cluster, and visualize the results in a dashboard. Which combination is MOST appropriate?
Question 4
You want to quickly optimize, with a small tuning budget, a model that predicts churn from structured tabular data (mixed numeric and categorical, with some missing values). Which combination of algorithm and tuning strategy is MOST appropriate?
Question 5
You only need to classify 10 million images in one pass overnight and store the results in S3, and no always-on endpoint is needed during the day. Which inference method is MOST cost-effective?
Question 6
The click-through rate of a recommendation model deployed to production has been declining gradually since 6 weeks after deployment. You want to automatically detect whether the input user behavior distribution has changed from training time and trigger retraining when a threshold is exceeded. Which configuration is MOST appropriate?
Question 7
For a loan underwriting model in a regulated industry, you must quantitatively measure prediction fairness across gender and race groups and explain the basis of individual rejection decisions (which features contributed and by how much). Which service is MOST appropriate?
Question 8
A team wants to standardize, as code, everything from data processing to training, evaluation, and conditional model registration, automatically retrain every week with new data, and manage versions and approvals. Which combination is MOST appropriate?