Docsity

WGU D206 Data Cleaning – Comprehensive Exam Study Guide, Exams of Information Technology

Toggle sidebar
bg1
WGU D206 DATA CLEANING –
COMPREHENSIVE EXAM STUDY GUIDE (150
QUESTIONS & VERIFIED ANSWERS)
DOCUMENT TITLE:WGU D206 Data Cleaning – Comprehensive Exam Study
Guide (150 Questions & Verified Answers)
SHORT DESCRIPTION:
This comprehensive study guide contains 150 questions and verified answers
covering the essential concepts of the WGU D206 Data Cleaning course. The
questions address all major topics tested on the performance and objective
assessments, including data quality dimensions, missing values, duplicates,
outliers, data types and formatting, text cleaning, transformations, statistical
concepts, Pandas operations, ETL processes, data governance, and best
practices. Each question includes the correct answer and a detailed
explanation to reinforce understanding of key data cleaning concepts. This
resource is ideal for WGU MSDA students and anyone preparing for the Data
Cleaning objective assessment.
WGU D206 DATA CLEANING – COMPREHENSIVE EXAM STUDY GUIDE
(150 QUESTIONS & VERIFIED ANSWERS)
INSTRUCTIONS:Review the following questions and answers to prepare for
the WGU D206 Data Cleaning objective assessment. This guide covers the
most frequently tested concepts and provides explanations to reinforce
understanding.
SECTION 1: DATA CLEANING FUNDAMENTALS
(Questions 1–20)
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24
pf25
pf26
pf27
pf28
pf29
pf2a

Partial preview of the text

Download WGU D206 Data Cleaning – Comprehensive Exam Study Guide and more Exams Information Technology in PDF only on Docsity!

WGU D206 DATA CLEANING –

COMPREHENSIVE EXAM STUDY GUIDE (

QUESTIONS & VERIFIED ANSWERS)

DOCUMENT TITLE: WGU D206 Data Cleaning – Comprehensive Exam Study Guide (150 Questions & Verified Answers) SHORT DESCRIPTION: This comprehensive study guide contains 150 questions and verified answers covering the essential concepts of the WGU D206 Data Cleaning course. The questions address all major topics tested on the performance and objective assessments, including data quality dimensions, missing values, duplicates, outliers, data types and formatting, text cleaning, transformations, statistical concepts, Pandas operations, ETL processes, data governance, and best practices. Each question includes the correct answer and a detailed explanation to reinforce understanding of key data cleaning concepts. This resource is ideal for WGU MSDA students and anyone preparing for the Data Cleaning objective assessment. WGU D206 DATA CLEANING – COMPREHENSIVE EXAM STUDY GUIDE (150 QUESTIONS & VERIFIED ANSWERS) INSTRUCTIONS: Review the following questions and answers to prepare for the WGU D206 Data Cleaning objective assessment. This guide covers the most frequently tested concepts and provides explanations to reinforce understanding.

SECTION 1: DATA CLEANING FUNDAMENTALS

(Questions 1–20)

1. What is data cleaning? a) The process of deleting all data in a dataset b) The process of identifying and correcting errors, inconsistencies, and inaccuracies in datasets to improve data quality c) The process of encrypting data for security purposes d) The process of visualizing data for analysis e) The process of collecting data from multiple sources Answer: b) The process of identifying and correcting errors, inconsistencies, and inaccuracies in datasets to improve data quality Explanation: Data cleaning is the systematic process of detecting and correcting errors, inconsistencies, and inaccuracies in datasets to improve data quality for analysis and modeling. 2. Approximately what percentage of a data scientist's time is typically spent on data cleaning? a) 10-20% b) 30-40% c) 60-80% d) 90-95% e) Less than 5% Answer: c) 60-80% Explanation: Data scientists typically spend approximately 60-80% of their time on data cleaning and preparation tasks, making it one of the most time- consuming aspects of data analysis. 3. Why is data cleaning important? a) It makes data look more professional b) Clean data leads to accurate analysis, reliable insights, better decision- making, and prevents errors in predictive models c) It reduces the size of datasets d) It automatically creates visualizations e) It eliminates the need for statistical analysis Answer: b) Clean data leads to accurate analysis, reliable insights, better decision-making, and prevents errors in predictive models Explanation: Clean data is essential for accurate analysis, reliable insights, and effective decision-making. Poor data quality can lead to incorrect conclusions and flawed predictive models. 4. What are the six dimensions of data quality? a) Accuracy, completeness, consistency, timeliness, validity, and uniqueness b) Accuracy, complexity, consistency, timeliness, validity, and usability c) Accuracy, completeness, clarity, timeliness, validity, and uniqueness d) Accuracy, completeness, consistency, timeliness, validity, and uniformity e) Accuracy, completeness, consistency, timeliness, value, and uniqueness Answer: a) Accuracy, completeness, consistency, timeliness,

