MLA-C02 Practice Exam 3: Healthcare and life sciences
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.
Question 1
Domain 1: Data Preparation for ML and AI · Task 1.1A genomics research institute starts a SageMaker AI training job on 16 ml.p4d.24xlarge instances to process a new sequencing dataset. The job fails at once with a ResourceLimitExceeded error, although the data in Amazon S3 is readable and the execution role is correct. What should the ML engineer do?
Question 2
Domain 1: Data Preparation for ML and AI · Task 1.1A clinical research organisation must keep the raw de-identified datasets behind every submitted model for 10 years. The files are almost never read, regulators require that no one can delete or overwrite them during that period, and storage cost must be as low as possible. Which storage configuration BEST meets these requirements?
Question 3
Domain 1: Data Preparation for ML and AI · Task 1.1A remote patient monitoring service sends readings from 40,000 home devices to an Amazon Kinesis Data Streams stream with 20 shards. Producers use the clinic ID as the partition key, and three large clinics generate most of the traffic. Producers receive ProvisionedThroughputExceededException errors although total throughput is well below the stream capacity. Which change BEST fixes the problem?
Question 4
Domain 1: Data Preparation for ML and AI · Task 1.1A biotech company wants to store embeddings of 3 million research abstracts next to its relational compound and assay tables, so that SQL queries can join similarity results with assay data. The team knows PostgreSQL, embeds text with Amazon Titan Text Embeddings V2 at its default size and plans to point an Amazon Bedrock knowledge base at the same store. Which TWO configuration choices should the team make? Select TWO.
Choose 2.
Question 5
Domain 1: Data Preparation for ML and AI · Task 1.1A health insurer wants a nightly training table that joins member records from Amazon RDS for MySQL with claim files that land in Amazon S3 as CSV. Data scientists later query only 8 of the 240 resulting columns with Amazon Athena, and each nightly run must process only the new claim files. Which solution BEST meets these requirements with the least operational overhead?
Question 6
Domain 1: Data Preparation for ML and AI · Task 1.1A hospital is building a real-time deterioration-risk model. A stream-processing application computes rolling vital-sign features for each patient every minute. The endpoint must read each patient's latest features in milliseconds, and the training team needs the full feature history for point-in-time training sets. How should the features be ingested?
Question 7
Domain 1: Data Preparation for ML and AI · Task 1.2Clinical research analysts with no coding experience must standardise lab units, fix inconsistent site names and remove duplicate rows in trial datasets before the data reaches the ML team. They want reusable visual steps that they can apply to each new monthly file. Which AWS service BEST fits these users?
Question 8
Domain 1: Data Preparation for ML and AI · Task 1.2A team predicts hospital length of stay with a linear regression model. The total_charges feature has a long right tail, and admit_time is a single timestamp, although stays depend on the hour and weekday of admission. Which TWO feature engineering steps are MOST appropriate? Select TWO.
Choose 2.
Question 9
Domain 1: Data Preparation for ML and AI · Task 1.2A health system will fine-tune Amazon Nova Lite on Amazon Bedrock to rewrite discharge instructions at a sixth-grade reading level. It has 3,000 approved pairs of original and rewritten instructions, and every rewrite must follow the same system instruction. How should the training data be prepared?
Question 10
Domain 1: Data Preparation for ML and AI · Task 1.2A dermatology practice wants clinicians to type a description such as “raised red lesion with scaling” and retrieve similar de-identified photos from its image library. Text queries and images must be compared in a single vector space. Which embedding approach BEST meets this requirement?
Question 11
Domain 1: Data Preparation for ML and AI · Task 1.2A hospital is building an Amazon Bedrock knowledge base over 400 clinical practice guidelines. Each guideline is a long PDF with numbered sections and dosing tables. Answers need the surrounding section for context, and the dosing tables must stay intact. Which ingestion configuration is BEST?
Question 12
Domain 1: Data Preparation for ML and AI · Task 1.2A healthcare startup will fine-tune a model on 200,000 clinician notes stored in Amazon S3. Compliance requires that patient names, dates and record numbers never become part of the model weights. Which approach BEST meets this requirement?
Question 13
Domain 1: Data Preparation for ML and AI · Task 1.3Each night an AWS Glue job loads laboratory results from 30 clinics into the training data lake. Recently, one clinic sent potassium values in the wrong unit and another sent files with empty patient IDs, and both batches reached model training. The team wants an automated gate in the existing job that stops such batches and alerts the on-call engineer. Which solution BEST meets these requirements?
Question 14
Domain 1: Data Preparation for ML and AI · Task 1.3A radiology group that is an existing SageMaker Ground Truth customer needs bounding boxes drawn around nodules on 20,000 de-identified chest CT slices. Only its own credentialed radiologists may see the images, and each slice should be labeled by more than one reader. Which labeling setup BEST meets these requirements?
Question 15
Domain 1: Data Preparation for ML and AI · Task 1.3A health data team that started on AWS this year must report Class Imbalance (CI) and Difference in Proportions of Labels (DPL) for age and sex facets in a readmission training set before each model release. Which approach BEST meets this requirement?
Question 16
Domain 1: Data Preparation for ML and AI · Task 1.3A dermatology classifier performs worse on darker skin. An audit finds that 88% of the training photos show lighter skin tones and that each photo carries a Fitzpatrick skin-type field in its metadata. Which TWO actions BEST improve the training data distribution? Select TWO.
Choose 2.
Question 17
Domain 1: Data Preparation for ML and AI · Task 1.3A pharmacovigilance team trains a binary classifier to flag reports of a serious adverse drug reaction that appears in 0.8% of records. The first model scores 99.2% accuracy but finds almost none of the true cases. Which approach BEST addresses the problem?
Question 18
Domain 1: Data Preparation for ML and AI · Task 1.3A hospital collected 15,000 prompt-response pairs from its nurse advice line to fine-tune a model. Before training, every pair must be checked for leftover patient identifiers and for unsafe advice, and pairs that fail must be quarantined automatically. Which approach BEST meets these requirements?
Question 19
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1A patient portal assistant on Amazon Bedrock answers questions in English. Most are simple, such as clinic hours, but some need careful multi-step reasoning about care instructions. Evaluations show that Amazon Nova Lite handles the simple ones and Nova Pro is needed for the rest. The team wants to cut cost without building its own classifier. Which approach BEST meets these requirements?
Question 20
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1A pharmaceutical company has 2 million unlabeled internal research reports full of proprietary compound names and assay terms. It wants an Amazon Nova model that understands this vocabulary before any task-specific tuning. Which customization approach BEST fits?
Question 21
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1A health insurer is building a model on 60 tabular features to decide which prior-authorization requests go to manual review. Regulators require the insurer to show which features drove each individual decision, and the model must still be accurate. Which modeling approach BEST meets these requirements?
Question 22
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1A clinic network with no data science staff wants to pull medication names, dosages and frequencies from free-text visit notes and link each medication to an RxNorm code. Which solution requires the LEAST effort?
Question 23
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1A drug-safety team wants an assistant that answers questions such as “Which approved drugs are metabolised by the same enzyme as drug X and share its interaction warnings?” The answers depend on relationships between drugs, enzymes and warnings spread across thousands of documents. Which RAG pattern BEST fits this use case?
Question 24
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.1A symptom-checker chat app on Amazon Bedrock uses a large model. Users complain that they stare at a blank screen for several seconds, and finance wants a lower cost per conversation. An evaluation shows that a smaller model in the same family meets the quality bar. Which TWO changes BEST address both concerns? Select TWO.
Choose 2.
Question 25
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2An ML engineer is tuning a PyTorch model that classifies ECG strips with SageMaker AI automatic model tuning. The learning rate should be searched between 0.00001 and 0.1, and the budget allows 40 training jobs. Which tuning configuration is MOST appropriate for the learning rate?
Question 26
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2After full fine-tuning on 8,000 medical coding examples, an open-weight model on SageMaker AI assigns billing codes well but now writes poor general clinical summaries, which it handled before. The team must keep the coding gains. Which TWO changes BEST reduce this problem in the next training run? Select TWO.
Choose 2.
Question 27
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2A genomics research team has a working PyTorch training script that reads CSV files from a local folder and saves a model file. The team wants to run it on SageMaker AI GPU instances without building or maintaining a Docker image. What should the team do?
Question 28
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2A team fine-tunes a model on Amazon Bedrock to draft prior-authorization letters, with epochCount set to 5. The job output shows training loss falling every epoch, while validation loss is lowest after epoch 2 and rises after that. What should the team change for the next job?
Question 29
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.2A hospital RAG assistant retrieves the wrong passages for questions full of clinical abbreviations such as “SOB” and “NSTEMI”. Tests on a labeled query set show that a different embedding model, tuned on biomedical text and hosted on SageMaker AI, raises recall@5 from 0.61 to 0.83. What must the team do to adopt it?
Question 30
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3Several data scientists train sepsis-prediction models on SageMaker AI and later cannot reproduce which data version, seed and hyperparameters gave the best validation AUC. The team wants a managed experiment tracker with no server to size. Which solution BEST meets these requirements?
Question 31
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3A hospital runs a sepsis early-warning model on a SageMaker AI real-time endpoint. A retrained version must be checked against live requests for latency, errors and prediction agreement, but clinicians must keep receiving only the current model's scores until the new one is approved. Which approach BEST meets these requirements?
Question 32
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3A team evaluates a model that summarises radiology reports for patients. Reference summaries were written by radiologists, and good generated summaries often use different wording with the same meaning. Which metric BEST measures how closely a generated summary matches the meaning of its reference?
Question 33
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3A pharmacy chain is choosing between two Amazon Bedrock models for answering patient questions about medicines. Automated scores are close, so the chain wants its own licensed pharmacists to rate both models' answers for clinical correctness and tone on a five-point scale. Which approach BEST meets this requirement?
Question 34
Domain 2: ML Model and Foundation Model (FM) Development · Task 2.3A hospital RAG assistant sometimes gives wrong answers. The team wants a scheduled Amazon Bedrock RAG evaluation that shows whether the retrieved chunks are relevant to each question and whether answers add claims that are not in the retrieved text. Which TWO metrics should the team track? Select TWO.
Choose 2.
Question 35
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1A pathology lab runs a deep learning model on whole-slide images of about 800 MB each. Scoring one slide takes 8 to 12 minutes, slides arrive in bursts a few times a day, and the lab wants no instances running between bursts. Which inference option BEST meets these requirements?
Question 36
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1A hospital analytics vendor trains a separate XGBoost readmission model for each of its 600 client hospitals. All models use the same container, most hospitals send only a few requests per hour, and an occasional slower first request is acceptable. Which hosting approach is MOST cost-effective?
Question 37
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1A medical research group fine-tuned a Llama 3.1 8B model on its own GPU cluster and saved it in Hugging Face format as safetensors with its config and tokenizer files. It wants to call the model through Amazon Bedrock APIs, pay nothing while the model is idle and manage no servers. Which deployment option BEST meets these requirements?
Question 38
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1A hospital operations team, new to agents on AWS this year, is building an agent that books follow-up appointments. It must call three existing Lambda functions and an internal MCP server, keep each user's session isolated and run code written with Strands Agents. Which deployment BEST meets these requirements?
Question 39
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1A clinic's small scikit-learn triage model receives a few hundred requests a day at unpredictable times, and responses are needed within a second. Security requires that the endpoint runs inside the clinic's VPC private subnets. Which hosting choice meets these requirements?
Question 40
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.1A pharmacy knowledge base on Amazon Bedrock Knowledge Bases (customer-managed, OpenSearch Serverless) often misses passages for exact product codes such as “NDC 0071-0155”, and when the right passages are retrieved they are often ranked below less useful ones. Which TWO retrieval settings BEST fix these issues? Select TWO.
Choose 2.
Question 41
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2An ML engineer deploys a SageMaker AI endpoint whose model has a VpcConfig for private subnets with no NAT gateway or internet gateway. Endpoint creation fails because the container cannot download its model artifact and container image. Which TWO resources should the engineer add to the VPC? Select TWO.
Choose 2.
Question 42
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2A radiology AI vendor runs an asynchronous inference endpoint with a minimum capacity of zero instances. A target tracking policy on ApproximateBacklogSizePerInstance scales it well once it is running, but new requests wait in the queue indefinitely after the endpoint has scaled to zero. What should the vendor add?
Question 43
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2A customer-managed Amazon Bedrock knowledge base indexes 50,000 hospital policy documents with fixed-size chunks. Tests show that hierarchical chunking retrieves better context for long policies. What must the team do to move the knowledge base to hierarchical chunking?
Question 44
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2A patient intake agent runs on Amazon Bedrock AgentCore Runtime. Patients complain that the agent forgets what they said earlier in a conversation, and returning patients must restate their allergies and language preference at every visit. Which solution BEST fixes both problems?
Question 45
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.2A health system deploys SageMaker AI endpoints with AWS CloudFormation. A shared network stack owns the private subnets and security groups, and the ML stack must use them. The approved model package ARN changes with every release and is also read by a Lambda function and the CI/CD pipeline. Which approach BEST passes these values?
Question 46
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3A hospital updates a SageMaker AI real-time endpoint that scores imaging worklists. The update must first send a small share of traffic to the new fleet, wait while it is observed, and return all traffic to the old fleet automatically if the 5XX error or p99 latency alarms fire. Which deployment configuration BEST meets these requirements?
Question 47
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3Auditors ask a medical device company which training data, code and training job produced the diagnostic model now in production, and who approved it for release. The company also wants each approval to start the production deployment automatically. Which solution BEST meets these requirements?
Question 48
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3A health-tech team creates an AWS CodePipeline pipeline whose source stage uses a new AWS CodeConnections connection to its GitHub repository. The pipeline never starts, and the connection shows the status PENDING. What should the team do?
Question 49
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3A hospital's discharge-summary assistant has its prompt hard-coded in an AWS Lambda function, so every wording change needs a code release. The team wants prompt changes reviewed, versioned, promoted through dev, test and prod, and rolled back quickly. Which approach BEST meets these requirements?
Question 50
Domain 3: Deployment and Orchestration of ML and AI Workflows · Task 3.3Clinical guideline PDFs for a hospital knowledge base are updated several times a week in Amazon S3. The knowledge base must pick up changes within an hour, run a retrieval regression test after each sync and alert the team if the sync or the test fails. Which design BEST meets these requirements?
Question 51
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1A claims-denial prediction model for a hospital billing office has lost 9 points of precision over three months. Scheduled checks show that the input feature distributions still match the training baseline. Payer rules changed during that period. What should the team monitor to confirm the cause?
Question 52
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1A digital health startup that began using AWS this year needs daily drift detection on the tabular inputs of a SageMaker AI real-time endpoint, with an alert when any feature shifts significantly from the training data. Which design BEST meets these requirements?
Question 53
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1A symptom-triage model on SageMaker AI serverless inference usually answers in 120 ms, but a few requests each morning take more than 3 seconds. ModelLatency stays flat, while OverheadLatency spikes on those requests. The morning traffic peaks are predictable. What should the team do?
Question 54
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1A health insurer's member-benefits assistant on Amazon Bedrock changes often as prompts and documents are updated. The team wants an automatic weekly check of answer correctness and faithfulness on a fixed golden question set, with an alert if scores drop below last month's baseline. Which solution BEST meets these requirements?
Question 55
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.1Users of a clinical documentation assistant report that long visit summaries streamed through ConverseStream sometimes stop mid-sentence. There are no errors in the logs, and the cut-off answers are all about the same length. What should the team check first?
Question 56
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2A hospital group runs eight SageMaker AI real-time endpoints for clinical risk models around the clock with steady traffic, plus occasional training jobs. Usage has been stable for a year and is expected to stay that way. Which purchasing option BEST lowers the cost of the endpoints?
Question 57
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2A team is deploying a new PyTorch model that segments organs in CT images on a SageMaker AI real-time endpoint. It must meet a p95 latency of 300 ms at 50 requests per second, and the team does not know which instance type gives the lowest cost at that load. Which approach BEST finds the right instance type?
Question 58
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2A university medical centre runs ML research on grants, and each project tags its SageMaker AI and Amazon Bedrock resources with a grant ID. Finance wants a warning when a grant's forecasted monthly spend will exceed its allocation, and an alert when spend jumps unexpectedly for any service. Which TWO tools BEST meet these needs? Select TWO.
Choose 2.
Question 59
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2After a hospital added RAG to its staff policy assistant on Amazon Bedrock, the monthly model bill tripled. Logs show each request carries 20 retrieved chunks and the same 3,000-token system prompt, and answers are no better than when only the top few chunks were used. Which change BEST lowers cost without hurting answer quality?
Question 60
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.2A medical transcription company runs a high-volume transformer model that classifies note sections. It runs today on GPU instances at about 15% utilisation, the model is supported by the AWS Neuron SDK, and the goal is the lowest cost per inference. Which instance family should the team test first?
Question 61
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3A patient-messaging assistant on Amazon Bedrock must never show patient phone numbers or medical record numbers (MRNs) in its replies, and the team has learned that model invocation logs in CloudWatch Logs still contain the original text. Which TWO controls BEST protect the data? Select TWO.
Choose 2.
Question 62
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3A hospital analytics team uses a third-party evaluation tool that can authenticate to Amazon Bedrock only with a bearer token. Security wants credentials that expire within hours and inherit the permissions of the person who creates them. Which credential type BEST meets these requirements?
Question 63
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3A compliance officer asks which IAM principals invoked a SageMaker AI endpoint that scores patient risk during the past week. AWS CloudTrail shows CreateEndpoint and UpdateEndpoint calls but no InvokeEndpoint calls. What should the team do so that future invocations are recorded?
Question 64
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3A hospital's security team requires that every SageMaker AI training and processing job created by data scientists runs in approved VPC subnets and encrypts its storage volume with a KMS key. Jobs that do not meet both conditions must be rejected when they are created. Which control BEST enforces this?
Question 65
Domain 4: Operating, Monitoring, and Securing ML and AI Solutions · Task 4.3A health-tech company builds custom inference containers in AWS CodeBuild and pushes them to Amazon ECR. Security requires that images with critical CVEs never reach production and that images already pushed are rechecked when new CVEs are published. Which solution BEST meets these requirements?
65 questions unanswered; they count as wrong.
Video walkthrough
Try the exam first, then watch every question worked through.