Docsity

Certified Machine Learning Associate Practice Exam, Exams of Technology

Toggle sidebar
bg1
Certified Machine Learning Associate
Practice Exam
**Question 1.** Which file format is column‑oriented and provides efficient compression for
large analytical workloads?
A) CSV
B) JSON
C) Parquet
D) XML
Answer: C
Explanation: Parquet stores data column‑wise, enabling better compression and faster query
performance for analytics compared with row‑oriented formats like CSV.
**Question 2.** When ingesting data from an Amazon Kinesis stream, which component is
responsible for checkpointing to ensure exactly‑once processing?
A) Producer
B) Consumer
C) Shard iterator
D) Enhanced fan‑out
Answer: B
Explanation: The consumer tracks its position in the stream via checkpoints, allowing it to
resume without re‑processing records.
**Question 3.** Which labeling technique is most appropriate for creating a high‑quality image
classification dataset when expert knowledge is required?
A) Weak supervision
B) Crowdsourcing without validation
C) Automated labeling using a pre‑trained model
D) Human‑in‑the‑loop annotation with domain experts
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 Certified Machine Learning Associate Practice Exam and more Exams Technology in PDF only on Docsity!

Practice Exam

Question 1. Which file format is column‑oriented and provides efficient compression for large analytical workloads? A) CSV B) JSON C) Parquet D) XML Answer: C Explanation: Parquet stores data column‑wise, enabling better compression and faster query performance for analytics compared with row‑oriented formats like CSV. Question 2. When ingesting data from an Amazon Kinesis stream, which component is responsible for checkpointing to ensure exactly‑once processing? A) Producer B) Consumer C) Shard iterator D) Enhanced fan‑out Answer: B Explanation: The consumer tracks its position in the stream via checkpoints, allowing it to resume without re‑processing records. Question 3. Which labeling technique is most appropriate for creating a high‑quality image classification dataset when expert knowledge is required? A) Weak supervision B) Crowdsourcing without validation C) Automated labeling using a pre‑trained model D) Human‑in‑the‑loop annotation with domain experts

Practice Exam

Answer: D Explanation: Expert annotation ensures accurate labels for complex image tasks, reducing noise that weak or automated methods may introduce. Question 4. In a dataset with 5 % missing values in a numeric column, which imputation method is generally preferred to preserve the distribution? A) Mean imputation B) Median imputation C) Mode imputation D) Random sampling from observed values Answer: B Explanation: Median is robust to outliers and better retains the central tendency of skewed distributions than the mean. Question 5. Which statistical test can be used to detect outliers in a normally distributed numeric feature? A) Chi‑square test B) Grubbs’ test C) Kolmogorov‑Smirnov test D) Mann‑Whitney U test Answer: B Explanation: Grubbs’ test specifically tests whether the most extreme value in a sample is an outlier assuming normality. Question 6. Which of the following operations would you perform to eliminate duplicate rows based on all columns in a pandas DataFrame? A) df.dropna()

Practice Exam

Question 9. What is the main advantage of Min‑Max scaling over Z‑score standardization for tree‑based models? A) Preserves outliers B) Guarantees zero mean C) Keeps values within a bounded range D) Improves model interpretability Answer: C Explanation: Tree models are insensitive to feature scaling, but Min‑Max scaling bounds values (e.g., 0‑1), which can be helpful for downstream pipelines that expect bounded inputs. Question 10. Which component of a Feature Store ensures that the same transformation logic is applied during both training and inference? A) Feature Registry B) Feature Materialization C) Feature Serving Layer D) Feature Monitoring Answer: C Explanation: The serving layer retrieves pre‑computed features using the exact same transformation pipeline as during training, guaranteeing consistency. Question 11. In supervised learning, which problem type does Logistic Regression address? A) Regression of continuous values B) Binary classification C) Multi‑class clustering D) Dimensionality reduction Answer: B

Practice Exam

Explanation: Logistic Regression predicts the probability of a binary outcome using the logistic function. Question 12. Which learning paradigm is best suited for discovering hidden groupings in unlabeled customer data? A) Supervised learning B) Reinforcement learning C) Unsupervised learning D) Semi‑supervised learning Answer: C Explanation: Unsupervised learning algorithms such as clustering can identify natural groupings without labeled targets. Question 13. Which step of the ML project lifecycle directly follows data collection? A) Model deployment B) Problem definition C) Data preprocessing D) Model monitoring Answer: C Explanation: After gathering data, it must be cleaned and transformed before modeling. Question 14. When would you prefer using a Convolutional Neural Network (CNN) over a traditional decision tree? A) Tabular data with categorical features B) Time‑series forecasting C) Image classification

