DA0-002 · Question #116
Which of the following best describes an assessment a data analyst would use to validate that the number of records in a dataset matches the expected results?
The correct answer is B. Unit test. A unit test is used to validate that the number of records in a dataset matches the expected results, ensuring data integrity at a granular level.
Question
Which of the following best describes an assessment a data analyst would use to validate that the number of records in a dataset matches the expected results?
Options
- ASource control
- BUnit test
- CStress test
- DHealth check
How the community answered
(19 responses)- B89% (17)
- C5% (1)
- D5% (1)
Why each option
A unit test is used to validate that the number of records in a dataset matches the expected results, ensuring data integrity at a granular level.
Source control manages code versions and changes, not data validation.
A unit test specifically validates individual components or functions, and in a data context, this can include verifying that data operations, like record counts, produce expected outcomes. This helps ensure the accuracy and integrity of data processing steps.
A stress test evaluates system performance under extreme loads, not the accuracy of record counts.
A health check assesses the operational status of a system or service, not specific data validation logic.
Concept tested: Data validation testing
Source: https://learn.microsoft.com/en-us/visualstudio/test/unit-test-your-code
Topics
Community Discussion
No community discussion yet for this question.