CertKeen
AWSBeta · expanding bank

AWS Machine Learning Engineer Associate (MLA-C02) Practice Exam

Practice questions for the AWS Certified Machine Learning Engineer – Associate (MLA-C02) exam, covering data preparation for ML and AI with Amazon S3, Kinesis, Managed Service for Apache Flink, AWS Glue, Glue DataBrew, Glue Data Quality, SageMaker Data Wrangler and Feature Store, vector stores (OpenSearch, pgvector, S3 Vectors), embeddings, RAG chunking and metadata, PII redaction, fine-tuning and distillation datasets, labeling, bias metrics and class imbalance; model and foundation model development with Amazon Bedrock model selection and evaluations, LoRA fine-tuning, RAG versus fine-tuning, SageMaker AI built-in algorithms, script mode, automatic model tuning, distributed and spot training, overfitting and catastrophic forgetting, MLflow on SageMaker AI, shadow tests, SHAP explanations and NLP metrics; deployment and orchestration with real-time, serverless, asynchronous, batch and multi-model endpoints, inference components, JumpStart, Bedrock Custom Model Import, Provisioned Throughput, knowledge base sync and reranking, Bedrock AgentCore Runtime, Memory and Gateway, deployment guardrails, SageMaker Pipelines, Model Registry, Prompt Management and CodePipeline; and operating, monitoring and securing ML and AI solutions with CloudWatch generative AI observability, drift detection, A/B testing, Inferentia, Savings Plans, Budgets, prompt caching, batch inference, Amazon Inspector, IAM, KMS, VPC network isolation, Bedrock API keys, invocation logging and Bedrock Guardrails. Every question includes a written explanation.

100 questions · 12 free preview

$19 · lifetime access
Try free sample

Studying more than one? All AWS exams for $29 · every exam for $79

