• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 31 pages
Exam (elaborations)

WGU D599 Exam 1: Data Profiling and Cleaning | Complete Revised Report, Python Code & Data Analysis | 2026/2027 {JUST RELEASED} Updated with complete solutions

Document preview thumbnail
Preview 4 out of 31 pages

WGU D599 Exam 1: Data Profiling and Cleaning | Complete Revised Report, Python Code & Data Analysis | 2026/2027 {JUST RELEASED} Updated with complete solutions

Content preview

WGU D599 Exam 1: Data Profiling and
Cleaning | Complete Revised Report, Python
Code & Data Analysis | 2026/2027 {JUST
RELEASED} Updated with complete
solutions
Practice Question Bank & Answer Rationale




THIS PACK CONTAINS
100 exam-style multiple-choice questions. Each question includes the correct answer and a complete
rationale for focused revision.




COVERAGE
This exam assesses competencies in data profiling and cleaning, covering data quality dimensions, profiling
techniques, descriptive statistics, anomaly detection, cleaning methods, outlier treatment, transformation
rules, and Python-based implementation using pandas and NumPy. It emphasizes practical application and
reporting of data quality findings aligned with DAMA-DMBOK standards and current Python data ecosystem
practices.




STUDY GUIDE
Recommended duration: 3 hours. Passing target: 80%.




HIGHP - Page 1 of 31

,1. Which pandas 2.x operation best computes pairwise column uniqueness ratios for
profiling?

[ ] A. df.nunique() / len(df)
[ ] B. df.duplicated().sum()
[ ] C. df.apply(lambda s: s.is_unique)
[ ] D. df.describe(include='all')


CORRECT: A. df.nunique() / len(df)
df.nunique() returns distinct counts per column; dividing by len(df) yields uniqueness ratio. df.duplicated()
checks row duplicates, not column uniqueness. df.apply with is_unique returns boolean, not ratio. df.describe
gives summary stats, not uniqueness ratios.



2. A column has 30% missing values. Which imputation method minimizes bias under
MAR?

[ ] A. Mean imputation
[ ] B. Multiple imputation by chained equations (MICE)
[ ] C. Listwise deletion
[ ] D. Forward fill


CORRECT: B. Multiple imputation by chained equations (MICE)
MICE models missing values conditionally on other variables, reducing bias under MAR. Mean imputation
distorts variance and relationships. Listwise deletion loses data and may bias if missingness relates to other
variables. Forward fill assumes time order and can propagate values incorrectly.



3. Which data quality dimension is violated when a customer's age is recorded as -5?
[ ] A. Completeness
[ ] B. Consistency
[ ] C. Validity
[ ] D. Timeliness


CORRECT: C. Validity
Validity ensures data conforms to defined domains or rules; age cannot be negative. Completeness concerns
missing values. Consistency concerns agreement across sources. Timeliness concerns currency of data.



4. Which pandas method best detects outliers using the IQR rule for a numeric column?

[ ] A. df.quantile([0.25, 0.75])
[ ] B. df.boxplot()
[ ] C. df.apply(lambda x: (x < Q1 - 1.5*IQR) | (x > Q3 + 1.5*IQR))
[ ] D. df.zscore()




HIGHP - Page 2 of 31

, CORRECT: C. df.apply(lambda x: (x < Q1 - 1.5*IQR) | (x > Q3 + 1.5*IQR))
The IQR rule flags values outside Q1-1.5*IQR and Q3+1.5*IQR; applying this per column identifies outliers.
df.quantile only gives quartiles. df.boxplot visualizes but doesn't return flags. df.zscore is not a pandas
method; z-scores use mean/std, not IQR.



5. In data profiling, what does cross-column profiling primarily assess?

[ ] A. Value distribution within a single column
[ ] B. Functional dependencies and relationships between columns
[ ] C. Row-level duplicate detection
[ ] D. Data type consistency across tables


CORRECT: B. Functional dependencies and relationships between columns
Cross-column profiling examines relationships, dependencies, and correlations between columns, such as
functional dependencies. Single-column distribution is column profiling. Row duplicates are cross-row. Data
type consistency across tables is cross-table profiling.



6. Which transformation is appropriate for highly skewed positive data before modeling?

[ ] A. Standard scaling
[ ] B. Log transformation
[ ] C. Min-max normalization
[ ] D. One-hot encoding


CORRECT: B. Log transformation
Log transformation reduces right skew and stabilizes variance for positive data. Standard scaling and
min-max normalization do not correct skew. One-hot encoding is for categorical variables.



7. Which pandas operation correctly standardizes inconsistent date formats to ISO 8601?

[ ] A. pd.to_datetime(df['date'], errors='coerce').dt.strftime('%Y-%m-%d')
[ ] B. df['date'].astype('datetime64[ns]')
[ ] C. df['date'].str.replace('/', '-')
[ ] D. df['date'].apply(lambda x: x.strip())


CORRECT: A. pd.to_datetime(df['date'], errors='coerce').dt.strftime('%Y-%m-%d')
pd.to_datetime parses varied formats; dt.strftime formats to ISO 8601. astype may fail on mixed formats.
String replace only changes separators, not format consistency. strip removes whitespace only.



8. What is the primary purpose of documenting data quality findings in a profiling report?

[ ] A. To satisfy regulatory audits only
[ ] B. To enable reproducibility and guide cleaning decisions


HIGHP - Page 3 of 31

, [ ] C. To replace the need for data cleaning
[ ] D. To visualize data distributions


CORRECT: B. To enable reproducibility and guide cleaning decisions
Documentation ensures reproducibility, communicates issues, and informs cleaning strategies. It is not solely
for audits, does not replace cleaning, and visualization is a separate activity.



9. Which method best handles near-duplicate records with fuzzy matching in Python?

[ ] A. Exact string equality
[ ] B. Levenshtein distance with threshold
[ ] C. Hash-based deduplication
[ ] D. Sorting and comparing adjacent rows


CORRECT: B. Levenshtein distance with threshold
Levenshtein distance quantifies string similarity, allowing fuzzy matching with a threshold. Exact equality
misses near-duplicates. Hash-based methods require exact matches. Sorting only groups similar records but
doesn't quantify similarity.



10. Which metric best evaluates completeness of a dataset during profiling?

[ ] A. Percentage of non-null values per column
[ ] B. Number of distinct values per column
[ ] C. Mean and standard deviation
[ ] D. Correlation matrix


CORRECT: A. Percentage of non-null values per column
Completeness is measured by the proportion of non-missing values. Distinct counts relate to uniqueness.
Mean/std describe distribution. Correlation assesses relationships, not completeness.



11. A profiling report shows a column with 12 distinct values but 0 nulls; which metric
best exposes hidden data-quality risk?

[ ] A. Null ratio
[ ] B. Cardinality ratio (distinct count / row count)
[ ] C. Column data type
[ ] D. Maximum value length


CORRECT: B. Cardinality ratio (distinct count / row count)
Cardinality ratio reveals whether a column is low-cardinality (potential categorical encoding issues) or
unexpectedly high-cardinality (possible free-text or identifier contamination). Null ratio is zero and
uninformative; data type and max length do not quantify distributional risk.




HIGHP - Page 4 of 31

Document information

Uploaded on
October 26, 2026
Number of pages
31
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$21.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
ProfReginaBank
4.4
(5)
Sold
45
Followers
2
Items
2543
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions