MLA-C02 Practice Exam 8: Energy, utilities and agriculture
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
An electric utility stores 4 TB of meter-reading history in an Amazon RDS for PostgreSQL database that also serves the billing system. Once a month the ML team needs a full copy in Amazon S3 in a columnar format for training, without adding query load to the database. Which approach BEST meets these requirements?
Question 2
Domain 1: Data Preparation for ML and AI · Task 1.1
A water utility streams readings from 2 million smart meters into Amazon Kinesis Data Streams, using the pressure-zone ID as the partition key. There are only 40 pressure zones, and producers in a few large zones receive ProvisionedThroughputExceededException errors while most shards are idle. Which TWO changes BEST fix the problem? Select TWO.
Choose 2.
Question 3
Domain 1: Data Preparation for ML and AI · Task 1.1
A farm co-operative streams grain-silo temperature and humidity events through Amazon Kinesis Data Streams. Agronomists want the events in Amazon S3 as Apache Parquet, partitioned by date, for Athena queries, and the team does not want to write or run any delivery code. Which approach BEST meets these requirements?
Question 4
Domain 1: Data Preparation for ML and AI · Task 1.1
An agritech company trains a crop-disease model on 9 TB of drone images in Amazon S3. Training jobs spend almost an hour downloading data before the first epoch starts, and the images are read mostly in order. Which change BEST shortens the start time with the least effort?
Question 5
Domain 1: Data Preparation for ML and AI · Task 1.1
A pipeline operator wants semantic search over 30 years of inspection reports, about 1.5 billion text chunks. Inspectors query the archive only a few times a week, sub-second responses are enough, and the lowest storage cost is the priority. Which vector store BEST fits?
Question 6
Domain 1: Data Preparation for ML and AI · Task 1.1
A grid operator must keep raw control-system event logs for seven years for regulators. The logs must not be changed or deleted by anyone during that period, they are almost never read after 90 days, and storage cost must be as low as possible. Which TWO S3 configurations BEST meet these requirements? Select TWO.
Choose 2.
Question 7
Domain 1: Data Preparation for ML and AI · Task 1.2
An agricultural advisory service wants farmers to search 2 million field photos by typing descriptions such as yellowing leaves with brown spots, and also to find photos that look like one they upload. Which embedding approach BEST fits?
Question 8
Domain 1: Data Preparation for ML and AI · Task 1.2
A power company is building a gradient-boosted model to forecast hourly electricity demand. The raw data has a single timestamp column, and analysts know demand depends on the hour of day, the day of the week and public holidays. Which feature engineering step BEST exposes this signal?
Question 9
Domain 1: Data Preparation for ML and AI · Task 1.2
A wind-farm operator keeps turbine features in a SageMaker Feature Store feature group used for training and real-time scoring. Engineers now want to add a new blade-icing-risk feature for every turbine without rebuilding the feature group or losing its history. Which approach BEST meets this requirement?
Question 10
Domain 1: Data Preparation for ML and AI · Task 1.2
Field technicians at a fertiliser distributor record voice notes about orders, and Amazon Transcribe often mishears product names such as Azotomax and NPK-20-10-10. The transcripts feed a demand model and a search index. Which change BEST improves the transcripts?
Question 11
Domain 1: Data Preparation for ML and AI · Task 1.2
A gas utility uses a large foundation model on Amazon Bedrock to summarise outage tickets and is happy with the quality. It wants a smaller, cheaper model that matches this quality on the same task, and it has six months of model invocation logs but no hand-labelled summaries. Which approach BEST meets this goal?
Question 12
Domain 1: Data Preparation for ML and AI · Task 1.2
An energy retailer's AWS Glue pipeline prepares customer data for a churn model. Analysts must not see names, emails or street addresses, but the model still needs to join each customer's records across tables by customer. Which TWO steps BEST meet these requirements? Select TWO.
Choose 2.
Question 13
Domain 1: Data Preparation for ML and AI · Task 1.3
An irrigation co-operative collects soil-moisture readings from field stations every 15 minutes. Some stations send -9999 when a sensor fails, and network retries create duplicate rows with the same station ID and timestamp. The data feeds a time-series model. Which cleaning approach is BEST?
Question 14
Domain 1: Data Preparation for ML and AI · Task 1.3
A utility is training a model to forecast daily water demand from five years of data. A data scientist shuffled all rows and made a random 80/20 split, and the test error looks much better than the error seen when the model runs in production. Which change to the split is BEST?
Question 15
Domain 1: Data Preparation for ML and AI · Task 1.3
An agritech startup is training a crop-disease image model. An audit of the image metadata shows that 85% of the photos come from one growing region, taken in bright midday light with one phone model, and the model performs poorly on farms elsewhere. Which approach BEST reduces this bias?
Question 16
Domain 1: Data Preparation for ML and AI · Task 1.3
A utility is exploring a dataset to predict transformer failures in SageMaker Canvas. One column, repair_work_order_id, is filled only for transformers that have already failed. The team wants a quick report that flags problems like this, along with missing values and outliers, before modeling. Which approach BEST meets this need?
Question 17
Domain 1: Data Preparation for ML and AI · Task 1.3
An agritech company that is a new AWS customer needs 20,000 field photos labelled with one of eight pest types. Its two agronomists have little time, so it wants to cut manual effort while keeping label quality checked by experts. Which approach BEST meets these requirements?
Question 18
Domain 1: Data Preparation for ML and AI · Task 1.3
An agricultural lender is checking historical microloan data before training an approval model. Approval rates differ between small and large farms, and the team suspects the gap looks different inside each region than it does overall. Which TWO pre-training bias metrics should the team compute? Select TWO.
Choose 2.
Question 19
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A vineyard group wants to find a specific invasive weed in drone photos of its rows. No general-purpose image service recognises this weed, the group has about 600 labelled photos, and it has no ML team. Which approach BEST meets these requirements?
Question 20
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A wind-farm operator wants to flag unusual vibration readings from 3,000 turbines. Each reading is a vector of numeric sensor values, almost none of the past readings are labelled as faults, and the operator wants an anomaly score per reading. Which SageMaker AI built-in algorithm BEST fits?
Question 21
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A regional water utility must translate outage and boil-water notices into five languages within minutes. Terms such as boil-water advisory must always be translated the same approved way. The utility has no ML staff. Which approach BEST meets these requirements?
Question 22
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A grid operator wants an assistant to answer questions such as which substations would lose supply if a given transmission line failed, and which feeders share a transformer. The answers depend on relationships between thousands of assets described in engineering documents. Which RAG pattern BEST fits?
Question 23
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
An oil and gas company trains a seismic-interpretation deep learning model for three days on GPU instances every quarter. The training script already saves checkpoints to Amazon S3, and finishing within a week is fine. The company wants to cut the training cost by as much as possible. Which option BEST meets this goal?
Question 24
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1
A farm-equipment dealer's field app calls a Bedrock model to answer technicians' repair questions. Total answer time is acceptable, but technicians complain that they stare at a blank screen for about eight seconds before any text appears. Which change BEST addresses the complaint at the same cost?
Question 25
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
A utility trains the SageMaker AI built-in XGBoost algorithm on meter-tamper data exported as CSV. The training job fails while parsing the data. The files have a header row, and the label column tamper_flag is the last column. Which change BEST fixes the problem?
Question 26
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
A crop-insurance company tuned an XGBoost model last season with SageMaker AI automatic model tuning. This season it has new data with two extra features and wants the new tuning job to start from what the earlier job learned instead of from scratch. Which configuration BEST meets this need?
Question 27
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
An agritech company trains a PyTorch crop-yield model on satellite images. The model fits comfortably in the memory of one GPU, but the dataset is 40 TB and one epoch takes 30 hours on a single GPU instance. Which change BEST reduces training time?
Question 28
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
A solar company has a working scikit-learn training script that it runs on a laptop. It wants to run the script on SageMaker AI with the least effort, pass hyperparameters from the job, and save the model where SageMaker AI will package it. Which approach BEST meets these requirements?
Question 29
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2
An electricity network operator uses a Bedrock model to turn field inspection notes into a JSON record with fixed fields. Outputs vary from run to run, sometimes miss fields and sometimes add prose around the JSON. Which TWO prompt and inference changes BEST improve consistency? Select TWO.
Choose 2.
Question 30
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A utility is training a PyTorch load-forecasting network on SageMaker AI. After a few hundred steps the training loss suddenly becomes NaN. The input data has been checked and contains no missing or infinite values. Which action BEST addresses the problem?
Question 31
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A grid operator uses a foundation model to summarise incident reports and has reference summaries written by engineers. Engineers often word the same facts differently from the model, so word-overlap scores penalise good summaries. Which metric BEST compares the model summaries with the references?
Question 32
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
An agricultural advisory company is choosing between two Bedrock models for crop advice. Agronomists must judge which model's advice is more practical and correct for local conditions, which automatic metrics cannot capture. The company wants the agronomists to compare the answers side by side. Which approach BEST meets this need?
Question 33
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A farm co-operative wants to explain to its members how the predicted wheat yield from its gradient-boosted model changes, on average, as the nitrogen application rate increases from low to high, with other features held at typical values. Which explanation method BEST shows this?
Question 34
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3
A utility is building a model that predicts which underground cables will fail in the next 90 days so crews can replace them. Fewer than 2% of cables fail, and a missed failure causes a long outage, while an unnecessary inspection costs little. Which metric should guide model selection and threshold tuning?
Question 35
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A power distributor scores 20 million meter records every night with a SageMaker AI batch transform job on four instances. The input is one 60 GB CSV file in Amazon S3, and CloudWatch shows that only one instance does any work while the other three stay idle. Which change BEST fixes this?
Question 36
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
An energy trading firm has fine-tuned three open-weight LLMs and 20 LoRA adapters for different desks. Traffic per model varies by market hours, some models are idle overnight, and the firm wants them to share GPU instances while each scales on its own. Which SageMaker AI hosting approach BEST fits?
Question 37
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A wind farm operator wants to serve a 13-billion-parameter model from the single 24 GB GPU of an ml.g5.2xlarge instance to keep hosting costs low. In FP16 the weights alone do not fit, and the model also needs room for a KV cache. Which change BEST lets the model fit on that one GPU?
Question 38
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
A grid operator's outage agent, built with Strands Agents on AgentCore Runtime, must hand forecasting tasks to a load-forecasting agent that another team built in LangGraph. The two agents should discover each other's skills and exchange tasks over HTTP. Which protocol BEST fits this agent-to-agent communication?
Question 39
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
An agricultural research institute trained a PyTorch yield model on its own servers and has the model weights file and an inference script. It wants to serve the model on a SageMaker AI real-time endpoint with the least container work. Which approach BEST meets these requirements?
Question 40
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1
An electric utility's outage assistant calls a foundation model on Amazon Bedrock on demand. During major storms, request volume jumps tenfold for a few hours and some calls are throttled. The utility wants more throughput during these bursts without paying for reserved capacity for the rest of the year. Which option BEST fits?
Question 41
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A utility's security policy says a model container that scores customer payment risk must not make any outbound network calls at all, even to AWS services. The endpoint already runs in private subnets with tight security groups. Which additional setting BEST enforces the policy?
Question 42
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A solar operator runs an asynchronous SageMaker AI endpoint that analyses panel images uploaded in bursts. Auto scaling uses ApproximateBacklogSizePerInstance with a minimum capacity of 0. After quiet periods, new requests sit in the queue and the endpoint never leaves zero instances. Which change BEST fixes this?
Question 43
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
After a regional storm, a utility's background agent must triage about 50,000 outage reports that arrive within an hour. Each report needs a few Bedrock calls, and the team wants to protect its Bedrock quotas and avoid losing reports during the burst. Which design BEST meets these requirements?
Question 44
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A pipeline operator has two Bedrock workloads. One is a fine-tuned model serving steady, high traffic around the clock. The other summarises 2 million maintenance logs once a quarter, with results needed within a few days. Which TWO choices BEST balance cost and performance? Select TWO.
Choose 2.
Question 45
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2
A gas utility loads PDF inspection reports into an Amazon Bedrock knowledge base with default parsing. Answers about pressure readings are often wrong, and testing shows that the values in the reports' tables come out of ingestion as jumbled text. Which change BEST fixes this?
Question 46
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
An energy regulator audits a utility's credit-risk model and asks who approved the version now in production, which training job produced it, and which dataset it used. The utility trains with SageMaker Pipelines. Which approach BEST answers these questions?
Question 47
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A utility runs a customer-service agent on AgentCore Runtime. A new release went to the DEFAULT endpoint during testing, and production traffic uses a named endpoint called prod. The new version passed staging tests, but the team wants a fast rollback if live problems appear. Which approach BEST meets this need?
Question 48
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A farm co-operative's assistant uses Bedrock Prompt Management versions and a golden set of 200 agronomy questions with rubrics. Last month a new prompt version reduced answer quality, and nobody noticed for a week. Which practice BEST prevents this?
Question 49
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
A utility's CodePipeline pipeline in a shared tools account deploys a SageMaker AI model to a production account. The deploy stage fails with an AccessDenied error when the production account tries to read the model artifact from the pipeline's artifact bucket, which is encrypted with a customer managed KMS key. Which change BEST fixes this?
Question 50
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3
An electricity retailer fine-tunes a Bedrock model every quarter on new customer-call data. Auditors must link each production model to its training data version and base model, and the team wants to roll back within minutes without code changes in the calling Lambda functions. Which TWO practices BEST meet these requirements? Select TWO.
Choose 2.
Question 51
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A solar operator's panel-output model uses ambient temperature as a key feature. After new weather-station firmware was installed, the Population Stability Index for that feature jumped from 0.04 to 0.38 compared with the training baseline. Ground-truth output values will not be available for a month. What does this indicate?
Question 52
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A water utility runs nightly AWS Glue jobs and SageMaker AI processing jobs that prepare data for its leak-detection model. Last week a job failed silently, and the model was scored on stale data the next morning. The team wants an immediate notification whenever any of these jobs fails. Which approach BEST meets this need?
Question 53
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A utility's customer-service agent runs on AgentCore Runtime and calls a billing tool through AgentCore Gateway. Users report that the agent often apologises and gives up on billing questions, and the team suspects the billing API is timing out. Which approach BEST detects and automates handling of this problem?
Question 54
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
A farm co-operative's crop-advice assistant uses a Bedrock model and a knowledge base. The team wants to catch quality regressions in correctness and faithfulness after changes to prompts, models or documents, and to get an alert when scores drop. Which approach BEST meets this need?
Question 55
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1
An irrigation-advice chatbot on Amazon Bedrock normally uses about 1,200 input tokens per request. The team wants to be alerted automatically when token use behaves unusually, even though normal traffic varies by season and time of day, and then find which prompts caused it. Which TWO actions BEST meet these requirements? Select TWO.
Choose 2.
Question 56
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
During storms, an electric utility's outage FAQ assistant on Amazon Bedrock receives thousands of customer questions that mean the same thing, such as how to report an outage or claim a food-spoilage credit. The team wants to cut model cost for these repeated questions. Which approach BEST meets this requirement?
Question 57
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
A grid operator's outage-lookup API runs through Amazon API Gateway, AWS Lambda and a SageMaker AI endpoint. P99 latency has doubled, and the team needs to see which hop adds the time for individual requests. Which tool BEST shows this?
Question 58
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
An energy retailer's billing agent sometimes enters loops in which it calls the same tool dozens of times in one session, and the monthly AgentCore and Bedrock bill has become unpredictable. Which approach BEST controls this resource consumption?
Question 59
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
A national energy company has dozens of ML teams in AWS Organizations. Finance wants to stop any team from creating SageMaker AI training jobs or endpoints on ml.p5 or ml.p4d instances unless the central platform team creates them. Which approach BEST enforces this?
Question 60
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2
A utility's knowledge base holds 400 million vectors of 1,024 dimensions from Amazon Titan Text Embeddings V2 in an OpenSearch Serverless collection, and vector storage now dominates the RAG bill. Most of the archive is queried rarely. Which TWO changes BEST reduce vector storage cost? Select TWO.
Choose 2.
Question 61
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
An energy company's CodePipeline pipeline builds a custom inference container in CodeBuild and pushes it to Amazon ECR before deployment. Security wants deployment blocked whenever the new image has a CRITICAL vulnerability, including CVEs discovered later. Which approach BEST meets this requirement?
Question 62
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
An agritech company's RAG assistant indexes advisory documents uploaded by third-party contractors. A tester found that a hidden instruction inside one document made the assistant reveal its system prompt. Which approach BEST mitigates this risk?
Question 63
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
An agritech company lets its ML engineers create their own IAM execution roles for SageMaker AI jobs. Security must guarantee that no role an engineer creates can ever have more access than a defined maximum set of permissions, whatever policies the engineer attaches. Which control BEST meets this requirement?
Question 64
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A grid operator's control-room application runs in private subnets of a VPC with no internet access. It must call a SageMaker AI endpoint privately, and security wants the endpoint to reject calls that do not come through that VPC path. Which approach BEST meets these requirements?
Question 65
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3
A water utility's customer chatbot on Amazon Bedrock must always use the approved guardrail, and changes to that guardrail must go through review rather than taking effect as soon as someone edits it. Which TWO actions BEST meet these requirements? Select TWO.
Choose 2.
65 questions unanswered; they count as wrong.
Video walkthrough
Try the exam first, then watch every question worked through.