Free sample questions

  1. Sample · question 1 · Firehose record format conversion to Parquet

    Pemberton Freight streams JSON telemetry from delivery vans and wants it to land in Amazon S3 as Apache Parquet files for later model training. The team wants a fully managed path with no custom consumer code to maintain. Which approach meets these requirements?

    • A.Amazon Kinesis Data Streams with an Amazon EC2 consumer fleet that writes Parquet files
    • B.Amazon Data Firehose with record format conversion using a Glue table schemacorrect
    • C.Amazon Kinesis Video Streams with a delivery rule that writes Parquet files to Amazon S3
    • D.Amazon SQS with an AWS Lambda function that buffers messages and writes Parquet files

    Why: Amazon Data Firehose can convert incoming JSON records to Parquet or ORC before delivering them to S3, using a schema defined in an AWS Glue Data Catalog table, with no consumer code to run. A Kinesis Data Streams consumer fleet on EC2 or a buffering Lambda function on SQS both require custom code and operations. Kinesis Video Streams is for video and time-encoded media, not JSON telemetry.

    Open this question on its own page →
  2. Sample · question 2 · S3 Intelligent-Tiering for unknown access

    Quillfeather Books stores image datasets for training in Amazon S3. Some datasets are reused heavily for weeks, while others are never read again, and the team cannot predict which. They want to lower storage cost automatically without retrieval fees or lifecycle rules tuned per dataset. Which storage class fits best?

    • A.S3 One Zone-Infrequent Access
    • B.S3 Intelligent-Tieringcorrect
    • C.S3 Express One Zone
    • D.S3 Glacier Deep Archive

    Why: S3 Intelligent-Tiering moves objects between access tiers automatically based on observed access and charges no retrieval fees, which suits unpredictable access patterns. Glacier Deep Archive has retrieval times measured in hours and retrieval charges. One Zone-IA charges per-GB retrieval fees and stores data in a single Availability Zone. S3 Express One Zone is a high-performance class priced for frequently accessed data, not for lowering cost.

    Open this question on its own page →
  3. Sample · question 3 · Multimodal embeddings for image and text search

    Thistle and Rowan Apparel wants shoppers to type a phrase such as "green linen summer dress" and retrieve matching product photos, even for products with no written description. Which approach supports this cross-modal retrieval?

    • A.Embed images and queries with one multimodal embedding modelcorrect
    • B.Embed product photos with a text model by passing the image file name as the input text
    • C.Run Amazon Textract on each product photo and embed whatever printed text it finds
    • D.Store photos in Amazon S3 and match query keywords against the object metadata tags

    Why: A multimodal embedding model, such as one of the multimodal embedding models available in Amazon Bedrock, places images and text in a shared vector space, so a text query can be compared directly with image vectors. File names carry little or no visual meaning. Textract extracts printed text and finds nothing useful in most clothing photos. Keyword matching on metadata fails for products that have no description.

    Open this question on its own page →
  4. Sample · question 4 · Fixing underfitting

    A regression model at Wrenfield Dairy that predicts milk yield scores an R-squared of 0.31 on the training data and 0.30 on validation data. Both errors are high and nearly equal. Which TWO changes are most likely to improve the model? (Select TWO.)

    • A.Increase L2 regularization strength to constrain the model further
    • B.Use a more flexible model or reduce the amount of regularization appliedcorrect
    • C.Collect a larger validation set while keeping the model unchanged
    • D.Apply early stopping after the second epoch of every training run
    • E.Add informative features, such as feed type and herd age, to the inputscorrect

    Why: Poor and similar scores on both training and validation data indicate underfitting, meaning high bias. Adding relevant features, or allowing more model complexity by choosing a more flexible algorithm or weakening regularization, lets the model capture more of the signal. Stronger regularization and very early stopping restrict the model further. A bigger validation set gives a more precise estimate but does not improve the model itself.

    Open this question on its own page →
  5. Sample · question 5 · DeepAR for many related time series

    Thistle and Rowan Apparel needs probabilistic weekly sales forecasts for 8,000 products, many of which are new and have only a few weeks of history. Which SageMaker AI built-in algorithm suits this best?

    • A.Principal Component Analysis (PCA), which reduces feature dimensions
    • B.K-means, which groups products into clusters by sales level
    • C.DeepAR, which trains one model across all related time seriescorrect
    • D.Object2Vec, which learns embeddings for pairs of product records

    Why: DeepAR is a recurrent neural network forecasting algorithm that trains a single model across many related time series, which helps it forecast items with short histories, and it produces probabilistic forecasts. K-means clusters data and does not forecast. Object2Vec learns embeddings for pairs of objects. PCA reduces dimensionality and does not produce forecasts.

    Open this question on its own page →
  6. Sample · question 6 · Textract Queries for form fields

    Ironbark Mining receives thousands of scanned supplier invoices in varied layouts and needs to extract the invoice number, due date and total amount from each one. The team has no labeled training data and wants to avoid building a custom model. Which solution fits best?

    • A.Amazon Comprehend with a custom entity recognizer for invoices
    • B.Amazon Rekognition with label detection on each invoice image
    • C.A SageMaker AI image classification model trained on the scans
    • D.Amazon Textract with the Queries featurecorrect

    Why: Amazon Textract extracts text, forms and tables from scanned documents, and its Queries feature returns answers to natural-language questions about a document without any training, which handles varied layouts. Comprehend custom entity recognition needs labeled training data and works on text that would first have to be extracted. Rekognition label detection identifies objects and scenes. An image classifier assigns a class, not field values.

    Open this question on its own page →
  7. Sample · question 7 · Serverless provisioned concurrency for cold starts

    Glasshouse Florists uses a SageMaker AI serverless endpoint for an order-routing model. Traffic is predictable: a surge every weekday from 8 to 9 AM. Customers complain about slow first responses at the start of the surge. Which change most directly addresses this while keeping the serverless option?

    • A.Switch the endpoint to asynchronous inference and poll Amazon S3 for the results
    • B.Raise the endpoint's memory size from 2 GB to 6 GB to make the container start sooner
    • C.Configure Provisioned Concurrency, scaled on a schedule ahead of the morning surgecorrect
    • D.Lower the maximum concurrency setting so that fewer requests reach the endpoint

    Why: Provisioned Concurrency keeps a set number of serverless endpoint instances warm so they respond without a cold start, and it can be managed with Application Auto Scaling on a schedule, which suits a predictable surge. More memory changes compute size but does not remove the cold start. Lower maximum concurrency causes throttling. Asynchronous inference changes the request model, which does not suit interactive callers.

    Open this question on its own page →
  8. Sample · question 8 · SageMaker training warm pools

    Data scientists at Ambergate Robotics run many short SageMaker AI training jobs in a row while iterating on a script, and each job spends several minutes provisioning instances before training starts. Which feature reduces this startup delay between consecutive jobs?

    • A.Pipe input mode, which streams the dataset to the training container
    • B.Automatic model tuning, which runs several training jobs in parallel
    • C.Managed spot training, set with MaxWaitTimeInSeconds on the training job
    • D.Managed warm pools, set with a KeepAlivePeriodInSeconds value on the training jobcorrect

    Why: Managed warm pools keep training infrastructure running for a configured keep-alive period after a job ends, so a matching subsequent job reuses it and skips most provisioning time. Managed spot training can add waiting time for capacity. Pipe mode changes how data is read, not instance startup. Automatic model tuning searches hyperparameters and does not shorten each job's provisioning.

    Open this question on its own page →
  9. Sample · question 9 · Geographic cross-Region inference profiles

    Bellweather Insurance in Germany uses Amazon Bedrock and wants higher throughput during traffic peaks by spreading requests across multiple Regions. Regulations require that inference requests be processed only in EU Regions. Which option meets both requirements?

    • A.A global cross-Region inference profile
    • B.A single-Region on-demand model ID in eu-central-1
    • C.A geographic (EU) cross-Region inference profilecorrect
    • D.A Provisioned Throughput purchase in a US Region

    Why: Geographic cross-Region inference profiles route requests among the Regions within one geography, such as the EU, which adds burst capacity while keeping processing inside that boundary. Global profiles can route to any supported commercial Region worldwide. A single-Region model ID does not spread load across Regions. A US Region violates the EU processing requirement.

    Open this question on its own page →
  10. Sample · question 10 · Lake Formation column-level permissions

    Larchmont Credit Union's data lake table of member transactions contains a ssn column. Data scientists who query the table through Amazon Athena for feature engineering must never see that column, while the fraud team must. Which approach provides this column-level control centrally?

    • A.Grant AWS Lake Formation permissions that exclude the ssn column for the data scientistscorrect
    • B.Ask data scientists not to select the ssn column in their Athena queries
    • C.Create a separate copy of the table for each team in another S3 bucket every night
    • D.Encrypt the whole bucket with SSE-S3 so the ssn column is hidden from queries

    Why: AWS Lake Formation supports fine-grained permissions on Data Catalog tables, including granting access to only specific columns, and Athena enforces those permissions at query time. Nightly copies duplicate data and add pipelines to maintain. Relying on users' discipline is not a control. SSE-S3 encrypts data at rest but does not hide columns from authorized readers.

    Open this question on its own page →
  11. Sample · question 11 · Guardrails denied topics

    Rookery Lane Bank's customer assistant on Amazon Bedrock must refuse to give personalized investment recommendations, even when users phrase the request in many different ways. Which Amazon Bedrock Guardrails policy is designed for this?

    • A.A word filter listing the names of popular investment products
    • B.A denied topic, defined with a description and sample phrasescorrect
    • C.A sensitive information filter configured for bank account numbers
    • D.A contextual grounding check with a high grounding threshold

    Why: Denied topics let you describe a subject the application must not engage with, plus example phrases, and the guardrail detects and blocks that topic in user inputs and model responses regardless of exact wording. Sensitive information filters target PII and similar data. Word filters match specific words or phrases and miss paraphrases. Contextual grounding checks detect answers not supported by source material.

    Open this question on its own page →
  12. Sample · question 12 · Bedrock Flex service tier

    Every night, Marlowe Publishing runs thousands of Amazon Bedrock requests that generate draft book blurbs for editors to review the next morning. Responses can take longer, and the team wants a discount compared with standard on-demand pricing without managing batch input files. Which option fits?

    • A.Set the service_tier parameter to flex on these requestscorrect
    • B.Set the service_tier parameter to priority on these requests
    • C.Purchase Provisioned Throughput with a 6-month commitment
    • D.Route the requests through a geographic inference profile

    Why: The Bedrock Flex service tier serves requests at a discounted price in exchange for potentially longer processing times, which suits latency-tolerant workloads; it is selected per request with the service_tier parameter. The Priority tier costs more for faster responses. Provisioned Throughput is a fixed hourly commitment. Geographic inference profiles control routing, not price tier.

    Open this question on its own page →

Like the sample?

Other practice exams