Docsity

Certified Data Science Developer Certification Exam Guide, Exams of Technology

Toggle sidebar
bg1
Certified Data Science Developer Certification
Exam Guide
**Question 1. Which of the following best describes the purpose of an ETL pipeline?**
A) To visualize data in dashboards
B) To extract, transform, and load data into a target system
C) To train machine‑learning models directly on raw data
D) To monitor model performance in production
Answer: B
Explanation: ETL stands for Extract, Transform, Load; it moves data from source systems, cleans
or reshapes it, and loads it into a destination such as a data warehouse.
**Question 2. In Apache Spark, which abstraction represents an immutable distributed
collection of objects that can be processed in parallel?**
A) DataFrame
B) RDD
C) Hive Table
D) SQL View
Answer: B
Explanation: Resilient Distributed Datasets (RDDs) are the low‑level immutable collections Spark
uses for parallel operations.
**Question 3. Which SQL clause is used to retrieve only unique rows from a result set?**
A) DISTINCT
B) UNIQUE
C) GROUP BY
D) HAVING
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
pf5f
pf60
pf61
pf62
pf63
pf64

Partial preview of the text

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

Exam Guide

Question 1. Which of the following best describes the purpose of an ETL pipeline? A) To visualize data in dashboards B) To extract, transform, and load data into a target system C) To train machine‑learning models directly on raw data D) To monitor model performance in production Answer: B Explanation: ETL stands for Extract, Transform, Load; it moves data from source systems, cleans or reshapes it, and loads it into a destination such as a data warehouse. Question 2. In Apache Spark, which abstraction represents an immutable distributed collection of objects that can be processed in parallel? A) DataFrame B) RDD C) Hive Table D) SQL View Answer: B Explanation: Resilient Distributed Datasets (RDDs) are the low‑level immutable collections Spark uses for parallel operations. Question 3. Which SQL clause is used to retrieve only unique rows from a result set? A) DISTINCT B) UNIQUE C) GROUP BY D) HAVING

Exam Guide

Answer: A Explanation: The DISTINCT keyword eliminates duplicate rows in the query output. Question 4. Which NoSQL database model is most suitable for representing social‑network relationships? A) Document store B) Key‑value store C) Column family store D) Graph database Answer: D Explanation: Graph databases (e.g., Neo4j) excel at storing and traversing nodes and edges, which model relationships naturally. Question 5. When handling missing values, which technique preserves the original distribution of a numeric feature? A) Deleting rows with missing values B) Mean imputation C) Median imputation D) Multiple imputation using predictive models Answer: D Explanation: Multiple imputation models the missingness based on other variables, better preserving the underlying distribution than simple mean/median substitution.

Exam Guide

Answer: B Explanation: Gradient descent moves opposite to the gradient (steepest ascent) to minimize the loss. Question 9. Bayes’ theorem is most useful for which type of inference? A) Frequentist confidence intervals B) Updating prior beliefs with new evidence C) Calculating p‑values D) Determining sample size Answer: B Explanation: Bayes’ theorem combines prior probability with likelihood to produce a posterior probability. Question 10. Which hypothesis test is appropriate for comparing the means of two independent normally distributed samples with unknown but equal variances? A) Paired t‑test B) One‑sample t‑test C) Two‑sample t‑test (pooled) D) Chi‑square test Answer: C Explanation: The pooled two‑sample t‑test assumes equal variances and independent samples.

Exam Guide

Question 11. In exploratory data analysis, a histogram that is heavily skewed to the right indicates: A) A symmetric distribution B) Positive skewness (long tail on the right) C) Negative skewness (long tail on the left) D) Uniform distribution Answer: B Explanation: Right‑skewed histograms have a long tail on the high‑value side. Question 12. Which metric is most appropriate for evaluating a binary classifier on an imbalanced dataset where the minority class is the focus? A) Accuracy B) Precision C) Recall (Sensitivity) D) Specificity Answer: C Explanation: Recall measures the proportion of actual positives captured, which is critical when the positive class is rare. Question 13. In linear regression, multicollinearity among predictors primarily inflates: A) The intercept term B) The residual sum of squares C) Standard errors of coefficients D) R‑squared

