Docsity

CERTIFIED PROFESSIONAL DATA SCIENTIST {DATABRICKS}, Exams of Nursing

Toggle sidebar
bg1
Certified Professional Data Scientist {Databricks}
Exam 2026 | Latest Version 6.0 | 138 Questions
with Verified Answers & Detailed Explanations|
PDF
Question 1
Feature Hashing approach is "SGD-based classifiers avoid the need to predetermine vector
size by simply picking a reasonable size and shoehorning the training data into vectors of
that size" now with large vectors or with multiple locations per feature in Feature hashing?
A. Is a problem with accuracy
B. It is hard to understand what classifier is doing
C. It is easy to understand what classifier is doing
D. Is a problem with accuracy as well as hard to understand what classifier us doing
Answer: B
Explanation:
Feature hashing causes multiple features to map to the same index. This usually does not
hurt accuracy when vectors are large, but it makes models hard to interpret because original
features cannot be easily traced.
Question 2
What are the advantages of the Hashing Features?
A. Requires the less memory
B. Less pass through the training data
C. Easily reverse engineer vectors to determine which original feature mapped to a vector
location
Answer: A, B
...
Page 1 of 53
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a
pf2b
pf2c
pf2d
pf2e
pf2f
pf30
pf31
pf32
pf33
pf34
pf35

Partial preview of the text

Download CERTIFIED PROFESSIONAL DATA SCIENTIST {DATABRICKS} and more Exams Nursing in PDF only on Docsity!

Certified Professional Data Scientist {Databricks}

Exam 2026 | Latest Version 6.0 | 138 Questions

with Verified Answers & Detailed Explanations|

PDF

Question 1 Feature Hashing approach is "SGD-based classifiers avoid the need to predetermine vector size by simply picking a reasonable size and shoehorning the training data into vectors of that size" now with large vectors or with multiple locations per feature in Feature hashing? A. Is a problem with accuracy B. It is hard to understand what classifier is doing C. It is easy to understand what classifier is doing D. Is a problem with accuracy as well as hard to understand what classifier us doing Answer: B Explanation: Feature hashing causes multiple features to map to the same index. This usually does not hurt accuracy when vectors are large, but it makes models hard to interpret because original features cannot be easily traced. Question 2 What are the advantages of the Hashing Features? A. Requires the less memory B. Less pass through the training data C. Easily reverse engineer vectors to determine which original feature mapped to a vector location Answer: A, B

Explanation: Feature hashing reduces memory usage and avoids building feature dictionaries, requiring fewer passes over data. Reverse engineering is not possible. Question 3 In machine learning, feature hashing, also known as the hashing trick, is a fast and space- efficient way of vectorizing features. What is the primary reason of the hashing trick for building classifiers? A. It creates the smaller models B. It requires the lesser memory to store the coefficients for the model C. It reduces the non-significant features D. Noisy features are removed Answer: B Explanation: Hashing reduces the number of stored coefficients, significantly lowering memory requirements. Question 4 Suppose A, B, and C are events. The probability of A given B, relative to P(|C), is the same as the probability of A given B and C. A. P(A,B|C) / P(B|C) = P(A|B,C) B. P(A,B|C) / P(B|C) = P(B|A,C) C. P(A,B|C) / P(B|C) = P(C|B,C) D. P(A,B|C) / P(B|C) = P(A|C,B) Answer: A Explanation: By conditional probability definition: P(A|B,C) = P(A,B|C) / P(B|C)

Answer: C Explanation: Accuracy can be misleading for imbalanced datasets. The F1 score balances precision and recall, making it more suitable when class distributions are uneven. Question: 8 Which Databricks component is primarily responsible for distributed data processing? A. Delta Lake B. Apache Spark C. MLflow D. Databricks SQL Answer: B Explanation: Apache Spark is the distributed computing engine that powers Databricks, enabling large- scale data processing across clusters. Question: 9 What does cross-validation help prevent? A. Underfitting B. Data leakage C. Overfitting D. Feature scaling issues Answer: C Explanation: Cross-validation evaluates model performance across multiple data splits, reducing the risk of overfitting by ensuring the model generalizes well.

Question: 10 Which algorithm is most sensitive to feature scaling? A. Decision Trees B. Random Forest C. K-Means D. Naive Bayes Answer: C Explanation: K-Means relies on distance calculations. If features are not scaled, features with larger magnitudes dominate distance computations. Question: 11 What is the primary purpose of MLflow in Databricks? A. Data ingestion B. Model deployment and tracking C. Distributed computing D. Query optimization Answer: B Explanation: MLflow helps manage the ML lifecycle, including experiment tracking, model versioning, and deployment. Question: 12 Which type of problem does logistic regression solve? A. Regression B. Clustering C. Classification D. Dimensionality reduction

Which Spark API is most suitable for structured data processing? A. RDD B. DataFrame C. DStream D. GraphX Answer: B Explanation: DataFrames provide optimized execution, schema enforcement, and SQL compatibility, making them ideal for structured data. Question: 16 Which metric is commonly used to evaluate regression models? A. Accuracy B. ROC-AUC C. Mean Absolute Error D. F1 Score Answer: C Explanation: Mean Absolute Error (MAE) measures average prediction error magnitude and is widely used in regression tasks. Question: 17 What does Delta Lake primarily provide? A. Streaming analytics B. Model serving C. ACID transactions on data lakes D. Feature engineering Answer: C

