Docsity

[CDSD] Certified Data Science Developer CDSD Certification Exam Guide, Exams of Technology

Toggle sidebar
bg1
[CDSD] Certified Data Science Developer CDSD
Certification Exam Guide
**Question 1. Which phase of the CRISP‑DM process focuses on understanding business
objectives and translating them into a data‑science problem?**
A) Data Understanding
B) Business Understanding
C) Modeling
D) Deployment
Answer: B
Explanation: The Business Understanding phase defines the project’s objectives and
requirements from a business perspective before any data work begins.
**Question 2. In the context of the data‑science ecosystem, which term best describes the
practice of extracting actionable insights from large volumes of structured and unstructured
data?**
A) Business Analytics
B) Big Data
C) Data Engineering
D) Data Science
Answer: D
Explanation: Data Science encompasses the entire workflow of collecting, cleaning, analyzing,
and interpreting data to derive insights.
**Question 3. Which tool is most commonly used to create isolated Python environments that
prevent dependency conflicts?**
A) pip
B) conda
C) virtualenv
D) Docker
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
pf36
pf37
pf38
pf39
pf3a
pf3b
pf3c
pf3d
pf3e
pf3f
pf40
pf41
pf42
pf43
pf44
pf45
pf46
pf47
pf48
pf49
pf4a
pf4b
pf4c
pf4d
pf4e
pf4f
pf50
pf51
pf52
pf53
pf54
pf55
pf56
pf57
pf58
pf59
pf5a
pf5b
pf5c
pf5d
pf5e

Partial preview of the text

Download [CDSD] Certified Data Science Developer CDSD Certification Exam Guide and more Exams Technology in PDF only on Docsity!

Certification Exam Guide

Question 1. Which phase of the CRISP‑DM process focuses on understanding business objectives and translating them into a data‑science problem? A) Data Understanding B) Business Understanding C) Modeling D) Deployment Answer: B Explanation: The Business Understanding phase defines the project’s objectives and requirements from a business perspective before any data work begins. Question 2. In the context of the data‑science ecosystem, which term best describes the practice of extracting actionable insights from large volumes of structured and unstructured data? A) Business Analytics B) Big Data C) Data Engineering D) Data Science Answer: D Explanation: Data Science encompasses the entire workflow of collecting, cleaning, analyzing, and interpreting data to derive insights. Question 3. Which tool is most commonly used to create isolated Python environments that prevent dependency conflicts? A) pip B) conda C) virtualenv D) Docker

Certification Exam Guide

Answer: C Explanation: virtualenv creates isolated Python environments, ensuring that each project’s dependencies do not interfere with others. Question 4. When using Git, which command creates a new branch called ā€œfeature‑xā€ based on the current HEAD? A) git branch feature‑x B) git checkout - b feature‑x C) git merge feature‑x D) git pull feature‑x Answer: B Explanation: git checkout - b both creates and switches to the new branch. Question 5. Which of the following data structures in Python provides O(1) average‑time complexity for look‑ups by key? A) List B) Tuple C) Set D) Dictionary Answer: D Explanation: Dictionaries are hash tables, offering constant‑time average look‑ups for keys. Question 6. In Python OOP, which special method is invoked when an object is called as a function? A) init B) call

Certification Exam Guide

B) df.select(age > 30) C) df.loc[df[ā€˜age’] > 30] D) df.where(df.age > 30) Answer: C Explanation: df.loc[condition] selects rows that satisfy the boolean condition. Question 10. How can you read a JSON file directly into a Pandas DataFrame? A) pd.read_json('file.json') B) pd.read_csv('file.json') C) pd.DataFrame.from_json('file.json') D) json.load('file.json') Answer: A Explanation: pd.read_json parses a JSON file and returns a DataFrame. Question 11. Which SQL clause is used to retrieve only unique rows from a table? A) DISTINCT B) UNIQUE C) GROUP BY D) HAVING Answer: A Explanation: The DISTINCT keyword eliminates duplicate rows in the result set. Question 12. In MongoDB, which command inserts a document into the collection ā€œusersā€? A) db.users.insertOne({}) B) db.users.add({})

Certification Exam Guide