c) How current and up-to-date the data is d) Data that conforms to defined formats, types, and ranges; it follows business rules e) Ensuring no duplicate records exist Answer: d) Data that conforms to defined formats, types, and ranges; it follows business rules Explanation: Data validity refers to data that conforms to defined formats, types, and ranges and follows business rules. Invalid data fails to meet these criteria.

9. Define data timeliness. a) The degree to which data correctly reflects reality b) The extent to which all required data is present c) How current and up-to-date the data is for its intended use d) Data that conforms to defined formats and types e) Ensuring no duplicate records exist Answer: c) How current and up-to-date the data is for its intended use Explanation: Data timeliness measures how current and up-to-date the data is. Outdated data may not be suitable for its intended purpose. 10. What is data uniqueness? a) The degree to which data correctly reflects reality b) The extent to which all required data is present c) How current and up-to-date the data is d) Data that conforms to defined formats and types e) Ensuring no duplicate records exist in the dataset; each entity is represented only once Answer: e) Ensuring no duplicate records exist in the dataset; each entity is represented only once Explanation: Data uniqueness ensures that no duplicate records exist in the dataset. Each entity should be represented only once to avoid bias in analysis. 11. What is dirty data? a) Data that is perfectly clean and ready for analysis b) Data that contains errors, duplicates, inconsistencies, or missing values that make it unreliable c) Data that has been encrypted d) Data that is only used for testing e) Data that has been visualized Answer: b) Data that contains errors, duplicates, inconsistencies, or missing values that make it unreliable Explanation: Dirty data is unreliable data that contains errors, duplicates, inconsistencies, or missing values that can compromise analysis results.

12. List five common data quality issues. a) Missing values, duplicates, outliers, inconsistent formatting, and incorrect data types b) Missing values, duplicates, large datasets, consistent formatting, and correct data types c) Missing values, duplicates, outliers, consistent formatting, and correct data types d) Complete data, no duplicates, no outliers, consistent formatting, and correct data types e) Missing values, duplicates, outliers, inconsistent formatting, and large file sizes Answer: a) Missing values, duplicates, outliers, inconsistent formatting, and incorrect data types Explanation: Common data quality issues include missing values, duplicate records, outliers, inconsistent formatting, and incorrect data types. Each of these issues must be addressed during data cleaning. 13. What is data profiling? a) The process of deleting unnecessary data b) The process of examining data to understand its structure, content, quality, and relationships c) The process of encrypting data for security d) The process of visualizing data e) The process of collecting data from multiple sources Answer: b) The process of examining data to understand its structure, content, quality, and relationships Explanation: Data profiling is the process of examining data to understand its structure, content, quality, and relationships. It helps identify data quality issues before cleaning. 14. Why perform exploratory data analysis (EDA) before cleaning? a) To make the data look more professional b) To understand data distributions, identify patterns, detect anomalies, and plan appropriate cleaning strategies c) To immediately delete all missing values d) To automatically create visualizations e) To reduce the size of the dataset Answer: b) To understand data distributions, identify patterns, detect anomalies, and plan appropriate cleaning strategies Explanation: EDA before cleaning helps understand data distributions, identify patterns, detect anomalies, and plan appropriate cleaning strategies. 15. What is a data quality assessment? a) A systematic evaluation of data to measure its fitness for intended purposes b) The process of deleting all data

19. What are the consequences of poor data quality? a) More accurate analysis b) Better decision-making c) Incorrect decisions, financial losses, and unreliable insights d) Improved predictive models e) Faster data processing Answer: c) Incorrect decisions, financial losses, and unreliable insights Explanation: Poor data quality can lead to incorrect decisions, financial losses, and unreliable insights. It can also damage an organization's reputation and customer trust. 20. Which question should an analyst ask regarding a concern about collecting primary data? a) Is the sample representative? b) Is the data encrypted? c) Is the data visualized? d) Is the data deleted? e) Is the data collected quickly? Answer: a) Is the sample representative? Explanation: When collecting primary data, analysts should ask whether the sample is representative of the population to ensure the validity of their findings.

SECTION 2: DATA TYPES AND STRUCTURES

(Questions 21–40)

