Docsity

AWS Certified Machine Learning Engineer – Associate (MLA-C01) Comprehensive Practice Exa, Exams of Computer Science

Toggle sidebar
bg1
AWS Certified Machine Learning Engineer –
Associate (MLA-C01) Comprehensive
Practice Exam v2.0 — 150 Multiple-Choice
Questions a well detailed one 2025 / 2026
written and graded A+ upgraded
Exam Overview: The AWS Certified Machine Learning Engineer – Associate (MLA-C01) replaced
the Machine Learning Specialty (MLS-C01) after March 31, 2026. The new exam emphasizes
MLOps, GenAI integration, cost-aware deployment, and production ML engineering over deep
algorithmic theory. The exam consists of 65 questions (50 scored, 15 unscored) over 130
minutes. Candidates should have at least 1 year of experience with SageMaker and ML
engineering.
Exam Domains:
• Domain 1: Data Preparation for Machine Learning — 28%
• Domain 2: ML Model Development — 26%
• Domain 3: Deployment and Orchestration of ML Workflows — 22%
• Domain 4: ML Solution Monitoring, Maintenance, and Security — 24%
DOMAIN 1: DATA PREPARATION FOR MACHINE LEARNING (28%)
Questions 1–42
Question 1
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f

Partial preview of the text

Download AWS Certified Machine Learning Engineer – Associate (MLA-C01) Comprehensive Practice Exa and more Exams Computer Science in PDF only on Docsity!

AWS Certified Machine Learning Engineer –

Associate (MLA-C01) Comprehensive

Practice Exam v2.0 — 150 Multiple-Choice

Questions a well detailed one 2025 / 2026

written and graded A+ upgraded

Exam Overview: The AWS Certified Machine Learning Engineer – Associate (MLA-C01) replaced the Machine Learning Specialty (MLS-C01) after March 31, 2026. The new exam emphasizes MLOps, GenAI integration, cost-aware deployment, and production ML engineering over deep algorithmic theory. The exam consists of 65 questions (50 scored, 15 unscored) over 130 minutes. Candidates should have at least 1 year of experience with SageMaker and ML engineering. Exam Domains:

  • Domain 1: Data Preparation for Machine Learning — 28%
  • Domain 2: ML Model Development — 26%
  • Domain 3: Deployment and Orchestration of ML Workflows — 22%
  • Domain 4: ML Solution Monitoring, Maintenance, and Security — 24% DOMAIN 1: DATA PREPARATION FOR MACHINE LEARNING (28%) Questions 1– 42 Question 1

A Machine Learning Engineer is building a data pipeline that ingests 2 TB of daily JSON logs from multiple sources into Amazon S3. The data must be converted to Apache Iceberg format with ACID transaction support, time travel capabilities, and schema evolution. The pipeline must run daily and complete within 90 minutes. Which combination of AWS services should the Engineer use? A. AWS Glue with Spark and S3 Tables (Iceberg) B. Amazon EMR with Spark and Apache Hive C. AWS Glue with Python Shell and Parquet D. Amazon Athena with CTAS statements Correct Answer: A Rationale: AWS Glue with Spark supports Apache Iceberg via S3 Tables, providing ACID transactions, time travel, and schema evolution. Option B requires cluster management. Option C (Python Shell) lacks the scale for 2 TB. Option D (Athena CTAS) is for query-based table creation, not ETL pipelines. Question 2 A financial services company stores sensitive customer data in Amazon S3 for ML training. The data includes PII such as names, addresses, and Social Security numbers. The company must automatically detect and redact PII before the data is used for model training. Which AWS service should the Engineer use? A. Amazon Macie with automated sensitive data discovery B. AWS Glue DataBrew with PII detection C. SageMaker Data Wrangler with built-in transforms D. Amazon Comprehend with PII detection Correct Answer: A Rationale: Amazon Macie is designed for sensitive data discovery in S3 and can automatically detect PII. Glue DataBrew and SageMaker Data Wrangler are for data transformation, not security scanning. Comprehend is for text analysis, not S3 data discovery. Question 3 A Machine Learning Engineer needs to create a feature store that supports both low-latency online inference (<5 ms) and batch retrieval for offline training. The feature store must serve

C. Apply PCA to reduce dimensionality D. Use SMOTE to handle class imbalance Correct Answer: A Rationale: Features with >30% missing values and zero variance provide little predictive value. Removing them reduces dimensionality without losing information. Imputation on 300 high- missing features would introduce noise. PCA should come after cleaning. Question 6 A Data Scientist needs to detect bias in training data before model development. The dataset contains demographic attributes including gender, age, and ethnicity. Which SageMaker feature should the Scientist use? A. SageMaker Clarify with pre-training bias metrics B. SageMaker Model Monitor C. SageMaker Debugger D. SageMaker Data Wrangler Correct Answer: A Rationale: SageMaker Clarify detects pre-training bias at the data level and post-training bias at the prediction level. Model Monitor is for production monitoring. Debugger is for training debugging. Data Wrangler is for data preparation. Question 7 A Machine Learning Engineer needs to query 3 TB of log data stored in S3 using SQL. The queries are ad-hoc and the team wants to minimize costs. The data is stored as gzip-compressed CSV files. Which service should the Engineer use? A. Amazon Athena B. Amazon Redshift Spectrum C. Amazon EMR with Hive D. AWS Glue with Spark SQL Correct Answer: A

