Databricks Certified Machine Learning Associate Practice Test 52
Question 510
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A model with strong training F1 is promoted over another model whose score came from a different holdout population. 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 promoted candidate wins the documented evaluation under consistent conditions.
- Re-evaluate candidates on the same unbiased holdout with the same metric definitions.
- Model selection metrics are only comparable when validation population, label definition and measurement method match.
- MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE.
- The review team processes the queue while achieving the approved positive predictive value.
- Use a compatible stratified split and adjust fold count if positive examples are too few.
Explanation
Correct Answers
A:The promoted candidate wins the documented evaluation under consistent conditions. A model with strong training F1 is promoted over another model whose score came from a different holdout population. The reported situation is: A model with strong training F1 is promoted over another model whose score came from a different holdout population.
B:Re-evaluate candidates on the same unbiased holdout with the same metric definitions. Review split identifiers, data timestamps, metric calculation and target encoding for each candidate.
C:Model selection metrics are only comparable when validation population, label definition and measurement method match. A model with strong training F1 is promoted over another model whose score came from a different holdout population.
Incorrect Answers
D:MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE. The relevant distinction here is Compare candidate models under matched evaluation conditions; Prefer MAE when outlier tolerance is important is a separate concern.
E:The review team processes the queue while achieving the approved positive predictive value. This would be pertinent to Choose precision when each false alarm is costly, but does not resolve the stated Compare candidate models under matched evaluation conditions issue.
F:Use a compatible stratified split and adjust fold count if positive examples are too few. The scenario calls for Compare candidate models under matched evaluation conditions reasoning rather than a Use stratified folds for rare classification target analysis.
Question 511
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts. 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.
- Model selection metrics are only comparable when validation population, label definition and measurement method match.
- Repeated cross-validation re-evaluates each candidate over every fold of every repetition.
- When the target is log transformed, predictions require the correct inverse transform before business interpretation.
- F1 summarizes the harmonic balance of precision and recall at a chosen threshold.
Explanation
Correct Answer
C:When the target is log transformed, predictions require the correct inverse transform before business interpretation. Inspect target transform, estimator output, inverse function and expected units. Apply an appropriate inverse transform such as expm1 when the target was log1p.
Incorrect Answers
A:Model selection metrics are only comparable when validation population, label definition and measurement method match. That is a Compare candidate models under matched evaluation conditions consideration; the immediate issue lies in Restore units after log-target prediction.
B:Repeated cross-validation re-evaluates each candidate over every fold of every repetition. It does not test the Restore units after log-target prediction condition; it instead concerns Distinguish repeated cross-validation from single pass.
D:F1 summarizes the harmonic balance of precision and recall at a chosen threshold. That concerns Select F1 when precision and recall both matter, while this case turns on Restore units after log-target prediction.
Question 512
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts. 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 target transform, estimator output, inverse function and expected units.
- Measure worker resource needs, CPU and memory availability, cluster capacity and queue wait.
- Check the loss sign, search space, trial results, selected metric and supported runtime compatibility.
- Compute candidate combination count and the allowed number of fits with cross-validation.
Explanation
Correct Answer
A:Inspect target transform, estimator output, inverse function and expected units. When the target is log transformed, predictions require the correct inverse transform before business interpretation. Predictions are reported in original unit scale with correct error calculation.
Incorrect Answers
B:Measure worker resource needs, CPU and memory availability, cluster capacity and queue wait. Although useful for Bound tuning concurrency against cluster capacity, this does not establish the requested Restore units after log-target prediction result.
C:Check the loss sign, search space, trial results, selected metric and supported runtime compatibility. That is a Interpret Hyperopt fmin objective and search space consideration; the immediate issue lies in Restore units after log-target prediction.
D:Compute candidate combination count and the allowed number of fits with cross-validation. It does not test the Restore units after log-target prediction condition; it instead concerns Compare grid search with random search under bounded budget.
Question 513
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts. 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.
- Apply an appropriate inverse transform such as expm1 when the target was log1p.
- Run a supported sequential search with a documented evaluation objective and budget.
- Cross-validate the whole pipeline, not only the final fitted estimator.
- Report F1 with the confusion matrix and business-relevant class metrics.
Explanation
Correct Answer
A:Apply an appropriate inverse transform such as expm1 when the target was log1p. When the target is log transformed, predictions require the correct inverse transform before business interpretation. Inspect target transform, estimator output, inverse function and expected units.
Incorrect Answers
B:Run a supported sequential search with a documented evaluation objective and budget. This would be pertinent to Use Bayesian search for sequential optimization budget, but does not resolve the stated Restore units after log-target prediction issue.
C:Cross-validate the whole pipeline, not only the final fitted estimator. The scenario calls for Restore units after log-target prediction reasoning rather than a Fit pipeline transforms inside each cross-validation fold analysis. The observed condition is: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts.
D:Report F1 with the confusion matrix and business-relevant class metrics. Although useful for Select F1 when precision and recall both matter, this does not establish the requested Restore units after log-target prediction result.
Question 514
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts. 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.
- Inspect target transform, estimator output, inverse function and expected units.
- Inspect trials, random-state handling, search-space definitions and MLflow runs.
- Predictions are reported in original unit scale with correct error calculation.
- Inspect TP, FP, FN, TN definitions and the label treated as positive.
- The model meets a documented precision-recall target within operational alert capacity.
Explanation
Correct Answers
A:Inspect target transform, estimator output, inverse function and expected units. A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts.
C:Predictions are reported in original unit scale with correct error calculation. A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts.
Incorrect Answers
B:Inspect trials, random-state handling, search-space definitions and MLflow runs. It addresses Preserve trial reproducibility for Hyperopt search, not the Restore units after log-target prediction requirement described. The observed condition is: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts.
D:Inspect TP, FP, FN, TN definitions and the label treated as positive. This would be pertinent to Compute precision from confusion matrix values, but does not resolve the stated Restore units after log-target prediction issue.
E:The model meets a documented precision-recall target within operational alert capacity. The scenario calls for Restore units after log-target prediction reasoning rather than a Choose precision recall under severe imbalance analysis.
Question 515
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts. 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 expected validation-fit count is sixty, plus one final fit if refit is enabled.
- When the target is log transformed, predictions require the correct inverse transform before business interpretation.
- Precision measures true positives divided by all predicted positives, not by all actual positives.
- Compute cross-validation work from the sum of valid parameter combinations.
- Predictions are reported in original unit scale with correct error calculation.
- Apply an appropriate inverse transform such as expm1 when the target was log1p.
Explanation
Correct Answers
B:When the target is log transformed, predictions require the correct inverse transform before business interpretation. A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts.
E:Predictions are reported in original unit scale with correct error calculation. A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts. The reported situation is: A regression model trained on log1p of sales forecasts reports transformed values as if they were actual unit counts.
F:Apply an appropriate inverse transform such as expm1 when the target was log1p. Inspect target transform, estimator output, inverse function and expected units.
Incorrect Answers
A:The expected validation-fit count is sixty, plus one final fit if refit is enabled. It does not test the Restore units after log-target prediction condition; it instead concerns Count grid-search fits excluding optional refit.
C:Precision measures true positives divided by all predicted positives, not by all actual positives. That concerns Compute precision from confusion matrix values, while this case turns on Restore units after log-target prediction.
D:Compute cross-validation work from the sum of valid parameter combinations. It addresses Count only valid grid combinations, not the Restore units after log-target prediction requirement described.
Question 516
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A model trained on log revenue computes MAE between log predictions and untransformed dollar targets. 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.
- Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric.
- MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE.
- Stratified cross-validation maintains approximate class proportions across folds for classification evaluation.
- F1 summarizes the harmonic balance of precision and recall at a chosen threshold.
Explanation
Correct Answer
A:Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric. Trace inverse transformation and units at the evaluation function inputs. Convert predictions and labels consistently to the selected scale before computing MAE.
Incorrect Answers
B:MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE. That is a Prefer MAE when outlier tolerance is important consideration; the immediate issue lies in Evaluate predictions on the intended target scale.
C:Stratified cross-validation maintains approximate class proportions across folds for classification evaluation. It does not test the Evaluate predictions on the intended target scale condition; it instead concerns Use stratified folds for rare classification target.
D:F1 summarizes the harmonic balance of precision and recall at a chosen threshold. The option addresses Select F1 when precision and recall both matter, which is distinct from the Evaluate predictions on the intended target scale issue here.
Question 517
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A model trained on log revenue computes MAE between log predictions and untransformed dollar targets. 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 column dtypes, missingness, selected transformers and the feature-name mapping.
- Trace inverse transformation and units at the evaluation function inputs.
- Compare fold scores, sample counts, class balance and variance of one-split estimates.
- Inspect residual distribution, MAE, RMSE and the operational cost of extreme errors.
Explanation
Correct Answer
B:Trace inverse transformation and units at the evaluation function inputs. Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric. The published error uses matching revenue units and is reproducible.
Incorrect Answers
A:Inspect column dtypes, missingness, selected transformers and the feature-name mapping. This would be pertinent to Use ColumnTransformer for mixed numeric and categorical columns, but does not resolve the stated Evaluate predictions on the intended target scale issue.
C:Compare fold scores, sample counts, class balance and variance of one-split estimates. Although useful for Prefer cross-validation when sample size is limited, this does not establish the requested Evaluate predictions on the intended target scale result.
D:Inspect residual distribution, MAE, RMSE and the operational cost of extreme errors. That is a Prefer MAE when outlier tolerance is important consideration; the immediate issue lies in Evaluate predictions on the intended target scale.
Question 518
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A model trained on log revenue computes MAE between log predictions and untransformed dollar targets. 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.
- Select a regression algorithm and evaluate numeric error on representative future deliveries.
- Increase justified model capacity or improve useful features with controlled validation.
- Construct and fit a pipeline containing the preprocessing transformer and final estimator using training data only.
- Convert predictions and labels consistently to the selected scale before computing MAE.
Explanation
Correct Answer
D:Convert predictions and labels consistently to the selected scale before computing MAE. Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric. Trace inverse transformation and units at the evaluation function inputs.
Incorrect Answers
A:Select a regression algorithm and evaluate numeric error on representative future deliveries. It addresses Select regression for continuous numerical target, not the Evaluate predictions on the intended target scale requirement described.
B:Increase justified model capacity or improve useful features with controlled validation. The relevant distinction here is Evaluate predictions on the intended target scale; Identify underfitting from weak train and validation scores is a separate concern.
C:Construct and fit a pipeline containing the preprocessing transformer and final estimator using training data only. This would be pertinent to Fit preprocessing and estimator in one training pipeline, but does not resolve the stated Evaluate predictions on the intended target scale issue.
Question 519
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 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.
- Inspect the target definition, labeled outcomes and intended decision threshold.
- Trace inverse transformation and units at the evaluation function inputs.
- The published error uses matching revenue units and is reproducible.
- Check class counts per fold and whether the rare class has sufficient examples.
- The selected model meets a documented minimum sensitivity without uncontrollable alert burden.
Explanation
Correct Answers
B:Trace inverse transformation and units at the evaluation function inputs. A model trained on log revenue computes MAE between log predictions and untransformed dollar targets.
C: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.
Incorrect Answers
A:Inspect the target definition, labeled outcomes and intended decision threshold. The option addresses Select binary classification instead of regression, which is distinct from the Evaluate predictions on the intended target scale issue here.
D:Check class counts per fold and whether the rare class has sufficient examples. The relevant distinction here is Evaluate predictions on the intended target scale; Use stratified folds for rare classification target is a separate concern.
E:The selected model meets a documented minimum sensitivity without uncontrollable alert burden. This would be pertinent to Choose recall for missed-critical-event cost, but does not resolve the stated Evaluate predictions on the intended target scale issue.
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.