21. What is structured data? a) Data that is organized in a defined format b) Data that lacks a specific format c) Data that is encrypted d) Data that is visualized e) Data that is deleted Answer: a) Data that is organized in a defined format Explanation: Structured data is organized in a defined format, such as tables with rows and columns. It is easy to search, analyze, and manage. 22. What is the difference between quantitative and qualitative data? a) Quantitative data is numerical; qualitative data is categorical b) Quantitative data is categorical; qualitative data is numerical

c) They are the same type of data d) Quantitative data is always accurate; qualitative data is not e) Qualitative data is always accurate; quantitative data is not Answer: a) Quantitative data is numerical; qualitative data is categorical Explanation: Quantitative data is numerical and can be measured (e.g., age, height). Qualitative data is categorical and describes attributes or characteristics (e.g., city, job title).

23. Which of the following is an example of continuous data? a) Height of kids in third grade b) Number of children in a household c) Type of car d) Customer ID e) Zip code Answer: a) Height of kids in third grade Explanation: Continuous data can take any value within a range (e.g., height, temperature). Height of kids in third grade is a continuous variable. 24. Which of the following is an example of discrete data? a) Height of kids b) Temperature c) Number of children in a household d) Latitude coordinate e) Longitude coordinate Answer: c) Number of children in a household Explanation: Discrete data can only take specific values (e.g., count of children). The number of children in a household is a discrete variable. 25. What is a composite key? a) A primary key that consists of more than one attribute b) A key that is used for encryption c) A key that is automatically generated d) A key that can contain duplicate values e) A key that is used for deletion Answer: a) A primary key that consists of more than one attribute Explanation: A composite key is a primary key that consists of more than one attribute (column). It uniquely identifies each record using a combination of columns. 26. What is a foreign key? a) A field within a table that is a primary key in another table b) A field that uniquely identifies a record c) A key that is automatically generated d) A key that can contain duplicate values e) A key that is used for encryption

31. What is unstructured data? a) Data that is organized in a defined format b) Data that lacks a specific format c) Data that is encrypted d) Data that is visualized e) Data that is deleted Answer: b) Data that lacks a specific format Explanation: Unstructured data lacks a specific format or structure. Examples include text documents, images, audio, and video files. 32. Which of the following is an example of internal data? a) Census data b) Wages of employees across different business units tracked by HR c) Stock market data d) Weather data e) Social media data Answer: b) Wages of employees across different business units tracked by HR Explanation: Internal data is data generated within an organization. Employee wages tracked by HR are an example of internal data. 33. What is the purpose of a data dictionary? a) To delete data b) To document dataset structure, variable names, types, descriptions, and constraints c) To encrypt data d) To visualize data e) To collect data Answer: b) To document dataset structure, variable names, types, descriptions, and constraints Explanation: A data dictionary documents the structure of a dataset, including variable names, data types, descriptions, and constraints. It serves as a reference for understanding the data. 34. What is data lineage? a) The process of deleting data b) The documentation of data's origins, movements, transformations, and dependencies throughout its lifecycle c) The process of encrypting data d) The process of visualizing data e) The process of collecting data Answer: b) The documentation of data's origins, movements, transformations, and dependencies throughout its lifecycle Explanation: Data lineage documents the origins, movements, transformations, and dependencies of data throughout its lifecycle. It provides traceability and transparency.

35. What type of data should you use if you are analyzing trends over time? a) Cross-sectional data b) Time series data (data that includes dates) c) Categorical data d) Spatial data e) Text data Answer: b) Time series data (data that includes dates) Explanation: Time series data includes dates and is used to analyze trends over time. It is essential for understanding patterns and making forecasts. 36. Which of the following is an example of qualitative data? a) Age b) Height c) Weight d) Job title e) Income Answer: d) Job title Explanation: Job title is a categorical variable and is therefore qualitative data. Age, height, weight, and income are quantitative. 37. What is the difference between continuous and discrete data? a) Continuous data can take any value within a range; discrete data can only take specific values b) Continuous data can only take specific values; discrete data can take any value within a range c) They are the same type of data d) Continuous data is categorical; discrete data is numerical e) Continuous data is always accurate; discrete data is not Answer: a) Continuous data can take any value within a range; discrete data can only take specific values Explanation: Continuous data can take any value within a range (e.g., height, temperature). Discrete data can only take specific values (e.g., count of children). 38. What is the purpose of data transformation? a) To delete data b) To change data's format or structure c) To encrypt data d) To visualize data e) To collect data Answer: b) To change data's format or structure Explanation: Data transformation involves changing data's format or structure to make it suitable for analysis or integration with other data.