Rationale: Athena is serverless and charges per query based on data scanned. For ad-hoc queries, this is most cost-effective. Redshift Spectrum requires a Redshift cluster. EMR and Glue require compute resources. Question 8 A company stores ML training data in Amazon S3 with the following access pattern: frequent access for 30 days, then rare access afterward. The company wants to automatically optimize storage costs. Which S3 storage class should the company use? A. S3 Intelligent-Tiering B. S3 Standard for 30 days, then S3 Glacier Deep Archive C. S3 Standard-IA D. S3 One Zone-IA Correct Answer: A Rationale: S3 Intelligent-Tiering automatically moves objects between access tiers based on changing patterns. It has no retrieval fees and is ideal for unknown or changing access patterns. Option B requires manual lifecycle rules. Question 9 A Machine Learning Engineer is using AWS Glue ETL to process data. The job reads from multiple S3 locations, joins the data, and writes the result. The job is slow because of data skew in the join key. How should the Engineer optimize the job? A. Use salting to handle skewed keys B. Use repartition() to redistribute data evenly C. Use coalesce() to reduce partitions D. Use a broadcast join for all tables Correct Answer: A Rationale: Salting adds a random suffix to skewed keys to distribute data evenly across partitions. Repartition may not solve skew if the key itself is skewed. Coalesce reduces partitions, worsening the issue. Broadcast join only helps with small tables. Question 10

C. ElastiCache for Redis with daily updates D. S3 with pre-computed feature vectors Correct Answer: A Rationale: SageMaker Feature Store provides low-latency online serving and integrates with SageMaker endpoints. DynamoDB direct queries would require custom integration. ElastiCache is a cache, not a feature store. Question 13 A Machine Learning Engineer is creating a data quality monitoring solution for a data pipeline. The solution must detect schema changes, null value spikes, and statistical distribution shifts. Which AWS service should the Engineer use? A. AWS Glue Data Quality with rules and anomaly detection B. SageMaker Model Monitor C. AWS Glue Crawlers D. Amazon Deequ Correct Answer: A Rationale: AWS Glue Data Quality provides built-in rules for schema validation, null checks, and statistical anomaly detection. Model Monitor is for production ML models. Crawlers only detect schema, not quality. Deequ requires custom implementation. Question 14 A Data Scientist has a dataset with 1 million rows and 200 features. The target variable is continuous (house prices). The Scientist wants to identify which features are most important before training any model. Which technique should the Scientist use? A. Correlation analysis with the target variable B. Principal Component Analysis (PCA) C. t-SNE for visualization D. K-means clustering Correct Answer: A

Rationale: Correlation analysis directly measures each feature's linear relationship with the target. PCA and t-SNE are dimensionality reduction techniques, not feature importance measures. K-means is unsupervised clustering. Question 15 A Machine Learning Engineer needs to process streaming data from Apache Kafka (Amazon MSK) and write the results to S3 and OpenSearch. The transformation requires stateful aggregations (windowed counts). Which service should the Engineer use? A. Amazon MSK with Kafka Streams B. Kinesis Data Analytics for Apache Flink C. Kinesis Data Firehose with Lambda D. AWS Glue streaming ETL Correct Answer: A Rationale: Amazon MSK with Kafka Streams provides stateful stream processing directly on Kafka topics. Flink requires migrating to Kinesis. Firehose Lambda transformations are stateless. Glue streaming ETL has limited stateful capabilities. Question 16 A team stores Parquet files in Amazon S3 partitioned by year/month/day/hour. Athena queries are slow because they scan too many partitions. What should the team do to improve query performance? A. Use partition projection in Athena B. Add more partitions C. Convert to CSV format D. Use S3 Select Correct Answer: A Rationale: Athena partition projection allows you to define partition patterns without storing them in the Glue Data Catalog, improving query performance. Adding more partitions would worsen performance. CSV is less efficient. S3 Select works on individual objects. Question 17

