CompTIA DataAI Certification Exam DY0-001 Practice Questions

Page: 1 / 14
Total 85 questions
Question 1

Which of the following environmental changes is most likely to resolve a memory constraint error when running a complex model using distributed computing?



Answer : D

Increasing the number of nodes in your cluster directly expands the total available memory across the distributed system, alleviating memoryconstraint errors without changing your code or deployment paradigm. Containerization or edge deployments don't inherently provide more memory, and migrating to the cloud alone doesn't guarantee additional nodes unless you explicitly scale out.


Question 2

Which of the following measures would a data scientist most likely use to calculate the similarity of two text strings?



Answer : B

Edit distance quantifies how many single-character insertions, deletions, or substitutions are needed to transform one string into another, making it a direct measure of their similarity.


Question 3

A data analyst wants to generate the most data using tables from a database. Which of the following is the best way to accomplish this objective?



Answer : D

A full outer join returns every row from both tables, matched where possible and unmatched rows filled with NULLs, yielding at least as many (and typically more) rows than any other join type.


Question 4

Which of the following issues should a data scientist be most concerned about when generating a synthetic data set?



Answer : D

If synthetic data don't accurately mirror the real-world distributions and relationships, any models trained on them will perform poorly in deployment. Representativeness is the critical concern when generating synthetic data.


Question 5

Which of the following is a key difference between KNN and k-means machine-learning techniques?



Answer : D

KNN is a supervised algorithm that assigns labels based on the closest labeled examples, whereas k-means is an unsupervised method that partitions data into clusters by finding centroids without using any pre-existing labels.


Question 6

Which of the following modeling tools is appropriate for solving a scheduling problem?



Answer : B

Scheduling problems require finding the best allocation of resources subject to constraints (e.g., time slots, resource availability), which is precisely what constrained optimization algorithms are designed to handle.


Question 7

A data scientist is designing a real-time machine-learning model that classifies a user based on initial behavior. The run times of these models are provided in the following table:

Which of the following models should the data scientist recommend for deployment?



Answer : B

For a real-time application, inference latency is critical. Although its accuracy (88%) is slightly lower than the others, the random forest's 1-minute run time is by far the fastest, making it the only model capable of meeting real-time responsiveness.


Page:    1 / 14   
Total 85 questions