Exam Guide

Question 16. In K‑Nearest Neighbors classification, increasing the value of K generally leads to: A) Higher variance and lower bias B) Higher bias and lower variance C) No change in bias‑variance trade‑off D) Overfitting Answer: B Explanation: Larger K smooths the decision surface (higher bias) and reduces sensitivity to noise (lower variance). Question 17. Which of the following statements about Naïve Bayes classifiers is true? A) They require features to be continuous only B) They assume conditional independence between features given the class C) They cannot handle categorical data D) They always outperform logistic regression Answer: B Explanation: Naïve Bayes simplifies computation by assuming feature independence conditioned on the class label. Question 18. Which clustering algorithm can automatically determine the number of clusters based on density? A) K‑Means B) Hierarchical Agglomerative Clustering C) DBSCAN

Exam Guide

D) Gaussian Mixture Models Answer: C Explanation: DBSCAN groups points based on density and marks outliers, without needing a predefined cluster count. Question 19. Principal Component Analysis (PCA) is primarily used for: A) Supervised classification B) Dimensionality reduction while preserving variance C) Generating synthetic data D) Handling missing values Answer: B Explanation: PCA transforms correlated variables into orthogonal components that capture the maximum variance. Question 20. The t‑SNE algorithm is best suited for: A) Reducing dimensionality for visualization of high‑dimensional data B) Training deep neural networks C) Performing time‑series forecasting D) Estimating probability densities Answer: A Explanation: t‑SNE maps high‑dimensional data to 2‑ or 3‑dimensional space, preserving local structure for visualization.

Exam Guide

Answer: C Explanation: ROC‑AUC measures the ability to rank positive instances higher than negatives irrespective of class distribution. Question 24. In the bias‑variance trade‑off, a model that is too simple typically suffers from: A) High bias, low variance B) Low bias, high variance C) Both high bias and high variance D) Neither bias nor variance Answer: A Explanation: Under‑fitting models cannot capture underlying patterns, leading to systematic error (high bias) but stable predictions (low variance). Question 25. Which activation function is most commonly used in hidden layers of deep neural networks because it mitigates the vanishing gradient problem? A) Sigmoid B) Tanh C) ReLU D. Linear Answer: C Explanation: ReLU (Rectified Linear Unit) outputs zero for negative inputs and a linear positive slope, preserving gradients for deep networks.

Exam Guide

Question 26. Convolutional Neural Networks (CNNs) are particularly effective for: A) Time‑series forecasting B) Natural language generation C) Image and spatial data processing D. Tabular data regression Answer: C Explanation: CNNs exploit local connectivity and weight sharing, making them ideal for extracting spatial hierarchies in images. Question 27. In recurrent neural networks, the LSTM cell introduces which mechanism to combat long‑term dependency loss? A) Dropout layer B) Gating (input, forget, output gates) C) Batch normalization D. Max‑pooling Answer: B Explanation: LSTM gates regulate information flow, preserving gradients over long sequences. Question 28. Which component of the Transformer architecture enables parallel processing of sequence tokens? A) Recurrent connections B) Convolutional filters C) Self‑attention mechanism D. Embedding lookup

Exam Guide

Question 31. In word embeddings such as Word2Vec, the relationship “king – man + woman ≈ queen” demonstrates: A) Overfitting B) Semantic linearity in the embedding space C) Random noise D. Dimensionality reduction Answer: B Explanation: Vector arithmetic captures analogical relationships due to linear structures learned during training. Question 32. Which preprocessing step is essential before feeding raw images into a CNN? A) Removing stop words B) Normalizing pixel values (e.g., scaling to [0,1]) C. Encoding categorical labels with one‑hot vectors D. Applying PCA Answer: B Explanation: Normalizing pixel intensities stabilizes training and speeds convergence. Question 33. Docker containers differ from virtual machines primarily because: A) They emulate hardware B) They share the host OS kernel, leading to lighter weight C. They require a hypervisor D. They cannot run on cloud platforms

