Databricks Certified Machine Learning Associate Practice Test 53
Question 520
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A model trained on log revenue computes MAE between log predictions and untransformed dollar targets. Changes require named owner approval and safe rollback. The acceptance review requires three complementary roles: governing principle, bounded corrective action and measurable result. Select EXACTLY THREE: the governing technical principle, proportionate action AND independently verifiable success result.
- The model review explains both typical error and severe-tail misses explicitly.
- Set a measured concurrency limit and scale resources only when the cost is justified.
- Convert predictions and labels consistently to the selected scale before computing MAE.
- The published error uses matching revenue units and is reproducible.
- High variance often manifests as a large gap between training and unseen-data performance.
- Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric.
Explanation
Correct Answers
C:Convert predictions and labels consistently to the selected scale before computing MAE. Trace inverse transformation and units at the evaluation function inputs.
D:The published error uses matching revenue units and is reproducible. A model trained on log revenue computes MAE between log predictions and untransformed dollar targets. The reported situation is: A model trained on log revenue computes MAE between log predictions and untransformed dollar targets.
F:Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric. A model trained on log revenue computes MAE between log predictions and untransformed dollar targets.
Incorrect Answers
A:The model review explains both typical error and severe-tail misses explicitly. That is a Prefer MAE when outlier tolerance is important consideration; the immediate issue lies in Evaluate predictions on the intended target scale.
B:Set a measured concurrency limit and scale resources only when the cost is justified. It does not test the Evaluate predictions on the intended target scale condition; it instead concerns Bound tuning concurrency against cluster capacity.
E:High variance often manifests as a large gap between training and unseen-data performance. It addresses Identify overfitting through train validation gap, not the Evaluate predictions on the intended target scale requirement described.
Question 521
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A complex tree ensemble has near-perfect training performance but substantially worse validation loss. The review distinguishes symptoms from root cause. The team must select the technical principle that explains the requirement, not a neighboring unrelated feature. Which underlying Databricks or machine-learning principle BEST explains the stated need? Choose ONE best answer.
- High variance often manifests as a large gap between training and unseen-data performance.
- GridSearchCV evaluates the Cartesian product of candidate choices on each fold, before optional final refit.
- Resampling must be applied within each training fold to avoid duplicate examples leaking into validation.
- Cost-sensitive learning can penalize minority-class errors more heavily when the objective warrants it.
Explanation
Correct Answer
A:High variance often manifests as a large gap between training and unseen-data performance. Inspect training-versus-validation curves, model capacity, folds and feature leakage. Reduce excessive complexity or regularize after ruling out dataset shift and leakage.
Incorrect Answers
B:GridSearchCV evaluates the Cartesian product of candidate choices on each fold, before optional final refit. Although useful for Count grid-search fits excluding optional refit, this does not establish the requested Identify overfitting through train validation gap result.
C:Resampling must be applied within each training fold to avoid duplicate examples leaking into validation. That is a Avoid oversampling before cross-validation split consideration; the immediate issue lies in Identify overfitting through train validation gap.
D:Cost-sensitive learning can penalize minority-class errors more heavily when the objective warrants it. It does not test the Identify overfitting through train validation gap condition; it instead concerns Use class weights for costly false negatives.
Question 522
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A complex tree ensemble has near-perfect training performance but substantially worse validation loss. The review distinguishes symptoms from root cause. The team needs the most discriminating technical evidence before changing the solution, not an unsupported assumption. Which diagnostic check BEST distinguishes the actual cause or requirement? Choose ONE best answer.
- Inspect residual distribution, MAE, RMSE and the operational cost of extreme errors.
- Inspect training-versus-validation curves, model capacity, folds and feature leakage.
- Inspect objective noise, feasible parameter ranges, trial history and time cost per fit.
- Compare training score, validation score, feature relevance and candidate complexity.
Explanation
Correct Answer
B:Inspect training-versus-validation curves, model capacity, folds and feature leakage. High variance often manifests as a large gap between training and unseen-data performance. Holdout quality improves without destroying the model's ability to learn useful patterns.
Incorrect Answers
A:Inspect residual distribution, MAE, RMSE and the operational cost of extreme errors. The relevant distinction here is Identify overfitting through train validation gap; Prefer MAE when outlier tolerance is important is a separate concern.
C:Inspect objective noise, feasible parameter ranges, trial history and time cost per fit. The scenario calls for Identify overfitting through train validation gap reasoning rather than a Use Bayesian search for sequential optimization budget analysis.
D:Compare training score, validation score, feature relevance and candidate complexity. Although useful for Identify underfitting from weak train and validation scores, this does not establish the requested Identify overfitting through train validation gap result.
Question 523
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A complex tree ensemble has near-perfect training performance but substantially worse validation loss. The review distinguishes symptoms from root cause. The owner requires a proportionate, authorized technical correction that can be verified independently. Which scoped solution approach BEST resolves the issue without unnecessary operational risk? Choose ONE best answer.
- Convert predictions and labels consistently to the selected scale before computing MAE.
- Evaluate both discrimination and probability quality for the planned decision use.
- Reduce excessive complexity or regularize after ruling out dataset shift and leakage.
- Log or serialize the complete supported fitted pipeline with its dependencies.
Explanation
Correct Answer
C:Reduce excessive complexity or regularize after ruling out dataset shift and leakage. High variance often manifests as a large gap between training and unseen-data performance. Inspect training-versus-validation curves, model capacity, folds and feature leakage.
Incorrect Answers
A:Convert predictions and labels consistently to the selected scale before computing MAE. That concerns Evaluate predictions on the intended target scale, while this case turns on Identify overfitting through train validation gap.
B:Evaluate both discrimination and probability quality for the planned decision use. It addresses Distinguish ROC AUC from log loss, not the Identify overfitting through train validation gap requirement described.
D:Log or serialize the complete supported fitted pipeline with its dependencies. This would be pertinent to Persist fitted full pipeline not just classifier coefficients, but does not resolve the stated Identify overfitting through train validation gap issue.
Question 524
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A complex tree ensemble has near-perfect training performance but substantially worse validation loss. Changes require named owner approval and safe rollback. The reviewer requests two independent contributions: one direct diagnostic and a measurable post-change result. Select EXACTLY TWO: the case-specific pre-change evidence check AND the independent post-change acceptance outcome.
- Examine residual sum of squares, reference mean, split and metric implementation.
- Inspect training-versus-validation curves, model capacity, folds and feature leakage.
- A reference dataset passes through scaling then yields predictions from the estimator.
- Holdout quality improves without destroying the model's ability to learn useful patterns.
- Compute candidate combination count and the allowed number of fits with cross-validation.
Explanation
Correct Answers
B:Inspect training-versus-validation curves, model capacity, folds and feature leakage. A complex tree ensemble has near-perfect training performance but substantially worse validation loss.
D:Holdout quality improves without destroying the model's ability to learn useful patterns. A complex tree ensemble has near-perfect training performance but substantially worse validation loss.
Incorrect Answers
A:Examine residual sum of squares, reference mean, split and metric implementation. It does not test the Identify overfitting through train validation gap condition; it instead concerns Interpret R squared with poor baseline performance.
C:A reference dataset passes through scaling then yields predictions from the estimator. That concerns Differentiate sklearn estimator from transformer, while this case turns on Identify overfitting through train validation gap.
E:Compute candidate combination count and the allowed number of fits with cross-validation. The relevant distinction here is Identify overfitting through train validation gap; Compare grid search with random search under bounded budget is a separate concern.
Question 525
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A complex tree ensemble has near-perfect training performance but substantially worse validation loss. Changes require named owner approval and safe rollback. The acceptance review requires three complementary roles: governing principle, bounded corrective action and measurable result. Select EXACTLY THREE: the governing technical principle, proportionate action AND independently verifiable success result.
- The decision maker understands the practical magnitude and severity sensitivity of model errors.
- Use random search or narrow a justified grid to meet the compute budget.
- Holdout quality improves without destroying the model's ability to learn useful patterns.
- High variance often manifests as a large gap between training and unseen-data performance.
- Reduce excessive complexity or regularize after ruling out dataset shift and leakage.
- GridSearchCV interprets a list of parameter grids as a union of separate Cartesian products.
Explanation
Correct Answers
C:Holdout quality improves without destroying the model's ability to learn useful patterns. A complex tree ensemble has near-perfect training performance but substantially worse validation loss. The reported situation is: A complex tree ensemble has near-perfect training performance but substantially worse validation loss.
D:High variance often manifests as a large gap between training and unseen-data performance. A complex tree ensemble has near-perfect training performance but substantially worse validation loss.
E:Reduce excessive complexity or regularize after ruling out dataset shift and leakage. Inspect training-versus-validation curves, model capacity, folds and feature leakage.
Incorrect Answers
A:The decision maker understands the practical magnitude and severity sensitivity of model errors. Although useful for Relate RMSE to target units and large errors, this does not establish the requested Identify overfitting through train validation gap result.
B:Use random search or narrow a justified grid to meet the compute budget. That is a Compare grid search with random search under bounded budget consideration; the immediate issue lies in Identify overfitting through train validation gap.
F:GridSearchCV interprets a list of parameter grids as a union of separate Cartesian products. It addresses Count only valid grid combinations, not the Identify overfitting through train validation gap requirement described. The observed condition is: A complex tree ensemble has near-perfect training performance but substantially worse validation loss.
Question 526
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A shallow model produces poor training and validation performance on a meaningful supervised task. The review distinguishes symptoms from root cause. The team must select the technical principle that explains the requirement, not a neighboring unrelated feature. Which underlying Databricks or machine-learning principle BEST explains the stated need? Choose ONE best answer.
- R-squared compares residual squared error against a constant-mean baseline and may be negative on holdout data.
- High bias or inadequate model capacity can cause both training and unseen-data performance to remain weak.
- GridSearchCV evaluates the Cartesian product of candidate choices on each fold, before optional final refit.
- Grid search tests an explicit Cartesian product while randomized search samples a prescribed budget of configurations.
Explanation
Correct Answer
B:High bias or inadequate model capacity can cause both training and unseen-data performance to remain weak. Compare training score, validation score, feature relevance and candidate complexity. Increase justified model capacity or improve useful features with controlled validation.
Incorrect Answers
A:R-squared compares residual squared error against a constant-mean baseline and may be negative on holdout data. This would be pertinent to Interpret R squared with poor baseline performance, but does not resolve the stated Identify underfitting from weak train and validation scores issue.
C:GridSearchCV evaluates the Cartesian product of candidate choices on each fold, before optional final refit. Although useful for Count grid-search fits excluding optional refit, this does not establish the requested Identify underfitting from weak train and validation scores result.
D:Grid search tests an explicit Cartesian product while randomized search samples a prescribed budget of configurations. That is a Compare grid search with random search under bounded budget consideration; the immediate issue lies in Identify underfitting from weak train and validation scores.
Question 527
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A shallow model produces poor training and validation performance on a meaningful supervised task. The review distinguishes symptoms from root cause. The team needs the most discriminating technical evidence before changing the solution, not an unsupported assumption. Which diagnostic check BEST distinguishes the actual cause or requirement? Choose ONE best answer.
- Inspect minority prevalence, precision-recall curve, confusion matrix and analyst review capacity.
- Compare training score, validation score, feature relevance and candidate complexity.
- Compare serialized object contents, model input signature and downstream raw-feature transformation.
- Compare requested output units, target distribution and the loss function of candidate estimators.
Explanation
Correct Answer
B:Compare training score, validation score, feature relevance and candidate complexity. High bias or inadequate model capacity can cause both training and unseen-data performance to remain weak. Both training fit and independent generalization improve under the agreed target.
Incorrect Answers
A:Inspect minority prevalence, precision-recall curve, confusion matrix and analyst review capacity. It addresses Choose precision recall under severe imbalance, not the Identify underfitting from weak train and validation scores requirement described.
C:Compare serialized object contents, model input signature and downstream raw-feature transformation. This would be pertinent to Persist fitted full pipeline not just classifier coefficients, but does not resolve the stated Identify underfitting from weak train and validation scores issue.
D:Compare requested output units, target distribution and the loss function of candidate estimators. The scenario calls for Identify underfitting from weak train and validation scores reasoning rather than a Select regression for continuous numerical target analysis.
Question 528
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A shallow model produces poor training and validation performance on a meaningful supervised task. The review distinguishes symptoms from root cause. The owner requires a proportionate, authorized technical correction that can be verified independently. Which scoped solution approach BEST resolves the issue without unnecessary operational risk? Choose ONE best answer.
- Interpret RMSE with business units and compare against an accepted baseline.
- Increase justified model capacity or improve useful features with controlled validation.
- Compute cross-validation work from the sum of valid parameter combinations.
- Tune supported class weights or a cost-sensitive objective using stratified training validation.
Explanation
Correct Answer
B:Increase justified model capacity or improve useful features with controlled validation. High bias or inadequate model capacity can cause both training and unseen-data performance to remain weak. Compare training score, validation score, feature relevance and candidate complexity.
Incorrect Answers
A:Interpret RMSE with business units and compare against an accepted baseline. The option addresses Relate RMSE to target units and large errors, which is distinct from the Identify underfitting from weak train and validation scores issue here.
C:Compute cross-validation work from the sum of valid parameter combinations. It addresses Count only valid grid combinations, not the Identify underfitting from weak train and validation scores requirement described. The observed condition is: A shallow model produces poor training and validation performance on a meaningful supervised task.
D:Tune supported class weights or a cost-sensitive objective using stratified training validation. The relevant distinction here is Identify underfitting from weak train and validation scores; Use class weights for costly false negatives is a separate concern.
Question 529
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A shallow model produces poor training and validation performance on a meaningful supervised task. Changes require named owner approval and safe rollback. The reviewer requests two independent contributions: one direct diagnostic and a measurable post-change result. Select EXACTLY TWO: the case-specific pre-change evidence check AND the independent post-change acceptance outcome.
- Review split identifiers, data timestamps, metric calculation and target encoding for each candidate.
- Both training fit and independent generalization improve under the agreed target.
- Inspect TP, FP, FN, TN definitions and the label treated as positive.
- Compare training score, validation score, feature relevance and candidate complexity.
- Evaluation reports classification metrics and the output can drive the stated retention decision.
Explanation
Correct Answers
B:Both training fit and independent generalization improve under the agreed target. A shallow model produces poor training and validation performance on a meaningful supervised task.
D:Compare training score, validation score, feature relevance and candidate complexity. A shallow model produces poor training and validation performance on a meaningful supervised task.
Incorrect Answers
A:Review split identifiers, data timestamps, metric calculation and target encoding for each candidate. That is a Compare candidate models under matched evaluation conditions consideration; the immediate issue lies in Identify underfitting from weak train and validation scores.
C:Inspect TP, FP, FN, TN definitions and the label treated as positive. The option addresses Compute precision from confusion matrix values, which is distinct from the Identify underfitting from weak train and validation scores issue here.
E:Evaluation reports classification metrics and the output can drive the stated retention decision. It addresses Select binary classification instead of regression, not the Identify underfitting from weak train and validation scores requirement described.
Question 530
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A shallow model produces poor training and validation performance on a meaningful supervised task. Changes require named owner approval and safe rollback. The acceptance review requires three complementary roles: governing principle, bounded corrective action and measurable result. Select EXACTLY THREE: the governing technical principle, proportionate action AND independently verifiable success result.
- Use random search or narrow a justified grid to meet the compute budget.
- High bias or inadequate model capacity can cause both training and unseen-data performance to remain weak.
- Both training fit and independent generalization improve under the agreed target.
- Independent tuning trials should isolate model state, parameters and artifacts while coordinating resources.
- Each valid fold supports meaningful minority-class metrics without losing its positive class.
- Increase justified model capacity or improve useful features with controlled validation.
Explanation
Correct Answers
B:High bias or inadequate model capacity can cause both training and unseen-data performance to remain weak. A shallow model produces poor training and validation performance on a meaningful supervised task.
C:Both training fit and independent generalization improve under the agreed target. A shallow model produces poor training and validation performance on a meaningful supervised task. The reported situation is: A shallow model produces poor training and validation performance on a meaningful supervised task.
F:Increase justified model capacity or improve useful features with controlled validation. Compare training score, validation score, feature relevance and candidate complexity.
Incorrect Answers
A:Use random search or narrow a justified grid to meet the compute budget. The scenario calls for Identify underfitting from weak train and validation scores reasoning rather than a Compare grid search with random search under bounded budget analysis.
D:Independent tuning trials should isolate model state, parameters and artifacts while coordinating resources. It does not test the Identify underfitting from weak train and validation scores condition; it instead concerns Parallelize hyperparameter trials without sharing mutable fitted state.
E:Each valid fold supports meaningful minority-class metrics without losing its positive class. The option addresses Use stratified folds for rare classification target, which is distinct from the Identify underfitting from weak train and validation scores issue here.