Databricks Certified Machine Learning Associate Practice Test 36
Question 350
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A subscription team needs to predict whether an account will churn, but its prototype optimizes a continuous-price regressor. 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.
- Train an appropriate classifier and compare its predictions against held-out churn labels.
- A controlled rerun produces an interpretable trial history and selected objective value.
- Evaluation reports classification metrics and the output can drive the stated retention decision.
- R-squared compares residual squared error against a constant-mean baseline and may be negative on holdout data.
- Use a compatible stratified split and adjust fold count if positive examples are too few.
- Binary classification estimates membership in discrete classes and uses classification evaluation rather than numeric-error metrics.
Explanation
Correct Answers
A:Train an appropriate classifier and compare its predictions against held-out churn labels. Inspect the target definition, labeled outcomes and intended decision threshold.
C:Evaluation reports classification metrics and the output can drive the stated retention decision. A subscription team needs to predict whether an account will churn, but its prototype optimizes a continuous-price regressor. The reported situation is: A subscription team needs to predict whether an account will churn, but its prototype optimizes a continuous-price regressor.
F:Binary classification estimates membership in discrete classes and uses classification evaluation rather than numeric-error metrics. A subscription team needs to predict whether an account will churn, but its prototype optimizes a continuous-price regressor.
Incorrect Answers
B:A controlled rerun produces an interpretable trial history and selected objective value. Although useful for Preserve trial reproducibility for Hyperopt search, this does not establish the requested Select binary classification instead of regression result.
D:R-squared compares residual squared error against a constant-mean baseline and may be negative on holdout data. It does not test the Select binary classification instead of regression condition; it instead concerns Interpret R squared with poor baseline performance.
E:Use a compatible stratified split and adjust fold count if positive examples are too few. The option addresses Use stratified folds for rare classification target, which is distinct from the Select binary classification instead of regression issue here.
Question 351
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories. 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.
- MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE.
- Regression predicts continuous outcomes when the business target is a numeric measurement.
- F1 summarizes the harmonic balance of precision and recall at a chosen threshold.
- High variance often manifests as a large gap between training and unseen-data performance.
Explanation
Correct Answer
B:Regression predicts continuous outcomes when the business target is a numeric measurement. Compare requested output units, target distribution and the loss function of candidate estimators. Select a regression algorithm and evaluate numeric error on representative future deliveries.
Incorrect Answers
A:MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE. The relevant distinction here is Select regression for continuous numerical target; Prefer MAE when outlier tolerance is important is a separate concern.
C:F1 summarizes the harmonic balance of precision and recall at a chosen threshold. The scenario calls for Select regression for continuous numerical target reasoning rather than a Select F1 when precision and recall both matter analysis.
D:High variance often manifests as a large gap between training and unseen-data performance. Although useful for Identify overfitting through train validation gap, this does not establish the requested Select regression for continuous numerical target result.
Question 352
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories. 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.
- Compare entity identifiers, repeated record hashes, resampling steps and cross-validation fold membership.
- Compare requested output units, target distribution and the loss function of candidate estimators.
- Check class counts per fold and whether the rare class has sufficient examples.
- Inspect target transform, estimator output, inverse function and expected units.
Explanation
Correct Answer
B:Compare requested output units, target distribution and the loss function of candidate estimators. Regression predicts continuous outcomes when the business target is a numeric measurement. Holdout predictions are in valid minute units and meet an agreed error tolerance.
Incorrect Answers
A:Compare entity identifiers, repeated record hashes, resampling steps and cross-validation fold membership. That concerns Avoid oversampling before cross-validation split, while this case turns on Select regression for continuous numerical target.
C:Check class counts per fold and whether the rare class has sufficient examples. The relevant distinction here is Select regression for continuous numerical target; Use stratified folds for rare classification target is a separate concern.
D:Inspect target transform, estimator output, inverse function and expected units. This would be pertinent to Restore units after log-target prediction, but does not resolve the stated Select regression for continuous numerical target issue.
Question 353
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories. 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.
- Choose a threshold maximizing useful alert quality under the known recall constraint.
- Construct and fit a pipeline containing the preprocessing transformer and final estimator using training data only.
- Evaluate a suitable clustering algorithm with feature normalization and business interpretability review.
Explanation
Correct Answer
A:Select a regression algorithm and evaluate numeric error on representative future deliveries. Regression predicts continuous outcomes when the business target is a numeric measurement. Compare requested output units, target distribution and the loss function of candidate estimators.
Incorrect Answers
B:Choose a threshold maximizing useful alert quality under the known recall constraint. The option addresses Choose precision when each false alarm is costly, which is distinct from the Select regression for continuous numerical target issue here.
C:Construct and fit a pipeline containing the preprocessing transformer and final estimator using training data only. That concerns Fit preprocessing and estimator in one training pipeline, while this case turns on Select regression for continuous numerical target.
D:Evaluate a suitable clustering algorithm with feature normalization and business interpretability review. It addresses Choose unsupervised clustering without target labels, not the Select regression for continuous numerical target requirement described.
Question 354
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories. 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.
- Compare requested output units, target distribution and the loss function of candidate estimators.
- The model meets a documented precision-recall target within operational alert capacity.
- Inspect FN counts, prevalence, detection threshold and false-positive capacity.
- Inspect number of repeats, folds, candidate combinations and optional final refit.
- Holdout predictions are in valid minute units and meet an agreed error tolerance.
Explanation
Correct Answers
A:Compare requested output units, target distribution and the loss function of candidate estimators. A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories.
E:Holdout predictions are in valid minute units and meet an agreed error tolerance. A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories.
Incorrect Answers
B:The model meets a documented precision-recall target within operational alert capacity. That is a Choose precision recall under severe imbalance consideration; the immediate issue lies in Select regression for continuous numerical target. The observed condition is: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories.
C:Inspect FN counts, prevalence, detection threshold and false-positive capacity. It does not test the Select regression for continuous numerical target condition; it instead concerns Choose recall for missed-critical-event cost.
D:Inspect number of repeats, folds, candidate combinations and optional final refit. The option addresses Distinguish repeated cross-validation from single pass, which is distinct from the Select regression for continuous numerical target issue here.
Question 355
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories. 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.
- Select a regression algorithm and evaluate numeric error on representative future deliveries.
- Regression predicts continuous outcomes when the business target is a numeric measurement.
- Parallel trial artifacts remain distinct and every trial's metric maps to its own parameters.
- Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric.
- Holdout predictions are in valid minute units and meet an agreed error tolerance.
- Use random search or narrow a justified grid to meet the compute budget.
Explanation
Correct Answers
A:Select a regression algorithm and evaluate numeric error on representative future deliveries. Compare requested output units, target distribution and the loss function of candidate estimators.
B:Regression predicts continuous outcomes when the business target is a numeric measurement. A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories.
E:Holdout predictions are in valid minute units and meet an agreed error tolerance. A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories. The reported situation is: A logistics team wants delivery-time minutes but receives a model that outputs only late versus on-time categories.
Incorrect Answers
C:Parallel trial artifacts remain distinct and every trial's metric maps to its own parameters. Although useful for Parallelize hyperparameter trials without sharing mutable fitted state, this does not establish the requested Select regression for continuous numerical target result.
D:Both prediction and ground truth must be on the same intended scale before calculating an interpretable metric. That is a Evaluate predictions on the intended target scale consideration; the immediate issue lies in Select regression for continuous numerical target.
F:Use random search or narrow a justified grid to meet the compute budget. The option addresses Compare grid search with random search under bounded budget, which is distinct from the Select regression for continuous numerical target issue here.
Question 356
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification. 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.
- Unsupervised clustering discovers structure without requiring known target class labels.
- When the target is log transformed, predictions require the correct inverse transform before business interpretation.
- Stratified cross-validation maintains approximate class proportions across folds for classification evaluation.
Explanation
Correct Answer
B:Unsupervised clustering discovers structure without requiring known target class labels. Check whether the dataset includes a defined target, feature scales and cluster quality criteria. Evaluate a suitable clustering algorithm with feature normalization and business interpretability review.
Incorrect Answers
A:Model selection metrics are only comparable when validation population, label definition and measurement method match. It addresses Compare candidate models under matched evaluation conditions, not the Choose unsupervised clustering without target labels requirement described.
C:When the target is log transformed, predictions require the correct inverse transform before business interpretation. This would be pertinent to Restore units after log-target prediction, but does not resolve the stated Choose unsupervised clustering without target labels issue.
D:Stratified cross-validation maintains approximate class proportions across folds for classification evaluation. The scenario calls for Choose unsupervised clustering without target labels reasoning rather than a Use stratified folds for rare classification target analysis.
Question 357
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification. 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.
- Examine residual sum of squares, reference mean, split and metric implementation.
- Check whether the dataset includes a defined target, feature scales and cluster quality criteria.
- Inspect minority prevalence, precision-recall curve, confusion matrix and analyst review capacity.
- Inspect the pipeline component methods and whether outputs are features or target estimates.
Explanation
Correct Answer
B:Check whether the dataset includes a defined target, feature scales and cluster quality criteria. Unsupervised clustering discovers structure without requiring known target class labels. Resulting groups are coherent under documented metrics and usable for the intended analysis.
Incorrect Answers
A:Examine residual sum of squares, reference mean, split and metric implementation. The option addresses Interpret R squared with poor baseline performance, which is distinct from the Choose unsupervised clustering without target labels issue here.
C:Inspect minority prevalence, precision-recall curve, confusion matrix and analyst review capacity. It addresses Choose precision recall under severe imbalance, not the Choose unsupervised clustering without target labels requirement described.
D:Inspect the pipeline component methods and whether outputs are features or target estimates. The relevant distinction here is Choose unsupervised clustering without target labels; Differentiate sklearn estimator from transformer is a separate concern.
Question 358
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. The observed issue is: A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification. 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.
- Evaluate a suitable clustering algorithm with feature normalization and business interpretability review.
- Budget the full repeated-fit count and isolate the optional final production refit.
- Report negative R-squared accurately and investigate model, features or evaluation shift.
Explanation
Correct Answer
B:Evaluate a suitable clustering algorithm with feature normalization and business interpretability review. Unsupervised clustering discovers structure without requiring known target class labels. Check whether the dataset includes a defined target, feature scales and cluster quality criteria.
Incorrect Answers
A:Interpret RMSE with business units and compare against an accepted baseline. That is a Relate RMSE to target units and large errors consideration; the immediate issue lies in Choose unsupervised clustering without target labels.
C:Budget the full repeated-fit count and isolate the optional final production refit. The option addresses Distinguish repeated cross-validation from single pass, which is distinct from the Choose unsupervised clustering without target labels issue here.
D:Report negative R-squared accurately and investigate model, features or evaluation shift. That concerns Interpret R squared with poor baseline performance, while this case turns on Choose unsupervised clustering without target labels.
Question 359
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification. 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.
- Evaluation reports classification metrics and the output can drive the stated retention decision.
- Compare requested output units, target distribution and the loss function of candidate estimators.
- Resulting groups are coherent under documented metrics and usable for the intended analysis.
- Inspect executor concurrency, checkpoint destinations, shared objects and logs for collisions.
- Check whether the dataset includes a defined target, feature scales and cluster quality criteria.
Explanation
Correct Answers
C:Resulting groups are coherent under documented metrics and usable for the intended analysis. A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification.
E:Check whether the dataset includes a defined target, feature scales and cluster quality criteria. A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification.
Incorrect Answers
A:Evaluation reports classification metrics and the output can drive the stated retention decision. The scenario calls for Choose unsupervised clustering without target labels reasoning rather than a Select binary classification instead of regression analysis.
B:Compare requested output units, target distribution and the loss function of candidate estimators. Although useful for Select regression for continuous numerical target, this does not establish the requested Choose unsupervised clustering without target labels result.
D:Inspect executor concurrency, checkpoint destinations, shared objects and logs for collisions. It does not test the Choose unsupervised clustering without target labels condition; it instead concerns Parallelize hyperparameter trials without sharing mutable fitted state.
Question 360
During a Databricks model development review, a data scientist evaluates algorithms, tuning, training pipelines and metrics. A separate control validation examines: A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification. 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.
- Unsupervised clustering discovers structure without requiring known target class labels.
- MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE.
- Minority-class recall improves within the approved false-positive and intervention constraints.
- Evaluate a suitable clustering algorithm with feature normalization and business interpretability review.
- Resulting groups are coherent under documented metrics and usable for the intended analysis.
- Construct and fit a pipeline containing the preprocessing transformer and final estimator using training data only.
Explanation
Correct Answers
A:Unsupervised clustering discovers structure without requiring known target class labels. A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification.
D:Evaluate a suitable clustering algorithm with feature normalization and business interpretability review. Check whether the dataset includes a defined target, feature scales and cluster quality criteria.
E:Resulting groups are coherent under documented metrics and usable for the intended analysis. A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification. The reported situation is: A marketing dataset has customer behavior vectors but no trustworthy segment labels, yet the team requests supervised classification.
Incorrect Answers
B:MAE averages absolute prediction errors and is less sensitive to large residuals than RMSE. This would be pertinent to Prefer MAE when outlier tolerance is important, but does not resolve the stated Choose unsupervised clustering without target labels issue.
C:Minority-class recall improves within the approved false-positive and intervention constraints. The scenario calls for Choose unsupervised clustering without target labels reasoning rather than a Use class weights for costly false negatives analysis.
F:Construct and fit a pipeline containing the preprocessing transformer and final estimator using training data only. It does not test the Choose unsupervised clustering without target labels condition; it instead concerns Fit preprocessing and estimator in one training pipeline.