Exam Guide

Answer: B Explanation: Containers use OS‑level isolation, avoiding the overhead of full guest OS emulation. Question 34. In Kubernetes, a “Deployment” object is used to: A) Store raw data files B) Define and manage replica sets of pods for a stateless application C. Perform batch ETL jobs D. Monitor model drift Answer: B Explanation: Deployments declaratively manage the desired state of replicated pods, handling scaling and rollouts. Question 35. Which Python web framework is specifically designed for building high‑performance asynchronous APIs, making it a popular choice for model serving? A) Flask B) Django C) FastAPI D. Pyramid Answer: C Explanation: FastAPI leverages ASGI and Pydantic for fast, type‑checked asynchronous endpoints. Question 36. When version‑controlling large datasets, which tool integrates with Git to track data file changes efficiently?

Exam Guide

Answer: B Explanation: SageMaker offers notebooks, training jobs, hyperparameter tuning, and endpoint deployment. Question 39. Model drift is best detected by monitoring: A) CPU utilization of the serving instance B) Changes in input data distribution compared to training data C. Number of API calls D. Disk I/O Answer: B Explanation: Drift occurs when the statistical properties of live data diverge from the training set, degrading model performance. Question 40. Which metric would you monitor to detect latency issues in a real‑time prediction API? A) ROC‑AUC B) Mean Squared Error C) 95th‑percentile response time D. Model accuracy Answer: C Explanation: Percentile latency captures tail‑end response times, crucial for real‑time SLAs.

Exam Guide

Question 41. In a streaming data pipeline using Apache Kafka, what is the role of a “consumer group”? A) To produce messages to a topic B) To store data permanently on disk C) To enable parallel consumption while ensuring each message is processed by only one member of the group D. To encrypt messages Answer: C Explanation: Consumer groups allow load‑balanced, fault‑tolerant processing where each partition is read by a single consumer in the group. Question 42. Which of the following is a common technique for handling categorical variables with high cardinality? A) One‑hot encoding all categories B) Dropping the variable entirely C) Target encoding (mean encoding) D. Scaling with Min‑Max Answer: C Explanation: Target encoding replaces categories with the mean of the target variable, reducing dimensionality while preserving predictive power. Question 43. In time‑series cross‑validation, the “rolling forecast origin” approach ensures that: A) Future data leaks into training folds B) Each validation set is ahead in time of its corresponding training set

Exam Guide

Explanation: In high‑dimensional spaces, distances between points converge, reducing the effectiveness of nearest‑neighbor and clustering algorithms. Question 46. Which loss function is appropriate for binary classification when using a neural network with a sigmoid output? A) Mean Squared Error B) Hinge loss C) Binary Cross‑Entropy (Log Loss) D. Poisson loss Answer: C Explanation: Binary cross‑entropy measures the divergence between predicted probabilities and binary labels. Question 47. In the context of model interpretability, SHAP values provide: A) Global feature importance only B) Local explanations based on game‑theoretic Shapley values C. Model coefficients for linear models D. Confusion matrices Answer: B Explanation: SHAP attributes each prediction to feature contributions using Shapley concepts, offering both local and aggregated insights. Question 48. Which of the following best describes “early stopping” in model training? A) Halting training after a fixed number of epochs regardless of performance

Exam Guide

B) Stopping when validation loss stops improving for a predefined patience period C. Reducing learning rate to zero D. Pruning neurons after training Answer: B Explanation: Early stopping monitors validation metrics and terminates training to prevent overfitting when improvements plateau. Question 49. When deploying a model as a Docker container, which file defines the environment and dependencies needed at build time? A) requirements.txt B) Dockerfile C. docker-compose.yml D. .env Answer: B Explanation: The Dockerfile contains instructions for constructing the image, including base image, packages, and copy commands. Question 50. In a feature store, the “online” layer is primarily used for: A) Batch processing of historical data B) Real‑time feature retrieval during inference C. Data archival D. Model training Answer: B