C) db.users.save({}) D) db.users.create({}) Answer: A Explanation: insertOne adds a single document to a collection in MongoDB. Question 13. Which measure of central tendency is most robust to extreme outliers? A) Mean B) Median C) Mode D) Geometric mean Answer: B Explanation: The median depends only on the order of data, not on the magnitude of extreme values. Question 14. If a dataset’s variance is 0, what can be said about its standard deviation? A) It is undefined B) It equals 1 C) It equals 0 D) It equals the mean Answer: C Explanation: Standard deviation is the square root of variance; if variance = 0, SD = 0. Question 15. Which probability distribution models the number of successes in a fixed number of independent Bernoulli trials? A) Normal distribution B) Poisson distribution

Certification Exam Guide

A) It will decrease B) It will stay the same C) It will increase D) It will become zero Answer: C Explanation: Higher confidence requires a larger critical value, widening the interval. Question 19. Pearson’s correlation coefficient measures which type of relationship between two continuous variables? A) Causal B) Linear association C) Rank‑based association D) Non‑linear association Answer: B Explanation: Pearson’s r quantifies the strength and direction of a linear relationship. Question 20. Multicollinearity in a regression model primarily inflates which statistic? A) R‑squared B) Adjusted R‑squared C) Standard errors of coefficients D) F‑statistic Answer: C Explanation: High correlation among predictors increases the variance of coefficient estimates, leading to larger standard errors. Question 21. Which Pandas function is used to detect missing values in a DataFrame?

Certification Exam Guide

A) df.isnull() B) df.isna() C) Both A and B D) df.ismissing() Answer: C Explanation: isnull() and isna() are aliases that return a boolean mask indicating missing entries. Question 22. When handling missing numerical data, which imputation technique preserves the original distribution the best? A) Mean imputation B) Median imputation C) K‑Nearest Neighbors imputation D) Constant value imputation Answer: C Explanation: KNN uses similarity to replace missing values, often maintaining the underlying distribution more accurately than simple mean/median. Question 23. Which method is most appropriate for detecting outliers in a normally distributed variable? A) Z‑score > 3 or < – 3 B) IQR method C) DBSCAN clustering D) Mahalanobis distance Answer: A Explanation: For normal data, values beyond three standard deviations are considered extreme outliers.

Certification Exam Guide

Question 27. Which plot is best suited to examine the relationship between two continuous variables? A) Histogram B) Bar chart C) Scatter plot D) Pie chart Answer: C Explanation: Scatter plots show paired observations, revealing patterns, trends, or clusters. Question 28. Which metric is appropriate for evaluating a regression model’s predictive accuracy? A) Accuracy B) F1‑score C) Mean Absolute Error (MAE) D) ROC‑AUC Answer: C Explanation: MAE measures average absolute prediction error, suitable for regression tasks. Question 29. In simple linear regression, the coefficient of determination (R²) represents what? A) Proportion of variance in the dependent variable explained by the model B) Correlation between residuals C) Slope of the regression line D) Standard error of estimate Answer: A

Certification Exam Guide

Explanation: R² quantifies the fraction of total variability captured by the regression. Question 30. Which regularization technique adds a penalty equal to the absolute value of coefficients? A) Ridge (L2) B) Lasso (L1) C) Elastic Net D) Dropout Answer: B Explanation: Lasso uses an L1 penalty, encouraging sparsity by shrinking some coefficients to zero. Question 31. Logistic regression outputs probabilities using which function? A) Linear function B) Softmax C) Sigmoid (logistic) function D) ReLU Answer: C Explanation: The sigmoid maps any real‑valued input to the (0,1) interval, suitable for binary classification probabilities. Question 32. In K‑Nearest Neighbors classification, which distance metric is most commonly used for continuous features? A) Manhattan distance B) Euclidean distance C) Hamming distance

Certification Exam Guide

B) max_depth C) min_samples_split D) learning_rate Answer: B Explanation: max_depth limits how deep the tree can grow, preventing over‑fitting. Question 36. Random Forest reduces over‑fitting compared to a single decision tree primarily by: A) Using only a subset of features for each split B) Using bagging (bootstrap aggregation) of multiple trees C) Pruning each tree aggressively D) Applying gradient descent Answer: B Explanation: Bagging averages predictions over many decorrelated trees, improving generalization. Question 37. Gradient Boosting builds models sequentially. What is the main purpose of each new tree? A) To increase model complexity arbitrarily B) To correct errors (residuals) of the previous ensemble C) To randomize feature selection D) To replace the previous model entirely Answer: B Explanation: Each tree is fitted to the residuals (gradients) of the loss function, gradually improving performance.