Explanation: The three main types of missing data are MCAR (missing completely at random), MAR (missing at random), and MNAR (missing not at random). Understanding the type of missing data is important for choosing appropriate handling methods.

42. What is the simplest way to handle missing values in a dataset? a) Impute with mean b) Delete rows with missing values (listwise deletion) c) Impute with median d) Impute with mode e) Use predictive modeling Answer: b) Delete rows with missing values (listwise deletion) Explanation: The simplest way to handle missing values is to delete rows that contain missing values. However, this can reduce the sample size and introduce bias if data is not MCAR. 43. What is imputation in data cleaning? a) The process of deleting missing values b) The process of replacing missing values with substituted values c) The process of encrypting data d) The process of visualizing data e) The process of collecting data Answer: b) The process of replacing missing values with substituted values Explanation: Imputation is the process of replacing missing values with substituted values, such as the mean, median, or mode, or using more advanced predictive methods. 44. When should you delete rows with missing values? a) Always, regardless of the situation b) When the proportion of missing values is small and deleting them does not introduce significant bias c) Never, because it always introduces bias d) When the data is MCAR and the proportion of missing values is large e) When the data is MNAR Answer: b) When the proportion of missing values is small and deleting them does not introduce significant bias Explanation: Rows with missing values should be deleted when the proportion of missing values is small and deleting them does not introduce significant bias. This is often the simplest approach when dealing with MCAR data. 45. What is mean imputation? a) Replacing missing values with the median b) Replacing missing values with the mean of the available values c) Replacing missing values with the mode

d) Deleting rows with missing values e) Replacing missing values with zero Answer: b) Replacing missing values with the mean of the available values Explanation: Mean imputation replaces missing values with the mean of the available values for that variable. It is a simple method but can reduce variance and introduce bias.

46. What is median imputation? a) Replacing missing values with the mean b) Replacing missing values with the median of the available values c) Replacing missing values with the mode d) Deleting rows with missing values e) Replacing missing values with zero Answer: b) Replacing missing values with the median of the available values Explanation: Median imputation replaces missing values with the median of the available values. It is more robust to outliers than mean imputation. 47. What is mode imputation? a) Replacing missing values with the mean b) Replacing missing values with the median c) Replacing missing values with the most frequent value (mode) d) Deleting rows with missing values e) Replacing missing values with zero Answer: c) Replacing missing values with the most frequent value (mode) Explanation: Mode imputation replaces missing values with the most frequent value (mode) for that variable. It is commonly used for categorical data. 48. What is the difference between listwise deletion and pairwise deletion? a) Listwise deletion removes rows with any missing values; pairwise deletion uses all available data for each analysis b) Listwise deletion uses all available data; pairwise deletion removes rows with missing values c) They are the same method d) Listwise deletion is for categorical data; pairwise deletion is for numerical data e) Listwise deletion is more accurate than pairwise deletion Answer: a) Listwise deletion removes rows with any missing values; pairwise deletion uses all available data for each analysis Explanation: Listwise deletion removes entire rows that contain any missing values. Pairwise deletion uses all available data for each analysis, calculating statistics based on the available data for each variable pair.

53. What is missing not at random (MNAR)? a) The probability of missing data is unrelated to the data values b) The probability of missing data is related to other observed variables c) The probability of missing data is related to the missing value itself d) Missing data occurs completely by chance e) Missing data occurs only in certain columns Answer: c) The probability of missing data is related to the missing value itself Explanation: MNAR occurs when the probability of missing data is related to the missing value itself. For example, individuals with high incomes may be less likely to report their income, and the missingness is related to the income value. 54. What is a potential consequence of deleting rows with missing values? a) Increased sample size b) Reduced statistical power and potential bias c) Improved data quality d) Faster data processing e) More accurate results Answer: b) Reduced statistical power and potential bias Explanation: Deleting rows with missing values can reduce statistical power (due to smaller sample size) and introduce bias if the missing data is not MCAR. 55. What is multiple imputation? a) Replacing missing values with the mean b) Replacing missing values with the median c) A statistical technique that creates multiple plausible imputed datasets and combines results d) Deleting rows with missing values e) Replacing missing values with the mode Answer: c) A statistical technique that creates multiple plausible imputed datasets and combines results Explanation: Multiple imputation is a sophisticated technique that creates multiple plausible imputed datasets, analyzes each, and combines the results to account for the uncertainty of imputation.

SECTION 4: HANDLING DUPLICATES AND

OUTLIERS (Questions 56–70)

