Community Q&A
MLA-C01 — frequently asked questions
Community-vetted answers to 52 common questions about this exam, each traced back to a specific practice question.
Questions from real practice questions
Each Q&A comes from a specific question — follow the link for the full analysisSageMaker Model Registry for Least Overhead
Why not use ECR for storing model versions?
ECR stores container images, not ML model metadata. It lacks built-in versioning, approval workflows, and lineage tracking provided by the SageMaker Model Registry.
What is the difference between Model Groups and Tags?
Model Groups (Model Package Groups) are a structured way to organize related models and automatically increment version numbers. Tags are simple key-value pairs and do not provide the same organizational or versioning structure.
Minimize SageMaker Training Infrastructure Startup Times
Does SageMaker Training Compiler reduce infrastructure startup time?
No. It optimizes model execution speed and memory usage during training/inference, not the initial provisioning of instances.
Can I use Spot Instances to speed up training job starts?
No. Spot Instances are used to reduce costs. They do not affect the time required to provision and start infrastructure.
How Do You Require Manual Approval Before SageMaker Model Deployment?
Why is SageMaker Model Monitor wrong for approving a model version?
Model Monitor only evaluates data quality, model quality, bias and feature attribution on live traffic. It raises alerts about drift but holds no approval status, so it cannot block or authorize a deployment.
How does SageMaker Pipelines enforce the manual approval step?
The pipeline registers the model version as PendingManualApproval, a reviewer confirms it, and an AWS SDK UpdateModelPackage call sets the status to Approved before the deployment step runs.
AWS Glue Crawlers and DataBrew for CSV Schema Inference
Why can't I use Amazon Athena to infer the schema?
Athena queries tables that already exist in the Glue Data Catalog. It cannot automatically scan raw, unlabeled files to create the schema and catalog entries; that is the specific function of AWS Glue Crawlers.
Is SageMaker Batch Transform used for data cleaning?
No. SageMaker Batch Transform is primarily used for running inference on trained models against large datasets. For data cleaning and feature engineering of raw source data, AWS Glue DataBrew is the appropriate managed tool.
AWS SageMaker CI/CD Pipeline Automation with S3 Events
What is the difference between S3 Event Notification and Lifecycle Rule?
Event Notifications trigger actions (like starting a pipeline) when data changes. Lifecycle Rules manage the storage class and expiration of objects over time.
Why deploy to Endpoint instead of Model Registry?
Model Registry stores versions for tracking and approval. An Endpoint provides the actual infrastructure to serve real-time inference requests from applications.
Generative AI Terms: Token, Embedding, RAG
What is the difference between a Token and an Embedding?
A Token is the raw unit of text (word/subword) processed by the model. An Embedding is the numerical vector representation of that token used to capture semantic meaning.
Why is Temperature not the correct answer here?
Temperature controls the randomness of the output. The descriptions provided refer to data units, vector conversions, and retrieval methods, none of which describe output randomness.
SageMaker Algorithm for Fraud Detection
Why is Linear Learner not suitable for this fraud detection scenario?
Linear Learner assumes linear relationships between features and the target. It cannot capture the complex, non-linear interdependencies mentioned in the scenario.
Can K-means be used for fraud detection with labeled data?
No, K-means is an unsupervised algorithm used for clustering unlabeled data. Fraud detection with transaction logs and profiles is a supervised classification task.
What Fixes Oscillating SGD Training and Validation Loss?
Why does a high learning rate make both training and validation loss oscillate?
SGD updates repeatedly overshoot the minimum when the step size is too large, so loss falls and rebounds; both curves can oscillate until the rate is reduced.
Why is early stopping not the fix for oscillating SGD loss?
Early stopping only halts training at a selected point; it does not correct the oversized weight updates that cause the oscillation.
How to Copy an Amazon Comprehend Custom Model Across Accounts?
Why is an S3 copy not the least-effort way to move a Comprehend custom model?
Comprehend custom models are shared through the ImportModel API; manually copying artifacts in S3 does not carry the model's Comprehend metadata and adds development work.
Does Comprehend ImportModel require both accounts to be in the same Region?
Yes, importing a Comprehend custom model requires the source and destination to be in the same Region, matching this scenario in us-east-1.
How to Fix Validation Performance That Degrades After Several Epochs?
Why does increasing layers or neurons not fix the degrading validation curve?
More layers or neurons raise model capacity, which speeds up memorization of training noise and makes validation performance peak earlier and fall further — it worsens overfitting rather than mitigating it.
Why is reducing model bias not the right fix for this epoch curve?
High bias shows up as poor performance on both training and validation sets (underfitting). Here the model fits well at first, so the problem is variance, and early stopping plus dropout target it directly.
How to Deploy a Nightly SageMaker Prediction Model?
Why can’t a real-time SageMaker endpoint scale to zero for nightly predictions?
SageMaker real-time endpoints require at least one instance at all times; autoscaling can add instances but cannot reduce the minimum below one. Serverless Inference scales to zero when idle.
Does a 3 MB payload and sub-minute runtime fit SageMaker Serverless Inference?
Yes. The payload and runtime are within Serverless Inference limits, and MaxConcurrency 1 matches the single nightly invocation while allowing scale-to-zero between runs.
How to Rotate Third-Party API Tokens Every 3 Months on AWS?
Why can't Parameter Store meet the 3-month rotation requirement?
Parameter Store can hold the tokens as SecureString values but has no built-in rotation scheduler, so you would have to build and maintain the entire rotation workflow yourself.
Why is a KMS AWS managed key or AWS owned key wrong for rotating API tokens?
KMS only manages encryption keys, not arbitrary secrets like API tokens, and its automatic key rotation cannot be scheduled to call an external embedding provider every 3 months.
Best AWS Tool to Merge and Clean Datasets for ML?
Why can't SageMaker Ground Truth consolidate and clean the datasets?
Ground Truth is a human-in-the-loop labeling service that produces annotations, not a data frame. It offers no built-in imputation, deduplication, or outlier transforms.
Does Data Wrangler handle all three issues: missing values, duplicates, and outliers?
Yes. Data Wrangler ships built-in transforms for imputing missing values, dropping duplicates, and scaling or clipping outliers, all inside one data flow.
How to Access FSx for ONTAP Training Data in SageMaker?
Why can't SageMaker Training use FSx for ONTAP as a FileSystemDataSource?
SageMaker Training natively supports Amazon EFS and FSx for Lustre as file-system data sources; FSx for ONTAP is accessed by mounting it to a SageMaker instance in the same VPC instead.
Why is a Data Wrangler catalog connection not enough for training data?
Data Wrangler is a data preparation tool; a catalog or direct connection lets analysts explore FSx for ONTAP data but does not mount the volume for SageMaker training code.
How to Label Employee-Only Image Data With Maximum Accuracy?
Why is Amazon Mechanical Turk wrong for labeling employee-only images?
Mechanical Turk draws on a public, anonymous crowd, so confidential images would leave the organization's controlled workforce and breach the employee-only access requirement.
Could Amazon Rekognition label the images well enough instead of Ground Truth?
Rekognition automates detection using pretrained or custom models but gives no employee-reviewed ground truth for your specific taxonomy, so it does not meet the highest-accuracy labeling goal.
Which SageMaker option mitigates forecast degradation over time?
Why isn't SageMaker Debugger the right tool for endpoint forecast degradation?
Debugger profiles and debugs training jobs; it does not compare live endpoint predictions with ground truth or baseline feature attributions, so it cannot catch this drift.
If Model Monitor is the real service, why is SageMaker Clarify the answer?
Clarify's bias and feature-attribution drift monitors run through SageMaker Model Monitor; among the listed options, D is the only one that continuously monitors production model behavior.
Which Compute Is Most Cost-Effective for Interruptible SageMaker Training?
Why are SageMaker AI Savings Plans not the best choice for these training jobs?
Savings Plans require a spend commitment for predictable usage; because these jobs tolerate interruption, Spot with checkpoints captures deeper discounts and lower total cost.
Do Reserved Instances with partial upfront work if training runs monthly?
Reserved capacity suits steady, uninterrupted workloads and still charges for unused or interrupted capacity; Spot is more cost-effective for fault-tolerant 48–72 hour jobs.
How Should SageMaker AI Serve High-Resolution Image Cost Predictions with User Notifications?
Why is batch transform wrong for notifying users after each image is processed?
Batch transform scores a whole dataset on a schedule and writes results to S3; it has no per-request callback, so users would not be alerted when their individual image finishes.
Why not store the uploaded images in Amazon EFS instead of Amazon S3?
SageMaker inference reads input objects from Amazon S3, and EFS is a shared file system for compute instances rather than the object store used for inference payloads.
SageMaker Traffic Shifting Strategies for ML Model Deployment
What is the difference between Canary and Linear traffic shifting in SageMaker?
Canary shifts a fixed percentage of traffic (e.g., 10%) to the new model immediately and keeps it there for monitoring. Linear gradually increases the percentage of traffic to the new model over a specified duration.
When should I use All at once traffic shifting in SageMaker?
Use All at once for non-critical models, testing environments, or when you need to instantly switch all traffic to the new version without any gradual transition or rollback window.
How to Make SageMaker Endpoint Auto Scaling Most Responsive?
Why is the 600-second scale-in cooldown worse than the default 300 seconds?
A longer cooldown keeps the endpoint waiting longer before another scaling action, which reduces responsiveness when demand is volatile; 300 seconds supports faster adjustment.
Does SageMaker auto scaling support 10-second high-resolution metrics?
Yes. SageMaker endpoint target tracking can use high-resolution metrics at 10-second intervals, which detect traffic spikes sooner than standard one-minute metrics.
SageMaker ML Project Implementation Steps Order
Why does problem type come before algorithm selection?
Because the problem type (e.g., detection) determines the model architecture and output format. You cannot select a valid algorithm without knowing what task it needs to perform.
Can I preprocess data before choosing a model?
No, because different models require different input formats and may need specific augmentations. Preprocessing should be tailored to the selected model's requirements.
Which SageMaker algorithm detects irregularities in unlabeled patient data?
Why is k-means clustering wrong for detecting irregular vital signs?
k-means only partitions records into k similar groups and needs k chosen upfront; it produces cluster membership, not the per-record anomaly score required to flag irregular patients.
What does the num_trees hyperparameter control in SageMaker Random Cut Forest?
It sets how many random cut trees form the forest. Larger values (well above 100) reduce variance in the anomaly scores at the cost of more compute and memory.
How to Fix Image Classification When One Class Is Rare?
Why is SMOTE inappropriate for the rare image class in this scenario?
SMOTE interpolates between numeric feature vectors, so applying it to raw pixels often creates unrealistic blended images rather than meaningful variations of the minority class.
Why optimize for F1 score instead of accuracy?
With one extremely small class, high accuracy can hide poor minority-class predictions; F1 balances precision and recall so improvement on the rare class is actually measured.
How to Fix SageMaker XGBoost Overfitting with Least Effort?
Why does increasing lambda fix SageMaker XGBoost overfitting?
lambda is the L2 regularization term; raising it constrains leaf weights and reduces variance, so the model generalizes better to real-world validation data.
Why is option A not the least-effort fix for this validation gap?
Adding more representative real-world data can help, but it requires data acquisition and retraining, while changing lambda is a single hyperparameter adjustment.
Amazon SageMaker AI Model Deployment Strategies
What is the difference between Canary and Linear traffic shifting in SageMaker?
Canary shifts a small percentage initially to validate the new model before moving all traffic, whereas Linear shifts traffic gradually in increments over a specified time period.
When should I use All at once deployment in SageMaker?
Use All at once when you need to switch 100% of traffic to the new model immediately without any gradual transition or validation phase.
Optimize Amazon SageMaker AI Training Time
Does changing batch size affect model accuracy?
It can, but larger batch sizes often allow for faster convergence and better generalization if tuned correctly, improving speed without necessarily hurting final performance.
Why isn't Spot Fleet a correct answer here?
Spot Instances are primarily for cost reduction. They can interrupt training due to price spikes, potentially increasing total wall-clock time or causing job failures.
← Back to MLA-C01 AWS Certified Machine Learning Engineer Study Guide