Certification Exam Guide

Question 38. Which algorithm is most appropriate for discovering association rules in market‑basket data? A) K‑Means B) Apriori C) DBSCAN D) Linear Regression Answer: B Explanation: Apriori efficiently enumerates frequent itemsets and derives association rules. Question 39. In K‑Means clustering, the value of k determines: A) Number of iterations B) Number of clusters to form C) Dimensionality of data D) Distance metric used Answer: B Explanation: k is the pre‑specified number of centroids (clusters) the algorithm will generate. Question 40. Hierarchical clustering differs from K‑Means because it does not require: A) A distance metric B) Pre‑specifying the number of clusters C) Computing centroids D) Normalizing data Answer: B Explanation: Hierarchical methods create a dendrogram, allowing the analyst to choose the number of clusters post‑hoc.

Certification Exam Guide

Explanation: F1‑score balances precision and recall, providing a single measure that accounts for class imbalance. Question 44. Cross‑validation helps to estimate model performance by: A) Using the entire dataset for training only B) Splitting data once into train and test sets C) Repeatedly training on subsets and validating on held‑out folds D) Performing hyperparameter tuning on the test set Answer: C Explanation: K‑fold cross‑validation rotates through different train/validation splits, giving a robust performance estimate. Question 45. Which technique can be used to prevent over‑fitting in neural networks but is NOT a regularization method for linear models? A) L2 regularization B) Dropout C) Early stopping D) Elastic Net Answer: B Explanation: Dropout randomly deactivates neurons during training, a method specific to deep learning architectures. Question 46. In time‑series forecasting, which model assumes that future values are a linear combination of past observations? A) ARIMA B) Prophet C) LSTM

Certification Exam Guide

D) Exponential Smoothing Answer: A Explanation: ARIMA (AutoRegressive Integrated Moving Average) models rely on past values and errors to predict future points. Question 47. Which of the following is a common reason to use a validation set separate from the test set? A) To train the final model B) To tune hyperparameters without biasing test performance C) To compute model accuracy D) To increase training data size Answer: B Explanation: The validation set guides model selection; the test set remains untouched for final unbiased evaluation. Question 48. When deploying a model as a REST API, which Python library is frequently used to create the service? A) NumPy B) Flask C) Pandas D) Scikit‑learn Answer: B Explanation: Flask provides lightweight web‑framework capabilities to expose model predictions via HTTP endpoints. Question 49. Which containerization technology enables consistent execution of data‑science workloads across environments?

Certification Exam Guide

Question 52. In Python, which decorator is used to cache the results of a function call, improving performance for expensive computations? A) @staticmethod B) @lru_cache C) @property D) @abstractmethod Answer: B Explanation: functools.lru_cache memoizes function outputs based on input arguments. Question 53. Which of the following best describes ā€œdata leakageā€ in machine learning? A) Missing values in the dataset B) Using information from the test set during training C) Over‑parameterized models D) Storing data in an unsecured location Answer: B Explanation: Data leakage contaminates training with future information, leading to overly optimistic performance estimates. Question 54. When performing feature selection, which method evaluates the contribution of each feature by fitting a model and measuring performance drop when the feature is shuffled? A) Recursive Feature Elimination (RFE) B) Permutation Importance C) Mutual Information D) Chi‑square test

Certification Exam Guide

Answer: B Explanation: Permutation importance assesses how shuffling a feature affects model accuracy, indicating its importance. Question 55. In a production pipeline, which stage should include data validation checks such as schema conformity and null‑value handling? A) Model training B) Data ingestion C) Model inference D) Hyperparameter tuning Answer: B Explanation: Validating data at ingestion ensures downstream stages receive clean, well‑structured inputs. Question 56. Which Python library provides tools for building and executing data‑science pipelines with lazy evaluation? A) Dask B) Luigi C) Airflow D) Prefect Answer: B Explanation: Luigi enables definition of tasks and dependencies, executing pipelines only when needed. Question 57. Which statistical test is appropriate for comparing the means of two independent groups with normally distributed data and equal variances? A) Paired t‑test