Courseiva

MLA-C01 Deployment and Orchestration of ML Workflows Practice Question

A team needs to deploy a model that has compliance requirements to log all inference requests and responses for auditing. The model will be served using a real-time endpoint. How can they achieve this without custom code?

⚠ Common exam trap

Test-takers frequently confuse CloudTrail (which logs API calls) with Data Capture (which logs payloads), or they assume Debugger can be repurposed for inference logging, but Debugger only works during training.

Answer choices

Why each option matters

Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.

Correct answer & explanation

✓

Enable SageMaker Data Capture on the endpoint

SageMaker Data Capture is the native, no-code feature that automatically logs inference requests and responses for real-time endpoints. It captures payload data to an S3 bucket without requiring any custom code, directly meeting the compliance requirement for audit logging.

Answer analysis

Option-by-option breakdown

For each option: why learners choose it and why it is or isn't the right answer here.

  • ✓

    Enable SageMaker Data Capture on the endpoint

    Why this is correct

    SageMaker Data Capture on a real-time endpoint automatically logs inference requests and responses to Amazon S3, satisfying the audit requirement without custom code. It captures input and output payloads at the endpoint level, so compliance logging happens transparently for every invocation.

  • ✗

    Add a custom Lambda function using a container

    Why it's wrong here

    Adding a custom Lambda function with a container introduces custom code, which directly violates the question’s explicit constraint to achieve logging “without custom code.” This option is tempting because Lambda container support is often used to package custom runtimes or dependencies for inference preprocessing; however, the requirement demands a no-code solution, so the correct approach would use an AWS service like CloudTrail or an endpoint-level logging configuration that captures requests and responses automatically, not a developer-written function.

  • ✗

    Use SageMaker Debugger to monitor inference

    Why it's wrong here

    Debugger captures training-job tensors and metrics for model insight, not inference request and response payloads at a real-time endpoint. It is tempting because Debugger is a native SageMaker monitoring feature, and it would be the right tool for diagnosing training convergence, vanishing gradients or resource bottlenecks during model fitting.

  • ✗

    Enable CloudTrail for the endpoint

    Why it's wrong here

    CloudTrail records AWS API control-plane calls, not the request and response payloads flowing through a SageMaker real-time endpoint, so it cannot satisfy the audit requirement. It is tempting because CloudTrail is the default answer for AWS logging, and it would be right for auditing who created, updated or deleted the endpoint itself.

Quick reference

AWS S3 Storage Class Comparison

Storage ClassMin DurationRetrievalUse Case
S3 StandardNoneImmediateFrequently accessed data
S3 Standard-IA30 daysImmediateInfrequent access, rapid retrieval
S3 One Zone-IA30 daysImmediateNon-critical infrequent data
S3 Intelligent-TieringNoneImmediate–hoursUnknown or changing access patterns
S3 Glacier Instant90 daysMillisecondsArchive with instant retrieval
S3 Glacier Flexible90 daysMinutes–hoursArchive, flexible retrieval
S3 Glacier Deep Archive180 daysHoursLong-term compliance archive

About these practice questions

Courseiva writes every MLA-C01 question from scratch — 665 in total, each with an explanation and a wrong-answer breakdown. None are copied from real exams or dumps. Learn why practice questions differ from exam dumps →

How Courseiva writes practice questions · Editorial policy

JA

Written by Johnson Ajibi, MSc IT Security

Senior Network & Security Engineer · founder of Courseiva

This MLA-C01 practice question is part of Courseiva's free Amazon Web Services certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the MLA-C01 exam.