Explanation: Delta Lake adds ACID transactions, schema enforcement, and versioning to data lakes. Question: 18 Which algorithm is best suited for high-dimensional sparse data? A. K-Means B. Logistic Regression with L C. KNN D. Linear Regression without regularization Answer: B Explanation: L1-regularized logistic regression handles sparse data efficiently by eliminating irrelevant features. Question: 19 What is data leakage? A. Missing values in data B. Training on test data information C. Noise in labels D. Data duplication Answer: B Explanation: Data leakage occurs when information from outside the training set improperly influences model training, leading to overly optimistic results. Question: 2 0 Which technique reduces dimensionality while preserving variance?

Explanation: Spark uses lazy evaluation. Execution begins only when an action like collect() is called. Question: 23 What is the main disadvantage of decision trees? A. High bias B. High variance C. Hard to interpret D. Cannot handle categorical data Answer: B Explanation: Decision trees are prone to overfitting, leading to high variance. Question: 24 Which ensemble method reduces variance? A. Boosting B. Bagging C. Stacking D. Regularization Answer: B Explanation: Bagging (e.g., Random Forest) averages multiple models to reduce variance. Question: 25 Which Databricks feature supports time travel?

A. MLflow B. Spark SQL C. Delta Lake D. AutoML Answer: C Explanation: Delta Lake allows querying previous versions of data using time travel. Question: 26 What is the purpose of feature scaling? A. Improve interpretability B. Reduce overfitting C. Normalize feature ranges D. Remove noise Answer: C Explanation: Feature scaling ensures features contribute equally to distance-based algorithms. Question: 27 Which algorithm uses entropy or Gini impurity? A. KNN B. Decision Tree C. Linear Regression D. Naive Bayes Answer: B Explanation: Decision trees use impurity measures like entropy or Gini to split nodes.

Answer: C Explanation: Log loss (binary cross-entropy) penalizes confident incorrect predictions. Question: 31 What does hyperparameter tuning optimize? A. Model weights B. Input data C. Model configuration settings D. Training labels Answer: C Explanation: Hyperparameters control model behavior and must be tuned separately from model weights. Question: 32 Which Spark component manages cluster resources? A. Driver B. Executor C. Cluster Manager D. Task Scheduler Answer: C Explanation: The cluster manager (e.g., YARN, Kubernetes) allocates resources to Spark applications. Question: 33

What does precision measure? A. Correct positive predictions over all predictions B. Correct positive predictions over predicted positives C. Correct predictions over total samples D. False positives rate Answer: B Explanation: Precision measures how many predicted positives are actually correct. Question: 34 Which algorithm assumes feature independence? A. Logistic Regression B. Naive Bayes C. Random Forest D. SVM Answer: B Explanation: Naive Bayes assumes conditional independence between features. Question: 35 What is the benefit of early stopping? A. Reduces training data B. Improves feature selection C. Prevents overfitting D. Increases model complexity Answer: C

A. Linear Regression B. SVM with RBF kernel C. Logistic Regression D. PCA Answer: B Explanation: The RBF kernel allows SVMs to model complex nonlinear decision boundaries. Question: 39 What is concept drift? A. Change in feature scaling B. Change in data distribution over time C. Missing data D. Overfitting Answer: B Explanation: Concept drift occurs when the underlying data distribution changes, degrading model performance. Question: 40 Which technique improves model robustness? A. Increasing learning rate B. Bagging C. Removing regularization D. Reducing data Answer: B Explanation: Bagging improves robustness by averaging predictions across multiple models.

Question: 41 What does Spark SQL enable? A. Streaming only B. Graph processing C. SQL queries on structured data D. Model deployment Answer: C Explanation: Spark SQL allows querying structured data using SQL syntax. Question: 42 Which metric evaluates ranking quality? A. Accuracy B. MAE C. AUC D. RMSE Answer: C Explanation: AUC evaluates how well a model ranks positive instances above negative ones. Question: 43 Which model handles multicollinearity best? A. Linear Regression B. Ridge Regression C. Lasso Regression D. KNN

A. Error from variance B. Error from overly complex models C. Error from overly simple models D. Random noise Answer: C Explanation: High bias occurs when a model is too simple to capture underlying patterns. Question: 47 Which algorithm supports incremental learning? A. Batch Gradient Descent B. SGD C. K-Means D. PCA Answer: B Explanation: Stochastic Gradient Descent updates model weights incrementally. Question: 48 What is the benefit of feature hashing? A. Improves interpretability B. Reduces memory usage C. Eliminates noise D. Improves accuracy Answer: B Explanation: Feature hashing reduces memory by mapping features to fixed-size vectors.

Question: 49 Which algorithm is distance-based? A. Naive Bayes B. Decision Tree C. KNN D. Logistic Regression Answer: C Explanation: KNN classifies based on distances between data points. Question: 50 Which Databricks tool helps manage model versions? A. Spark B. Delta Lake C. MLflow Model Registry D. AutoML Answer: C Explanation: MLflow Model Registry manages model versions and lifecycle stages. Question: 51 What does RMSE emphasize compared to MAE? A. Small errors B. Bias C. Large errors D. Model interpretability