Amazon AWS Certified Associate

Amazon MLA-C02 Practice Test & Study Guide

AWS Certified Machine Learning Engineer - Associate

Exam code
MLA-C02
Questions
207
Updated
25 Nov 2026

What's in the MLA-C02 study guide

  • 207practice questions with answers
  • PDFread and print on any device
  • Test enginepractice and exam modes online
  • 90 daysof free updates
  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email

Price$89

Choose a format

Prices in USD. Downloads appear in My Account once your order is complete.

  • Instant access from My Account after payment
  • 90 days of free updates
  • Money-back guarantee – see conditions
  • Help by live chat or email
Free demo

MLA-C02 sample questions

Check the style and quality of the material before you buy.

Question 1

A SageMaker AI training job must read only from s3://ml-data/fraud/ and write only to s3://ml- models/fraud/. How should the ML engineer apply least privilege?

  • A. Use the root user's access keys in the training script.
  • B. Attach a policy to the job's execution role that allows s3:GetObject on the input prefix and s3:PutObject on the output prefix only.
  • C. Make both buckets public.
  • D. Attach the AmazonS3FullAccess managed policy to the execution role.

Answer: B

Explanation

Scoping actions and resource ARNs to the exact prefixes grants only what the job needs. Full access, public buckets, and root credentials violate least privilege.

Question 2

A company requires that traffic between its applications and Amazon Bedrock and SageMaker AI never traverses the public internet. Which actions should the ML engineer take? (Select TWO.)

  • A. Use security groups that allow only the required traffic to the endpoints.
  • B. Create interface VPC endpoints (AWS PrivateLink) for the Bedrock and SageMaker Runtime APIs.
  • C. Place the applications in public subnets with an internet gateway.
  • D. Share root credentials with application servers.
  • E. Disable TLS on all connections.

Answer: A,B

Explanation

PrivateLink interface endpoints keep traffic on the AWS network, and security groups restrict which resources can reach them. Public subnets, disabled TLS, and root credentials weaken security.

Question 3

A SageMaker AI training job fails with an AccessDenied error when it reads training data from an S3 bucket that is encrypted with a customer managed KMS key. The execution role already allows s3:GetObject. What is the MOST likely fix?

  • A. Allow the execution role to use kms:Decrypt in both the role policy and the KMS key policy.
  • B. Disable encryption on the bucket.
  • C. Add s3:PutBucketPolicy to the execution role.
  • D. Change the training instance type.

Answer: A

Explanation

Reading SSE-KMS objects requires permission to decrypt with the key, and the key policy must allow it. Disabling encryption violates policy, and the other changes do not grant decryption.

Question 4

A company must continuously check that every SageMaker AI endpoint configuration uses a customer managed KMS key, and must flag any configuration that does not. Which service should the ML engineer use?

  • A. Amazon Macie
  • B. AWS X-Ray
  • C. AWS Config rules
  • D. AWS Budgets

Answer: C

Explanation

AWS Config records resource configurations and evaluates them against rules, including managed rules for SageMaker endpoint encryption, and flags noncompliant resources.

Question 5

Before deployment, every custom inference container image in Amazon ECR must be scanned for operating system and package vulnerabilities. Which service should the ML engineer use?

  • A. Amazon Inspector
  • B. AWS Shield
  • C. Amazon Macie
  • D. Amazon GuardDuty

Answer: A

Explanation

Amazon Inspector scans ECR images for software vulnerabilities (CVEs) continuously and on push. GuardDuty detects threats, Shield protects against DDoS, and Macie finds sensitive data.

Question 6

Which safeguards can be configured in Amazon Bedrock Guardrails? (Select THREE.)

  • A. Hyperparameter search ranges
  • B. Content filters for categories such as hate, insults, and violence
  • C. Sensitive information (PII) filters
  • D. SHAP feature attributions
  • E. Denied topics

Answer: B,C,E

Explanation

Guardrails supports content filters, denied topics, word filters, sensitive information filters, and contextual grounding checks. SHAP and hyperparameter ranges belong to Clarify and automatic model tuning.

Question 7

A SageMaker Pipelines processing step needs a database password. The password must not appear in code or environment variable definitions and must rotate automatically. Where should the ML engineer store it?

  • A. An S3 object with public read access
  • B. A plaintext file in the Git repository
  • C. A hard-coded string in the processing script
  • D. AWS Secrets Manager with automatic rotation, retrieved at runtime by the execution role

Answer: D

Explanation

Secrets Manager stores encrypted secrets, supports automatic rotation, and controls access through IAM. The other options expose the credential.

Question 8

A Bedrock application sometimes returns customers' phone numbers and email addresses in its responses. The company wants this information masked automatically. What should the ML engineer use?

  • A. AWS KMS key rotation
  • B. AWS WAF IP set rules
  • C. Sensitive information filters in Amazon Bedrock Guardrails configured to mask PII
  • D. Amazon S3 Object Lock

Answer: C

Explanation

Guardrails sensitive information filters detect PII types such as phone numbers and email addresses and can block or mask them in inputs and outputs. The other services do not inspect model responses.

Question 9

A production SageMaker AI endpoint was deleted unexpectedly. The security team must find out who deleted it and when. Which service provides this information?

  • A. AWS CloudTrail
  • B. AWS X-Ray
  • C. Amazon Inspector
  • D. Amazon CloudWatch metrics

Answer: A

Explanation

CloudTrail records API calls such as DeleteEndpoint, including the caller identity, time, and source IP. Metrics and traces do not record who made control plane changes.

Question 10

Which practices protect ML data and artifacts with encryption? (Select TWO.)

  • A. Share one KMS key policy that allows everyone in the organization to decrypt.
  • B. Use AWS KMS customer managed keys for training volumes, model artifacts, and endpoint storage.
  • C. Disable encryption to speed up training.
  • D. Enable inter-container traffic encryption for distributed training jobs.
  • E. Store encryption keys as plaintext environment variables.

Answer: B,D

Explanation

KMS keys protect data at rest, and inter-container encryption protects data that moves between training nodes. Plaintext keys, disabled encryption, and overly broad key policies weaken protection.

Why RealExamCollection is the best choice for Amazon MLA-C02 exam preparation

Secure your position in a competitive IT industry

The Amazon MLA-C02 certification is a strong way to demonstrate your understanding and ability. Our MLA-C02 questions & answers help you prepare for it, so you can secure your current position and move your career forward.

Reviewed by IT professionals

We keep our MLA-C02 practice questions up to date, with explanations. The questions and answers on RealExamCollection are reviewed by people with professional experience of Amazon technologies.

One place to prepare

RealExamCollection brings together the material you need for the Amazon MLA-C02 exam. Explanations are added to the questions to help you understand the logic behind them and prepare for other Amazon exams.

Updated MLA-C02 questions & answers

We update the exam files regularly to add new questions. The date of the latest update is shown at the top of this page.

Free MLA-C02 demo before you buy

You can view sample MLA-C02 questions on this page before buying, to see the format and pattern of the material.

90 days of free updates

You are eligible for 90 days of free updates after buying the MLA-C02 exam. If the file is updated in that time, you can download the latest version from your account.

Ready to prepare?

Amazon MLA-C02 · 207 questions

Choose a format