Domain 4 of 4

Operating, Monitoring, and Securing ML and AI Solutions

Domain · 24% of the MLA-C02 exam

Name the operating question before choosing the evidence

Three tempting answers are wrong: an error rate offered as proof of correct answers, AWS Cost Explorer offered to diagnose a slow Amazon SageMaker AI endpoint, and a VPC (virtual private cloud) endpoint, a private path to an AWS service unlike the SageMaker AI endpoint that hosts a model, offered as permission to read a bucket. Each aims a real AWS tool at the wrong question. Running a deployed machine learning (ML) or generative artificial intelligence (AI) system raises three operating questions (this page's grouping, not AWS terminology): is it working and still right, does it run fast enough while spending only what the work needs, and is it allowed, protected and recorded? A successful call does not prove a right answer; Cost Explorer shows costs and usage, not where request time goes, and refreshes its cost data at least once every 24 hours; a VPC endpoint policy (a resource-based policy on the endpoint that controls which principals can use it) does not override or replace identity-based policies or other resource-based policies, so a private path still needs a permission. Name the question first, and the right tool follows.

One page per operating question, each with its own grouping

This domain carries 24% of scored content, like the model development and deployment domains; only Data Preparation for ML and AI is larger, at 28%. Each page gives one operating question its own grouping: the monitoring and optimization pages use groupings written for this guide (not AWS terminology), the security page uses the AWS security topics. Monitor ML and AI Inference and Performance asks whether the system is working and still right, using operational, drift and quality signals, each kind of signal with its own reference: operational signals against alarm thresholds, drift signals against a baseline (statistics computed from an approved reference dataset, usually the training dataset), and quality signals against ground truth labels (the real outcomes), reference answers, a judge model (a second model scoring each response) or human raters. Optimize ML and AI Costs and Performance asks whether the system runs fast enough while spending only what the work needs: it locates the constraint with telemetry (near-real-time measurements such as Amazon CloudWatch metrics), changes one of four cost levers (resource choice, capacity, purchasing option and usage), and confirms the effect by measuring again: telemetry for speed, billing data (the periodically refreshed record of charges) for spend. A latency alarm, a metric checked against a threshold, is an operational signal for the first question: it reports that a speed target was missed, never that answers are right; finding why and changing a lever is the second question's work. Secure ML and AI Workloads and Endpoints asks whether the system is allowed, protected and recorded, answered under the AWS security topics: data protection, identity and access management, infrastructure security, and logging and monitoring (here, a record of who did what, such as AWS CloudTrail's, not the monitoring page's signals), plus Amazon Bedrock Guardrails, and vulnerability management and sensitive data discovery with Amazon Inspector and Amazon Macie.

When two answers both work, prefer the one aimed at a located cause

The instinct that settles most close calls in this domain is to locate the cause first, then make the narrowest change that removes it. Each page applies that instinct in its own terms: read metrics per production variant (a model and its instances behind one SageMaker AI endpoint, receiving a weighted share of traffic) instead of an endpoint-wide average; compare model latency with overhead latency (time inside the model container versus time SageMaker AI adds) before buying a larger instance; and add a scoped statement to the execution role (the AWS Identity and Access Management (IAM) role SageMaker AI uses to read data and write artifacts for a job) instead of a wildcard grant on that role. Widening the submitting user's data access changes nothing: SageMaker AI acts through the execution role. A broad move such as a bigger instance or a wildcard grant can make the symptom disappear, but it leaves the cause unidentified and pays for capacity, or grants access, that the requirement never asked for.

Three operating questions and the page that covers each

Operating questionHow the page breaks it downTypical wrong substituteDrill into
Is it working and still right?Operational, drift and quality signals, each with its own referenceAn error rate or latency alarm offered as proof that answers are correctMonitor ML and AI Inference and Performance
Does it run fast enough while spending only what the work needs?Four cost levers (resource choice, capacity, purchasing option, usage); telemetry locates the constraint and confirms a speed change, billing data confirms a spend changeCost Explorer used to diagnose a slow SageMaker AI endpointOptimize ML and AI Costs and Performance
Is it allowed, protected and recorded?AWS security topics: identity and access management, data protection, infrastructure security, logging and monitoring (who did what), Amazon Bedrock Guardrails, vulnerability management and sensitive data discoveryA VPC endpoint treated as permission to read a bucketSecure ML and AI Workloads and Endpoints

Decision tree

Which operating question does the requirement ask?Is it workingand still right?Does it run fast enough whilespending only what the work needs?Is it allowed, protectedand recorded?Monitor ML and AI Inferenceand Performanceoperational, drift and quality signalsOptimize ML and AI Costsand Performancefour cost leversSecure ML and AI Workloadsand EndpointsAWS security topics

Subtopics in this domain