Skip to content

MLA-C02 Practice Exam 6: Logistics, travel and transportation

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
  1. Question 1

    Domain 1: Data Preparation for ML and AI · Task 1.1

    A parcel carrier keeps 5 years of shipment records in Amazon Aurora PostgreSQL, which also serves live tracking. The ML team needs a full extract in Amazon S3 for training, in a columnar format, without adding query load to the database. Which approach BEST meets these requirements?

  2. Question 2

    Domain 1: Data Preparation for ML and AI · Task 1.1

    A freight railway must keep raw locomotive sensor files for 7 years for regulators. The files are almost never read after 90 days, must not be altered or deleted during retention, and storage cost must be as low as possible. Which TWO actions BEST meet these requirements? Select TWO.

    Choose 2.

  3. Question 3

    Domain 1: Data Preparation for ML and AI · Task 1.1

    A freight forwarder wants a nightly training table that joins shipments from Amazon Redshift, carrier records from Amazon RDS and weather files in Amazon S3. The job must be serverless, scheduled, and process only data added since the last run. Which approach BEST meets these requirements?

  4. Question 4

    Domain 1: Data Preparation for ML and AI · Task 1.1

    A ride-hailing company keeps three years of trip records in an Amazon Redshift cluster. The ML team needs a fast bulk extract of the trips in Amazon S3 as columnar files, partitioned by city, to use as training data. Which approach BEST meets this requirement?

  5. Question 5

    Domain 1: Data Preparation for ML and AI · Task 1.1

    A logistics company trains an image model on 30 TB of parcel photos in Amazon S3. Each training job spends over an hour copying data before the first epoch starts, and the model reads the files mostly in sequence. Which change BEST shortens the start-up time with the least effort?

  6. Question 6

    Domain 1: Data Preparation for ML and AI · Task 1.1

    A travel booking platform has embedded 1.5 billion hotel review snippets for an occasional research search tool that analysts use a few times a week. Sub-second answers are fine, and vector storage must cost as little as possible. Which vector store BEST fits?

  7. Question 7

    Domain 1: Data Preparation for ML and AI · Task 1.2

    A ride-hailing company computes ETA features in a Spark job for training, while the serving team re-implemented the same features in Java for the live API. Predictions in production are worse than in testing because the two versions differ. Which approach BEST prevents this problem?

  8. Question 8

    Domain 1: Data Preparation for ML and AI · Task 1.2

    A trucking company streams GPS pings through Amazon Kinesis Data Streams. Before storing each record, it must parse the payload, drop malformed records and replace the driver's phone number with a token. No aggregation across records is needed. Which approach BEST meets these requirements?

  9. Question 9

    Domain 1: Data Preparation for ML and AI · Task 1.2

    A rail operator is building a delay-prediction model with a departure timestamp column and an origin-destination station pair column that has 40,000 distinct values. The model must learn time-of-day and weekly patterns. Which TWO feature engineering steps BEST fit? Select TWO.

    Choose 2.

  10. Question 10

    Domain 1: Data Preparation for ML and AI · Task 1.2

    A travel agency trains an intent classifier for its booking chatbot. Messages about lost luggage in Portuguese are a rare intent with only 60 examples, while other intents have thousands. Which pre-processing step BEST adds realistic training examples for the rare intent?

  11. Question 11

    Domain 1: Data Preparation for ML and AI · Task 1.2

    A car rental company runs AWS Glue ETL jobs that load booking records into its data lake for model training. Some columns contain passport numbers and driver's licence numbers, which must be masked before the data lands in the curated zone. Which approach BEST meets this requirement?

  12. Question 12

    Domain 1: Data Preparation for ML and AI · Task 1.2

    An airline uses a large Amazon Bedrock model for its customer-service assistant and wants a smaller, cheaper model that answers similarly on the same tasks. Model invocation logging has captured 50,000 real customer prompts. How should the training data for this goal be prepared?

  13. Question 13

    Domain 1: Data Preparation for ML and AI · Task 1.3

    A courier company has a delivery-duration feature that is strongly right-skewed and has 4% missing values. A data scientist wants to impute the missing values without letting the long tail pull the filled-in value upward. Which imputation BEST fits?

  14. Question 14

    Domain 1: Data Preparation for ML and AI · Task 1.3

    A travel company is preparing 8,000 customer-service prompt-response pairs to fine-tune a model. Many replies are near-copies of templates, and some pairs also appear in the evaluation set. Which preparation step BEST protects the fine-tuning result and the evaluation?

  15. Question 15

    Domain 1: Data Preparation for ML and AI · Task 1.3

    Analysts at a shipping company, who do not write code, must check a monthly vendor file for missing values, out-of-range weights and duplicate tracking numbers, and see a validation report before the data is used. Which approach BEST meets these requirements?

  16. Question 16

    Domain 1: Data Preparation for ML and AI · Task 1.3

    A logistics company is building a model that forecasts next week's parcel volume per depot from 3 years of daily data. The current pipeline shuffles all rows and takes a random 20% as the test set, and test scores look much better than live results. Which split BEST fixes the evaluation?

  17. Question 17

    Domain 1: Data Preparation for ML and AI · Task 1.3

    A travel loyalty program is training a model that offers free upgrades. In the historical labels, members under 30 received upgrades at a much lower rate than older members. Which pre-training bias metric BEST quantifies this difference?

  18. Question 18

    Domain 1: Data Preparation for ML and AI · Task 1.3

    A parcel carrier trains an image classifier to spot damaged boxes. Only 2% of the labelled photos show damage, and the model misses most damaged parcels. Which TWO actions BEST address the imbalance? Select TWO.

    Choose 2.

  19. Question 19

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1

    A parcel network needs probabilistic forecasts of daily parcel volume for 1,800 depots. The depots share seasonal patterns, and many have short histories. The company is a new AWS customer and wants a SageMaker AI built-in algorithm. Which choice BEST fits?

  20. Question 20

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1

    A customs broker receives thousands of scanned bills of lading and commercial invoices each day. It needs the consignee name, the HS codes and the declared values pulled from forms and tables, with no ML team to train models. Which service BEST meets this need?

  21. Question 21

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1

    A rail operator retrains a large deep learning model for track-fault detection every night on GPU instances. The job can restart from a saved state if interrupted, and the team wants to cut the training bill sharply. Which change BEST meets this goal?

  22. Question 22

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1

    A freight company's managers ask questions such as "how many shipments did each carrier deliver late last quarter". The answers live in Amazon Redshift tables, not in documents. Which RAG pattern BEST fits these questions?

  23. Question 23

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1

    A travel platform wants a model to produce trip itineraries as JSON that its code can validate: valid dates, connecting flights that do not overlap, and budget limits met. Writing ideal itineraries by hand for training is too expensive. Which customization strategy BEST fits?

  24. Question 24

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1

    A travel booking site runs a high-volume FAQ assistant on Amazon Bedrock. Each request repeats the same 4,000-token policy text, and most questions are simple. The site wants lower cost and latency at the same answer quality. Which TWO changes BEST meet this goal? Select TWO.

    Choose 2.

  25. Question 25

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2

    A ride-hailing company tuned its XGBoost surge-pricing model last month with SageMaker AI automatic model tuning. A month of new data has arrived, and the team wants the new tuning job to reuse what the earlier job learned. Which configuration BEST meets this goal?

  26. Question 26

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2

    A logistics company trains a PyTorch route-scoring model that fits on a single GPU, but the 4 TB training dataset makes each epoch take 9 hours on one instance. Which approach BEST shortens training time?

  27. Question 27

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2

    A shipping insurer classifies claims with a fast, cheap model, but about 15% of claims are ambiguous. It wants better accuracy on those without paying the cost of a large model on every claim. Which approach BEST meets these requirements?

  28. Question 28

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2

    A freight forwarder's RAG assistant misses passages when users type exact codes such as port code NLRTM or Incoterm FCA, although meaning-based questions work well. Which TWO actions BEST improve and verify retrieval? Select TWO.

    Choose 2.

  29. Question 29

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2

    A rail company uses an Amazon Bedrock model to extract the train number, origin, destination and delay minutes from free-text incident reports. Outputs vary in format and sometimes invent fields. Which prompt changes BEST improve consistency without fine-tuning?

  30. Question 30

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3

    A ride-hailing company's data scientists cannot reproduce last month's best ETA model because nobody recorded its parameters, data version or seed. They want every run's parameters, metrics, dataset version and model to be logged without managing a tracking server. Which approach BEST meets this need?

  31. Question 31

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3

    A courier company's customer disputes one predicted delivery window from an XGBoost model. Support needs to explain which features pushed that single prediction later. The company is a new customer and cannot use SageMaker Clarify. Which approach BEST meets this need?

  32. Question 32

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3

    A trucking company predicts delivery times in minutes. A few shipments are delayed by days because of storms, and the team wants an error metric that is not dominated by those rare extreme errors. Which metric BEST fits?

  33. Question 33

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3

    A travel publisher machine-translates hotel descriptions from English into German and has professional reference translations for a test set. It wants a standard automatic metric for translation quality based on n-gram precision against the references. Which metric BEST fits?

  34. Question 34

    Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3

    A tour operator must choose between two Amazon Bedrock models for writing itinerary descriptions in its brand voice. Automatic metrics cannot judge the voice, and the operator wants its own travel editors to compare the two models' outputs side by side. Which approach BEST meets this need?

  35. Question 35

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1

    A rail operator scores 12 million ticket records each night for fraud and needs no endpoint during the day. The batch transform job uses 4 instances, but the input is one large CSV file and only one instance does any work. Which change BEST lets the job use all instances?

  36. Question 36

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1

    A travel site's fare-anomaly model is a small scikit-learn model that runs on CPU. It receives a few requests an hour at unpredictable times, needs synchronous responses, and has no VPC requirement. The site wants to pay as little as possible while idle. Which inference option BEST fits?

  37. Question 37

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1

    A logistics company trained an XGBoost ETA model on features produced by a scikit-learn preprocessing script. It wants the same preprocessing to run before the model on every request to one SageMaker AI endpoint, without the client doing any feature work. Which deployment BEST fits?

  38. Question 38

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1

    An airline fine-tuned Amazon Nova Lite on Amazon Bedrock in us-east-1 for baggage-claim replies. Traffic is light and uneven, and the airline wants to pay per token rather than for reserved hourly capacity. Which deployment option BEST fits the custom model?

  39. Question 39

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1

    A ride-hailing company deploys a 70B-parameter LLM to a SageMaker AI endpoint. Endpoint creation keeps failing health checks, and the logs show the container is still downloading and loading weights when it is marked unhealthy. Which change BEST fixes this?

  40. Question 40

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1

    A freight company trained a PyTorch damage-detection model on its own on-premises servers and saved the weights. It wants to host the model on SageMaker AI with as little container work as possible. Which approach BEST meets this requirement?

  41. Question 41

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2

    A logistics company's network team owns a CloudFormation stack with the private subnets and security groups. The ML team's stacks must use those values for SageMaker AI endpoints, and a model-deployment Lambda function must read the current endpoint name. Which approach BEST links them?

  42. Question 42

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2

    A rail company built its own inference container for a SageMaker AI endpoint. The endpoint never becomes InService, and the logs show the web server listening on port 5000 with a single /predict route. Which change BEST fixes this?

  43. Question 43

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2

    An airline's crew-scheduling model runs on a SageMaker AI endpoint with ml.c6i.xlarge instances. The team wants to move it to ml.c7g.xlarge with no downtime, using Boto3. Which sequence BEST does this?

  44. Question 44

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2

    A route-planning company hosts an LLM as an inference component on a SageMaker AI endpoint. Overnight it wants zero GPU instances, and in the morning the first requests must bring capacity back automatically. Which TWO settings BEST meet these requirements? Select TWO.

    Choose 2.

  45. Question 45

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2

    A freight software company offers a RAG assistant to many shipper customers from one Amazon Bedrock knowledge base. Each customer must only ever retrieve its own documents, even if a user tries to ask about another customer's shipments. Which retrieval design BEST meets this requirement?

  46. Question 46

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3

    A travel company's knowledge base uses Titan Text Embeddings V2 at 1,024 dimensions. The team will switch to a multilingual embedding model with a different dimension and wants no outage or mixed results during the change. Which approach BEST meets these requirements?

  47. Question 47

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3

    An auditor at a rail operator asks which data, code and training job produced the deployed delay model, and who approved it for production. Which approach BEST provides this record?

  48. Question 48

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3

    An airline's booking assistant uses Amazon Bedrock prompt versions and a golden test set. Last month a prompt edit silently lowered answer quality in production. Which TWO pipeline practices BEST prevent this from happening again? Select TWO.

    Choose 2.

  49. Question 49

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3

    A logistics company fine-tunes a Bedrock model every month. Applications must pick up the newly approved custom model without a code release, and the team must be able to return to the previous model within minutes. Which approach BEST meets these requirements?

  50. Question 50

    Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3

    A rail company's data scientists launch dozens of short SageMaker AI training jobs in a row while they iterate on features. Each job waits several minutes for instances before training starts. Which training job setting BEST reduces this wait?

  51. Question 51

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1

    A shipping company runs nightly SageMaker AI processing and training jobs. Last week a training job failed and nobody noticed for two days. The team wants an alert within minutes whenever any of these jobs fails. Which approach BEST meets this requirement?

  52. Question 52

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1

    A freight broker's late-delivery model gets its ground-truth labels only 30 days after each prediction. The team wants an early warning when live behaviour starts to differ from training, long before labels arrive. Which approach BEST meets this need?

  53. Question 53

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1

    A travel company runs several generative AI applications on Amazon Bedrock. Operations wants one place to see invocations, token usage, latency percentiles, errors and cost by application, plus end-to-end prompt traces across knowledge bases and tools. Which tool BEST fits?

  54. Question 54

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1

    An airline wants to know when the answer quality of its Bedrock baggage-policy assistant slips, for example after a model or prompt change. It has a golden set of 400 questions with reference answers. Which approach BEST monitors quality over time?

  55. Question 55

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1

    A travel agency's multi-agent booking system on Amazon Bedrock AgentCore sometimes hands a request back and forth between the flights agent and the hotels agent until the supervisor times out. Which TWO actions BEST detect and contain this failure? Select TWO.

    Choose 2.

  56. Question 56

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2

    A transportation company serves a transformer model on GPU instances. The model is supported by the AWS Neuron SDK, and the company wants the lowest cost per inference while keeping latency acceptable. Which instance family BEST meets this goal?

  57. Question 57

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2

    A ride-hailing app calls Amazon API Gateway, then AWS Lambda, then a SageMaker AI endpoint and Amazon Bedrock. Some requests take 6 seconds, and the team needs to see which hop adds the latency. Which approach BEST provides this view?

  58. Question 58

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2

    A logistics company runs model endpoints in development, staging and production accounts. Its operations team wants one dashboard with P99 latency, error rate as a percentage of invocations, and instance counts for every account. Which approach BEST meets this requirement?

  59. Question 59

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2

    A travel search company stores 400 million 1,024-dimension review embeddings in an Amazon OpenSearch Serverless collection. Vector storage costs keep growing, and tests show 512 dimensions give almost the same recall. Which TWO actions BEST cut vector storage cost? Select TWO.

    Choose 2.

  60. Question 60

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2

    A parcel company wants an Amazon Bedrock model to summarize 2 million delivery-exception notes every night for a report read the next morning. No user waits for the results. Which approach BEST lowers the cost of this workload?

  61. Question 61

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3

    A freight company's security team requires that every SageMaker AI training and processing job runs in the company's VPC subnets with a customer managed KMS volume key, and wants to detect any resource that drifts from this. Which approach BEST meets these requirements?

  62. Question 62

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3

    A rail operator's security policy says a model container on a SageMaker AI endpoint must not be able to make any outbound network calls, including to Amazon S3, even if the model code is compromised. Which setting BEST meets this requirement?

  63. Question 63

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3

    A travel booking company has thousands of CSV and JSON exports in Amazon S3 that it plans to use for model training and for a RAG index. Before use, security must find which objects contain passport numbers, card numbers or other personal data. Which service BEST meets this requirement?

  64. Question 64

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3

    A car-sharing company runs an AWS Lambda function that calls Amazon Bedrock to draft replies to customer messages. A developer proposes storing a long-term Bedrock API key in the function's environment variables. Which credential approach BEST follows AWS guidance?

  65. Question 65

    Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3

    An airline's Bedrock assistant must always use the approved, versioned guardrail that masks passport numbers. Security also found that model invocation logs in CloudWatch Logs still contain unmasked passport numbers. Which TWO actions BEST close these gaps? Select TWO.

    Choose 2.

65 questions unanswered; they count as wrong.

Video walkthrough

Try the exam first, then watch every question worked through.