A. TF-IDF (Term Frequency-Inverse Document Frequency) B. Bag of Words C. Word2Vec D. GloVe Correct Answer: A Rationale: TF-IDF weights terms by frequency in the document (TF) while penalizing terms that appear in many documents (IDF). Bag of Words doesn't down-weight common terms. Word2Vec and GloVe are word embedding techniques. Question 20 A Machine Learning Engineer needs to set up a data ingestion pipeline that captures changes from an Amazon RDS database and streams them to S3 in near real-time. The pipeline must handle schema changes automatically. Which AWS service should the Engineer use? A. AWS Database Migration Service (DMS) with ongoing replication (CDC) B. AWS Glue with JDBC connection C. Amazon AppFlow D. AWS Data Pipeline Correct Answer: A Rationale: AWS DMS supports ongoing change data capture (CDC) from RDS to S3. It handles schema changes through the replication instance. Glue is for ETL, not CDC. AppFlow is for SaaS applications. Question 21 A Machine Learning Engineer is analyzing a dataset and finds that a continuous feature has a heavily right-skewed distribution. Which transformation should the Engineer apply before using this feature in a linear model? A. Box-Cox transformation B. Standardization C. Min-max scaling D. Polynomial transformation Correct Answer: A

Rationale: Box-Cox transformation is a family of power transformations that can handle right- skewed distributions. Standardization and min-max scaling don't change distribution shape. Polynomial transformation would worsen skewness. Question 22 A team uses Amazon S3 to store ML training datasets. They want to minimize storage costs while ensuring immediate availability for recently accessed data. The data older than 30 days is accessed at most once per quarter. Which S3 lifecycle strategy should the team implement? A. Intelligent-Tiering with automatic tiering B. Standard for 30 days, then Standard-IA, then Glacier Flexible Retrieval C. Standard for 30 days, then Glacier Deep Archive D. One Zone-IA for all data Correct Answer: A Rationale: Intelligent-Tiering automatically moves data between tiers based on access patterns. Option B requires manual lifecycle rules. Glacier Deep Archive has retrieval hours, not suitable for quarterly access. Question 23 A Machine Learning Engineer is building a data pipeline using AWS Glue. The pipeline reads from S3, performs transformations, and writes to S3. The job fails intermittently with out-of- memory errors. Data volume varies significantly between runs. How should the Engineer resolve this? A. Enable Glue Auto Scaling to dynamically adjust resources B. Increase the number of worker nodes C. Use a larger worker type (G.2X) D. Repartition the data into more partitions Correct Answer: A Rationale: Glue Auto Scaling dynamically adjusts workers based on workload, handling variable data volumes efficiently. Manual increases are wasteful. Repartition may not solve the root cause.

C. AWS Glue streaming ETL D. Amazon MSK with Kafka Streams Correct Answer: A Rationale: Firehose with Lambda transformations can filter and enrich data with DynamoDB lookups. Flink is overkill. Glue streaming has latency limitations. Question 27 A Machine Learning Engineer is working with a dataset containing categorical features with high cardinality (hundreds of unique values). Which encoding technique should the Engineer use to avoid creating too many features? A. Target encoding B. One-hot encoding C. Label encoding D. Binary encoding Correct Answer: A Rationale: Target encoding replaces each category with the mean of the target variable for that category, creating a single numeric feature. One-hot encoding creates too many features. Label encoding implies ordinal relationships. Question 28 A team needs to query 1 TB of log data stored in S3 using SQL. The logs are in JSON format with nested structures. The team wants to flatten the nested JSON and convert to Parquet for efficient querying. Which AWS Glue feature should the team use? A. Glue DynamicFrame with Relationalize transform B. Glue DataFrame with explode function C. Glue Python Shell with json_normalize D. Glue Crawler with JSON classifier Correct Answer: A Rationale: Glue DynamicFrames provide the Relationalize transform specifically for flattening nested JSON. explode is manual. Python Shell doesn't scale. Crawlers are for schema detection.

Question 29 A Machine Learning Engineer needs to ensure that training data in S3 is not accidentally deleted. The data retention policy requires keeping all versions for 7 years. Which S3 feature should the Engineer enable? A. S3 Versioning B. S3 Object Lock C. S3 Lifecycle policies D. S3 MFA Delete Correct Answer: A Rationale: S3 Versioning keeps multiple versions of objects, preventing accidental deletion. Object Lock is for WORM compliance. Lifecycle policies manage transitions. MFA Delete adds protection but doesn't version. Question 30 A Data Scientist is working with a dataset where features have different units (age in years, income in dollars, distance in miles). The Scientist plans to use a K-Nearest Neighbors (KNN) model. Which preprocessing step is REQUIRED? A. Feature scaling (standardization or normalization) B. One-hot encoding C. Feature selection D. Handling missing values Correct Answer: A Rationale: KNN is distance-based and sensitive to feature scales. Features with larger units (income) would dominate distance calculations. Scaling ensures all features contribute equally. Question 31 A Machine Learning Engineer is building a pipeline to process 500 GB of data using PySpark. The transformation includes user-defined functions (UDFs) that are computationally intensive. The pipeline runs daily and must complete within 2 hours. Which service should the Engineer use? A. Amazon EMR with Spark and compute-optimized instances B. AWS Glue with G.1X workers

