Amazon AWS Certified Machine Learning Engineer - Associate MLA-C01 Practice Test 3
Question 20
During an approved rollout of an AWS ML inference workload, the following condition is observed: A retraining workflow copies notebook cells into a scheduled script without tracking data snapshots or processing dependencies, leading to inconsistent model artifacts. The team must meet its documented availability and rollback constraints. What targeted change should be implemented after verifying the stated cause?
- Define a parameterized SageMaker Pipeline that orders steps and records source data, code and model artifacts.
- Require model evaluation and explicit approval gates before production deployment, blocking failed metric thresholds.
- Use SageMaker Serverless Inference where the model and latency envelope fit, or justify provisioned capacity if it does not.
- Set adequate minimum capacity, scaling limits, alarms, and request backpressure for the expected traffic ramp.
Explanation
Correct Answer
A:Define a parameterized SageMaker Pipeline that orders steps and records source data, code and model artifacts. This is the appropriate controlled remedy for sagemaker pipelines parameterized retraining. Pipelines make dependencies explicit; manually ordered notebook operations are difficult to repeat or audit. Verify the cause with: Inspect the DAG of processing, training, evaluation and registration steps, along with parameter and artifact lineage. Then confirm: Repeated runs with the same inputs reproduce the ordered processing and generate auditable versioned outputs. Reported signal: A retraining workflow copies notebook cells into a scheduled script without tracking data snapshots or processing dependencies, leading to inconsistent model artifacts. Operational setting: During an approved rollout of an AWS ML inference workload.
Incorrect Answers
B:Require model evaluation and explicit approval gates before production deployment, blocking failed metric thresholds. This addresses a different issue involving codepipeline approval gate on model metrics. It does not correct the stated sagemaker pipelines parameterized retraining mechanism. The targeted response is: Define a parameterized SageMaker Pipeline that orders steps and records source data, code and model artifacts. Case evidence: A retraining workflow copies notebook cells into a scheduled script without tracking data snapshots or processing dependencies, leading to inconsistent model artifacts. Operational setting: During an approved rollout of an AWS ML inference workload.
C: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 sagemaker pipelines parameterized retraining mechanism. The targeted response is: Define a parameterized SageMaker Pipeline that orders steps and records source data, code and model artifacts. Case evidence: A retraining workflow copies notebook cells into a scheduled script without tracking data snapshots or processing dependencies, leading to inconsistent model artifacts. Operational setting: During an approved rollout of an AWS ML inference workload.
D:Set adequate minimum capacity, scaling limits, alarms, and request backpressure for the expected traffic ramp. This addresses a different issue involving endpoint scale-to-zero cold capacity planning. It does not correct the stated sagemaker pipelines parameterized retraining mechanism. The targeted response is: Define a parameterized SageMaker Pipeline that orders steps and records source data, code and model artifacts. Case evidence: A retraining workflow copies notebook cells into a scheduled script without tracking data snapshots or processing dependencies, leading to inconsistent model artifacts. Operational setting: During an approved rollout of an AWS ML inference workload.
Question 21
While reproducing a training incident in an independent SageMaker experiment, the following condition is observed: A new model appears faster offline, but production owners require comparison using real requests without changing customer-visible predictions. The experiment must be compared fairly against its prior baseline. What postchange observation provides the strongest acceptance evidence?
- Reviewers can identify stable feature drivers for representative decisions without misleading causal claims.
- The production response remains on the primary while shadow metrics reveal candidate performance and resource needs.
- The tested alert rate and precision match the production workload rather than an optimistic single ROC figure.
- The tabular baseline meets recall, cost, and latency constraints on a representative held-out dataset.
Explanation
Correct Answer
B:The production response remains on the primary while shadow metrics reveal candidate performance and resource needs. This is the acceptance evidence for the described shadow deployment model evaluation without response change scenario. Shadow evaluation measures candidates on live traffic while withholding their output from the customer response path. The corrective implementation it validates is: Deploy a SageMaker shadow variant for observational comparison before promoting the new model to served responses. Reported signal: A new model appears faster offline, but production owners require comparison using real requests without changing customer-visible predictions. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
Incorrect Answers
A:Reviewers can identify stable feature drivers for representative decisions without misleading causal claims. This could validate interpretability for high-stakes prediction, but it does not establish that shadow deployment model evaluation without response change is resolved for this workload. Confirm instead: The production response remains on the primary while shadow metrics reveal candidate performance and resource needs. Observed problem: A new model appears faster offline, but production owners require comparison using real requests without changing customer-visible predictions. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
C:The tested alert rate and precision match the production workload rather than an optimistic single ROC figure. This could validate roc-auc versus pr-auc for rare events, but it does not establish that shadow deployment model evaluation without response change is resolved for this workload. Confirm instead: The production response remains on the primary while shadow metrics reveal candidate performance and resource needs. Observed problem: A new model appears faster offline, but production owners require comparison using real requests without changing customer-visible predictions. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
D:The tabular baseline meets recall, cost, and latency constraints on a representative held-out dataset. This could validate xgboost tabular classification baseline, but it does not establish that shadow deployment model evaluation without response change is resolved for this workload. Confirm instead: The production response remains on the primary while shadow metrics reveal candidate performance and resource needs. Observed problem: A new model appears faster offline, but production owners require comparison using real requests without changing customer-visible predictions. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
Question 22
During production evaluation of a SageMaker AI model candidate, the following condition is observed: A support team needs text classification using labeled messages, but engineers choose a clustering algorithm that produces no class-specific predictions. The release is blocked until the underlying model behavior is understood. Which verification result BEST demonstrates that the issue is resolved?
- The train-validation gap narrows without losing acceptable validation performance.
- Held-out messages receive the intended class predictions and macro-averaged quality is measurable.
- Stable clusters exhibit interpretable differences in held-out descriptors without claiming supervised classification accuracy.
- Training completes within GPU memory limits and reaches comparable optimizer behavior and accuracy.
Explanation
Correct Answer
B:Held-out messages receive the intended class predictions and macro-averaged quality is measurable. This is the acceptance evidence for the described sagemaker built-in blazingtext choice scenario. Supervised text classification requires labels and task-specific evaluation rather than unlabeled similarity clusters. The corrective implementation it validates is: Use an appropriate text classification model or supported SageMaker BlazingText supervised approach with validated labels. Reported signal: A support team needs text classification using labeled messages, but engineers choose a clustering algorithm that produces no class-specific predictions. Operational setting: During production evaluation of a SageMaker AI model candidate.
Incorrect Answers
A:The train-validation gap narrows without losing acceptable validation performance. This could validate overfitting reduced with l2 regularization, but it does not establish that sagemaker built-in blazingtext choice is resolved for this workload. Confirm instead: Held-out messages receive the intended class predictions and macro-averaged quality is measurable. Observed problem: A support team needs text classification using labeled messages, but engineers choose a clustering algorithm that produces no class-specific predictions. Operational setting: During production evaluation of a SageMaker AI model candidate.
C:Stable clusters exhibit interpretable differences in held-out descriptors without claiming supervised classification accuracy. This could validate clustering for unlabeled customer segments, but it does not establish that sagemaker built-in blazingtext choice is resolved for this workload. Confirm instead: Held-out messages receive the intended class predictions and macro-averaged quality is measurable. Observed problem: A support team needs text classification using labeled messages, but engineers choose a clustering algorithm that produces no class-specific predictions. Operational setting: During production evaluation of a SageMaker AI model candidate.
D:Training completes within GPU memory limits and reaches comparable optimizer behavior and accuracy. This could validate training batch size causes gpu memory exhaustion, but it does not establish that sagemaker built-in blazingtext choice is resolved for this workload. Confirm instead: Held-out messages receive the intended class predictions and macro-averaged quality is measurable. Observed problem: A support team needs text classification using labeled messages, but engineers choose a clustering algorithm that produces no class-specific predictions. Operational setting: During production evaluation of a SageMaker AI model candidate.
Question 23
While testing a second region for recoverable deployment of the same ML service, the following condition is observed: A green SageMaker endpoint variant receives a traffic shift but causes elevated errors; the deployment script removes the blue version before health is established. The deployment must be reproducible without manual console-only fixes. Which verification result BEST demonstrates that the issue is resolved?
- Capacity responds to peak request load and p95 latency improves without continual scale oscillation.
- A simulated green regression returns traffic to the last healthy model without extended outage.
- Only the intended completed data batch launches one controlled training workflow, while unrelated objects do not.
- The deployment loads artifacts privately and blocked public routes remain unused.
Explanation
Correct Answer
B:A simulated green regression returns traffic to the last healthy model without extended outage. This is the acceptance evidence for the described blue-green endpoint rollback after health failure scenario. Blue-green deployment provides safe rollback only while the previous serving path remains functional during validation. The corrective implementation it validates is: Keep the blue environment available until green health gates pass and automate traffic rollback on failed alarms. Reported signal: A green SageMaker endpoint variant receives a traffic shift but causes elevated errors; the deployment script removes the blue version before health is established. Operational setting: While testing a second region for recoverable deployment of the same ML service.
Incorrect Answers
A:Capacity responds to peak request load and p95 latency improves without continual scale oscillation. This could validate sagemaker endpoint auto scaling metric selection, but it does not establish that blue-green endpoint rollback after health failure is resolved for this workload. Confirm instead: A simulated green regression returns traffic to the last healthy model without extended outage. Observed problem: A green SageMaker endpoint variant receives a traffic shift but causes elevated errors; the deployment script removes the blue version before health is established. Operational setting: While testing a second region for recoverable deployment of the same ML service.
C:Only the intended completed data batch launches one controlled training workflow, while unrelated objects do not. This could validate eventbridge conditional retraining trigger, but it does not establish that blue-green endpoint rollback after health failure is resolved for this workload. Confirm instead: A simulated green regression returns traffic to the last healthy model without extended outage. Observed problem: A green SageMaker endpoint variant receives a traffic shift but causes elevated errors; the deployment script removes the blue version before health is established. Operational setting: While testing a second region for recoverable deployment of the same ML service.
D:The deployment loads artifacts privately and blocked public routes remain unused. This could validate sagemaker vpc endpoint access for private artifacts, but it does not establish that blue-green endpoint rollback after health failure is resolved for this workload. Confirm instead: A simulated green regression returns traffic to the last healthy model without extended outage. Observed problem: A green SageMaker endpoint variant receives a traffic shift but causes elevated errors; the deployment script removes the blue version before health is established. Operational setting: While testing a second region for recoverable deployment of the same ML service.
Question 24
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 postchange observation provides the strongest acceptance evidence?
- Stable clusters exhibit interpretable differences in held-out descriptors without claiming supervised classification accuracy.
- A model returns calibrated numerical amounts and is evaluated against continuous target error on held-out records.
- Training stops before extended overfitting and the retained model corresponds to the best validated epoch.
- Fraud recall meets the agreed target with documented review-volume and false-positive tradeoffs.
Explanation
Correct Answer
B:A model returns calibrated numerical amounts and is evaluated against continuous target error on held-out records. This is the acceptance evidence for the described regression versus classification problem formulation scenario. A categorical decision boundary is not an appropriate direct estimator of an unconstrained continuous value. The corrective implementation it validates is: Select a regression approach with suitable loss and evaluation metrics instead of forcing continuous amounts into unrelated classes. 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
A:Stable clusters exhibit interpretable differences in held-out descriptors without claiming supervised classification accuracy. This could validate clustering for unlabeled customer segments, but it does not establish that regression versus classification problem formulation is resolved for this workload. Confirm instead: A model returns calibrated numerical amounts and is evaluated against continuous target error on held-out records. Observed problem: 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:Training stops before extended overfitting and the retained model corresponds to the best validated epoch. This could validate early stopping on validation plateau, but it does not establish that regression versus classification problem formulation is resolved for this workload. Confirm instead: A model returns calibrated numerical amounts and is evaluated against continuous target error on held-out records. Observed problem: 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:Fraud recall meets the agreed target with documented review-volume and false-positive tradeoffs. This could validate precision versus recall fraud threshold, but it does not establish that regression versus classification problem formulation is resolved for this workload. Confirm instead: A model returns calibrated numerical amounts and is evaluated against continuous target error on held-out records. Observed problem: 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 25
During a controlled replay of the data-preparation workflow in a separate ML staging account, the following condition is observed: A near-real-time account feature sums transactions using processing time, so late-arriving events land in the wrong window and produce inconsistent scores. The dataset contract must remain reproducible for a backfill. Which verification result BEST demonstrates that the issue is resolved?
- A test batch remains in the approved region with enforceable policy and audit evidence for all derived artifacts.
- The report quantifies class or group imbalance with reproducible group counts and documents remediation assumptions.
- A held-out split uses the training-fitted median and independent evaluation no longer incorporates held-out distribution values.
- A controlled out-of-order replay yields the expected window totals and bounded late-event treatment.
Explanation
Correct Answer
D:A controlled out-of-order replay yields the expected window totals and bounded late-event treatment. This is the acceptance evidence for the described streaming feature rolling window correctness scenario. Processing-time windows depend on arrival timing; event-time windows need explicit watermarks and late-event policy. The corrective implementation it validates is: Define event-time windows with appropriate lateness handling and a documented revision policy for late records. Reported signal: A near-real-time account feature sums transactions using processing time, so late-arriving events land in the wrong window and produce inconsistent scores. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Incorrect Answers
A:A test batch remains in the approved region with enforceable policy and audit evidence for all derived artifacts. This could validate model training data residency boundary, but it does not establish that streaming feature rolling window correctness is resolved for this workload. Confirm instead: A controlled out-of-order replay yields the expected window totals and bounded late-event treatment. Observed problem: A near-real-time account feature sums transactions using processing time, so late-arriving events land in the wrong window and produce inconsistent scores. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
B:The report quantifies class or group imbalance with reproducible group counts and documents remediation assumptions. This could validate clarify label imbalance measurement, but it does not establish that streaming feature rolling window correctness is resolved for this workload. Confirm instead: A controlled out-of-order replay yields the expected window totals and bounded late-event treatment. Observed problem: A near-real-time account feature sums transactions using processing time, so late-arriving events land in the wrong window and produce inconsistent scores. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
C:A held-out split uses the training-fitted median and independent evaluation no longer incorporates held-out distribution values. This could validate median imputation fitted on training split, but it does not establish that streaming feature rolling window correctness is resolved for this workload. Confirm instead: A controlled out-of-order replay yields the expected window totals and bounded late-event treatment. Observed problem: A near-real-time account feature sums transactions using processing time, so late-arriving events land in the wrong window and produce inconsistent scores. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Question 26
During a production MLOps reliability and security review, the following condition is observed: A release pipeline downloads an ML model artifact from a mutable object key and deploys it without checking whether its bytes changed since approval. The owner needs an auditable resolution without broadening privileges. Which TWO complementary choices provide the decisive diagnosis AND corrective response? Select TWO.
- Remove embedded credentials, rotate the exposed secret, and retrieve current credentials through an approved managed secret service.
- Inspect training interruption tolerance, persistent checkpoints, allowed instance families, and deadline requirements.
- Compare evaluated artifact hash, S3 object version, package provenance, and deployment manifest.
- Pin an immutable approved artifact version or content digest and verify integrity before deployment.
- Set budget alerts and bounded tuning job quotas before launching experiments, and enforce an owner-approved stopping policy.
Explanation
Correct Answers
C:Compare evaluated artifact hash, S3 object version, package provenance, and deployment manifest. This directly tests model artifact supply-chain integrity in the reported AWS ML workflow. Object names alone do not guarantee model provenance; supply-chain checks bind deployment to reviewed bytes. It distinguishes the problem before choosing a change. The related targeted response is: Pin an immutable approved artifact version or content digest and verify integrity before deployment. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A release pipeline downloads an ML model artifact from a mutable object key and deploys it without checking whether its bytes changed since approval. Operational setting: During a production MLOps reliability and security review.
D:Pin an immutable approved artifact version or content digest and verify integrity before deployment. This is the appropriate controlled remedy for model artifact supply-chain integrity. Object names alone do not guarantee model provenance; supply-chain checks bind deployment to reviewed bytes. Verify the cause with: Compare evaluated artifact hash, S3 object version, package provenance, and deployment manifest. Then confirm: The deployed model bytes match the signed or approved manifest and a tampered artifact fails validation. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A release pipeline downloads an ML model artifact from a mutable object key and deploys it without checking whether its bytes changed since approval. Operational setting: During a production MLOps reliability and security review.
Incorrect Answers
A:Remove embedded credentials, rotate the exposed secret, and retrieve current credentials through an approved managed secret service. This selection concerns secret rotation for inference container credentials rather than the required diagnostic-and-remedy pair for model artifact supply-chain integrity. Use evidence: Compare evaluated artifact hash, S3 object version, package provenance, and deployment manifest. and the matching correction: Pin an immutable approved artifact version or content digest and verify integrity before deployment. Signal: A release pipeline downloads an ML model artifact from a mutable object key and deploys it without checking whether its bytes changed since approval. Operational setting: During a production MLOps reliability and security review.
B:Inspect training interruption tolerance, persistent checkpoints, allowed instance families, and deadline requirements. This selection concerns spot training cost versus interruption recovery rather than the required diagnostic-and-remedy pair for model artifact supply-chain integrity. Use evidence: Compare evaluated artifact hash, S3 object version, package provenance, and deployment manifest. and the matching correction: Pin an immutable approved artifact version or content digest and verify integrity before deployment. Signal: A release pipeline downloads an ML model artifact from a mutable object key and deploys it without checking whether its bytes changed since approval. Operational setting: During a production MLOps reliability and security review.
E:Set budget alerts and bounded tuning job quotas before launching experiments, and enforce an owner-approved stopping policy. This selection concerns aws budgets spend threshold for experimentation rather than the required diagnostic-and-remedy pair for model artifact supply-chain integrity. Use evidence: Compare evaluated artifact hash, S3 object version, package provenance, and deployment manifest. and the matching correction: Pin an immutable approved artifact version or content digest and verify integrity before deployment. Signal: A release pipeline downloads an ML model artifact from a mutable object key and deploys it without checking whether its bytes changed since approval. Operational setting: During a production MLOps reliability and security review.
Question 27
During production evaluation of a SageMaker AI model candidate, the following condition is observed: A deep model fits on one GPU but training takes too long over a very large dataset; the team suggests splitting individual layers across devices without evidence of model-memory pressure. The release is blocked until the underlying model behavior is understood. Which investigation provides the most decisive FIRST evidence for the underlying problem?
- Profile model memory, throughput, communication overhead, and per-device utilization.
- Inspect requested outputs, standard extraction capability, exception rates, cost, and whether layout-specific custom learning is needed.
- Inspect routing mode, shadow traffic duplication, inference latency, output divergence, and payload compatibility.
- Inspect interruption events, checkpoint directory mapping, restoration logic, and persistent S3 checkpoint artifacts.
Explanation
Correct Answer
A:Profile model memory, throughput, communication overhead, and per-device utilization. This directly tests data parallelism versus model parallelism in the reported AWS ML workflow. Data parallelism shards data across replicas; model parallelism is more relevant when the model itself cannot fit on one device. It distinguishes the problem before choosing a change. The related targeted response is: Prefer data parallel training with synchronized gradients when the model fits per device and the bottleneck is dataset throughput. Reported signal: A deep model fits on one GPU but training takes too long over a very large dataset; the team suggests splitting individual layers across devices without evidence of model-memory pressure. Operational setting: During production evaluation of a SageMaker AI model candidate.
Incorrect Answers
B:Inspect requested outputs, standard extraction capability, exception rates, cost, and whether layout-specific custom learning is needed. This is a possible diagnostic for managed ai service versus custom ocr model, but it does not directly test the data parallelism versus model parallelism failure reported here. Prioritize: Profile model memory, throughput, communication overhead, and per-device utilization. The relevant case is: A deep model fits on one GPU but training takes too long over a very large dataset; the team suggests splitting individual layers across devices without evidence of model-memory pressure. Operational setting: During production evaluation of a SageMaker AI model candidate.
C:Inspect routing mode, shadow traffic duplication, inference latency, output divergence, and payload compatibility. This is a possible diagnostic for shadow deployment model evaluation without response change, but it does not directly test the data parallelism versus model parallelism failure reported here. Prioritize: Profile model memory, throughput, communication overhead, and per-device utilization. The relevant case is: A deep model fits on one GPU but training takes too long over a very large dataset; the team suggests splitting individual layers across devices without evidence of model-memory pressure. Operational setting: During production evaluation of a SageMaker AI model candidate.
D:Inspect interruption events, checkpoint directory mapping, restoration logic, and persistent S3 checkpoint artifacts. This is a possible diagnostic for managed spot training checkpoint recovery, but it does not directly test the data parallelism versus model parallelism failure reported here. Prioritize: Profile model memory, throughput, communication overhead, and per-device utilization. The relevant case is: A deep model fits on one GPU but training takes too long over a very large dataset; the team suggests splitting individual layers across devices without evidence of model-memory pressure. Operational setting: During production evaluation of a SageMaker AI model candidate.
Question 28
During a controlled replay of the data-preparation workflow in a separate ML staging account, the following condition is observed: A raw CSV field contains quoted commas and a header is sometimes missing, so naïve delimiter splitting shifts the label into the wrong column. The dataset contract must remain reproducible for a backfill. Which TWO complementary choices provide the decisive diagnosis AND corrective response? Select TWO.
- Make the ingestion handler idempotent using a stable object/version key and conditional ledger writes.
- Inspect sample raw records, quoting rules, expected headers, and parsed column counts in the ingestion job.
- Inspect Spark stage durations, partition size distribution, join key frequencies, and executor spill metrics.
- Split by stable patient identity before training and reserve a disjoint held-out group for evaluation.
- Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training.
Explanation
Correct Answers
B:Inspect sample raw records, quoting rules, expected headers, and parsed column counts in the ingestion job. This directly tests csv schema ambiguity during ingestion in the reported AWS ML workflow. CSV parsing must respect quoting and schema; splitting on every comma corrupts valid quoted fields. It distinguishes the problem before choosing a change. The related targeted response is: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A raw CSV field contains quoted commas and a header is sometimes missing, so naïve delimiter splitting shifts the label into the wrong column. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
E:Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. This is the appropriate controlled remedy for csv schema ambiguity during ingestion. CSV parsing must respect quoting and schema; splitting on every comma corrupts valid quoted fields. Verify the cause with: Inspect sample raw records, quoting rules, expected headers, and parsed column counts in the ingestion job. Then confirm: Validated records preserve the expected label and field order while malformed inputs are reported separately. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A raw CSV field contains quoted commas and a header is sometimes missing, so naïve delimiter splitting shifts the label into the wrong column. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Incorrect Answers
A:Make the ingestion handler idempotent using a stable object/version key and conditional ledger writes. This selection concerns s3 object event at-least-once processing rather than the required diagnostic-and-remedy pair for csv schema ambiguity during ingestion. Use evidence: Inspect sample raw records, quoting rules, expected headers, and parsed column counts in the ingestion job. and the matching correction: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. Signal: A raw CSV field contains quoted commas and a header is sometimes missing, so naïve delimiter splitting shifts the label into the wrong column. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
C:Inspect Spark stage durations, partition size distribution, join key frequencies, and executor spill metrics. This selection concerns glue spark join skew on dominant identifier rather than the required diagnostic-and-remedy pair for csv schema ambiguity during ingestion. Use evidence: Inspect sample raw records, quoting rules, expected headers, and parsed column counts in the ingestion job. and the matching correction: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. Signal: A raw CSV field contains quoted commas and a header is sometimes missing, so naïve delimiter splitting shifts the label into the wrong column. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
D:Split by stable patient identity before training and reserve a disjoint held-out group for evaluation. This selection concerns group-leakage train and validation split rather than the required diagnostic-and-remedy pair for csv schema ambiguity during ingestion. Use evidence: Inspect sample raw records, quoting rules, expected headers, and parsed column counts in the ingestion job. and the matching correction: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. Signal: A raw CSV field contains quoted commas and a header is sometimes missing, so naïve delimiter splitting shifts the label into the wrong column. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Question 29
As a regulated ML workload prepares for an automated regional rollout, the following condition is observed: A binary risk model continues producing apparently confident scores after a market regime change, but realized outcomes show the scores no longer correspond to observed event frequency. The team must demonstrate a repeatable monitoring or security control. Which engineering response resolves the actual issue without masking the symptoms?
- Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails.
- Monitor calibration against delayed truth and retrain or recalibrate on representative permitted data when drift is confirmed.
- Use supported managed Spot Training with durable checkpoints for interruptible phases and retain On-Demand capacity when deadlines demand it.
- Tune justified thresholds and group actionable monitor violations by severity without suppressing critical data-integrity checks.
Explanation
Correct Answer
B:Monitor calibration against delayed truth and retrain or recalibrate on representative permitted data when drift is confirmed. This is the appropriate controlled remedy for serving output confidence calibration drift. A good ranking metric does not guarantee calibrated probabilities; calibration must be verified against observed outcomes. Verify the cause with: Compare probability calibration plots, Brier score and event rates across recent labeled cohorts. Then confirm: Predicted probability buckets align with observed frequencies on held-out recent labeled cohorts. Reported signal: A binary risk model continues producing apparently confident scores after a market regime change, but realized outcomes show the scores no longer correspond to observed event frequency. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
Incorrect Answers
A: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 serving output confidence calibration drift mechanism. The targeted response is: Monitor calibration against delayed truth and retrain or recalibrate on representative permitted data when drift is confirmed. Case evidence: A binary risk model continues producing apparently confident scores after a market regime change, but realized outcomes show the scores no longer correspond to observed event frequency. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
C:Use supported managed Spot Training with durable checkpoints for interruptible phases and retain On-Demand capacity when deadlines demand it. This addresses a different issue involving spot training cost versus interruption recovery. It does not correct the stated serving output confidence calibration drift mechanism. The targeted response is: Monitor calibration against delayed truth and retrain or recalibrate on representative permitted data when drift is confirmed. Case evidence: A binary risk model continues producing apparently confident scores after a market regime change, but realized outcomes show the scores no longer correspond to observed event frequency. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
D:Tune justified thresholds and group actionable monitor violations by severity without suppressing critical data-integrity checks. This addresses a different issue involving model monitor violation alert calibration. It does not correct the stated serving output confidence calibration drift mechanism. The targeted response is: Monitor calibration against delayed truth and retrain or recalibrate on representative permitted data when drift is confirmed. Case evidence: A binary risk model continues producing apparently confident scores after a market regime change, but realized outcomes show the scores no longer correspond to observed event frequency. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
Question 30
As a regulated ML workload prepares for an automated regional rollout, the following condition is observed: An ML pipeline in one account is allowed to write model predictions to an unapproved external bucket because its role has overly broad s3:PutObject access. The team must demonstrate a repeatable monitoring or security control. Which corrective action most directly addresses this ML workflow problem?
- Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails.
- Grant only the needed S3 and KMS actions for the approved data prefix and ensure appropriate role trust.
- Apply consistent approved cost allocation tags to ML jobs and supported linked resources and activate relevant reporting.
- Separate prompt input-distribution monitoring from delayed model-quality evaluation and join only observed labels to predictions.
Explanation
Correct Answer
A:Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails. This is the appropriate controlled remedy for cross-account s3 bucket exfiltration protection. Least privilege must constrain the destination resource; an unrestricted object-write policy can enable data exfiltration. Verify the cause with: Inspect identity and destination bucket policies, resource ARNs, organization restrictions, and CloudTrail data-event evidence. Then confirm: A test write to an approved prefix succeeds, while writes to unapproved external destinations are denied. Reported signal: An ML pipeline in one account is allowed to write model predictions to an unapproved external bucket because its role has overly broad s3:PutObject access. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
Incorrect Answers
B:Grant only the needed S3 and KMS actions for the approved data prefix and ensure appropriate role trust. This addresses a different issue involving sagemaker execution role s3 least privilege. It does not correct the stated cross-account s3 bucket exfiltration protection mechanism. The targeted response is: Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails. Case evidence: An ML pipeline in one account is allowed to write model predictions to an unapproved external bucket because its role has overly broad s3:PutObject access. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
C:Apply consistent approved cost allocation tags to ML jobs and supported linked resources and activate relevant reporting. This addresses a different issue involving tag-based ml training cost attribution. It does not correct the stated cross-account s3 bucket exfiltration protection mechanism. The targeted response is: Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails. Case evidence: An ML pipeline in one account is allowed to write model predictions to an unapproved external bucket because its role has overly broad s3:PutObject access. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
D:Separate prompt input-distribution monitoring from delayed model-quality evaluation and join only observed labels to predictions. This addresses a different issue involving target-label delay in production quality monitoring. It does not correct the stated cross-account s3 bucket exfiltration protection mechanism. The targeted response is: Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails. Case evidence: An ML pipeline in one account is allowed to write model predictions to an unapproved external bucket because its role has overly broad s3:PutObject access. Operational setting: As a regulated ML workload prepares for an automated regional rollout.