Amazon AWS Certified Machine Learning Engineer - Associate MLA-C01 Practice Test 54
Question 530
At a production AWS ML data lake supporting customer-facing predictions, the following condition is observed: A model trained on transaction amount and account age is unstable because one feature spans millions of units and the other spans years. Engineers must avoid changing unrelated source partitions. Which TWO complementary choices provide the decisive diagnosis AND corrective response? Select TWO.
- Inspect AWS Glue Data Quality rule evaluations, missing-key rates, source partitions, and prior accepted baselines.
- Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training.
- Fit an appropriate scaler on training data and package the same transformation with inference preprocessing.
- Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training.
- Package the training tokenizer and normalization configuration with the model artifact and require serving compatibility checks.
Explanation
Correct Answers
B:Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training. This directly tests standardization of numerical features in the reported AWS ML workflow. Gradient-based training is sensitive to disparate feature scales; training-serving transformation parity is required. It distinguishes the problem before choosing a change. The related targeted response is: Fit an appropriate scaler on training data and package the same transformation with inference preprocessing. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A model trained on transaction amount and account age is unstable because one feature spans millions of units and the other spans years. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
C:Fit an appropriate scaler on training data and package the same transformation with inference preprocessing. This is the appropriate controlled remedy for standardization of numerical features. Gradient-based training is sensitive to disparate feature scales; training-serving transformation parity is required. Verify the cause with: Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training. Then confirm: Training converges more consistently, and the same raw request gives aligned standardized values online. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: A model trained on transaction amount and account age is unstable because one feature spans millions of units and the other spans years. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
Incorrect Answers
A:Inspect AWS Glue Data Quality rule evaluations, missing-key rates, source partitions, and prior accepted baselines. This selection concerns glue data quality non-null contract rather than the required diagnostic-and-remedy pair for standardization of numerical features. Use evidence: Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training. and the matching correction: Fit an appropriate scaler on training data and package the same transformation with inference preprocessing. Signal: A model trained on transaction amount and account age is unstable because one feature spans millions of units and the other spans years. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
D:Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. This selection concerns csv schema ambiguity during ingestion rather than the required diagnostic-and-remedy pair for standardization of numerical features. Use evidence: Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training. and the matching correction: Fit an appropriate scaler on training data and package the same transformation with inference preprocessing. Signal: A model trained on transaction amount and account age is unstable because one feature spans millions of units and the other spans years. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
E:Package the training tokenizer and normalization configuration with the model artifact and require serving compatibility checks. This selection concerns text tokenization mismatch in serving rather than the required diagnostic-and-remedy pair for standardization of numerical features. Use evidence: Inspect feature scale distributions, model sensitivity, and whether fitted scaler statistics are shared across serving and training. and the matching correction: Fit an appropriate scaler on training data and package the same transformation with inference preprocessing. Signal: A model trained on transaction amount and account age is unstable because one feature spans millions of units and the other spans years. Operational setting: At a production AWS ML data lake supporting customer-facing predictions.
Question 531
During a production MLOps reliability and security review, the following condition is observed: A deployment pipeline is denied iam:PassRole for its approved SageMaker execution role, but the proposed fix allows passing every role in the account. The owner needs an auditable resolution without broadening privileges. What targeted change should be implemented after verifying the stated cause?
- Restrict writes to approved bucket prefixes and apply appropriate resource and organizational guardrails.
- Permit iam:PassRole only for the named execution role, constrained to the intended SageMaker service as appropriate.
- Set budget alerts and bounded tuning job quotas before launching experiments, and enforce an owner-approved stopping policy.
- Apply consistent approved cost allocation tags to ML jobs and supported linked resources and activate relevant reporting.
Explanation
Correct Answer
B:Permit iam:PassRole only for the named execution role, constrained to the intended SageMaker service as appropriate. This is the appropriate controlled remedy for iam passrole constraint for model deployment. PassRole authorizes delegation of role credentials to a service; wide permissions can enable privilege escalation. Verify the cause with: Inspect caller identity, pass-role resource ARN, service constraint, and denied event attributes. Then confirm: The pipeline deploys with the authorized role and cannot assign an unrelated privileged role. Reported signal: A deployment pipeline is denied iam:PassRole for its approved SageMaker execution role, but the proposed fix allows passing every role in the account. Operational setting: During a production MLOps reliability and security review.
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 iam passrole constraint for model deployment mechanism. The targeted response is: Permit iam:PassRole only for the named execution role, constrained to the intended SageMaker service as appropriate. Case evidence: A deployment pipeline is denied iam:PassRole for its approved SageMaker execution role, but the proposed fix allows passing every role in the account. Operational setting: During a production MLOps reliability and security review.
C:Set budget alerts and bounded tuning job quotas before launching experiments, and enforce an owner-approved stopping policy. This addresses a different issue involving aws budgets spend threshold for experimentation. It does not correct the stated iam passrole constraint for model deployment mechanism. The targeted response is: Permit iam:PassRole only for the named execution role, constrained to the intended SageMaker service as appropriate. Case evidence: A deployment pipeline is denied iam:PassRole for its approved SageMaker execution role, but the proposed fix allows passing every role in the account. Operational setting: During a production MLOps reliability and security review.
D: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 iam passrole constraint for model deployment mechanism. The targeted response is: Permit iam:PassRole only for the named execution role, constrained to the intended SageMaker service as appropriate. Case evidence: A deployment pipeline is denied iam:PassRole for its approved SageMaker execution role, but the proposed fix allows passing every role in the account. Operational setting: During a production MLOps reliability and security review.
Question 532
During production evaluation of a SageMaker AI model candidate, the following condition is observed: An ML engineer manually tests hundreds of random combinations for an expensive model without recording objectives or resource budgets. The release is blocked until the underlying model behavior is understood. Which TWO steps best establish the evidence and correct the identified root cause? Select TWO.
- Use appropriate SageMaker Debugger or framework instrumentation; adjust learning rate or gradient clipping after confirming instability.
- Inspect documented explanation requirements, candidate feature contributions, and available post-hoc interpretation tests.
- Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints.
- Configure SageMaker Automatic Model Tuning with a bounded search space, objective metric, budget, and justified Bayesian or random strategy.
- Read the configured SageMaker training channel path or environment variable and fail clearly on missing input.
Explanation
Correct Answers
C:Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints. This directly tests hyperparameter bayesian tuning strategy in the reported AWS ML workflow. Hyperparameter optimization needs a defined objective and controlled comparable trials, not arbitrary parameter changes. It distinguishes the problem before choosing a change. The related targeted response is: Configure SageMaker Automatic Model Tuning with a bounded search space, objective metric, budget, and justified Bayesian or random strategy. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: An ML engineer manually tests hundreds of random combinations for an expensive model without recording objectives or resource budgets. Operational setting: During production evaluation of a SageMaker AI model candidate.
D:Configure SageMaker Automatic Model Tuning with a bounded search space, objective metric, budget, and justified Bayesian or random strategy. This is the appropriate controlled remedy for hyperparameter bayesian tuning strategy. Hyperparameter optimization needs a defined objective and controlled comparable trials, not arbitrary parameter changes. Verify the cause with: Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints. Then confirm: Trials record comparable objective values and a selected candidate meets an independent validation target within budget. This is one part of a select-two decision; the matching evidence and corrective action are both required. Reported signal: An ML engineer manually tests hundreds of random combinations for an expensive model without recording objectives or resource budgets. Operational setting: During production evaluation of a SageMaker AI model candidate.
Incorrect Answers
A:Use appropriate SageMaker Debugger or framework instrumentation; adjust learning rate or gradient clipping after confirming instability. This selection concerns model debugger exploding gradient diagnosis rather than the required diagnostic-and-remedy pair for hyperparameter bayesian tuning strategy. Use evidence: Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints. and the matching correction: Configure SageMaker Automatic Model Tuning with a bounded search space, objective metric, budget, and justified Bayesian or random strategy. Signal: An ML engineer manually tests hundreds of random combinations for an expensive model without recording objectives or resource budgets. Operational setting: During production evaluation of a SageMaker AI model candidate.
B:Inspect documented explanation requirements, candidate feature contributions, and available post-hoc interpretation tests. This selection concerns interpretability for high-stakes prediction rather than the required diagnostic-and-remedy pair for hyperparameter bayesian tuning strategy. Use evidence: Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints. and the matching correction: Configure SageMaker Automatic Model Tuning with a bounded search space, objective metric, budget, and justified Bayesian or random strategy. Signal: An ML engineer manually tests hundreds of random combinations for an expensive model without recording objectives or resource budgets. Operational setting: During production evaluation of a SageMaker AI model candidate.
E:Read the configured SageMaker training channel path or environment variable and fail clearly on missing input. This selection concerns sagemaker script-mode data channel mismatch rather than the required diagnostic-and-remedy pair for hyperparameter bayesian tuning strategy. Use evidence: Inspect training metrics per trial, search bounds, tuning-objective direction, and compute constraints. and the matching correction: Configure SageMaker Automatic Model Tuning with a bounded search space, objective metric, budget, and justified Bayesian or random strategy. Signal: An ML engineer manually tests hundreds of random combinations for an expensive model without recording objectives or resource budgets. Operational setting: During production evaluation of a SageMaker AI model candidate.
Question 533
While reproducing a training incident in an independent SageMaker experiment, 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 experiment must be compared fairly against its prior baseline. What postchange observation provides the strongest acceptance evidence?
- Fraud recall meets the agreed target with documented review-volume and false-positive tradeoffs.
- Multiple workers reduce epoch time with acceptable convergence and measured communication overhead.
- Holdout quality stays acceptable while model size and run-to-run instability decrease.
- A rolling-origin backtest improves multi-step forecast error and respects temporal order.
Explanation
Correct Answer
B:Multiple workers reduce epoch time with acceptable convergence and measured communication overhead. This is the acceptance evidence for the described data parallelism versus model parallelism scenario. Data parallelism shards data across replicas; model parallelism is more relevant when the model itself cannot fit on one device. The corrective implementation it validates 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: While reproducing a training incident in an independent SageMaker experiment.
Incorrect Answers
A: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 data parallelism versus model parallelism is resolved for this workload. Confirm instead: Multiple workers reduce epoch time with acceptable convergence and measured communication overhead. Observed problem: 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: While reproducing a training incident in an independent SageMaker experiment.
C:Holdout quality stays acceptable while model size and run-to-run instability decrease. This could validate feature selection to reduce overparameterization, but it does not establish that data parallelism versus model parallelism is resolved for this workload. Confirm instead: Multiple workers reduce epoch time with acceptable convergence and measured communication overhead. Observed problem: 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: While reproducing a training incident in an independent SageMaker experiment.
D:A rolling-origin backtest improves multi-step forecast error and respects temporal order. This could validate time-series forecast horizon and seasonality, but it does not establish that data parallelism versus model parallelism is resolved for this workload. Confirm instead: Multiple workers reduce epoch time with acceptable convergence and measured communication overhead. Observed problem: 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: While reproducing a training incident in an independent SageMaker experiment.
Question 534
As a regulated ML workload prepares for an automated regional rollout, the following condition is observed: A model's overall approval rate remains stable while approval differences between customer groups increase after a data-source migration. The team must demonstrate a repeatable monitoring or security control. Which engineering response resolves the actual issue without masking the symptoms?
- Identify the component contributing to total request time and optimize network or overhead separately from actual model inference.
- Use SageMaker Inference Recommender or equivalent controlled load tests to rightsize the serving instance family.
- Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes.
- Configure data capture and an appropriate Model Monitor baseline with scheduled data-quality checks.
Explanation
Correct Answer
C:Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes. This is the appropriate controlled remedy for clarify postdeployment group bias monitoring. Aggregate performance can mask group-specific shifts; fairness monitoring must examine appropriate group metrics. Verify the cause with: Inspect group-level prediction and label distributions, subgroup sample sizes, and configured bias metrics. Then confirm: Auditors see reproducible subgroup statistics and alarms for material disparities rather than only global totals. Reported signal: A model's overall approval rate remains stable while approval differences between customer groups increase after a data-source migration. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
Incorrect Answers
A: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 clarify postdeployment group bias monitoring mechanism. The targeted response is: Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes. Case evidence: A model's overall approval rate remains stable while approval differences between customer groups increase after a data-source migration. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
B:Use SageMaker Inference Recommender or equivalent controlled load tests to rightsize the serving instance family. This addresses a different issue involving inference recommender benchmarking instance family. It does not correct the stated clarify postdeployment group bias monitoring mechanism. The targeted response is: Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes. Case evidence: A model's overall approval rate remains stable while approval differences between customer groups increase after a data-source migration. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
D:Configure data capture and an appropriate Model Monitor baseline with scheduled data-quality checks. This addresses a different issue involving sagemaker model monitor feature drift baseline. It does not correct the stated clarify postdeployment group bias monitoring mechanism. The targeted response is: Use appropriate SageMaker Clarify model-bias monitoring and investigate supported group differences before deployment changes. Case evidence: A model's overall approval rate remains stable while approval differences between customer groups increase after a data-source migration. Operational setting: As a regulated ML workload prepares for an automated regional rollout.
Question 535
While reproducing a training incident in an independent SageMaker experiment, the following condition is observed: A neural network continues training for many epochs after validation loss begins increasing while training loss keeps falling. The experiment must be compared fairly against its prior baseline. What should the ML engineer inspect FIRST to distinguish this failure from unrelated issues?
- Inspect routing mode, shadow traffic duplication, inference latency, output divergence, and payload compatibility.
- Inspect epoch-level training and validation curves, stopping criteria, and the best checkpoint location.
- Inspect documented explanation requirements, candidate feature contributions, and available post-hoc interpretation tests.
- Inspect feature importance stability, variance across folds, regularization and model dimensionality.
Explanation
Correct Answer
B:Inspect epoch-level training and validation curves, stopping criteria, and the best checkpoint location. This directly tests early stopping on validation plateau in the reported AWS ML workflow. More epochs are not always better; validation loss can worsen while training loss continues to decrease. It distinguishes the problem before choosing a change. The related targeted response is: Enable patience-based early stopping and restore the checkpoint with the best validation metric. Reported signal: A neural network continues training for many epochs after validation loss begins increasing while training loss keeps falling. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
Incorrect Answers
A: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 early stopping on validation plateau failure reported here. Prioritize: Inspect epoch-level training and validation curves, stopping criteria, and the best checkpoint location. The relevant case is: A neural network continues training for many epochs after validation loss begins increasing while training loss keeps falling. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
C:Inspect documented explanation requirements, candidate feature contributions, and available post-hoc interpretation tests. This is a possible diagnostic for interpretability for high-stakes prediction, but it does not directly test the early stopping on validation plateau failure reported here. Prioritize: Inspect epoch-level training and validation curves, stopping criteria, and the best checkpoint location. The relevant case is: A neural network continues training for many epochs after validation loss begins increasing while training loss keeps falling. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
D:Inspect feature importance stability, variance across folds, regularization and model dimensionality. This is a possible diagnostic for feature selection to reduce overparameterization, but it does not directly test the early stopping on validation plateau failure reported here. Prioritize: Inspect epoch-level training and validation curves, stopping criteria, and the best checkpoint location. The relevant case is: A neural network continues training for many epochs after validation loss begins increasing while training loss keeps falling. Operational setting: While reproducing a training incident in an independent SageMaker experiment.
Question 536
During an approved rollout of an AWS ML inference workload, 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 team must meet its documented availability and rollback constraints. Which investigation provides the most decisive FIRST evidence for the underlying problem?
- Inspect model registry package versions, approval metadata, artifact hashes, and pipeline deployment inputs.
- Inspect pipeline stages, evaluation artifacts, test result propagation, registry approval state, and deployment dependencies.
- Inspect model sizes, framework compatibility, per-model request rates, load latency, and isolation requirements.
- Inspect container startup logs, listening port, health endpoint, MIME types, and inference response contract.
Explanation
Correct Answer
A:Inspect model registry package versions, approval metadata, artifact hashes, and pipeline deployment inputs. This directly tests model registry version promotion provenance in the reported AWS ML workflow. Immutable package versions and approval metadata connect evaluation with deployment; mutable S3 nicknames do not. It distinguishes the problem before choosing a change. The related targeted response 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: During an approved rollout of an AWS ML inference workload.
Incorrect Answers
B:Inspect pipeline stages, evaluation artifacts, test result propagation, registry approval state, and deployment dependencies. This is a possible diagnostic for codepipeline approval gate on model metrics, but it does not directly test the model registry version promotion provenance failure reported here. Prioritize: Inspect model registry package versions, approval metadata, artifact hashes, and pipeline deployment inputs. The relevant case is: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: During an approved rollout of an AWS ML inference workload.
C:Inspect model sizes, framework compatibility, per-model request rates, load latency, and isolation requirements. This is a possible diagnostic for multi-model endpoint hosting tradeoff, but it does not directly test the model registry version promotion provenance failure reported here. Prioritize: Inspect model registry package versions, approval metadata, artifact hashes, and pipeline deployment inputs. The relevant case is: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: During an approved rollout of an AWS ML inference workload.
D:Inspect container startup logs, listening port, health endpoint, MIME types, and inference response contract. This is a possible diagnostic for bring-your-own-inference-container contract, but it does not directly test the model registry version promotion provenance failure reported here. Prioritize: Inspect model registry package versions, approval metadata, artifact hashes, and pipeline deployment inputs. The relevant case is: A pipeline deploys a model directly from an unversioned notebook S3 path and cannot prove which evaluated candidate was approved. Operational setting: During an approved rollout of an AWS ML inference workload.
Question 537
While reproducing the alert in an isolated AWS ML integration account, the following condition is observed: An unconstrained SageMaker tuning experiment launches hundreds of expensive GPU jobs, but the team notices the bill only at month end. The proposed change must preserve logging and least privilege. What should the ML engineer inspect FIRST to distinguish this failure from unrelated issues?
- Inspect subnet routes, VPC interface endpoints, private DNS settings, endpoint security groups, and endpoint policies.
- Inspect tuning max jobs and parallel jobs, usage forecasts, AWS Budgets thresholds, and quota settings.
- Inspect caller identity, pass-role resource ARN, service constraint, and denied event attributes.
- Inspect endpoint 5XXErrors, InvocationsPerInstance, instance availability, and per-minute latency distribution.
Explanation
Correct Answer
B:Inspect tuning max jobs and parallel jobs, usage forecasts, AWS Budgets thresholds, and quota settings. This directly tests aws budgets spend threshold for experimentation in the reported AWS ML workflow. Budgets detect or warn about costs but do not automatically limit every ML training request; job limits are also needed. It distinguishes the problem before choosing a change. The related targeted response is: Set budget alerts and bounded tuning job quotas before launching experiments, and enforce an owner-approved stopping policy. Reported signal: An unconstrained SageMaker tuning experiment launches hundreds of expensive GPU jobs, but the team notices the bill only at month end. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
Incorrect Answers
A:Inspect subnet routes, VPC interface endpoints, private DNS settings, endpoint security groups, and endpoint policies. This is a possible diagnostic for private vpc endpoint policy for sagemaker apis, but it does not directly test the aws budgets spend threshold for experimentation failure reported here. Prioritize: Inspect tuning max jobs and parallel jobs, usage forecasts, AWS Budgets thresholds, and quota settings. The relevant case is: An unconstrained SageMaker tuning experiment launches hundreds of expensive GPU jobs, but the team notices the bill only at month end. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
C:Inspect caller identity, pass-role resource ARN, service constraint, and denied event attributes. This is a possible diagnostic for iam passrole constraint for model deployment, but it does not directly test the aws budgets spend threshold for experimentation failure reported here. Prioritize: Inspect tuning max jobs and parallel jobs, usage forecasts, AWS Budgets thresholds, and quota settings. The relevant case is: An unconstrained SageMaker tuning experiment launches hundreds of expensive GPU jobs, but the team notices the bill only at month end. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
D:Inspect endpoint 5XXErrors, InvocationsPerInstance, instance availability, and per-minute latency distribution. This is a possible diagnostic for cloudwatch 5xxerrors endpoint saturation, but it does not directly test the aws budgets spend threshold for experimentation failure reported here. Prioritize: Inspect tuning max jobs and parallel jobs, usage forecasts, AWS Budgets thresholds, and quota settings. The relevant case is: An unconstrained SageMaker tuning experiment launches hundreds of expensive GPU jobs, but the team notices the bill only at month end. Operational setting: While reproducing the alert in an isolated AWS ML integration account.
Question 538
At a production AWS ML data lake supporting customer-facing predictions, 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. Engineers must avoid changing unrelated source partitions. Which engineering response resolves the actual issue without masking the symptoms?
- Define point-in-time offline joins, freshness SLAs, and aligned feature version logic for online retrieval.
- Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training.
- Use controlled incremental extraction or a suitable read replica and throttle export jobs within the approved data freshness target.
- Apply a justified log1p transformation with documented treatment of invalid negatives and package it for serving.
Explanation
Correct Answer
B: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. 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: At a production AWS ML data lake supporting customer-facing predictions.
Incorrect Answers
A:Define point-in-time offline joins, freshness SLAs, and aligned feature version logic for online retrieval. This addresses a different issue involving sagemaker feature store online offline consistency. It does not correct the stated csv schema ambiguity during ingestion mechanism. The targeted response is: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. Case evidence: 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: At a production AWS ML data lake supporting customer-facing predictions.
C:Use controlled incremental extraction or a suitable read replica and throttle export jobs within the approved data freshness target. This addresses a different issue involving rds extraction overload into ml. It does not correct the stated csv schema ambiguity during ingestion mechanism. The targeted response is: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. Case evidence: 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: At a production AWS ML data lake supporting customer-facing predictions.
D:Apply a justified log1p transformation with documented treatment of invalid negatives and package it for serving. This addresses a different issue involving skewed numerical feature log transformation. It does not correct the stated csv schema ambiguity during ingestion mechanism. The targeted response is: Use a CSV parser with explicit quoting and schema validation; quarantine malformed records before training. Case evidence: 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: At a production AWS ML data lake supporting customer-facing predictions.
Question 539
As a regional data-pipeline rollout is validated against approved AWS storage and streams, the following condition is observed: A training preparation scan reads every month of event history even though the feature job requests one recent date, causing high bytes scanned and slow ingestion. The data team must preserve event-time meaning and lineage. Which verification result BEST demonstrates that the issue is resolved?
- An equivalent recent-date query reads only its selected partitions while returning the same labeled rows.
- No synthetic or duplicated minority instance leaks into held-out folds, and minority-class recall reflects genuine unseen cases.
- Long-tail task duration and shuffle spill decline without changing the joined record counts.
- Validated records preserve the expected label and field order while malformed inputs are reported separately.
Explanation
Correct Answer
A:An equivalent recent-date query reads only its selected partitions while returning the same labeled rows. This is the acceptance evidence for the described partition pruning in s3 parquet training input scenario. Partition-aware columnar scans reduce irrelevant I/O; naming a date column without partition metadata does not create pruning. The corrective implementation it validates is: Write partitioned columnar Parquet data by event date, register accurate partitions in the catalog, and filter on partition keys. Reported signal: A training preparation scan reads every month of event history even though the feature job requests one recent date, causing high bytes scanned and slow ingestion. Operational setting: As a regional data-pipeline rollout is validated against approved AWS storage and streams.
Incorrect Answers
B:No synthetic or duplicated minority instance leaks into held-out folds, and minority-class recall reflects genuine unseen cases. This could validate class imbalance handled inside cross-validation, but it does not establish that partition pruning in s3 parquet training input is resolved for this workload. Confirm instead: An equivalent recent-date query reads only its selected partitions while returning the same labeled rows. Observed problem: A training preparation scan reads every month of event history even though the feature job requests one recent date, causing high bytes scanned and slow ingestion. Operational setting: As a regional data-pipeline rollout is validated against approved AWS storage and streams.
C:Long-tail task duration and shuffle spill decline without changing the joined record counts. This could validate glue spark join skew on dominant identifier, but it does not establish that partition pruning in s3 parquet training input is resolved for this workload. Confirm instead: An equivalent recent-date query reads only its selected partitions while returning the same labeled rows. Observed problem: A training preparation scan reads every month of event history even though the feature job requests one recent date, causing high bytes scanned and slow ingestion. Operational setting: As a regional data-pipeline rollout is validated against approved AWS storage and streams.
D:Validated records preserve the expected label and field order while malformed inputs are reported separately. This could validate csv schema ambiguity during ingestion, but it does not establish that partition pruning in s3 parquet training input is resolved for this workload. Confirm instead: An equivalent recent-date query reads only its selected partitions while returning the same labeled rows. Observed problem: A training preparation scan reads every month of event history even though the feature job requests one recent date, causing high bytes scanned and slow ingestion. Operational setting: As a regional data-pipeline rollout is validated against approved AWS storage and streams.
Question 540
During a controlled replay of the data-preparation workflow in a separate ML staging account, the following condition is observed: Several distributed workers repeatedly read small shared checkpoints with POSIX file semantics, but the pipeline treats object-storage paths as a mutable shared filesystem. The dataset contract must remain reproducible for a backfill. Which observation most directly identifies the root cause of the reported behavior?
- Inspect quantiles, heavy-tail plots, outliers, and the target model's response to feature scale.
- Inspect shared entity identifiers across partitions and compare patient-level versus image-level evaluation results.
- Inspect workload read/write semantics, shared access requirements, filesystem operations, and object-store request patterns.
- Correlate export query plans, RDS CPU and IOPS, replication lag, and business traffic windows.
Explanation
Correct Answer
C:Inspect workload read/write semantics, shared access requirements, filesystem operations, and object-store request patterns. This directly tests s3 versus efs training storage choice in the reported AWS ML workflow. S3 object semantics differ from mounted shared filesystems; choose storage for workload access behavior. It distinguishes the problem before choosing a change. The related targeted response is: Place shared POSIX-style working files on suitable EFS or FSx storage and keep immutable large artifacts in S3. Reported signal: Several distributed workers repeatedly read small shared checkpoints with POSIX file semantics, but the pipeline treats object-storage paths as a mutable shared filesystem. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
Incorrect Answers
A:Inspect quantiles, heavy-tail plots, outliers, and the target model's response to feature scale. This is a possible diagnostic for skewed numerical feature log transformation, but it does not directly test the s3 versus efs training storage choice failure reported here. Prioritize: Inspect workload read/write semantics, shared access requirements, filesystem operations, and object-store request patterns. The relevant case is: Several distributed workers repeatedly read small shared checkpoints with POSIX file semantics, but the pipeline treats object-storage paths as a mutable shared filesystem. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
B:Inspect shared entity identifiers across partitions and compare patient-level versus image-level evaluation results. This is a possible diagnostic for group-leakage train and validation split, but it does not directly test the s3 versus efs training storage choice failure reported here. Prioritize: Inspect workload read/write semantics, shared access requirements, filesystem operations, and object-store request patterns. The relevant case is: Several distributed workers repeatedly read small shared checkpoints with POSIX file semantics, but the pipeline treats object-storage paths as a mutable shared filesystem. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.
D:Correlate export query plans, RDS CPU and IOPS, replication lag, and business traffic windows. This is a possible diagnostic for rds extraction overload into ml, but it does not directly test the s3 versus efs training storage choice failure reported here. Prioritize: Inspect workload read/write semantics, shared access requirements, filesystem operations, and object-store request patterns. The relevant case is: Several distributed workers repeatedly read small shared checkpoints with POSIX file semantics, but the pipeline treats object-storage paths as a mutable shared filesystem. Operational setting: During a controlled replay of the data-preparation workflow in a separate ML staging account.