Amazon AWS Certified Machine Learning Engineer - Associate MLA-C01 Practice Test 45
Question 440
During an approved rollout of an AWS ML inference workload, the following condition is observed: A customer scoring workload runs only once nightly over millions of S3 records, but a team provisions a permanently running low-latency endpoint for it. The team must meet its documented availability and rollback constraints. What targeted change should be implemented after verifying the stated cause?
- Use a SageMaker Batch Transform or batch inference job for the scheduled bulk scoring workflow.
- Keep the blue environment available until green health gates pass and automate traffic rollback on failed alarms.
- Use SageMaker asynchronous inference with S3 input/output and suitable queue and notification settings.
- Filter appropriate validated data-ready events and trigger retraining only after the required dataset manifest is complete.
Explanation
Correct Answer
A:Use a SageMaker Batch Transform or batch inference job for the scheduled bulk scoring workflow. This is the appropriate controlled remedy for real-time versus batch inference decision. Batch inference suits asynchronous bulk datasets without an interactive low-latency response requirement. Verify the cause with: Inspect invocation cadence, acceptable completion window, per-record latency requirement, and idle endpoint cost. Then confirm: The overnight batch completes within its service window while there is no idle always-on inference endpoint charge. Reported signal: A customer scoring workload runs only once nightly over millions of S3 records, but a team provisions a permanently running low-latency endpoint for it. Operational setting: During an approved rollout of an AWS ML inference workload.
Incorrect Answers
B:Keep the blue environment available until green health gates pass and automate traffic rollback on failed alarms. This addresses a different issue involving blue-green endpoint rollback after health failure. It does not correct the stated real-time versus batch inference decision mechanism. The targeted response is: Use a SageMaker Batch Transform or batch inference job for the scheduled bulk scoring workflow. Case evidence: A customer scoring workload runs only once nightly over millions of S3 records, but a team provisions a permanently running low-latency endpoint for it. Operational setting: During an approved rollout of an AWS ML inference workload.
C:Use SageMaker asynchronous inference with S3 input/output and suitable queue and notification settings. This addresses a different issue involving asynchronous endpoint for large payloads. It does not correct the stated real-time versus batch inference decision mechanism. The targeted response is: Use a SageMaker Batch Transform or batch inference job for the scheduled bulk scoring workflow. Case evidence: A customer scoring workload runs only once nightly over millions of S3 records, but a team provisions a permanently running low-latency endpoint for it. Operational setting: During an approved rollout of an AWS ML inference workload.
D:Filter appropriate validated data-ready events and trigger retraining only after the required dataset manifest is complete. This addresses a different issue involving eventbridge conditional retraining trigger. It does not correct the stated real-time versus batch inference decision mechanism. The targeted response is: Use a SageMaker Batch Transform or batch inference job for the scheduled bulk scoring workflow. Case evidence: A customer scoring workload runs only once nightly over millions of S3 records, but a team provisions a permanently running low-latency endpoint for it. Operational setting: During an approved rollout of an AWS ML inference workload.
Question 441
During a controlled replay of the data-preparation workflow in a separate ML staging account, the following condition is observed: A demand forecast model is evaluated on randomly sampled days while features contain recent historical moving averages, creating unrealistic future information. The dataset contract must remain reproducible for a backfill. Select TWO: the appropriate diagnostic check and the targeted implementation change.
- Use controlled incremental extraction or a suitable read replica and throttle export jobs within the approved data freshness target.
- Keep restricted records and dependent training artifacts in approved regions and deny unauthorized replication or cross-region exports.
- Use rolling-origin or chronological validation with strictly past-derived features and appropriate forecast horizons.
- Inspect feature availability timestamps and whether each label time follows the last feature observation.
- Inspect quantiles, heavy-tail plots, outliers, and the target model's response to feature scale.
Explanation
Correct Answers
C:Use rolling-origin or chronological validation with strictly past-derived features and appropriate forecast horizons. This is the appropriate controlled remedy for chronological split for forecast evaluation. Random splits violate temporal causality when future observations influence features or train data. Verify the cause with: Inspect feature availability timestamps and whether each label time follows the last feature observation. Then confirm: Every held-out forecast uses only data that existed at prediction time and its backtest follows real ordering. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A demand forecast model is evaluated on randomly sampled days while features contain recent historical moving averages, creating unrealistic future information. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
D:Inspect feature availability timestamps and whether each label time follows the last feature observation. This directly tests chronological split for forecast evaluation in the reported AWS ML workflow. Random splits violate temporal causality when future observations influence features or train data. It distinguishes the problem before choosing a change. The related targeted response is: Use rolling-origin or chronological validation with strictly past-derived features and appropriate forecast horizons. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A demand forecast model is evaluated on randomly sampled days while features contain recent historical moving averages, creating unrealistic future information. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Incorrect Answers
A:Use controlled incremental extraction or a suitable read replica and throttle export jobs within the approved data freshness target. This selection concerns rds extraction overload into ml rather than the required diagnostic-and-remedy pair for chronological split for forecast evaluation. Use evidence: Inspect feature availability timestamps and whether each label time follows the last feature observation. and the matching correction: Use rolling-origin or chronological validation with strictly past-derived features and appropriate forecast horizons. Signal: A demand forecast model is evaluated on randomly sampled days while features contain recent historical moving averages, creating unrealistic future information. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
B:Keep restricted records and dependent training artifacts in approved regions and deny unauthorized replication or cross-region exports. This selection concerns model training data residency boundary rather than the required diagnostic-and-remedy pair for chronological split for forecast evaluation. Use evidence: Inspect feature availability timestamps and whether each label time follows the last feature observation. and the matching correction: Use rolling-origin or chronological validation with strictly past-derived features and appropriate forecast horizons. Signal: A demand forecast model is evaluated on randomly sampled days while features contain recent historical moving averages, creating unrealistic future information. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
E:Inspect quantiles, heavy-tail plots, outliers, and the target model's response to feature scale. This selection concerns skewed numerical feature log transformation rather than the required diagnostic-and-remedy pair for chronological split for forecast evaluation. Use evidence: Inspect feature availability timestamps and whether each label time follows the last feature observation. and the matching correction: Use rolling-origin or chronological validation with strictly past-derived features and appropriate forecast horizons. Signal: A demand forecast model is evaluated on randomly sampled days while features contain recent historical moving averages, creating unrealistic future information. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Question 442
At the model-governance gate before promotion of a new ML artifact, the following condition is observed: A house-price model's RMSE increases sharply after a few exceptionally expensive properties enter the validation set, although typical absolute errors remain stable. The team needs a defensible technical decision rather than an untracked workaround. What should the ML engineer inspect FIRST to distinguish this failure from unrelated issues?
- Inspect confusion matrix, class prevalence, false-negative cost, and precision-recall curves across thresholds.
- Inspect squared versus absolute residual contributions, target distribution, and large-error business costs.
- Assess tabular feature structure, sample size, baseline metrics, inference constraints, and model interpretability requirements.
- Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints.
Explanation
Correct Answer
B:Inspect squared versus absolute residual contributions, target distribution, and large-error business costs. This directly tests rmse versus mae outlier sensitivity in the reported AWS ML workflow. Squaring residuals gives large errors disproportionately high weight; MAE weights magnitudes linearly. It distinguishes the problem before choosing a change. The related targeted response is: Compare RMSE with MAE or robust error summaries and choose the metric matching the application's penalty for large misses. Reported signal: A house-price model's RMSE increases sharply after a few exceptionally expensive properties enter the validation set, although typical absolute errors remain stable. Operational setting: At the model-governance gate before promotion of a new ML artifact.
Incorrect Answers
A:Inspect confusion matrix, class prevalence, false-negative cost, and precision-recall curves across thresholds. This is a possible diagnostic for precision versus recall fraud threshold, but it does not directly test the rmse versus mae outlier sensitivity failure reported here. Prioritize: Inspect squared versus absolute residual contributions, target distribution, and large-error business costs. The relevant case is: A house-price model's RMSE increases sharply after a few exceptionally expensive properties enter the validation set, although typical absolute errors remain stable. Operational setting: At the model-governance gate before promotion of a new ML artifact.
C:Assess tabular feature structure, sample size, baseline metrics, inference constraints, and model interpretability requirements. This is a possible diagnostic for xgboost tabular classification baseline, but it does not directly test the rmse versus mae outlier sensitivity failure reported here. Prioritize: Inspect squared versus absolute residual contributions, target distribution, and large-error business costs. The relevant case is: A house-price model's RMSE increases sharply after a few exceptionally expensive properties enter the validation set, although typical absolute errors remain stable. Operational setting: At the model-governance gate before promotion of a new ML artifact.
D:Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints. This is a possible diagnostic for hyperparameter bayesian tuning strategy, but it does not directly test the rmse versus mae outlier sensitivity failure reported here. Prioritize: Inspect squared versus absolute residual contributions, target distribution, and large-error business costs. The relevant case is: A house-price model's RMSE increases sharply after a few exceptionally expensive properties enter the validation set, although typical absolute errors remain stable. Operational setting: At the model-governance gate before promotion of a new ML artifact.
Question 443
While testing a second region for recoverable deployment of the same ML service, the following condition is observed: A latency-sensitive transformer endpoint runs on a small CPU instance with severe token-processing latency and no cost comparison. The deployment must be reproducible without manual console-only fixes. Which TWO complementary choices provide the decisive diagnosis AND corrective response? Select TWO.
- Profile model operations, memory footprint, CPU saturation, request latency, and GPU throughput under representative load.
- Set adequate minimum capacity, scaling limits, alarms, and request backpressure for the expected traffic ramp.
- Inspect pipeline stages, evaluation artifacts, test result propagation, registry approval state, and deployment dependencies.
- Benchmark supported accelerated inference instances and choose GPU capacity only if latency and throughput gains justify cost.
- Use SageMaker asynchronous inference with S3 input/output and suitable queue and notification settings.
Explanation
Correct Answers
A:Profile model operations, memory footprint, CPU saturation, request latency, and GPU throughput under representative load. This directly tests gpu versus cpu inference fit in the reported AWS ML workflow. Accelerators can improve matrix-heavy inference, but service choice should be measured against workload size and economics. It distinguishes the problem before choosing a change. The related targeted response is: Benchmark supported accelerated inference instances and choose GPU capacity only if latency and throughput gains justify cost. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A latency-sensitive transformer endpoint runs on a small CPU instance with severe token-processing latency and no cost comparison. Operational setting: While testing a second region for recoverable deployment of the same ML service.
D:Benchmark supported accelerated inference instances and choose GPU capacity only if latency and throughput gains justify cost. This is the appropriate controlled remedy for gpu versus cpu inference fit. Accelerators can improve matrix-heavy inference, but service choice should be measured against workload size and economics. Verify the cause with: Profile model operations, memory footprint, CPU saturation, request latency, and GPU throughput under representative load. Then confirm: The selected hardware meets p95 latency and cost-per-request requirements under load without memory pressure. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A latency-sensitive transformer endpoint runs on a small CPU instance with severe token-processing latency and no cost comparison. Operational setting: While testing a second region for recoverable deployment of the same ML service.
Incorrect Answers
B:Set adequate minimum capacity, scaling limits, alarms, and request backpressure for the expected traffic ramp. This selection concerns endpoint scale-to-zero cold capacity planning rather than the required diagnostic-and-remedy pair for gpu versus cpu inference fit. Use evidence: Profile model operations, memory footprint, CPU saturation, request latency, and GPU throughput under representative load. and the matching correction: Benchmark supported accelerated inference instances and choose GPU capacity only if latency and throughput gains justify cost. Signal: A latency-sensitive transformer endpoint runs on a small CPU instance with severe token-processing latency and no cost comparison. Operational setting: While testing a second region for recoverable deployment of the same ML service.
C:Inspect pipeline stages, evaluation artifacts, test result propagation, registry approval state, and deployment dependencies. This selection concerns codepipeline approval gate on model metrics rather than the required diagnostic-and-remedy pair for gpu versus cpu inference fit. Use evidence: Profile model operations, memory footprint, CPU saturation, request latency, and GPU throughput under representative load. and the matching correction: Benchmark supported accelerated inference instances and choose GPU capacity only if latency and throughput gains justify cost. Signal: A latency-sensitive transformer endpoint runs on a small CPU instance with severe token-processing latency and no cost comparison. Operational setting: While testing a second region for recoverable deployment of the same ML service.
E:Use SageMaker asynchronous inference with S3 input/output and suitable queue and notification settings. This selection concerns asynchronous endpoint for large payloads rather than the required diagnostic-and-remedy pair for gpu versus cpu inference fit. Use evidence: Profile model operations, memory footprint, CPU saturation, request latency, and GPU throughput under representative load. and the matching correction: Benchmark supported accelerated inference instances and choose GPU capacity only if latency and throughput gains justify cost. Signal: A latency-sensitive transformer endpoint runs on a small CPU instance with severe token-processing latency and no cost comparison. Operational setting: While testing a second region for recoverable deployment of the same ML service.
Question 444
At a production AWS ML data lake supporting customer-facing predictions, the following condition is observed: New event producers change a numerical source field to strings while legacy objects remain numeric, causing the shared Glue transformation to fail. Engineers must avoid changing unrelated source partitions. Which investigation provides the most decisive FIRST evidence for the underlying problem?
- Inspect S3 replication rules, region-specific bucket policies, Glue job destinations, KMS keys, and applicable residency controls.
- Compare source schemas by partition, Glue Data Catalog types, and failed cast rows for the evolving field.
- Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training.
- Inspect the stream retention setting, consumer checkpoint timestamps, and the oldest available sequence or time position.
Explanation
Correct Answer
B:Compare source schemas by partition, Glue Data Catalog types, and failed cast rows for the evolving field. This directly tests glue schema evolution with mixed input types in the reported AWS ML workflow. A catalog entry does not automatically reconcile incompatible field types across all source partitions. It distinguishes the problem before choosing a change. The related targeted response is: Define explicit compatible conversions and schema contracts, isolate incompatible versions, and validate before publishing features. Reported signal: New event producers change a numerical source field to strings while legacy objects remain numeric, causing the shared Glue transformation to fail. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
Incorrect Answers
A:Inspect S3 replication rules, region-specific bucket policies, Glue job destinations, KMS keys, and applicable residency controls. This is a possible diagnostic for model training data residency boundary, but it does not directly test the glue schema evolution with mixed input types failure reported here. Prioritize: Compare source schemas by partition, Glue Data Catalog types, and failed cast rows for the evolving field. The relevant case is: New event producers change a numerical source field to strings while legacy objects remain numeric, causing the shared Glue transformation to fail. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
C:Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training. This is a possible diagnostic for standardization of numerical features, but it does not directly test the glue schema evolution with mixed input types failure reported here. Prioritize: Compare source schemas by partition, Glue Data Catalog types, and failed cast rows for the evolving field. The relevant case is: New event producers change a numerical source field to strings while legacy objects remain numeric, causing the shared Glue transformation to fail. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
D:Inspect the stream retention setting, consumer checkpoint timestamps, and the oldest available sequence or time position. This is a possible diagnostic for kinesis consumer retention gap, but it does not directly test the glue schema evolution with mixed input types failure reported here. Prioritize: Compare source schemas by partition, Glue Data Catalog types, and failed cast rows for the evolving field. The relevant case is: New event producers change a numerical source field to strings while legacy objects remain numeric, causing the shared Glue transformation to fail. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
Question 445
At the model-governance gate before promotion of a new ML artifact, the following condition is observed: A tabular model shows one post-outcome administrative flag as its strongest feature in SageMaker Clarify despite implausibly high offline scores. The team needs a defensible technical decision rather than an untracked workaround. Which observation most directly identifies the root cause of the reported behavior?
- Measure class prevalence, precision-recall curve, ROC curve, and alert volume at the intended operating threshold.
- Compare pretrained validation metrics, fine-tuning learning curves, and layer-wise parameter updates.
- Inspect Clarify attribution results, feature timestamp semantics, and whether the flag is created after the target event.
- Profile model memory, throughput, communication overhead, and per-device utilization.
Explanation
Correct Answer
C:Inspect Clarify attribution results, feature timestamp semantics, and whether the flag is created after the target event. This directly tests clarify feature attribution against target leakage in the reported AWS ML workflow. Attribution can expose suspicious shortcuts; a high importance value is not proof a feature is valid or causal. It distinguishes the problem before choosing a change. The related targeted response is: Remove label-derived or post-outcome features, rebuild a point-in-time split, and recompute explanations and holdout metrics. Reported signal: A tabular model shows one post-outcome administrative flag as its strongest feature in SageMaker Clarify despite implausibly high offline scores. Operational setting: At the model-governance gate before promotion of a new ML artifact.
Incorrect Answers
A:Measure class prevalence, precision-recall curve, ROC curve, and alert volume at the intended operating threshold. This is a possible diagnostic for roc-auc versus pr-auc for rare events, but it does not directly test the clarify feature attribution against target leakage failure reported here. Prioritize: Inspect Clarify attribution results, feature timestamp semantics, and whether the flag is created after the target event. The relevant case is: A tabular model shows one post-outcome administrative flag as its strongest feature in SageMaker Clarify despite implausibly high offline scores. Operational setting: At the model-governance gate before promotion of a new ML artifact.
B:Compare pretrained validation metrics, fine-tuning learning curves, and layer-wise parameter updates. This is a possible diagnostic for fine-tuning pretrained model learning-rate stability, but it does not directly test the clarify feature attribution against target leakage failure reported here. Prioritize: Inspect Clarify attribution results, feature timestamp semantics, and whether the flag is created after the target event. The relevant case is: A tabular model shows one post-outcome administrative flag as its strongest feature in SageMaker Clarify despite implausibly high offline scores. Operational setting: At the model-governance gate before promotion of a new ML artifact.
D:Profile model memory, throughput, communication overhead, and per-device utilization. This is a possible diagnostic for data parallelism versus model parallelism, but it does not directly test the clarify feature attribution against target leakage failure reported here. Prioritize: Inspect Clarify attribution results, feature timestamp semantics, and whether the flag is created after the target event. The relevant case is: A tabular model shows one post-outcome administrative flag as its strongest feature in SageMaker Clarify despite implausibly high offline scores. Operational setting: At the model-governance gate before promotion of a new ML artifact.
Question 446
At the model-governance gate before promotion of a new ML artifact, the following condition is observed: A revenue-prediction team tries a binary classifier to predict the exact future dollar value of each customer's next purchase. The team needs a defensible technical decision rather than an untracked workaround. What targeted change should be implemented after verifying the stated cause?
- Select a regression approach with suitable loss and evaluation metrics instead of forcing continuous amounts into unrelated classes.
- Use tracked SageMaker Experiments runs with fixed comparable evaluation splits and a documented metric contract.
- Compare a more interpretable model or add tested SageMaker Clarify explainability to the decision process.
- Compare RMSE with MAE or robust error summaries and choose the metric matching the application's penalty for large misses.
Explanation
Correct Answer
A:Select a regression approach with suitable loss and evaluation metrics instead of forcing continuous amounts into unrelated classes. This is the appropriate controlled remedy for regression versus classification problem formulation. A categorical decision boundary is not an appropriate direct estimator of an unconstrained continuous value. Verify the cause with: Inspect target types, business loss function, sample labels, and whether the required output is continuous or categorical. Then confirm: A model returns calibrated numerical amounts and is evaluated against continuous target error on held-out records. Reported signal: A revenue-prediction team tries a binary classifier to predict the exact future dollar value of each customer's next purchase. Operational setting: At the model-governance gate before promotion of a new ML artifact.
Incorrect Answers
B:Use tracked SageMaker Experiments runs with fixed comparable evaluation splits and a documented metric contract. This addresses a different issue involving reproducible sagemaker experiments comparisons. It does not correct the stated regression versus classification problem formulation mechanism. The targeted response is: Select a regression approach with suitable loss and evaluation metrics instead of forcing continuous amounts into unrelated classes. Case evidence: A revenue-prediction team tries a binary classifier to predict the exact future dollar value of each customer's next purchase. Operational setting: At the model-governance gate before promotion of a new ML artifact.
C:Compare a more interpretable model or add tested SageMaker Clarify explainability to the decision process. This addresses a different issue involving interpretability for high-stakes prediction. It does not correct the stated regression versus classification problem formulation mechanism. The targeted response is: Select a regression approach with suitable loss and evaluation metrics instead of forcing continuous amounts into unrelated classes. Case evidence: A revenue-prediction team tries a binary classifier to predict the exact future dollar value of each customer's next purchase. Operational setting: At the model-governance gate before promotion of a new ML artifact.
D:Compare RMSE with MAE or robust error summaries and choose the metric matching the application's penalty for large misses. This addresses a different issue involving rmse versus mae outlier sensitivity. It does not correct the stated regression versus classification problem formulation mechanism. The targeted response is: Select a regression approach with suitable loss and evaluation metrics instead of forcing continuous amounts into unrelated classes. Case evidence: A revenue-prediction team tries a binary classifier to predict the exact future dollar value of each customer's next purchase. Operational setting: At the model-governance gate before promotion of a new ML artifact.
Question 447
While reproducing the alert in an isolated AWS ML integration account, the following condition is observed: A SageMaker endpoint role has s3:GetObject for a model artifact, but download fails because the artifact is encrypted under a KMS key in a different account. The proposed change must preserve logging and least privilege. Which corrective action most directly addresses this ML workflow problem?
- Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes.
- Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails.
- Identify the component contributing to total request time and optimize network or overhead separately from actual model inference.
- Authorize the specific serving role to decrypt with the relevant KMS key under a restricted key policy and S3 access.
Explanation
Correct Answer
D:Authorize the specific serving role to decrypt with the relevant KMS key under a restricted key policy and S3 access. This is the appropriate controlled remedy for s3 sse-kms cross-account model artifact access. S3 object permission does not imply access to the KMS encryption key used on the object. Verify the cause with: Inspect S3 object encryption, key policy, grant permissions, IAM role, and denied KMS decrypt events. Then confirm: The endpoint loads the intended encrypted artifact while unrelated principals cannot decrypt it. Reported signal: A SageMaker endpoint role has s3:GetObject for a model artifact, but download fails because the artifact is encrypted under a KMS key in a different account. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
Incorrect Answers
A:Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes. This addresses a different issue involving clarify postdeployment group bias monitoring. It does not correct the stated s3 sse-kms cross-account model artifact access mechanism. The targeted response is: Authorize the specific serving role to decrypt with the relevant KMS key under a restricted key policy and S3 access. Case evidence: A SageMaker endpoint role has s3:GetObject for a model artifact, but download fails because the artifact is encrypted under a KMS key in a different account. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
B:Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails. This addresses a different issue involving cross-account s3 bucket exfiltration protection. It does not correct the stated s3 sse-kms cross-account model artifact access mechanism. The targeted response is: Authorize the specific serving role to decrypt with the relevant KMS key under a restricted key policy and S3 access. Case evidence: A SageMaker endpoint role has s3:GetObject for a model artifact, but download fails because the artifact is encrypted under a KMS key in a different account. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
C:Identify the component contributing to total request time and optimize network or overhead separately from actual model inference. This addresses a different issue involving cloudwatch invocations and modellatency distinction. It does not correct the stated s3 sse-kms cross-account model artifact access mechanism. The targeted response is: Authorize the specific serving role to decrypt with the relevant KMS key under a restricted key policy and S3 access. Case evidence: A SageMaker endpoint role has s3:GetObject for a model artifact, but download fails because the artifact is encrypted under a KMS key in a different account. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
Question 448
While testing a second region for recoverable deployment of the same ML service, the following condition is observed: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. The deployment must be reproducible without manual console-only fixes. What postchange observation provides the strongest acceptance evidence?
- Identical deployment revisions resolve to the same container image digest and environment dependencies.
- The build uploads signed artifacts successfully while unauthorized buckets and prefixes remain denied.
- Large inputs complete without client request timeout and clients receive tracked result locations or failure notifications.
- The production endpoint matches the reviewed model package and auditor can trace its evaluation and approver.
Explanation
Correct Answer
D:The production endpoint matches the reviewed model package and auditor can trace its evaluation and approver. This is the acceptance evidence for the described model registry version promotion provenance scenario. Immutable package versions and approval metadata connect evaluation with deployment; mutable S3 nicknames do not. The corrective implementation it validates is: Promote an explicitly approved SageMaker Model Registry package version through repeatable pipeline stages. Reported signal: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: While testing a second region for recoverable deployment of the same ML service.
Incorrect Answers
A:Identical deployment revisions resolve to the same container image digest and environment dependencies. This could validate ecr immutable image digest for inference, but it does not establish that model registry version promotion provenance is resolved for this workload. Confirm instead: The production endpoint matches the reviewed model package and auditor can trace its evaluation and approver. Observed problem: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: While testing a second region for recoverable deployment of the same ML service.
B:The build uploads signed artifacts successfully while unauthorized buckets and prefixes remain denied. This could validate codebuild iam least-privilege artifact upload, but it does not establish that model registry version promotion provenance is resolved for this workload. Confirm instead: The production endpoint matches the reviewed model package and auditor can trace its evaluation and approver. Observed problem: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: While testing a second region for recoverable deployment of the same ML service.
C:Large inputs complete without client request timeout and clients receive tracked result locations or failure notifications. This could validate asynchronous endpoint for large payloads, but it does not establish that model registry version promotion provenance is resolved for this workload. Confirm instead: The production endpoint matches the reviewed model package and auditor can trace its evaluation and approver. Observed problem: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: While testing a second region for recoverable deployment of the same ML service.
Question 449
During an approved rollout of an AWS ML inference workload, the following condition is observed: An inference service needs a separate preprocessing transform before a predictor, but the team inserts inconsistent transformation code into many client applications. The team must meet its documented availability and rollback constraints. Which engineering response resolves the actual issue without masking the symptoms?
- Use SageMaker Serverless Inference where the model and latency envelope fit, or justify provisioned capacity if it does not.
- Use a compatible SageMaker inference pipeline with ordered containers or a single packaged equivalent for shared preprocessing.
- Provide an approved S3 gateway or interface endpoint path and least-privilege bucket/role permissions without unnecessarily opening internet egress.
- Keep the blue environment available until green health gates pass and automate traffic rollback on failed alarms.
Explanation
Correct Answer
B:Use a compatible SageMaker inference pipeline with ordered containers or a single packaged equivalent for shared preprocessing. This is the appropriate controlled remedy for multi-container inference pipeline responsibilities. A managed inference pipeline chains preprocessing and prediction steps consistently, reducing client-side skew. Verify the cause with: Inspect preprocessing version drift, input/output contracts, and the selected hosting container topology. Then confirm: The endpoint applies the same preprocessor to every client request and produces the expected model input schema. Reported signal: An inference service needs a separate preprocessing transform before a predictor, but the team inserts inconsistent transformation code into many client applications. Operational setting: During an approved rollout of an AWS ML inference workload.
Incorrect Answers
A:Use SageMaker Serverless Inference where the model and latency envelope fit, or justify provisioned capacity if it does not. This addresses a different issue involving serverless inference for intermittent requests. It does not correct the stated multi-container inference pipeline responsibilities mechanism. The targeted response is: Use a compatible SageMaker inference pipeline with ordered containers or a single packaged equivalent for shared preprocessing. Case evidence: An inference service needs a separate preprocessing transform before a predictor, but the team inserts inconsistent transformation code into many client applications. Operational setting: During an approved rollout of an AWS ML inference workload.
C:Provide an approved S3 gateway or interface endpoint path and least-privilege bucket/role permissions without unnecessarily opening internet egress. This addresses a different issue involving sagemaker vpc endpoint access for private artifacts. It does not correct the stated multi-container inference pipeline responsibilities mechanism. The targeted response is: Use a compatible SageMaker inference pipeline with ordered containers or a single packaged equivalent for shared preprocessing. Case evidence: An inference service needs a separate preprocessing transform before a predictor, but the team inserts inconsistent transformation code into many client applications. Operational setting: During an approved rollout of an AWS ML inference workload.
D:Keep the blue environment available until green health gates pass and automate traffic rollback on failed alarms. This addresses a different issue involving blue-green endpoint rollback after health failure. It does not correct the stated multi-container inference pipeline responsibilities mechanism. The targeted response is: Use a compatible SageMaker inference pipeline with ordered containers or a single packaged equivalent for shared preprocessing. Case evidence: An inference service needs a separate preprocessing transform before a predictor, but the team inserts inconsistent transformation code into many client applications. Operational setting: During an approved rollout of an AWS ML inference workload.
Question 450
During a controlled replay of the data-preparation workflow in a separate ML staging account, the following condition is observed: An offline churn dataset uses the latest cancellation-status feature for all historical rows, exposing outcomes not known when earlier predictions would run. The dataset contract must remain reproducible for a backfill. Which corrective action most directly addresses this ML workflow problem?
- Preserve the intended bookmark state across deployments and run an explicit controlled backfill only when required.
- Perform point-in-time correct joins using the most recent eligible pre-prediction feature record, not the globally latest value.
- Fit an appropriate scaler on training data and package the same transformation with inference preprocessing.
- Apply resampling only inside each training fold and evaluate untouched validation folds using precision and recall metrics.
Explanation
Correct Answer
B:Perform point-in-time correct joins using the most recent eligible pre-prediction feature record, not the globally latest value. This is the appropriate controlled remedy for point-in-time feature data leakage. A feature created after the prediction event cannot legitimately inform that earlier prediction. Verify the cause with: Inspect feature event timestamps, target prediction cutoffs, and join predicates in the historical training query. Then confirm: For every training row the joined feature timestamp is at or before its prediction timestamp and no label-derived value leaks. Reported signal: An offline churn dataset uses the latest cancellation-status feature for all historical rows, exposing outcomes not known when earlier predictions would run. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Incorrect Answers
A:Preserve the intended bookmark state across deployments and run an explicit controlled backfill only when required. This addresses a different issue involving glue job bookmark state error. It does not correct the stated point-in-time feature data leakage mechanism. The targeted response is: Perform point-in-time correct joins using the most recent eligible pre-prediction feature record, not the globally latest value. Case evidence: An offline churn dataset uses the latest cancellation-status feature for all historical rows, exposing outcomes not known when earlier predictions would run. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
C:Fit an appropriate scaler on training data and package the same transformation with inference preprocessing. This addresses a different issue involving standardization of numerical features. It does not correct the stated point-in-time feature data leakage mechanism. The targeted response is: Perform point-in-time correct joins using the most recent eligible pre-prediction feature record, not the globally latest value. Case evidence: An offline churn dataset uses the latest cancellation-status feature for all historical rows, exposing outcomes not known when earlier predictions would run. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
D:Apply resampling only inside each training fold and evaluate untouched validation folds using precision and recall metrics. This addresses a different issue involving class imbalance handled inside cross-validation. It does not correct the stated point-in-time feature data leakage mechanism. The targeted response is: Perform point-in-time correct joins using the most recent eligible pre-prediction feature record, not the globally latest value. Case evidence: An offline churn dataset uses the latest cancellation-status feature for all historical rows, exposing outcomes not known when earlier predictions would run. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.