Which of the following issues should a data scientist be most concerned about when generating a synthetic data set?
A.The data set consuming too many resources
B.The data set having insufficient features
C.The data set having insufficient row observations
D.The data set not being representative of the populationCorrect
Explanation
A synthetic data set is only useful if it reproduces the statistical properties of the real population it stands in for; if it is not representative, any model trained or validated on it will be biased and will not generalize. Resource use, feature count and row count are practical concerns that can be tuned, since synthetic generation can produce as many rows or features as needed. Representativeness is the core risk.
A data scientist is performing a linear regression and wants to construct a model that explains the most variation in the data. Which of the following should the data scientist maximize when evaluating the regression performance metrics?
A.Accuracy
B.R2Correct
C.p value
D.AUC
Explanation
R-squared (the coefficient of determination) measures the proportion of variance in the dependent variable explained by the regression model, so maximizing it means explaining the most variation. Accuracy and AUC are classification metrics, not regression metrics. A p-value measures statistical significance and should be small, not maximized.
A data scientist is building an inferential model with a single predictor variable. A scatter plot of the independent variable against the real-number dependent variable shows a strong relationship between them. The predictor variable is normally distributed with very few outliers. Which of the following algorithms is the best fit for this model, given the data scientist wants the model to be easily interpreted?
A.A logistic regression
B.An exponential regression
C.A linear regressionCorrect
D.A probit regression
Explanation
The dependent variable is a real number and the scatter plot shows a strong relationship with a single, normally distributed predictor with few outliers, which fits the assumptions of simple linear regression. Its slope coefficient is directly interpretable as the change in the outcome per unit change in the predictor. Logistic and probit regression model binary outcomes, and exponential regression adds a transformation that makes interpretation less direct without evidence of a nonlinear pattern.
A data scientist wants to evaluate the performance of various nonlinear models. Which of the following is best suited for this task?
A.AICCorrect
B.Chi-squared test
C.MCC
D.ANOVA
Explanation
The Akaike information criterion (AIC) compares models fitted by maximum likelihood, trading goodness of fit against the number of parameters, and it does not require the models to be linear or nested, so it suits comparing several nonlinear models. ANOVA-based comparison and the chi-squared test assume specific (often nested or linear) structures or test independence and goodness of fit rather than ranking competing models. MCC (Matthews correlation coefficient) is a single classification metric from a confusion matrix and only applies to classifiers, not to nonlinear models in general.
Which of the following is the layer that is responsible for the depth in deep learning?
A.Convolution
B.Dropout
C.Pooling
D.HiddenCorrect
Explanation
The depth of a deep neural network is the number of hidden layers between the input and output layers; stacking many hidden layers is what makes a network deep. Convolution and pooling are specific layer types used in convolutional networks, and dropout is a regularization technique, so none of them on its own defines depth.
Which of the following modeling tools is appropriate for solving a scheduling problem?
A.One-armed bandit
B.Constrained optimizationCorrect
C.Decision tree
D.Gradient descent
Explanation
Scheduling problems assign resources and time slots while respecting constraints such as availability, capacity and precedence, and then optimize an objective such as total time or cost, which is exactly what constrained optimization (for example linear or integer programming) does. A one-armed bandit addresses exploration versus exploitation, a decision tree is a predictive model, and gradient descent is an unconstrained optimization routine for fitting model parameters.
Which of the following environmental changes is most likely to resolve a memory constraint error when running a complex model using distributed computing?
A.Converting an on-premises deployment to a containerized deployment
B.Migrating to a cloud deployment
C.Moving model processing to an edge deployment
D.Adding nodes to a cluster deploymentCorrect
Explanation
In distributed computing, the workload and data are partitioned across the nodes of a cluster, so adding nodes increases the total memory available and directly relieves a memory constraint. Containerizing or moving to the cloud changes how or where the workload is hosted but does not by itself add memory. Edge deployments typically have fewer resources, making memory constraints worse.
A data analyst wants to save a newly analyzed data set to a local storage option. The data set must meet the following requirements:
- Be minimal in size
- Have the ability to be ingested quickly
- Have the associated schema, including data types, stored with it
Which of the following file types is the best to use?
A.JSON
B.ParquetCorrect
C.XML
D.CSV
Explanation
Parquet is a compressed, columnar binary format, so files are small and fast to read, and it stores the schema, including data types, in the file metadata. JSON and XML are verbose text formats that do not enforce data types, and CSV is compact text but carries no schema or data types at all.
Which of the following is a key difference between KNN and k-means machine-learning techniques?
A.KNN operates exclusively on continuous data, while k-means can work with both continuous and categorical data.
B.KNN performs better with longitudinal data sets, while k-means performs better with survey data sets.
C.KNN is used for finding centroids, while k-means is used for finding nearest neighbors.
D.KNN is used for classification, while k-means is used for clustering.Correct
Explanation
K-nearest neighbors is a supervised method that labels a new point by a majority vote of its k closest labeled training samples, so it is used for classification (or regression). K-means is unsupervised: it partitions unlabeled data into k clusters, each represented by a centroid. Option C reverses the two techniques, and neither algorithm is restricted to the data types or data set kinds named in A and B.
A data scientist needs to:
- Build a predictive model that gives the likelihood that a car will get a flat tire.
- Provide a data set of cars that had flat tires and cars that did not.
All the cars in the data set had sensors taking weekly measurements of tire pressure similar to the sensors that will be installed in the cars consumers drive.
Which of the following is the most immediate data concern?
A.Granularity misalignmentCorrect
B.Multivariate outliers
C.Insufficient domain expertise
D.Lagged observations
Explanation
A flat tire is an event that happens at a specific moment, while the tire pressure is only measured once a week, so the predictor and the outcome are recorded at different granularities. A pressure drop that leads to a flat can happen entirely between two weekly readings, which makes the measurements too coarse to predict the event; this granularity mismatch is the first thing to resolve. Lagged observations are a modeling technique for time-series features rather than the immediate problem here, and nothing in the scenario points to outliers or a lack of domain expertise.
The term "greedy algorithms" refers to machine-learning algorithms that:
A.update priors as more data is seen.
B.examine every node of a tree before making a decision.
C.apply a theoretical model to the distribution of the data.
D.make the locally optimal decision.Correct
Explanation
A greedy algorithm makes the choice that looks best at each step, the locally optimal decision, without revisiting earlier choices; decision-tree induction choosing the best split at each node is the classic example. Updating priors describes Bayesian methods, examining every node is exhaustive search (the opposite of greedy), and applying a theoretical distribution describes parametric modeling.
A data scientist is deploying a model that needs to be accessed by multiple departments with minimal development effort by the departments. Which of the following APIs would be best for the data scientist to use?
A.SOAP
B.RPC
C.JSON
D.RESTCorrect
Explanation
A REST API exposes the model over standard HTTP methods and URLs, so any department can call it with common tools and libraries and little integration work. SOAP requires XML envelopes and WSDL contracts, and RPC frameworks usually need generated client stubs, both of which add development effort. JSON is a data format that REST APIs often use, not an API style.
Which of the following compute delivery models allows packaging of only critical dependencies while developing a reusable asset?
A.Thin clients
B.ContainersCorrect
C.Virtual machines
D.Edge devices
Explanation
A container image packages the application with only the libraries and dependencies it needs and shares the host operating system kernel, so it is lightweight, portable and reusable across environments. A virtual machine packages a full guest operating system, which is far more than the critical dependencies. Thin clients and edge devices are endpoint hardware, not packaging models.
A data analyst is analyzing data and would like to build conceptual associations. Which of the following is the best way to accomplish this task?
A.n-gramsCorrect
B.NER
C.TF-IDF
D.POS
Explanation
N-grams capture sequences of adjacent words, so they show which terms occur together and let the analyst associate words into concepts (for example, "credit" and "card" forming "credit card"). Named entity recognition only tags names of people, places and organizations, TF-IDF weights how important individual terms are to a document, and part-of-speech tagging labels the grammatical role of each word; none of these builds associations between terms.
Which of the following belong in a presentation to the senior management team and/or C-suite executives? (Choose two.)
A.Full literature reviews
B.Code snippets
C.Final recommendationsCorrect
D.High-level resultsCorrect
E.Detailed explanations of statistical tests
F.Security keys and login information
Explanation
Executives need to know what was found and what to do about it, so a presentation to them should give high-level results and final recommendations. Literature reviews, code snippets and detailed explanations of statistical tests are technical detail for a technical audience or an appendix. Security keys and login information must never appear in any presentation.
During EDA, a data scientist wants to look for patterns, such as linearity, in the data. Which of the following plots should the data scientist use?
A.Violin
B.Box-and-whisker
C.ScatterCorrect
D.Q-Q
Explanation
A scatter plot shows one variable against another, so it reveals relationships such as linearity, curvature and clusters between them. Violin and box-and-whisker plots summarize the distribution of a single variable, and a Q-Q plot compares a variable's distribution with a theoretical one such as the normal distribution rather than showing the relationship between two variables.
Which of the following distribution methods or models can most effectively represent the actual arrival times of a bus that runs on an hourly schedule?
A.Binomial
B.Exponential
C.NormalCorrect
D.Poisson
Explanation
A scheduled bus is aimed at a fixed time each hour, so its actual arrival times cluster symmetrically around the scheduled time with small random deviations early or late, which a normal distribution models well. Exponential and Poisson describe random, unscheduled events: the waiting time between independent arrivals and the count of arrivals in an interval. Binomial counts successes in a fixed number of yes/no trials, not a continuous time.
A data scientist has constructed a model that meets the minimum performance requirements specified in the proposal for a prediction project. The data scientist thinks the model's accuracy should be improved, but the proposed deadline is approaching. Which of the following actions should the data scientist take first?
A.Continue collecting data.
B.Request additional funding.
C.Consult the key project stakeholder.Correct
D.Test additional model specifications.
Explanation
The model already meets the agreed requirements, so whether to trade the deadline for more accuracy is a business decision that belongs to the key stakeholder. Consulting them first sets expectations and decides if extra work is worth it. Collecting more data, testing more specifications or asking for funding all extend scope or cost without that agreement.
Which of the following best describes the minimization of the residual term in a ridge linear regression?
A.|e|
B.e
C.e²Correct
D.0
Explanation
Ridge regression minimizes the sum of squared residuals (e²), the ordinary least squares loss, plus an L2 penalty on the size of the coefficients. The absolute value |e| is the loss of least absolute deviations regression, and the L1 penalty belongs to lasso, not ridge. Minimizing the raw residual e is meaningless because positive and negative errors cancel, and zero residuals is not an achievable objective.
A statistician notices gaps in data associated with age-related illnesses and wants to further aggregate these observations. Which of the following is the best technique to achieve this goal?
A.Label encoding
B.Linearization
C.BinningCorrect
D.Imputing
Explanation
Binning groups a continuous variable such as age into ranges, so sparse observations with gaps are aggregated into larger, more stable groups. Imputing fills in missing values rather than aggregating observations, label encoding turns categories into numbers, and linearization transforms a relationship to make it linear.
Verifying access...
Access Required
You need to purchase this exam to access practice mode
Unlock a few more questions every day for 300 points you earn free on
Godlike Academy. Everything you unlock with the Daily Climb stays open for 7 days after your last unlock.