Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free Amazon AWS Certified Machine Learning Engineer - Associate MLA-C01 Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 17 Total 241 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Domain 1: Data Preparation for Machine Learning (ML)

Skill tested: Selects suitable S3 data formats and ingestion patterns for scalable tabular training data.

A retail analytics team receives daily transactions as CSV files in Amazon S3. The files contain tens of millions of rows, and training jobs repeatedly scan only a small subset of columns while filtering by transaction date. The source system cannot change its export format, and the team wants to reduce repeated parsing and storage costs without changing the source workflow. Which approach is most appropriate?

Correct Answer: A. Convert the ingested CSV data into partitioned Apache Parquet, then have training jobs read the required columns and date partitions.
Explanation:

A one-time transformation to partitioned Apache Parquet preserves the source workflow while enabling columnar reads and partition pruning. Training jobs can avoid scanning unrelated columns and dates, reducing I/O and parsing work. Reading CSV directly repeats expensive text parsing; converting to JSON Lines does not provide the same columnar scan benefits. EFS adds a mounted file system but does not improve the source data's format or selective-read efficiency.

Question 2

New Multiple answers

Topic: Domain 1: Data Preparation for Machine Learning (ML)

Skill tested: Applies streaming ingestion and deduplication strategies to build reliable training data.

A payment platform publishes transaction events to an Amazon Kinesis data stream. Consumers can receive the same event more than once after retries, and event delivery order is guaranteed only within a shard. The ML team needs a durable, replayable training dataset in S3 and must prevent duplicate business events from appearing in its curated data. Select TWO actions that best meet the requirements.

Correct Answer: C. Use a processing job that applies an event identifier-based deduplication rule before writing curated data to S3.; D. Use Amazon Data Firehose to deliver stream records to S3, and configure buffering and an appropriate output format for the landing dataset.
Explanation:

Amazon Data Firehose provides managed delivery from Kinesis Data Streams to S3, creating a durable landing area suitable for replay and downstream processing. Because retries can produce duplicate deliveries, a downstream processing step should deduplicate using a stable business event identifier before producing the curated dataset. Kinesis does not provide global exactly-once delivery or ordering across shards. S3 lifecycle rules manage object lifecycle, not record-level deduplication.

Question 3

New Single answer

Topic: Domain 1: Data Preparation for Machine Learning (ML)

Skill tested: Chooses feature preprocessing steps that avoid leakage and preserve valid training evaluation.

A lending team builds a model using historical application data. One feature, `account_age_days`, has a long right tail, and some records have missing values. The team plans to fit preprocessing on the complete dataset before making a train-validation split, then use the validation results to select model settings. The validation score appears substantially better than expected. What should the team do FIRST to make the evaluation reliable?

Correct Answer: D. Split the data first, fit imputation and transformation parameters on training data only, and apply those parameters to validation data.
Explanation:

Fitting preprocessing on the full dataset allows information from the validation partition to influence the training pipeline, causing data leakage and optimistic evaluation. Split first, then fit imputation statistics and any scaling or log-transform parameters using only training data. Apply the fitted transformations unchanged to validation data. Scaling the complete dataset retains leakage, and estimating imputation values from validation data directly compounds it. Removing incomplete records does not correct the full-data fitting problem.

Question 4

New Single answer

Topic: Domain 2: ML Model Development

Skill tested: Selects an appropriate SageMaker built-in algorithm for unsupervised anomaly detection.

An industrial operator has millions of unlabeled sensor observations and needs to identify unusual multivariate operating patterns for analyst review. The data is numeric, and the initial solution must not require labeled anomalies or a custom training container. The team is considering a binary classifier trained on manually reviewed examples, but collecting enough labels would delay deployment by several months. Which approach best fits the current requirement?

Correct Answer: C. Use SageMaker's Random Cut Forest built-in algorithm to assign anomaly scores to observations.
Explanation:

Random Cut Forest is an unsupervised anomaly-detection algorithm that produces anomaly scores without requiring labeled examples, making it suitable for this numeric sensor scenario. XGBoost and Linear Learner are supervised approaches; fabricated labels do not provide meaningful ground truth. BlazingText is intended for text-related tasks, not multivariate numeric sensor observations. Analysts can review high-scoring cases and potentially create labels for a later supervised iteration.

Question 5

New Multiple answers

Topic: Domain 2: ML Model Development

Skill tested: Configures SageMaker hyperparameter tuning with objective metrics and bounded search ranges.

