Docsity

AWS Certified Machine Learning Engineer – Associate (MLA-C01) Comprehensive Practice E, Exams of Engineering

Partial preview of the text

Download AWS Certified Machine Learning Engineer – Associate (MLA-C01) Comprehensive Practice E and more Exams Engineering 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

A. SageMaker Feature Store with Online and Offline stores B. Amazon DynamoDB with S3 backup C. Amazon ElastiCache with persistence D. Amazon Redshift with Spectrum

  • detailed answer 100% correct :- A Rationale: SageMaker Feature Store provides both Online Store (low-latency, <5 ms) and Offline Store (batch retrieval). It integrates natively with SageMaker endpoints and training. DynamoDB lacks feature versioning and offline store capabilities. Question 4 A team ingests streaming data from 10,000 IoT devices using Amazon Kinesis Data Streams. The data arrives as semi-structured JSON and must be validated, transformed, and delivered to S3 in Parquet format with hourly partitioning. The transformation includes simple filtering and enrichment. Which service should the team use? A. Kinesis Data Firehose with built-in Parquet conversion and Lambda transformation B. Kinesis Data Analytics for Apache Flink C. AWS Glue streaming ETL D. Amazon MSK with Kafka Connect
  • detailed answer 100% correct :- A Rationale: Kinesis Data Firehose is the fully managed service for streaming ingestion with built- in Parquet/ORC conversion and partitioning. Lambda transformations handle simple filtering and enrichment. Flink is overkill for simple transformations. Question 5 A Machine Learning Engineer is preparing a dataset with 500 features and 50,000 rows. The target variable is binary (fraud vs. non-fraud). The Engineer notices that 300 features have missing values (>30% missing) and 50 features have zero variance. What should the Engineer do first? A. Remove features with >30% missing values and zero-variance features B. Impute missing values with the mean for all features C. Apply PCA to reduce dimensionality D. Use SMOTE to handle class imbalance
  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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.

A. AWS DataSync B. AWS Snowball Edge C. AWS Transfer Family with SFTP D. AWS Storage Gateway

  • detailed answer 100% correct :- A Rationale: At 500 Mbps, 150 GB can transfer in ~40 minutes theoretically. AWS DataSync is optimized for online data transfer with built-in network optimization. Snowball is for much larger datasets (>10 TB). Transfer Family is for user access, not bulk transfer. Question 11 A Machine Learning Engineer is building a data pipeline that requires joining data from Amazon S3 and Amazon RDS PostgreSQL. The pipeline runs daily and must complete within 20 minutes. Which approach provides the most efficient join? A. Amazon EMR with Spark SQL reading from S3 and RDS via JDBC B. AWS Glue ETL with JDBC connection C. AWS Lambda with Pandas D. Amazon Athena federated queries with RDS connector
  • detailed answer 100% correct :- A Rationale: EMR with Spark provides distributed processing for large-scale joins. Glue may struggle with performance for large joins. Lambda has memory/time limits. Athena federated queries have latency limitations. Question 12 A company stores feature data in Amazon DynamoDB for online inference. The feature data is updated daily through a batch job. The ML model needs to access the latest features with millisecond latency. Which approach should the Engineer use? A. SageMaker Feature Store with Online Store updated via batch job B. Direct DynamoDB queries from the SageMaker endpoint C. ElastiCache for Redis with daily updates D. S3 with pre-computed feature vectors
  • detailed answer 100% correct :- 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

  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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. SageMaker Data Wrangler with built-in datetime transforms B. AWS Glue with Python UDFs C. Pandas in a SageMaker notebook D. Amazon Athena with SQL date functions

  • detailed answer 100% correct :- A Rationale: SageMaker Data Wrangler provides built-in datetime transformations for feature engineering. Glue UDFs and Pandas require custom code. Athena is for querying, not feature engineering pipelines. Question 18 A company has 10 TB of historical data in Amazon S3 stored as uncompressed CSV. The data must be transformed using PySpark and stored in a columnar format for analytical queries. The transformation runs weekly and must complete within 3 hours. Which AWS service should the company use? A. Amazon EMR with Spark and Spot Instances B. AWS Glue with G.2X workers C. SageMaker Processing with Spark D. AWS Batch with custom Spark containers
  • detailed answer 100% correct :- A Rationale: EMR with Spark on Spot Instances provides cost-effective, scalable processing for 10 TB within 3 hours. Glue workers may be insufficient. SageMaker Processing is for ML-specific preprocessing. Batch requires more setup. Question 19 A Data Scientist is working with text data and wants to convert documents to numerical features. The Scientist wants to weight terms based on frequency in the document while down- weighting terms that appear frequently across all documents. Which technique should the Scientist use? A. TF-IDF (Term Frequency-Inverse Document Frequency) B. Bag of Words C. Word2Vec D. GloVe
  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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.

