All CompTIA exams
CompTIA DY0-001: CompTIA DataAI (formerly DataX)
What the DY0-001 exam covers and what it costs, with a free 30-question practice test and an explanation for every answer.
- Duration
- 165 minutes
- Questions on the exam
- Maximum of 90
- Passing score
- Pass/fail only
- Level
- Expert
- Topic areas
- 5
- Free practice questions
- 30
- Full question bank
- 100 questions
What the DY0-001 exam covers
The topic areas in our DY0-001 question bank, with each one's share of the 100 practice questions.
| Topic | Share | Questions |
|---|---|---|
| Machine learning | 26% | 26 |
| Operations and processes | 23% | 23 |
| Mathematics and statistics | 20% | 20 |
| Modeling, analysis, and outcomes | 18% | 18 |
| Specialized applications of data science | 13% | 13 |
DY0-001 cost and format
| Exam code | DY0-001 |
|---|---|
| Certification | CompTIA DataAI (formerly DataX) |
| Vendor | CompTIA |
| Level | Expert |
| Status | Active |
| Released | July 25, 2024 |
| Retires | January 1, 2027 |
Last checked October 22, 2026 against the official CompTIA exam page.
DY0-001 sample questions
The first 5 questions from the free practice test. Open a question to see the answer and why it is right.
Question 1Machine learning
A fully grown decision tree achieves near-perfect training accuracy but much lower accuracy on held-out data. Which action most directly reduces this overfitting?
- AReplace the classifier with a linear regression on the labels
- BIncrease the maximum depth to capture more splits
- CLimit the maximum depth or apply cost-complexity pruning
- DRemove the validation set from the pipeline
Show answer and explanationHide answer
Correct answer: CLimiting depth or pruning reduces the variance of a tree by restricting how closely it fits the training data. Increasing depth makes overfitting worse, and linear regression on class labels is not a fix for variance.
Question 2Operations and processes
A retailer wants its analytics warehouse to reflect inserts, updates, and deletes from its transactional database continuously, without repeated full extracts. Which ingestion approach fits this requirement?
- AChange data capture from the database transaction log
- BNightly full table dumps copied to a file share via a cron trigger
- CScraping the application user interface through screen text
- DManual CSV exports by business users on a weekly schedule
Show answer and explanationHide answer
Correct answer: AChange data capture reads committed changes from the transaction log and streams them downstream, so only deltas move. Full dumps and manual exports are batch processes that repeat full loads, and UI scraping is fragile and unreliable.
Question 3Mathematics and statistics
A data scientist runs a two-sample t-test comparing conversion rates between two landing pages and obtains a p-value of 0.03 at a significance level of 0.05. Which interpretation is correct?
- AData this extreme would occur about 3% of the time if the two population means were equal
- BThere is a 97% probability that the alternative hypothesis is true given the observed data from this test
- CThe effect size is 3% of the baseline conversion rate, meaning the new page lifts conversions by that amount
- DThe test has a 3% chance of missing a real difference in this small sample size
Show answer and explanationHide answer
Correct answer: AA p-value is the probability of observing a result at least as extreme as the sample result assuming the null hypothesis is true. It does not give the probability that the null or alternative hypothesis is true, and it does not measure effect size.
Question 4Modeling, analysis, and outcomes
A model reports 99% validation accuracy but performs poorly in production. Which two findings most strongly suggest data leakage? (Choose two.)
- AA feature is computed using information recorded after the prediction time
- BImputation and scaling were fitted on the full dataset before the train-validation split
- CTraining accuracy is slightly higher than validation accuracy
- DThe learning rate was reduced during the final epoch
Show answer and explanationHide answer
Correct answer: A, BFeatures built from post-outcome data and preprocessing fitted before splitting both let information from the validation set or future leak into training. Slightly higher training accuracy and a lower learning rate are normal and do not indicate leakage.
Question 5Specialized applications of data science
A card-fraud model flags 0.2% of transactions, and only a small fraction of flagged transactions are truly fraudulent. Which evaluation metric is most informative for this class-imbalanced problem?
- AR-squared on the raw transaction amount
- BOverall accuracy on the full test set
- CPrecision-recall curve and average precision
- DMean squared error of predicted transaction amounts
Show answer and explanationHide answer
Correct answer: CWith heavy class imbalance, accuracy can be high even for a useless model, while precision-recall analysis shows how many flagged cases are fraud and how many fraud cases are caught. Mean squared error and R-squared are regression measures.
How to prepare for DY0-001
- Read the official CompTIA outline first (exam page), so you know exactly what is in scope.
- Give the most time to Machine learning and Operations and processes: together they make up 49% of the questions.
- Take the free 30-question practice test and note which topics you miss.
- Go back to the weak topics, then test again. A practice score shows where to study; it does not predict your exam result.
Full DY0-001 question bank
All 100 questions with answers and explanations, as a PDF, an online practice exam, or both.
The full 100-question bank for DY0-001 is in final review. The free practice test is open now.
Start the free practice testDY0-001 FAQ
Related exams
| Exam | Vendor | Level |
|---|---|---|
| CY0-001: CompTIA SecAI+ | CompTIA | Professional |
| CAS-005: CompTIA SecurityX | CompTIA | Expert |
| CS0-004: CompTIA CySA+ (V4) | CompTIA | Professional |
| CV0-004: CompTIA Cloud+ | CompTIA | Professional |
| DA0-002: CompTIA Data+ | CompTIA | Associate |
| FC0-U71: CompTIA Tech+ | CompTIA | Foundational |