A fraud team trains a model with a SageMaker training job and wants managed experiments across several hyperparameters. The team has limited compute capacity, needs to compare trials using validation AUC, and wants the search to stop exploring a learning-rate range that domain experts consider unsafe. Select TWO configuration choices that meet these requirements.

Correct Answer: B. Define bounded ranges for tunable parameters, including a restricted learning-rate range, and set a finite maximum number of training jobs.; C. Create a SageMaker hyperparameter tuning job that maximizes the validation AUC metric reported by the training job.
Explanation:

A tuning job needs an objective metric to rank trials; maximizing validation AUC aligns selection with the stated evaluation target. Explicit bounded ranges constrain the search to acceptable values, while a finite maximum job count helps control compute consumption. Tuning on the test set leaks test information into model selection and invalidates its final evaluation role. A search with no tunable ranges cannot explore the requested alternatives, and unbounded trial growth conflicts with limited capacity.

Question 6

New Single answer

Topic: Domain 2: ML Model Development

Skill tested: Uses regularization to reduce overfitting while maintaining model validation discipline.

A forecasting team observes that a neural model achieves very low training error but materially worse validation error. The training data is representative, and the model is substantially larger than necessary for inference. The team wants to reduce overfitting before collecting more data, while retaining a reliable estimate of generalization performance. Which action is the best next step?

Correct Answer: D. Apply regularization, such as weight decay or dropout, and compare candidates using a held-out validation set.
Explanation:

The large gap between training and validation performance indicates overfitting. Weight decay or dropout can constrain model complexity and improve generalization; a held-out validation set supports model selection without using the final test set. More epochs are likely to worsen overfitting. Repeatedly selecting against the test set leaks information and produces an optimistic final estimate, while eliminating validation data removes a useful basis for tuning.

Question 7

New Single answer

Topic: Domain 3: Deployment and Orchestration of ML Workflows

Skill tested: Selects SageMaker inference modes based on request latency and workload characteristics.

A media company scores archival documents once each night. It processes several million independent records, has no interactive latency requirement, and needs output files in S3 for downstream reconciliation. The input arrives as a collection of objects, and minimizing the cost of keeping serving infrastructure available is more important than immediate responses. Which deployment approach is most appropriate?

Correct Answer: B. Use SageMaker batch transform to process the S3 input and write prediction output to S3.
Explanation:

Batch transform is designed to process datasets in batch without maintaining a continuously available inference endpoint. It reads the S3 inputs and writes results to S3, fitting the nightly, high-volume, noninteractive workload. A real-time endpoint is unnecessary for records that do not need immediate responses. Serverless or asynchronous endpoints can serve request-based workloads, but introduce request orchestration that is not needed for this scheduled dataset processing.

Question 8

New Multiple answers

Topic: Domain 3: Deployment and Orchestration of ML Workflows

Skill tested: Builds reproducible SageMaker workflows with versioned artifacts and controlled model promotion.

A regulated insurer must make training and deployment runs reproducible. Its current process uses ad hoc scripts, overwrites a shared model artifact location, and sometimes deploys a model before required evaluation checks finish. The organization needs traceability from input data through model approval and a safe promotion process. Select TWO changes that best address these issues.

Correct Answer: A. Orchestrate the preparation, training, evaluation, and registration steps in a SageMaker Pipeline with explicit dependencies.; B. Store immutable, versioned artifacts and metadata for each run, and use a model registry approval step before production deployment.
Explanation:

A SageMaker Pipeline makes workflow steps and dependencies explicit, preventing later stages from running before required upstream work completes. Immutable, versioned artifacts and recorded run metadata preserve lineage, while a model registry approval gate supports controlled promotion. Overwriting a shared key destroys reliable artifact identity. Concurrent, uncoordinated steps can violate required ordering, and a spreadsheet alone does not provide dependable artifact-level lineage or an enforced approval workflow.

Question 9

New Single answer

Topic: Domain 3: Deployment and Orchestration of ML Workflows

Skill tested: Selects an inference endpoint type for long-running requests and deferred responses.

A document extraction service receives unpredictable bursts of requests. Individual inference calls can take several minutes, and clients can accept a response later by checking a returned location. The team must avoid holding a synchronous connection open, yet it still needs an endpoint-based request workflow rather than scheduled processing of a known dataset. Which SageMaker deployment option best fits?

Correct Answer: C. An asynchronous inference endpoint configured for queued requests and deferred responses.
Explanation:

SageMaker asynchronous inference is suited to payloads or processing times that do not fit a typical synchronous request-response pattern. Requests can be queued and processed by an endpoint, with results available later for retrieval, matching the client's deferred-response capability. A real-time endpoint ties the request to synchronous completion. Batch transform is intended for batch datasets rather than an ongoing endpoint request workflow. Multi-model hosting addresses model loading and hosting efficiency, not long-running deferred responses.

Question 10

New Single answer

Topic: Domain 4: ML Solution Monitoring, Maintenance, and Security

Skill tested: Detects production data drift using SageMaker Model Monitor baselines and scheduled monitoring.

A production team deploys a model whose prediction quality depends on input feature distributions remaining close to training data. Labels arrive several weeks after inference, so immediate accuracy monitoring is unavailable. The team wants to detect changes in input quality and distribution using an automated process and investigate affected records in S3. What should it implement?

Correct Answer: C. Create a baseline from representative training data and schedule SageMaker Model Monitor data-quality monitoring for captured endpoint inputs.
Explanation:

A representative baseline lets SageMaker Model Monitor compare captured production inputs with expected data characteristics and surface quality or distribution violations. Scheduling monitoring automates checks, while captured data in S3 supports investigation. CPU utilization can reveal infrastructure pressure but does not measure feature drift. Routine retraining does not establish whether input data changed or whether the new model is better, and predictions cannot substitute for delayed ground-truth labels.

Question 11

New Multiple answers

Topic: Domain 4: ML Solution Monitoring, Maintenance, and Security

Skill tested: Secures SageMaker training data access and protects stored model artifacts.

A healthcare organization runs SageMaker training jobs using sensitive data stored in a dedicated S3 bucket. The training job currently uses a broadly privileged role, and the organization requires encryption at rest with a customer-managed key. The job should read only its designated training prefix and write artifacts only to its output prefix. Select TWO actions that best meet these requirements.

Correct Answer: C. Assign the training job an execution role with least-privilege S3 permissions scoped to the required input and output locations.; D. Configure the applicable SageMaker training input and output encryption settings to use the authorized customer-managed AWS KMS key.
Explanation:

A narrowly scoped SageMaker execution role limits access to the specific S3 data locations required by the job, reducing the impact of credential misuse. Configuring SageMaker's supported encryption settings with the authorized customer-managed KMS key protects applicable training input and output data at rest; the role and key policy must permit the required use. Administrator permissions violate least privilege, public access is unsafe, and placing a key identifier in data does not configure encryption.

Question 12

New Single answer

Topic: Domain 4: ML Solution Monitoring, Maintenance, and Security

Skill tested: Uses CloudWatch endpoint metrics to isolate inference latency and throughput bottlenecks.

A customer-facing SageMaker real-time endpoint has recently exceeded its latency objective during traffic peaks. CloudWatch shows that invocation volume rises sharply, while the team has not yet determined whether the bottleneck is model execution or insufficient endpoint capacity. It must investigate using service telemetry before changing instance types or application code. Which next action is most appropriate?

Correct Answer: A. Review endpoint invocation latency and invocation count metrics alongside instance-level utilization and capacity metrics in CloudWatch.
Explanation:

CloudWatch endpoint metrics such as invocation latency and invocation count, combined with instance utilization and capacity signals, help distinguish slow model execution from traffic-driven saturation. This evidence supports a targeted scaling or optimization decision rather than an unmeasured change. Cost Explorer summarizes cost and usage but does not trace request execution. CloudTrail records API activity, not per-inference container computation traces. Changing batch size without diagnosis may worsen latency or fail to address capacity.

Question 13

New Single answer

Topic: Domain 4: ML Solution Monitoring, Maintenance, and Security

Skill tested: Uses CloudTrail events to audit SageMaker operations and trigger governed retraining workflows.

A financial services team needs an auditable record of who changes a production SageMaker endpoint configuration. When an approved change occurs, the team wants to initiate a retraining and evaluation workflow, but it must not launch a workflow for every unrelated AWS API call. Which design best meets the audit and automation requirements?

Correct Answer: C. Use CloudTrail to record SageMaker management events and configure an EventBridge rule that matches the relevant change event before starting the approved workflow.
Explanation:

CloudTrail records management API activity, providing an auditable history of endpoint configuration changes and the responsible identity. An EventBridge rule can match the relevant CloudTrail event and route it to a controlled workflow target, avoiding triggers on unrelated activity. Broad log polling is noisy and does not reliably establish the specific API change. S3 lifecycle notifications concern object lifecycle events, and Cost Explorer budgets are not an endpoint-change audit mechanism.