56. What is a duplicate record? a) A record that is completely unique b) A record that appears more than once in a dataset c) A record that contains missing values d) A record that is incorrectly formatted e) A record that is encrypted Answer: b) A record that appears more than once in a dataset Explanation: A duplicate record is a record that appears more than once in a dataset. Duplicates can distort analysis and should be identified and removed. 57. What is the first step in handling duplicate records? a) Delete all duplicates immediately b) Identify and detect duplicates using data profiling c) Ignore duplicates d) Encrypt duplicate records e) Visualize duplicate records Answer: b) Identify and detect duplicates using data profiling Explanation: The first step in handling duplicate records is to identify and detect them using data profiling techniques. This involves examining the data to find records that are exact or partial matches. 58. What is an outlier? a) A value that is typical and expected b) A value that is significantly different from other values in a dataset c) A missing value d) A duplicate value e) A correctly formatted value Answer: b) A value that is significantly different from other values in a dataset Explanation: An outlier is a value that is significantly different from other values in a dataset. Outliers can be caused by errors or represent genuine extreme values. 59. What is the Interquartile Range (IQR) method for detecting outliers? a) Values below Q1 - 1.5×IQR or above Q3 + 1.5×IQR are considered outliers b) Values below Q1 - 3×IQR or above Q3 + 3×IQR are considered outliers c) Values below the mean are outliers d) Values above the mean are outliers e) Values that are duplicates are outliers Answer: a) Values below Q1 - 1.5×IQR or above Q3 + 1.5×IQR are considered outliers Explanation: The IQR method defines outliers as values below Q1 - 1.5×IQR or above Q3 + 1.5×IQR. This is a common method for detecting outliers.

b) Replacing extreme values with less extreme values (e.g., at the 1st and 99th percentiles) c) Transforming data using log transformation d) Imputing missing values e) Removing duplicates Answer: b) Replacing extreme values with less extreme values (e.g., at the 1st and 99th percentiles) Explanation: Winsorizing is a technique that replaces extreme values with less extreme values, such as values at the 1st and 99th percentiles. This reduces the influence of outliers without deleting them.

65. What is the difference between an outlier and an error? a) An outlier is always an error b) An error is a mistake in data entry or measurement; an outlier may be a valid extreme value c) There is no difference d) Outliers are always valid; errors are always invalid e) Outliers are always caused by data entry errors Answer: b) An error is a mistake in data entry or measurement; an outlier may be a valid extreme value Explanation: An error is a mistake in data entry or measurement that should be corrected. An outlier may be a valid extreme value that represents a genuine observation. It is important to distinguish between the two. 66. What is the purpose of detecting outliers? a) To delete all extreme values b) To identify potential errors and understand the data distribution c) To always remove outliers d) To always keep outliers e) To encrypt extreme values Answer: b) To identify potential errors and understand the data distribution Explanation: The purpose of detecting outliers is to identify potential errors and understand the data distribution. Not all outliers should be removed; some may be valid extreme values. 67. Which of the following is a visual method for detecting outliers? a) Box plot b) Scatter plot c) Histogram d) All of the above e) None of the above Answer: d) All of the above Explanation: Box plots, scatter plots, and histograms can all be used to visually identify outliers in data.

68. What is the 3-sigma rule for outlier detection? a) Values more than 3 standard deviations from the mean are outliers b) Values less than 3 standard deviations from the mean are outliers c) Values exactly 3 standard deviations from the mean are outliers d) Values more than 3 standard deviations from the median are outliers e) Values less than 3 standard deviations from the median are outliers Answer: a) Values more than 3 standard deviations from the mean are outliers Explanation: The 3-sigma rule considers values more than 3 standard deviations from the mean as potential outliers. 69. Why should you be cautious when removing outliers? a) Outliers are always errors b) Outliers may represent valid extreme values that are important for analysis c) Removing outliers always improves analysis d) Removing outliers is never necessary e) Removing outliers is always the best approach Answer: b) Outliers may represent valid extreme values that are important for analysis Explanation: Outliers may represent valid extreme values that are important for understanding the data. Removing them without justification can lead to loss of important information. 70. What is the first step in handling outliers? a) Remove all outliers b) Detect and identify outliers using statistical or visual methods c) Transform the data d) Winsorize the data e) Ignore outliers Answer: b) Detect and identify outliers using statistical or visual methods Explanation: The first step in handling outliers is to detect and identify them using statistical or visual methods. This helps determine whether outliers are errors or valid extreme values.

SECTION 5: DATA FORMATTING AND TEXT

CLEANING (Questions 71–85)

71. What is data formatting in data cleaning? a) The process of deleting data