Practice Exam

B) Polynomial kernel C) Sigmoid kernel D) All of the above Answer: D Explanation: Any non‑linear kernel (polynomial, RBF, sigmoid) maps data to a higher‑dimensional space where a linear separator may exist. Question 18. Which clustering algorithm can produce clusters of arbitrary shape and does not require specifying the number of clusters beforehand? A) K‑means B) Hierarchical Agglomerative Clustering C) DBSCAN D) Gaussian Mixture Models Answer: C Explanation: DBSCAN groups points based on density, allowing irregular shapes and automatically determining the number of clusters. Question 19. Principal Component Analysis (PCA) is primarily used for: A) Feature scaling B) Dimensionality reduction C) Handling missing values D) Encoding categorical variables Answer: B Explanation: PCA projects data onto orthogonal components that capture the most variance, reducing dimensionality.

Practice Exam

Question 20. Which deep‑learning architecture is designed to handle sequential data such as text or time series? A) Convolutional Neural Network (CNN) B) Recurrent Neural Network (RNN) C) Generative Adversarial Network (GAN) D) Autoencoder Answer: B Explanation: RNNs maintain hidden states that capture temporal dependencies in sequences. Question 21. When training a model on a Spark cluster, which of the following is a primary benefit of using Spark‑ML’s Pipeline API? A) Automatic hyperparameter tuning B) Distributed data storage only C) Simplified chaining of transformations and estimators across nodes D) Real‑time inference serving Answer: C Explanation: The Pipeline API lets you define a sequence of distributed transformations and model fitting steps that execute across the cluster. Question 22. Which technique helps mitigate overfitting by randomly dropping a proportion of neurons during training? A) L1 regularization B) Dropout C) Early stopping D) Batch normalization Answer: B

Practice Exam

Answer: B Explanation: AUC summarizes the trade‑off between true‑positive and false‑positive rates across thresholds. Question 26. Which regression metric is scale‑independent and indicates the proportion of variance explained by the model? A) MSE B) MAE C) R‑squared D) RMSE Answer: C Explanation: R‑squared ranges from 0 to 1 and shows how much of the variance in the target is captured. Question 27. Which method provides a global view of feature importance for any tree‑based model? A) SHAP values B) LIME C) Gini importance (Mean Decrease Impurity) D) Permutation importance Answer: C Explanation: Gini importance aggregates impurity reductions across all trees, yielding a model‑wide importance ranking. Question 28. When examining model predictions for potential bias, which technique helps reveal disparate impact across protected groups? A) Confusion matrix per group

Practice Exam

B) Learning curve analysis C) Hyperparameter sensitivity D) Cross‑validation score variance Answer: A Explanation: Computing confusion matrices for each protected group highlights differences in false‑positive/negative rates, indicating bias. Question 29. In a model registry, what does the "Staging" stage typically represent? A) Model is archived and never used again B) Model is in production serving live traffic C) Model is ready for final validation before production D) Model is still under development and not versioned Answer: C Explanation: Staging holds a vetted model that is being tested in a production‑like environment before full rollout. Question 30. Which tool is commonly used to track experiment parameters, metrics, and artifacts in a reproducible way? A) Docker B) Terraform C) MLflow Tracking D) Jenkins Answer: C Explanation: MLflow Tracking logs runs, parameters, metrics, and artifacts, enabling reproducibility.

Practice Exam

Explanation: The chi‑square test evaluates whether the proportion of conversions differs between two independent groups. Question 34. Canary deployment reduces risk by: A) Deploying the new model to 100 % of traffic immediately B) Running the new model in parallel on a small traffic slice before full rollout C) Automatically rolling back on any error D) Deploying only during off‑peak hours Answer: B Explanation: A canary releases the new version to a small subset, allowing monitoring before scaling. Question 35. Which AWS service provides automatic scaling of compute resources for an endpoint hosting a machine‑learning model? A) AWS Lambda B) Amazon SageMaker Endpoint Autoscaling C) Amazon EMR D) AWS Glue Answer: B Explanation: SageMaker Endpoint Autoscaling adjusts instance count based on traffic metrics. Question 36. Continuous Integration (CI) for ML pipelines most commonly includes which of the following steps? A) Manual model training only B) Automated data validation, code linting, and unit tests for preprocessing functions C) Only deployment of already trained models