Question 34 A team is using AWS Glue ETL to process data. The job reads from S3, performs transformations, and writes to S3. The job is slow because of data skew in the join key. What should the team do? A. Use salting to distribute skewed keys B. Use repartition() to redistribute data C. Use coalesce() to reduce partitions D. Use a broadcast join Correct Answer: A Rationale: Salting distributes skewed keys across partitions. Repartition may not solve skew if the key itself is skewed. Coalesce reduces partitions, worsening the issue. Question 35 A Data Scientist needs to visualize the distribution of a continuous variable and identify outliers. Which visualization should the Scientist use? A. Box plot B. Histogram C. Bar chart D. Scatter plot Correct Answer: A Rationale: Box plots show the distribution (quartiles) and identify outliers. Histograms show the full distribution but don't explicitly identify outliers. Bar charts are for categorical data. Question 36 A Machine Learning Engineer needs to copy 200 GB of data from an on-premises file server to S3. The network has 1 Gbps bandwidth and the transfer must complete within 8 hours. Which approach should the Engineer use? A. AWS DataSync B. AWS Snowball Edge C. AWS Transfer Family D. AWS Storage Gateway Correct Answer: A

Rationale: DataSync is optimized for online data transfer. At 1 Gbps, 200 GB transfers in ~ minutes. Snowball is for much larger datasets. Transfer Family is for user access. Question 37 A team stores feature data in S3 as CSV files. The data is used for training and the team wants to improve query performance and reduce storage costs. Which action should the team take? A. Convert to Parquet with Snappy compression B. Use Gzip compression on CSV C. Store as JSON D. Use uncompressed CSV Correct Answer: A Rationale: Parquet is a columnar format that provides better compression and query performance. Gzip CSV compresses but doesn't improve query performance. JSON is less efficient. Question 38 A Data Scientist is working with a dataset where the target variable is binary (0/1) and the positive class represents only 2% of the data. The Scientist wants to detect bias in the training data. Which SageMaker service should the Scientist use? A. SageMaker Clarify B. SageMaker Model Monitor C. SageMaker Debugger D. SageMaker Data Wrangler Correct Answer: A Rationale: SageMaker Clarify detects pre-training bias at the data level. Model Monitor is for production. Debugger is for training debugging. Question 39 A Machine Learning Engineer is building a data pipeline that processes streaming data from Kinesis and writes to S3 and OpenSearch. The transformation requires joining the stream with a static reference dataset stored in DynamoDB. Which service should the Engineer use?

Question 42 A Data Scientist is working with a dataset with 10,000 rows and 1,020 features. The dataset has no missing values but has 200 feature pairs with correlation > 0.9. Which feature engineering strategy should the Scientist use? A. Apply PCA for dimensionality reduction B. Remove features with low variance C. Apply one-hot encoding to all features D. Use feature selection based on mutual information Correct Answer: A Rationale: High correlation among features indicates multicollinearity. PCA reduces dimensionality while preserving variance. Low variance features aren't the issue. One-hot encoding would increase dimensionality. DOMAIN 2: ML MODEL DEVELOPMENT (26%) Questions 43– 84 Question 43 A Machine Learning Engineer is building a binary classification model for a financial services company. The dataset has 50,000 rows and 200 features. The model must provide feature importance scores for regulatory compliance. Which SageMaker built-in algorithm should the Engineer use? A. XGBoost B. Linear Learner C. K-means D. BlazingText Correct Answer: A Rationale: XGBoost provides feature importance scores, handles mixed data types, and performs well on tabular data. Linear Learner provides coefficients but not feature importance scores. K-means is clustering.

Question 44 A Data Scientist needs to forecast product demand for the next 30 days using daily sales data with weekly and yearly seasonality. Which SageMaker built-in algorithm should the Scientist use? A. DeepAR B. Linear Learner C. XGBoost D. K-means Correct Answer: A Rationale: DeepAR is SageMaker's built-in algorithm for time series forecasting that handles multiple seasonalities. XGBoost can be used with engineered features but doesn't handle time series natively. Question 45 A Machine Learning Engineer is building a recommendation system for an e-commerce platform. The system should recommend products based on user-item interactions and ratings. Which SageMaker built-in algorithm should the Engineer use? A. Factorization Machines B. K-means C. PCA D. BlazingText Correct Answer: A Rationale: Factorization Machines are designed for recommendation systems and handle sparse user-item interaction data. K-means is for clustering. PCA is dimensionality reduction. Question 46 A Data Scientist is training an XGBoost model and notices overfitting (training accuracy 98%, validation accuracy 78%). Which hyperparameter should the Scientist adjust to reduce overfitting? A. Increase subsample or decrease max_depth B. Increase max_depth