CompTIA DataX / DataAI (DY0-001) Exam-style mock test
CompTIA DataX / DataAI (DY0-001) Practice Exams|Practice test
Full explanations
Exam format
Pass line 70%
33 USD One-time · lifetime access
Enroll →
Sample questions
Example1 · Mathematics and Statistics for Data Science
A data scientist at a B2B SaaS firm models the number of support tickets arriving per hour on the analytics platform. Tickets arrive independently at a roughly constant average rate, and the team needs the probability of seeing exactly k tickets in a fixed hour. Which distribution is the most appropriate choice for this count process?
✓A Poisson distribution, because it models the count of independent events occurring at a constant mean rate over a fixed interval
Correct. The Poisson distribution directly models counts of independent events at a constant average rate within a fixed interval, matching tickets per hour.
・A binomial distribution, parameterized by a fixed number of trials and a per-trial success probability for each ticket
Incorrect. The binomial requires a fixed, finite number of trials with a defined success probability, which does not describe an open-ended count of arrivals.
・A normal distribution centered on the mean ticket volume with variance estimated from the historical hourly sample
Incorrect. The normal distribution is continuous and can yield negative or fractional values, so it is a poor primitive model for discrete counts.
・An exponential distribution describing the continuous waiting time between two consecutive ticket arrivals
Incorrect. The exponential models the continuous time between events, not the discrete count of events within the hour that is being requested.
Explanation
Counts of independent events at a constant rate over a fixed window are the textbook use case for the Poisson distribution.
Example2 · Data Modeling, Analysis, and Methods
A B2B SaaS analytics team must forecast each enterprise account's probability of churning within the next billing cycle, and account managers demand a per-feature explanation they can act on during renewal calls. Which modeling approach best fits both the prediction and interpretability requirements?
・A deep recurrent network trained on raw event streams, since it maximizes predictive accuracy on the sequential usage logs the platform already captures
Incorrect. A deep recurrent network may raise accuracy but is a black box, failing the account-manager requirement for an actionable per-feature explanation of each churn score.
✓A regularized logistic regression on engineered account features, since it outputs calibrated probabilities with per-feature coefficients the managers can read
Correct. Regularized logistic regression yields calibrated churn probabilities and interpretable coefficients per feature, satisfying both the prediction and the renewal-call explanation requirements.
・An unsupervised k-means clustering of accounts, since grouping similar accounts reveals which segments the managers should prioritize
Incorrect. k-means is unsupervised and produces segments, not per-account churn probabilities, so it does not answer the supervised prediction the team actually needs.
・A single decision tree grown to full depth, since its splits give exact rules while still fitting the training data perfectly
Incorrect. A fully grown single tree overfits and its deep rule paths are unstable, undermining the trustworthy per-feature guidance the managers require.
Explanation
The problem demands supervised probability prediction plus transparent per-feature attribution, which regularized logistic regression delivers while the alternatives fail one of those two requirements.
Example3 · Machine Learning Concepts and Algorithms
A B2B SaaS analytics team has a large pool of account usage logs with no churn labels, and leadership wants to discover natural account segments before any predictive model is built. Which learning approach best fits this initial objective?
・Reinforcement learning, since the model should optimize a reward signal from sequential account interactions over time
Incorrect. Reinforcement learning requires an environment with a reward signal and actions, which does not match an offline segmentation discovery task on static logs.
✓Unsupervised clustering, since no target labels exist and the goal is to group accounts by latent usage structure
Correct. With no labels and a goal of discovering natural groupings, unsupervised clustering is the appropriate approach for latent account structure.
・Supervised classification, since the labeled churn outcomes can be used to train a discriminative segment boundary
Incorrect. Supervised classification needs labeled outcomes to learn from, but the scenario explicitly states no churn labels exist for this task.
・Semi-supervised learning, since a small labeled subset can be combined with the larger unlabeled pool here
Incorrect. Semi-supervised learning presumes some labeled data is available, yet the scenario describes a fully unlabeled pool for the segmentation goal.
Explanation
When the objective is to discover groupings and no labels exist, unsupervised clustering is the correct paradigm.
Example4 · Operations, MLOps, and Deployment
A healthcare services firm serves a sepsis-risk model to clinicians through a bedside dashboard that expects a risk score within 200 milliseconds of each new vitals reading. The data science team must choose a serving pattern that satisfies this latency requirement for one patient record at a time. Which deployment approach best fits this clinical use case?
・Schedule a nightly batch scoring job that writes risk scores for every admitted patient into a warehouse table the dashboard then reads
Incorrect. A nightly batch job cannot reflect vitals that change minute to minute, so clinicians would act on stale scores during a deteriorating event.
✓Expose the model behind a real-time online inference endpoint that returns a score synchronously for each incoming request
Correct. A synchronous online endpoint scores each request on demand and returns within the required low-latency window for live bedside readings.
・Precompute scores for common vitals combinations and have the dashboard look up the closest cached entry by rounding values
Incorrect. Rounding vitals to fetch a cached neighbor sacrifices accuracy on the exact clinical boundaries where sepsis risk decisions matter most.
・Embed the trained model directly into the dashboard client so each browser loads the weights and scores vitals entirely on the device
Incorrect. Shipping model weights to every browser raises PHI and model-governance concerns and is impractical to update or monitor centrally.
Explanation
Low-latency, per-record clinical scoring that must reflect fresh inputs calls for a real-time online inference endpoint rather than batch, cache-approximation, or on-device embedding.
Example5 · Specialized Applications (NLP, Computer Vision, Deep Learning)
A healthcare services firm builds an NLP pipeline to classify free-text nursing notes by acuity level. The team finds that abbreviations like 'SOB' (shortness of breath) and 'HR' (heart rate) collide with common English words after lowercasing and stemming. Which preprocessing adjustment most directly resolves the ambiguity while preserving clinical meaning?
✓Apply a domain-specific abbreviation expansion and normalization dictionary before tokenization so clinical shorthand maps to canonical medical terms
Correct. Expanding clinical abbreviations to canonical terms via a medical dictionary before tokenization removes the collision with ordinary words and keeps the intended clinical meaning intact.
・Increase the minimum document frequency threshold so that rare abbreviation tokens are dropped from the final vocabulary entirely
Incorrect. Raising the minimum document frequency discards informative abbreviation tokens rather than disambiguating them, losing acuity-relevant signal.
・Replace stemming with lemmatization using a general-purpose English lemmatizer and keep the rest of the pipeline unchanged
Incorrect. A general-purpose lemmatizer does not know clinical shorthand, so 'SOB' and 'HR' remain ambiguous even without stemming.
・Switch from a bag-of-words representation to raw character n-grams so no explicit tokenization step is required at all
Incorrect. Character n-grams avoid tokenization but still conflate the shorthand with similarly spelled words and reduce interpretability of clinical terms.
Explanation
Clinical abbreviation collisions are a vocabulary-level problem; a domain normalization dictionary applied before tokenization is the targeted fix that preserves meaning.
Example6 · Mathematics and Statistics for Data Science
A data scientist at a healthcare services firm models the daily count of emergency admissions at a clinic. The counts are low integer values, events arrive independently, and the mean admission rate per day is roughly constant. Which distribution best fits this data-generating process for the admission counts?
・A normal distribution, because the counts are continuous measurements centered on a stable daily mean value
Incorrect. The normal distribution is continuous and admission counts are discrete nonnegative integers, so it does not match the process.
✓A Poisson distribution, since it models the number of independent rare events per fixed interval
Correct. The Poisson distribution models counts of independent events occurring at a constant average rate over a fixed interval such as a day.
・A binomial distribution, because each day either records an admission event or records no event at all
Incorrect. The binomial distribution counts successes in a fixed number of trials, not open-ended daily event counts with no trial ceiling.
・An exponential distribution, since it describes the waiting time elapsed between two successive events
Incorrect. The exponential distribution models the continuous time between events, not the discrete number of events per day.
Explanation
Low independent integer counts per fixed interval at a constant mean rate are the defining conditions for a Poisson process.
Example7 · Mathematics and Statistics for Data Science
At the retail brand UrbanThread, daily online orders for a niche jacket arrive independently at an average rate of 3.5 per day, and the analytics team wants a distribution to model the count of orders in a fixed day for inventory alerts. Which distribution best fits the number of such independent events in a fixed interval?
・A binomial distribution, because each visitor either converts or does not and there is a fixed number of identical independent trials with constant probability
Incorrect. Binomial requires a fixed known number of identical trials, but UrbanThread has no fixed count of trials, only an average arrival rate over the day.
✓A Poisson distribution, since it models the count of independent events occurring in a fixed interval given a known average rate
Correct. Poisson models the number of independent events in a fixed interval when only the mean rate is known, matching the jacket-order scenario.
・A normal distribution, because order counts are continuous measurements that cluster symmetrically around the daily mean value
Incorrect. The normal distribution is continuous and symmetric, whereas order counts are discrete non-negative integers, so it is a poor primary fit here.
・An exponential distribution, which directly models the whole-number count of orders accumulated over the fixed daily window
Incorrect. The exponential distribution models the continuous time between events, not the discrete count of orders in the interval.
Explanation
Counts of independent events over a fixed interval with a known average rate are the textbook use case for the Poisson distribution.
Example8 · Mathematics and Statistics for Data Science
UrbanThread's basket-value data is heavily right-skewed because a handful of bulk corporate purchases sit far above the typical consumer order. A stakeholder asks for a single number that best represents the typical customer's spend. Which measure should the data scientist report and why?
・The mean, because it uses every observation and therefore gives the most statistically efficient estimate of the central spend for the customers
Incorrect. The mean is pulled upward by the extreme bulk orders in a right-skewed distribution, overstating the typical spend.
✓The median, since it is robust to the extreme high-value bulk orders and better reflects the typical customer's spend
Correct. The median is resistant to outliers, so in a right-skewed basket distribution it better reflects the typical customer's spend.
・The mode, because the most frequently occurring basket value is by definition the value that a typical shopper will spend each visit
Incorrect. The mode reports the most common value, which need not be central and can be misleading for continuous skewed spend data.
・The range, since it captures the full spread of basket values and thereby summarizes where the center of the distribution sits
Incorrect. The range measures spread between extremes, not central tendency, so it does not represent the typical value.
Explanation
For skewed distributions with outliers, the median is the preferred robust measure of central tendency.
Example9 · Mathematics and Statistics for Data Science
UrbanThread runs an A/B test on a new checkout layout and obtains a p-value of 0.03 against a pre-registered significance level of 0.05. The marketing lead claims this proves the new layout definitely increases conversions. How should the data scientist correctly characterize this result?
✓The result is statistically significant at the chosen level, providing evidence against the null hypothesis but not absolute proof of the effect
Correct. A p-value of 0.03 below alpha 0.05 is statistically significant evidence against the null, but significance is not proof of the effect.
・The result proves the new layout increases conversions because the probability the null hypothesis is true has dropped to only three percent now
Incorrect. The p-value is not the probability the null is true; it is the probability of data this extreme assuming the null holds.
・The result is inconclusive and the test must be rerun, since any p-value above 0.01 fails to reach an acceptable threshold for action
Incorrect. The pre-registered threshold was 0.05, and 0.03 clears it, so there is no basis to call the result inconclusive here.
・The result confirms the null hypothesis is false and the alternative is true with ninety-seven percent certainty for this experiment
Incorrect. Rejecting the null does not confer a 97% certainty on the alternative; that misinterprets the p-value entirely.
Explanation
A significant p-value is evidence against the null, not proof of the alternative, and it is not the probability the null is true.
Example10 · Mathematics and Statistics for Data Science
A data scientist at a retail bank models the number of fraudulent card transactions occurring per hour at a single ATM, where events are rare, independent, and arrive at a roughly constant average rate. Which probability distribution best fits this count process?
✓A Poisson distribution, because it models counts of independent rare events over a fixed interval with a single rate parameter
Correct. The Poisson distribution models the count of independent, rare events occurring over a fixed interval at a constant average rate, matching this scenario.
・A binomial distribution, since each hour involves a known fixed number of independent Bernoulli trials with equal success probability
Incorrect. The binomial distribution requires a known fixed number of trials n, but here transactions are not a bounded fixed-n set of Bernoulli trials per hour.
・A normal distribution, since fraud counts are continuous and symmetric around the mean after aggregation
Incorrect. The normal distribution is continuous and symmetric, whereas fraud counts are discrete, non-negative, and typically skewed at low rates.
・A uniform distribution, as every possible count of fraudulent transactions is equally likely within the hour
Incorrect. The uniform distribution assigns equal probability to all outcomes, which contradicts the concentration of low counts expected for rare fraud events.
Explanation
Counts of rare, independent events at a constant rate over a fixed interval are the defining use case for the Poisson distribution.
Example11 · Mathematics and Statistics for Data Science
An analyst summarizes customer account balances for a wealth-management division. The distribution is strongly right-skewed because a few ultra-high-net-worth clients hold enormous balances. Which single measure most reliably represents a typical client's balance?
✓The median, because it is the middle value and is robust to the extreme high balances held by a small number of clients
Correct. The median is resistant to outliers and extreme skew, so it best represents the typical value when a few large balances distort the mean.
・The arithmetic mean, since it incorporates every client's balance and therefore reflects the complete account-balance distribution
Incorrect. The arithmetic mean is pulled upward by the extreme high balances, overstating the typical client's holdings in a right-skewed distribution.
・The mode, since the most frequently occurring balance will best describe the center of a heavily skewed distribution
Incorrect. The mode reflects the most common value but need not sit near the center of a continuous, skewed distribution and can be unstable.
・The range, since the spread between the smallest and largest balance identifies the typical client position
Incorrect. The range measures dispersion, not central tendency, and is itself dominated by the extreme values.
Explanation
For right-skewed data with outliers, the median is the robust measure of central tendency, unlike the mean which is distorted by extremes.
Example12 · Mathematics and Statistics for Data Science
A data scientist at a manufacturing distributor runs a two-sample t-test comparing defect rates between two supplier lots and obtains a p-value of 0.03 at a significance level of 0.05. How should the scientist interpret this result?
・The probability that the two supplier lots have identical defect rates is exactly 0.03 given the collected sample measurements
Incorrect. A p-value is not the probability that the null hypothesis is true; it is the probability of data this extreme assuming the null holds.
✓The result is statistically significant, so the null hypothesis of equal defect rates is rejected at this threshold
Correct. Because the p-value (0.03) is below the chosen alpha (0.05), the evidence is strong enough to reject the null hypothesis of equal defect rates.
・There is a 3% chance the alternative hypothesis is false and the lots actually behave the same way overall
Incorrect. The p-value does not give the probability that the alternative hypothesis is false; it conditions on the null being true.
・The observed defect-rate difference will reproduce in 97% of future production runs of the same two supplier lots
Incorrect. A p-value says nothing about reproducibility rates of the observed effect in future experiments.
Explanation
A p-value below the significance threshold leads to rejecting the null hypothesis; it is P(data this extreme | null true), not a probability about the hypotheses themselves.
Example13 · Mathematics and Statistics for Data Science
A distributor's warehouse receives an average of 4 forklift breakdowns per week, and events occur independently at a constant rate. Which distribution best models the number of breakdowns observed in a given week?
・A binomial distribution parameterized by a fixed number of independent trials each with constant success probability
Incorrect. The binomial requires a fixed number of trials n, which is not defined for open-ended weekly event counts.
✓A Poisson distribution describing counts of independent events over a fixed interval at a constant rate
Correct. The Poisson distribution models the count of independent events occurring at a constant average rate over a fixed interval, matching breakdowns per week.
・A normal distribution characterizing a symmetric continuous spread of values around the weekly mean breakdown rate
Incorrect. The normal distribution is continuous and symmetric, which does not fit small, discrete, right-skewed event counts.
・An exponential distribution modeling the continuous waiting time between two successive forklift breakdown events
Incorrect. The exponential distribution models the time between events, not the number of events within an interval.
Explanation
Counts of independent events at a constant rate over a fixed interval are modeled by the Poisson distribution; the exponential models inter-arrival times instead.
Example14 · Mathematics and Statistics for Data Science
A telecom operator models the number of dropped calls per cell tower during a one-hour window. The events are rare, independent, and occur at a roughly constant average rate across the hour. Which probability distribution should a data scientist use to model this count?
・A normal distribution centered on the hourly mean, because large towers aggregate many calls
Incorrect. The normal distribution is continuous and can yield negative or fractional counts, which is inappropriate for modeling discrete rare-event tallies.
✓A Poisson distribution parameterized by the average number of drops per hour
Correct. The Poisson distribution models counts of rare, independent events over a fixed interval at a constant average rate, matching dropped-call counts per hour.
・A binomial distribution with a fixed number of trials equal to total calls placed
Incorrect. The binomial distribution requires a known fixed number of trials and a success probability, which is awkward when total calls vary widely by tower.
・An exponential distribution fitted to the observed count of dropped calls each hour
Incorrect. The exponential distribution models the continuous time between events, not the discrete count of events within an interval.
Explanation
Rare, independent events accruing at a constant rate over a fixed interval are the defining conditions of a Poisson process, so the Poisson distribution governs the event counts.
Example15 · Mathematics and Statistics for Data Science
Monthly ARPU (average revenue per user) for a telecom's postpaid segment is strongly right-skewed because a small number of enterprise accounts spend far more than typical consumers. Which measure of central tendency best represents the typical subscriber's spend?
・The arithmetic mean, since it incorporates every subscriber's revenue contribution into one value
Incorrect. The arithmetic mean is pulled upward by the high-spending enterprise accounts, overstating what a typical subscriber spends.
✓The median monthly spend across all subscribers in the segment
Correct. The median is robust to right-skew and extreme high values, so it best reflects the spend of a typical subscriber.
・The mode of the rounded spend values observed across the subscriber base
Incorrect. The mode reflects the most frequent rounded value and can be unstable or unrepresentative in continuous, skewed revenue data.
・The trimmed mean after discarding the lowest and highest one percent of accounts
Incorrect. A trimmed mean reduces outlier influence but still averages the remaining values and is less standard than the median for a skewed typical-value summary.
Explanation
For a right-skewed distribution, the median resists distortion from the long upper tail and conveys the typical value better than the mean.
▶ Try 10 free questions (graded)