Practice Exam

D) Monitoring production latency Answer: B Explanation: CI ensures that code changes, including data preprocessing scripts, pass automated checks before integration. Question 37. Infrastructure as Code (IaC) tools such as Terraform help ML teams by: A) Writing model training scripts B) Managing cloud resources declaratively, enabling reproducible environments C) Visualizing model performance dashboards D) Encrypting training data at rest Answer: B Explanation: IaC defines infrastructure in code, allowing version control and automated provisioning. Question 38. Which of the following is a key indicator of data drift in a production model? A) Constant CPU utilization B.0% error rate on training data C) Significant change in feature distribution compared to training baseline D) Model file size increase Answer: C Explanation: Data drift occurs when incoming data’s statistical properties diverge from the training data. Question 39. Model drift can be detected by monitoring which metric over time? A) Number of active users B) Training loss

Practice Exam

B. Who can read/write datasets, models, and deployment resources C. Number of training epochs D. Size of feature vectors Answer: B Explanation: RBAC assigns permissions to roles, controlling access to sensitive assets. Question 43. Which compliance framework specifically addresses the handling of personal health information in machine‑learning pipelines? A. PCI‑DSS B. HIPAA C. GDPR D. ISO 27001 Answer: B Explanation: HIPAA governs protected health information, requiring safeguards for any ML workflow that processes such data. Question 44. In a feature store, “offline feature materialization” refers to: A. Real‑time feature serving via API B. Storing pre‑computed features in a data warehouse for batch training C. Generating features on‑the‑fly during inference D. Deleting old feature versions Answer: B Explanation: Offline materialization prepares features in bulk for model training, typically stored in a warehouse.

Practice Exam

Question 45. Which loss function is appropriate for multi‑class classification using a softmax output layer? A. Mean Squared Error B. Binary Cross‑Entropy C. Categorical Cross‑Entropy D. Hinge Loss Answer: C Explanation: Categorical cross‑entropy measures the distance between the true one‑hot vector and the softmax probabilities. Question 46. When performing hyperparameter tuning with Random Search, why might it be more efficient than Grid Search? A. It exhaustively evaluates all combinations B. It explores the space uniformly but can stop early, covering more diverse regions with fewer trials C. It only searches integer values D. It guarantees finding the global optimum Answer: B Explanation: Random Search samples hyperparameter combinations randomly, often finding good settings with fewer evaluations than exhaustive Grid Search. Question 47. Which Bayesian optimization component models the relationship between hyperparameters and performance? A. Acquisition function B. Surrogate model (e.g., Gaussian Process) C. Grid iterator D. Early stopping rule

Practice Exam

B. Overfitting C. Data leakage D. Concept drift Answer: B Explanation: Overfitting occurs when the model captures noise specific to the training set, harming generalization. Question 51. Which method can be used to reduce the dimensionality of sparse high‑cardinality categorical data before feeding it into a linear model? A. One‑Hot Encoding B. Target Encoding C. Frequency Encoding D. Embedding layer Answer: D Explanation: Embedding layers learn dense vector representations for categories, handling high cardinality efficiently. Question 52. In time‑series forecasting, which validation technique respects temporal ordering? A. Random train‑test split B. K‑Fold cross‑validation C. Time‑Series Split (forward chaining) D. Leave‑One‑Out cross‑validation Answer: C Explanation: Time‑Series Split creates training sets that precede validation sets chronologically, preventing leakage.

Practice Exam

Question 53. Which activation function suffers from vanishing gradients for large positive inputs? A. ReLU B. Sigmoid C. Leaky ReLU D. Softmax Answer: B Explanation: The sigmoid saturates at 1, causing gradients near 0 for large inputs. Question 54. Which metric is most suitable for measuring similarity between two probability distributions output by a generative model? A. Euclidean distance B. Cosine similarity C. Kullback‑Leibler (KL) divergence D. Jaccard index Answer: C Explanation: KL divergence quantifies how one probability distribution diverges from another. Question 55. Which of the following is a common cause of data leakage during model training? A. Using only training data for feature scaling B. Including future information (e.g., target variable) as a feature C. Splitting data randomly D. Normalizing numeric columns Answer: B