A. Multiple imputation using chained equations (MICE) B. Mean imputation C. Median imputation D. Mode imputation

  • detailed answer 100% correct :- A Rationale: MICE uses relationships between variables to impute missing values, preserving data integrity. Mean/median imputation distort relationships. Mode is for categorical data. Question 25 A Machine Learning Engineer is creating a data catalog for a data lake. The catalog must support ACID transactions, time travel, and schema evolution. The data is stored in S3 and accessed by Athena and Glue. Which table format should the Engineer use? A. Apache Iceberg via S3 Tables B. Apache Parquet C. Apache ORC D. CSV
  • detailed answer 100% correct :- A Rationale: Apache Iceberg supports ACID transactions, time travel, and schema evolution. Parquet and ORC are file formats, not table formats. CSV lacks these features. Question 26 A company ingests IoT sensor data from 50,000 devices into Amazon Kinesis Data Streams. The data must be filtered, enriched with device metadata from DynamoDB, and delivered to S3 in Parquet format. Which service should the company use? A. Kinesis Data Firehose with Lambda transformation and DynamoDB lookup B. Kinesis Data Analytics for Flink C. AWS Glue streaming ETL D. Amazon MSK with Kafka Streams
  • detailed answer 100% correct :- 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

  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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?

Rationale: EMR with Spark provides the most control over cluster configuration and instance types. Glue may not provide sufficient performance for intensive UDFs. Lambda cannot run PySpark at scale. Question 32 A Data Scientist is performing EDA and notices that two features are highly correlated (correlation = 0.95). What is the potential issue with using both features in a linear model? A. Multicollinearity B. Overfitting C. Underfitting D. Heteroscedasticity

  • detailed answer 100% correct :- A Rationale: High correlation between features (0.95) indicates multicollinearity, which can cause unstable coefficient estimates. Overfitting/underfitting are about model complexity. Question 33 A Machine Learning Engineer is setting up a data pipeline for a computer vision project. The pipeline needs to store 10 million images (average size 5 MB) and make them accessible with low latency for training. Which storage service should the Engineer use? A. Amazon S B. Amazon EBS C. Amazon EFS D. Amazon FSx
  • detailed answer 100% correct :- A Rationale: S3 is ideal for storing large binary objects like images. It provides low-latency access and integrates with SageMaker. EBS is block storage for EC2. EFS/FSx are file systems. 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

  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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.

C. AWS Glue streaming ETL D. Amazon MSK with Kafka Streams

  • detailed answer 100% correct :- A Rationale: Flink supports stateful stream processing, including joins with external data sources like DynamoDB. Firehose Lambda transformations are stateless. Question 40 A Data Scientist is analyzing a time series dataset with daily sales data. The data shows a clear upward trend and seasonal patterns. The Scientist wants to decompose the time series into trend, seasonal, and residual components. Which technique should the Scientist use? A. STL decomposition B. ARIMA C. Exponential smoothing D. Fourier transform
  • detailed answer 100% correct :- A Rationale: STL is specifically designed for time series decomposition into trend, seasonal, and residual components. ARIMA and exponential smoothing are forecasting methods. Question 41 A Machine Learning Engineer is creating a data pipeline that must detect schema changes in incoming data and update the Glue Data Catalog automatically. Which AWS service should the Engineer use? A. AWS Glue Crawler scheduled to run periodically B. AWS Glue Data Catalog with manual updates C. Amazon Athena with MSCK REPAIR TABLE D. AWS Lake Formation with automatic discovery
  • detailed answer 100% correct :- A Rationale: Glue Crawlers automatically scan S3 data, infer schemas, and populate the Data Catalog. Manual updates don't scale. MSCK REPAIR TABLE only adds partitions, not schemas.

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

  • detailed answer 100% correct :- 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
  • detailed answer 100% correct :- 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