AWS Certified Machine Learning Engineer – Associate. 65 questions, 10 with more than one correct answer. Real exam: 65 items, 130 minutes, pass at a scaled 720 / 1,000 (aim for 47+ / 65).
Independent practice questions by Core Concept Learning, written from the public exam guide; not official AWS content. Study the free MLA-C02 course
Study mode: check any answer as you go. Or practise under exam conditions: 130 minutes, answers hidden until you submit.
x
0/65 answered
Question 1
Domain 1: Data Preparation for ML and AI · Task 1.1
A factory streams vibration and temperature readings from 2,000 machines into Amazon Kinesis Data Streams. Four consumer applications read the same stream, and the GetRecords.IteratorAgeMilliseconds metric for all of them keeps rising, although producers are not throttled. Which change BEST lets every consumer keep up?
Question 2
Domain 1: Data Preparation for ML and AI · Task 1.1
A manufacturer wants machine telemetry from a Kinesis data stream to land in Amazon S3 as Parquet files partitioned by plant and date, ready for Athena queries and model training. The team wants no code or servers to manage, and a few minutes of delay is acceptable. Which solution BEST meets these requirements?
Question 3
Domain 1: Data Preparation for ML and AI · Task 1.1
A team trains a defect-detection model on 30 TB of product images in Amazon S3, using a cluster of GPU instances for 40 epochs. GPU utilisation stays low because loading data from S3 is the bottleneck in every epoch. Which storage change BEST raises throughput for these repeated reads?
Question 4
Domain 1: Data Preparation for ML and AI · Task 1.1
A heavy-equipment maker has embedded 1.2 billion maintenance log entries for a semantic search tool that service engineers use a few times a day. Sub-second query latency is acceptable, and the main requirement is the lowest vector storage cost. Which vector store BEST fits?
Question 5
Domain 1: Data Preparation for ML and AI · Task 1.1
A plant wants to build ML datasets from two new sources: live video from 60 inspection cameras on the assembly line, and recorded voice notes that technicians dictate after each repair. Which TWO services should ingest and convert these sources? Select TWO.
Choose 2.
Question 6
Domain 1: Data Preparation for ML and AI · Task 1.1
A manufacturer is creating a SageMaker Feature Store feature group for machine-health features. It must first load three years of history, about 900 million rows already stored as Parquet in Amazon S3, before switching to streaming updates. Which ingestion method BEST suits the backfill?
Question 7
Domain 1: Data Preparation for ML and AI · Task 1.2
A predictive-maintenance model needs, for each machine, the average and maximum vibration over the last 10 minutes, updated every minute from a Kinesis data stream and written to the SageMaker Feature Store online store. Which service should compute these features?
Question 8
Domain 1: Data Preparation for ML and AI · Task 1.2
Data scientists at an automotive supplier want to explore scrap-rate data from several sources visually, check for target leakage, apply encodings and scaling, and then export the same transformations to SageMaker Feature Store and a SageMaker pipeline. Which tool BEST fits?
Question 9
Domain 1: Data Preparation for ML and AI · Task 1.2
An engineer clusters machines by operating profile with the SageMaker AI K-Means algorithm. The features are spindle speed (0 to 20,000 rpm), temperature (20 to 90 °C) and vibration (0.1 to 5 mm/s). The clusters split almost entirely on spindle speed. Which pre-processing step BEST fixes this?
Question 10
Domain 1: Data Preparation for ML and AI · Task 1.2
A manufacturer wants to classify 400,000 maintenance tickets into 12 failure categories with the SageMaker AI BlazingText algorithm in supervised mode. How should the training data be prepared?
Question 11
Domain 1: Data Preparation for ML and AI · Task 1.2
A machinery maker's Amazon Bedrock knowledge base holds service manuals for 30 machine models. Technicians select their machine model in the app, but answers often quote procedures from a different model's manual. Which change BEST restricts retrieval to the selected model?
Question 12
Domain 1: Data Preparation for ML and AI · Task 1.2
A manufacturer's quality assistant uses a large Amazon Bedrock model to classify supplier non-conformance reports, and invocation logging has captured six months of production prompts and responses. The team wants a smaller, cheaper model that matches the large model on this task with the least labeling effort. Which approach BEST meets these requirements?
Question 13
Domain 1: Data Preparation for ML and AI · Task 1.3
An AWS Glue job loads hourly sensor batches from 12 plants. When a plant gateway fails, the batch still loads but with far fewer rows, and nobody notices for days. The team wants a quality rule that compares each batch with recent history instead of a fixed threshold. Which rule BEST meets this requirement?
Question 14
Domain 1: Data Preparation for ML and AI · Task 1.3
Temperature sensors on a production line write the value 9999 whenever they lose connection, and these values make up 3% of the readings in a time-series training set. Genuine readings never exceed 400. How should the engineer clean this feature?
Question 15
Domain 1: Data Preparation for ML and AI · Task 1.3
A visual inspection model must detect scratches on metal panels, but only 2% of the 50,000 labeled panel images show scratches. Which TWO actions BEST address the class imbalance? Select TWO.
Choose 2.
Question 16
Domain 1: Data Preparation for ML and AI · Task 1.3
A team predicts machine failures in the next 7 days from daily sensor features. It shuffled three years of data and split it randomly into training and test sets, and the test F1 score is far higher than the model achieves after deployment. Which change to the data split BEST fixes the evaluation?
Question 17
Domain 1: Data Preparation for ML and AI · Task 1.3
A manufacturer opened its AWS account this year and needs failure-mode labels for 80,000 free-text warranty claims to train a classifier. Its quality engineers can review only a few hundred claims a week. Which labeling approach BEST fits?
Question 18
Domain 1: Data Preparation for ML and AI · Task 1.3
A weld-defect image model trained on photos from four plants performs poorly at Plant D. An analysis shows that 70% of the training images come from Plant A, whose cameras and lighting differ from those at the other plants. What should the team do to improve the training data distribution?
Question 19
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A manufacturer must forecast weekly demand for 5,000 related spare parts, many with short histories, and planners want probabilistic forecasts with P10, P50 and P90 values. Which approach BEST fits?
Question 20
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A plant has years of unlabeled numeric readings from compressors and wants each new reading scored for how unusual it is, so engineers can investigate before failures happen. No failures have been labeled. Which SageMaker AI built-in algorithm BEST fits?
Question 21
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A packaging plant wants to detect three specific label-printing defects in product photos. It has about 600 labeled images per defect, no deep learning experts and a short deadline. Which approach BEST balances effort and accuracy?
Question 22
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
Plant managers want to ask an assistant questions such as “What was the average scrap rate on line 4 last month compared with line 2?” The data lives in production tables in Amazon Redshift. Which retrieval approach BEST fits these questions?
Question 23
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A machine-tool maker wants a model that writes CNC programs from part specifications. Correct programs are slow for experts to write, but each generated program can be checked automatically by a simulator that scores whether the part is produced within tolerance. Which customization approach BEST fits?
Question 24
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A team trains and tunes a deep learning model for surface-defect segmentation on SageMaker AI. Training jobs can be interrupted and restarted, and tuning tests 60 configurations that report validation loss every epoch. The team wants to lower cost and total tuning time. Which TWO actions BEST meet these goals? Select TWO.
Choose 2.
Question 25
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
An XGBoost model that predicts bearing failure from 1,500 labeled machine records reaches a training AUC of 0.99 but a validation AUC of 0.72. The model uses a max_depth of 12 and 1,000 rounds. Which change is MOST likely to improve validation performance?
Question 26
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
A team trains a vision model that fits easily in the memory of a single GPU, but one epoch over 40 million production-line images takes 30 hours on one ml.p4d instance. Which approach BEST reduces training time?
Question 27
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
A quality-inspection service sends every product photo to a large, expensive vision model. About 90% of photos are clearly fine, and a small model is confident and correct on those. The team wants to cut average cost while keeping accuracy on difficult photos. Which approach BEST meets this goal?
Question 28
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
An engineer trains an image model on 48,000 labeled weld images with a batch size of 64 on one GPU. She then moves to 4 GPUs with data parallelism and a global batch size of 256. How many steps per epoch will the new job run, and which learning rate change usually goes with it?
Question 29
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
A Bedrock model extracts the machine ID, fault code and part numbers from technician notes into JSON, but field names and formats vary between runs and some outputs are not valid JSON. Which TWO prompt changes BEST make the output consistent? Select TWO.
Choose 2.
Question 30
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A team that joined AWS this year trains a PyTorch model for acoustic anomaly detection on SageMaker AI. The loss becomes NaN after a few hundred steps, although the input data has been checked and contains no infinite or missing values. Which approach BEST diagnoses and fixes the problem?
Question 31
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A predictive-maintenance model built with XGBoost flags pumps for service. Maintenance supervisors want to know, for each flagged pump, which sensor readings pushed its risk score up. Which technique BEST provides this?
Question 32
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A team built a model to forecast hourly energy use for a factory and reports an RMSE of 42 kWh. A reviewer asks whether the model adds any value at all. Which comparison BEST answers that question?
Question 33
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A manufacturer runs an open-weight assistant for maintenance questions on its own Amazon EKS cluster. It wants Amazon Bedrock LLM-as-a-judge scores for correctness and helpfulness on 500 test questions without moving the model to Bedrock. Which approach BEST meets this requirement?
Question 34
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A model inspects turbine blades for cracks. A missed crack can cause a costly failure, while a false alarm only adds a manual inspection that takes a few minutes. Which metric should the team optimise when choosing the decision threshold?
Question 35
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
Every night a manufacturer must score 20 million production records, stored as CSV files in Amazon S3, with an XGBoost model and write the scores back to S3 with each record's ID. No one needs predictions during the day. Which approach BEST meets these requirements at the lowest cost?
Question 36
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A manufacturer hosts three fine-tuned LLMs on SageMaker AI: one for maintenance chat, one for quality reports and one for safety procedures. Each sees different traffic, and today each sits on its own under-used GPU endpoint. The team wants the models to share GPU instances while scaling separately. Which approach BEST meets this goal?
Question 37
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A manufacturer's platform team already runs all of its microservices and a shared GPU node pool on Kubernetes, with KServe and its own monitoring stack. A new vision model must be deployed with the same tooling and release process as everything else. Which deployment target BEST fits?
Question 38
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A supplier trained a PyTorch defect classifier on its own servers and delivered the model weights file. The manufacturer wants to host it on a SageMaker AI real-time endpoint with the least effort and without building a container. What should the ML engineer do?
Question 39
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A maintenance agent built with Strands Agents must call a parts-inventory API and a work-order Lambda function, and it must hand procurement tasks to a purchasing agent that another team built with LangGraph. Which TWO protocol choices are MOST appropriate? Select TWO.
Choose 2.
Question 40
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
An engineer wants to host a 13-billion-parameter model in FP16 on SageMaker AI with an LMI container. Each GPU on the candidate instance has 24 GB of memory, and the model also needs room for the KV cache. Which configuration is MOST appropriate?
Question 41
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A team extended an AWS Deep Learning Container with its own inference server for a vibration model. The SageMaker AI endpoint never becomes InService, and the logs show health checks failing, although the server starts on port 5000. What should the team change?
Question 42
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A manufacturer serves an LLM as a SageMaker AI inference component with streaming responses. Request lengths vary greatly, so invocation counts poorly reflect load. The team wants the component to scale to zero overnight and scale back out when the first morning request arrives. Which TWO scaling settings BEST meet these needs? Select TWO.
Choose 2.
Question 43
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A manufacturer fine-tuned a model on Amazon Bedrock for writing work instructions. The model is not eligible for on-demand custom model deployment, and it receives steady, high traffic around the clock across three shifts. How should the model be served?
Question 44
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
An ML engineer must move a production SageMaker AI endpoint for a quality model from ml.m5.xlarge to ml.c6i.xlarge instances with no downtime, using Boto3. What is the correct approach?
Question 45
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A plant wants an agent that wakes up on equipment alarm events, drafts a shutdown plan for a production line and waits for a shift supervisor to approve the plan before anything is executed. Alarm storms can produce thousands of events in minutes. Which infrastructure design BEST fits?
Question 46
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A manufacturer wants its defect model retrained automatically when a CloudWatch drift alarm fires, but a retrained model may reach production only if it beats the current model and a quality lead approves it. Which TWO pipeline elements BEST meet these requirements? Select TWO.
Choose 2.
Question 47
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
An AWS CodeBuild project that builds the inference container for a predictive-maintenance model fails with the error “Cannot connect to the Docker daemon”. The buildspec runs docker build and docker push. What should the team change?
Question 48
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A team deploys new versions of a maintenance agent to Amazon Bedrock AgentCore Runtime several times a week. Production clients must stay on a tested version until the team promotes a new one, and rollback must take minutes. Which approach BEST meets these requirements?
Question 49
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A manufacturer's safety-procedure assistant uses Amazon Bedrock Prompt Management. Last month a new prompt version shortened the answers and dropped required lockout steps, and nobody noticed for a week. Which control BEST catches this before release?
Question 50
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A team fine-tunes an Amazon Bedrock model each quarter on new inspection reports. Applications must switch to a new custom model only after it passes evaluation against the current one, auditors must trace each model to its training data, and rollback must be quick. Which design BEST meets these requirements?
Question 51
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A manufacturer wants to know whether a new defect-detection model reduces real rework costs before replacing the current one. Operators must act on the new model's results for a share of products. Which approach BEST meets this goal?
Question 52
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A maintenance agent on Amazon Bedrock AgentCore sometimes calls the same parts-lookup tool dozens of times in one session, and token use in those sessions is 20 times the normal amount. Which approach BEST detects and contains this behaviour?
Question 53
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
Nightly SageMaker AI training and batch transform jobs for a plant's quality models sometimes fail, and the team only finds out the next afternoon. The team wants an alert within minutes of any job failure. Which solution BEST meets this requirement?
Question 54
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
After a firmware update on a plant's sensors, a scheduled drift job reports a Population Stability Index of 0.35 for the vibration feature compared with the training baseline. Ground-truth failure labels will not be available for weeks. What does this most likely show, and what is the BEST next step?
Question 55
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A manufacturer's technician assistant streams answers from an Amazon Bedrock model. Technicians say that answers take too long to start appearing, and the team suspects it is also hitting its tokens-per-minute quota at shift change. Which TWO CloudWatch metrics should the team watch? Select TWO.
Choose 2.
Question 56
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
Every night a manufacturer summarises about 300,000 machine log files with an Amazon Bedrock model. Results are needed by 7 a.m., and nobody waits on individual requests. Which option BEST lowers the cost of this workload?
Question 57
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
Five plants share Amazon Bedrock models through one AWS account, and finance wants each plant's monthly Bedrock token spend shown separately in Cost Explorer. Which approach BEST meets this requirement?
Question 58
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
A manufacturer's data science teams sometimes start training jobs and endpoints on ml.p5 instances without approval, causing large bills. Leadership wants these instance types blocked in all ML accounts unless a central team grants an exception. Which control BEST meets this requirement?
Question 59
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
Requests to a plant's quality API pass through Amazon API Gateway, an AWS Lambda function and a SageMaker AI endpoint, and p99 latency has doubled. The team needs a per-request breakdown showing which hop adds the delay. Which tool BEST provides this?
Question 60
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
A manufacturer's rarely used test knowledge base keeps 40 million 1,024-dimension vectors in an Amazon OpenSearch Serverless collection, and the bill stays high even on days with no queries. A small loss in recall is acceptable. Which TWO changes BEST lower the vector storage cost? Select TWO.
Choose 2.
Question 61
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A procurement assistant answers questions using supplier documents retrieved from a knowledge base. A red-team test shows that a supplier PDF containing hidden instructions makes the assistant reveal internal pricing rules. Which mitigation BEST addresses this risk?
Question 62
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A manufacturer's data lake table of shift records includes operator names and employee IDs. The ML team may use every other column for training, while HR analysts need the full table. Which solution BEST enforces this access?
Question 63
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A manufacturer trains a model on proprietary product designs with a SageMaker AI training job that runs across eight instances. Security requires that data exchanged between the training instances during the job is encrypted in transit. Which setting BEST meets this requirement?
Question 64
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A manufacturer hosts a third-party model container on SageMaker AI and must guarantee that the container cannot make any outbound network calls, including calls to Amazon S3 or the internet. Which setting BEST meets this requirement?
Question 65
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A manufacturer's security team found long-term Amazon Bedrock API keys in use by several plant applications that run on AWS Lambda. It wants those applications moved to the recommended credential type and long-term keys blocked across its accounts. Which TWO actions BEST meet these goals? Select TWO.
Choose 2.
65 questions unanswered; they count as wrong.
Video walkthrough
Try the exam first, then watch every question worked through.