Cheat sheet: DA0-002 review reference for CompTIA Data+ V2 candidates: data concepts, SQL, statistics, quality, visualization, governance, and exam decision points.
Use the tables for a quick pre-exam check. Expand a topic’s notes for explanations, examples, and additional distinctions.
Scope and study context
For best results:
Use the tables to test “when would I choose this?” rather than memorizing definitions only.
Practice reading scenario clues: business objective, data source, data type, quality problem, stakeholder, and reporting need.
Pair this page with timed DA0-002 practice questions to confirm that you can apply concepts under exam conditions.
This page is IT Mastery exam-prep support. It is designed to help you connect key ideas to IT Mastery practice, including original practice questions, targeted topic drills, a full question bank, and answer explanations that clarify why each choice is right or wrong.
Item
Details
Vendor/provider
CompTIA
Official exam title
CompTIA Data+ V2
Official exam code
DA0-002
Review focus
Data concepts, acquisition, preparation, analysis, visualization, governance, quality, and controls
Best use
Final review before practice questions and mock exams
Scan the high-yield tables first. Mark topics that feel weak.
Work topic drills immediately after reviewing a section. Do not wait until you feel “done.”
Use mistakes diagnostically. A missed question usually points to a decision rule, vocabulary distinction, or scenario clue.
Review explanations, not just answer keys. For CompTIA Data+ V2 (DA0-002), understanding why distractors are wrong is often as important as recognizing the right option.
Is the data relevant, permitted, and complete enough?
Ingest
Batch, streaming, CDC, manual upload
How often must data be refreshed?
Store
Database, warehouse, lake, mart, spreadsheet
Does the structure fit analytics, cost, and governance needs?
Prepare
Clean, transform, standardize, join, aggregate
What assumptions are being introduced?
Analyze
Descriptive, diagnostic, predictive, prescriptive
Which method matches the question and data type?
Visualize
Chart, dashboard, report, narrative
What is the simplest accurate way to communicate the insight?
Act
Recommendation, decision, automation
What action should the stakeholder take?
Govern
Metadata, lineage, quality, privacy, access
Can the result be trusted, reproduced, and audited?
Retire/archive
Retention, disposal, archival
Is the data still needed and allowed to be retained?
Data Types, Measurement, and Structure
Data Type Matrix
Type
Description
Examples
Analysis implications
Structured
Fixed schema, rows/columns
Relational tables, spreadsheets
SQL-friendly; constraints and joins matter
Semi-structured
Flexible tags/keys
JSON, XML, logs
Requires parsing; schema may vary by record
Unstructured
No predefined tabular model
Text, images, audio, PDFs
Needs extraction, NLP, classification, or metadata
Categorical
Labels or groups
Region, product, status
Counts, proportions, bar charts
Numerical
Measured or counted values
Revenue, age, quantity
Summary stats, distributions, trends
Discrete
Countable integers
Tickets, orders, defects
Counts, rates, histograms
Continuous
Measured on continuum
Temperature, duration, weight
Means, ranges, density, binning
Date/time
Time-based values
Timestamp, fiscal month
Trends, seasonality, intervals, time zones
Boolean
True/false
Active flag, subscribed
Filtering, binary classification
Geospatial
Location-based
Latitude/longitude, ZIP/postal area
Maps, clustering, regional aggregation
Notes and examples
Measurement Scales
Scale
Ordered?
Equal intervals?
True zero?
Examples
Valid operations
Nominal
No
No
No
Color, country, department
Count, mode, percentage
Ordinal
Yes
Not guaranteed
No
Satisfaction rating, risk level
Median, rank, percentile
Interval
Yes
Yes
No
Celsius, calendar year
Difference, mean, standard deviation
Ratio
Yes
Yes
Yes
Revenue, age, distance
Ratios, growth rate, coefficient of variation
Exam trap: Do not average nominal labels. Be cautious averaging ordinal ratings; it is common in business reporting, but the scale distance may not be truly equal.
Data Storage and Architecture
Analytical Storage Selection
Option
Best for
Strengths
Limitations / traps
Spreadsheet
Small ad hoc analysis
Fast, familiar, flexible
Error-prone, weak version control, limited governance
Relational database
Structured operational data
ACID transactions, SQL, constraints
Not always optimized for large analytical scans
Data warehouse
Curated historical analytics
Consistent metrics, performance, governance
Requires modeling and ETL/ELT discipline
Data mart
Department-specific analytics
Focused, faster delivery
Can create inconsistent definitions if unmanaged
Data lake
Raw diverse data at scale
Stores structured/semi/unstructured data
Needs catalog, quality, security, and curation
Lakehouse
Lake storage with warehouse-like features
Supports broader analytics on open formats
Still requires strong governance and design
NoSQL document store
Flexible nested records
Handles changing JSON-like structures
Joins and complex analytics may be harder
Key-value store
Fast lookup by key
Low-latency retrieval
Poor for complex filtering or aggregation
Column-family store
Wide sparse high-volume data
Scalable reads/writes for certain patterns
Query patterns must be designed upfront
Graph database
Connected entities
Relationship traversal, networks
Not ideal for simple tabular reporting
Notes and examples
OLTP vs OLAP
Feature
OLTP
OLAP
Primary purpose
Run business transactions
Analyze business performance
Data shape
Highly normalized
Star/snowflake, denormalized, aggregated
Workload
Many small reads/writes
Fewer large scans and aggregations
Data freshness
Current/near current
Historical snapshots or curated refreshes
Users
Applications, operations
Analysts, BI users, executives
Example
Order entry system
Sales performance dashboard
Exam clue
“Insert/update transactions”
“Trends, KPIs, historical reporting”
Data Modeling Essentials
Concept
Meaning
Exam note
Entity
Object being stored
Customer, order, product
Attribute
Field describing an entity
Customer name, order date
Primary key
Unique row identifier
Should be stable and unique
Foreign key
Links to primary key in another table
Supports referential integrity
Composite key
Key made from multiple columns
Common in bridge or fact tables
Surrogate key
Artificial system-generated key
Often used in warehouses
Natural key
Real-world identifier
May change or contain errors
Fact table
Measurements/events
Sales amount, units, clicks
Dimension table
Descriptive context
Date, product, customer, region
Grain
Level of detail in a table
“One row per order line” is different from “one row per order”
Star schema
Fact table connected to dimensions
Common BI model; simpler joins
Snowflake schema
Dimensions normalized into subdimensions
Less redundancy, more joins
Normalization
Reduces redundancy and update anomalies
Useful for OLTP
Denormalization
Adds redundancy for faster reads
Useful for analytics/performance
Common Storage and Processing Concepts
Term
Practical meaning
Exam-oriented clue
Relational database
Tables with rows, columns, keys, and relationships
Structured transactional or analytical data
Data warehouse
Centralized, curated analytical store
Reporting, historical analysis, business intelligence
Data mart
Subject-specific subset of data
Sales mart, finance mart, HR mart
Data lake
Large repository for raw or varied data
Flexible storage, schema-on-read, mixed formats
Data lakehouse
Combines lake flexibility with warehouse-style management
Analytics on varied data with stronger governance
Operational database
Supports business transactions
Insert/update/delete activity, current state
Analytical database
Supports reporting and analysis
Aggregations, trends, historical queries
Metadata
Data about data
Definitions, owner, source, refresh date
Data dictionary
Reference for fields and definitions
Column names, types, allowed values
Data lineage
Where data came from and how it changed
Auditability, trust, troubleshooting
Schema, Grain, and Keys
Concept
Why it matters
Candidate mistake
Schema
Defines structure, fields, types, relationships
Assuming field names alone explain meaning
Grain
The level of detail represented by each row
Mixing daily, monthly, customer, and order-level data incorrectly
Primary key
Uniquely identifies a record in a table
Choosing a non-unique field
Foreign key
Links one table to another
Ignoring referential integrity
Composite key
Multiple fields together identify a row
Looking for a single key when none exists
Surrogate key
Artificial identifier
Confusing it with a business-natural key
Natural key
Real-world identifier
Assuming it is always stable or clean
Decision rule: Before aggregating or joining data, identify the grain. Many analysis errors come from joining tables at different grains and accidentally duplicating facts.
File and Data Exchange Formats
Format
Best use
Strengths
Watch for
CSV
Simple tabular exchange
Portable, human-readable
Delimiters, quoting, encoding, missing headers
TSV
Tabular data with tabs
Avoids comma conflicts
Still weak typing
JSON
APIs, nested semi-structured data
Flexible, widely used
Nested arrays, schema drift
XML
Tagged hierarchical exchange
Self-describing, supports schemas
Verbose, more complex parsing
Parquet
Columnar analytics
Efficient compression and queries
Not human-readable; schema matters
ORC
Columnar big data analytics
Efficient for large scans
Ecosystem-specific considerations
Avro
Row-oriented serialization
Good for streaming and schema evolution
Requires schema management
Excel workbook
Business user exchange
Multiple sheets, formulas, formatting
Hidden logic, manual edits, inconsistent types
PDF
Final-form documents
Preserves layout
Poor for structured extraction
Log files
Event/activity tracking
Rich operational detail
Timestamp parsing, volume, inconsistent formats
Data Integration and Transformation
Ingestion and Refresh Patterns
Pattern
Choose when…
Key benefit
Risk / exam trap
Full load
Dataset is small or baseline is needed
Simple and complete
Expensive for large data
Incremental load
Only changes need refresh
Efficient
Requires reliable change detection
Batch processing
Periodic reporting is acceptable
Efficient scheduling
Not real-time
Streaming
Low-latency event processing is required
Near real-time insight
More complex monitoring and ordering
Change data capture
Need database changes over time
Captures inserts/updates/deletes
Must handle late/out-of-order changes
API ingestion
Source exposes service endpoint
Controlled access and automation
Rate limits, pagination, authentication
Manual upload
Infrequent or early-stage process
Low setup effort
Error-prone and hard to govern
Notes and examples
ETL vs ELT
Approach
Flow
Best fit
Exam clue
ETL
Extract → Transform → Load
Transform before warehouse load; strict target schema
“Clean and conform before loading”
ELT
Extract → Load → Transform
Cloud/lake/warehouse can transform after loading
“Load raw data first, transform in platform”
Common Transformation Tasks
Task
Purpose
Example
Filtering
Keep relevant records
Current fiscal year only
Projection
Keep relevant columns
Select customer_id, order_date, amount
Standardization
Make values consistent
Convert “USA,” “U.S.,” “United States”
Type conversion
Ensure correct data type
String date to date type
Parsing
Split/extract components
Extract domain from email
Deduplication
Remove duplicate records
Same customer loaded twice
Aggregation
Summarize to desired grain
Daily sales by region
Joining
Combine related tables
Orders with customer dimension
Pivot/unpivot
Reshape rows/columns
Months as rows instead of columns
Binning
Group numeric ranges
Age bands, revenue tiers
Imputation
Fill missing values
Median income by segment
Anonymization/masking
Reduce sensitive exposure
Hide full account number
SQL Cheat Sheet for Data+ Candidates
Query Order and Logical Processing
Clause
Purpose
Exam note
SELECT
Columns or expressions returned
Can include aliases and calculated fields
FROM
Source table/view
Start with correct grain
JOIN
Combine related data
Choose join type carefully
WHERE
Row-level filter before aggregation
Cannot filter aggregate results here
GROUP BY
Aggregate by category/grain
Every non-aggregated selected column must be grouped
HAVING
Filter groups after aggregation
Use for SUM/COUNT/AVG conditions
ORDER BY
Sort results
Usually last logical output step
LIMIT / TOP
Return subset
Syntax varies by platform
Notes and examples
Core SQL Patterns
-- Aggregation with group filter
SELECTregion,COUNT(*)ASorder_count,SUM(order_amount)AStotal_sales,AVG(order_amount)ASavg_order_valueFROMordersWHEREorder_date>='2026-01-01'GROUPBYregionHAVINGSUM(order_amount)>100000ORDERBYtotal_salesDESC;
-- Left join to keep all customers, even those without orders
SELECTc.customer_id,c.customer_name,COUNT(o.order_id)ASorder_countFROMcustomerscLEFTJOINordersoONc.customer_id=o.customer_idGROUPBYc.customer_id,c.customer_name;
-- Window function: rank rows without collapsing detail
SELECTcustomer_id,order_id,order_amount,RANK()OVER(PARTITIONBYcustomer_idORDERBYorder_amountDESC)ASorder_rankFROMorders;
-- CASE expression for business categories
SELECTcustomer_id,total_spend,CASEWHENtotal_spend>=10000THEN'High'WHENtotal_spend>=1000THEN'Medium'ELSE'Low'ENDASspend_segmentFROMcustomer_summary;
Join Types
Join
Returns
Use when…
Trap
INNER JOIN
Matching rows only
Need records present in both tables
Can unintentionally drop unmatched records
LEFT JOIN
All left rows plus matches
Need full base population
WHERE filter on right table can turn it into inner-like behavior
RIGHT JOIN
All right rows plus matches
Same concept as left join, reversed
Often less readable than rewriting as LEFT JOIN
FULL OUTER JOIN
All rows from both sides
Need unmatched records from either source
Not supported in every SQL dialect
CROSS JOIN
All combinations
Need Cartesian product intentionally
Can explode row count
Self join
Table joined to itself
Hierarchies, comparisons, previous relationships
Requires clear aliases
SQL Exam Traps
Trap
Why it matters
Safer approach
COUNT(*) vs COUNT(column)
COUNT(column) ignores NULLs
Choose intentionally
NULL comparison
NULL is unknown, not equal to anything
Use IS NULL / IS NOT NULL
Many-to-many join
Inflates counts and sums
Check grain and bridge tables
Filtering after left join
WHERE right_table.column = value may remove unmatched rows
Put condition in JOIN or allow NULL logic
Date filtering
Time components can exclude expected records
Use half-open date ranges where appropriate
Duplicate dimension rows
Can multiply facts
Validate uniqueness of join keys
Aggregating at wrong grain
Produces misleading KPIs
Define grain before joining or summarizing
Alias availability
Some dialects do not allow SELECT alias in WHERE
Use subquery/CTE if needed
Data Quality and Profiling
Data Quality Dimensions
Dimension
Meaning
Example issue
Detection methods
Accuracy
Correctly represents reality
Wrong customer address
Source comparison, validation sample
Completeness
Required data is present
Missing email or date
Null counts, required field checks
Consistency
Same value across systems
Different customer status in CRM and billing
Reconciliation, cross-system checks
Validity
Matches allowed format/range
Negative age, invalid ZIP/postal code
Rules, regex, constraints
Timeliness
Available when needed
Data refreshed after report deadline
Refresh timestamp, SLA monitoring
Uniqueness
No unintended duplicates
Duplicate customer records
Duplicate key checks, fuzzy matching
Integrity
Relationships are valid
Order with nonexistent customer
Referential integrity checks
Conformity
Follows standard representation
Mixed date formats
Pattern and type profiling
Notes and examples
Data Profiling Checklist
Count rows and compare to expected volume.
Review data types and unexpected type coercion.
Count NULLs by column and by key business segment.
Identify duplicate keys or suspicious near-duplicates.
Check minimum, maximum, mean, median, and outliers for numeric fields.
Validate categorical values against allowed domains.
Verify date ranges, future dates, and impossible timestamps.
Confirm referential integrity across joined tables.
Compare aggregates to trusted control totals.
Document assumptions, exclusions, and known limitations.
Cleaning and Remediation Choices
Problem
Possible action
When appropriate
Risk
Missing values
Leave as NULL
Missingness is meaningful or unknown
Downstream tools may handle poorly
Missing values
Impute mean/median/mode
Small gaps; analysis requires complete data
Can bias variability and relationships
Missing values
Drop rows
Few affected rows and low business impact
Can introduce selection bias
Invalid format
Standardize/parse
Pattern is recoverable
Incorrect parsing
Duplicate records
Exact/fuzzy dedupe
Same entity appears multiple times
False merges
Outliers
Investigate, cap, transform, or keep
Depends on whether error or real extreme
Hiding important events
Inconsistent categories
Map to standard codes
Known synonym list exists
Misclassification
Wrong data type
Convert type
Source imported as text
Failed conversions or truncation
Inconsistent grain
Aggregate or disaggregate
Data sources differ in detail
Loss of detail or double counting
Quality Dimensions
Dimension
Meaning
Example issue
Accuracy
Data correctly represents reality
Wrong customer address
Completeness
Required data is present
Missing order date
Consistency
Values agree across systems
Customer status differs by system
Timeliness
Data is current enough
Report uses stale inventory
Validity
Values follow allowed format/rules
Invalid date or unsupported code
Uniqueness
No unwanted duplicates
Same customer entered twice
Integrity
Relationships are valid
Order references nonexistent product
Quality Controls
Control
Purpose
Validation rules
Prevent invalid entries
Required fields
Improve completeness
Standardized definitions
Improve consistency
Reference data
Control allowed values
Deduplication rules
Improve uniqueness
Reconciliation
Compare totals across systems
Data quality scorecards
Monitor quality over time
Exception reports
Identify records needing review
Common trap: Data quality is not only a technical issue. It depends on business definitions, process design, ownership, and controls.
Descriptive Statistics and Core Formulas
Formula Reference
Use these formulas conceptually; exam questions often test interpretation more than calculation.
Use formulas only after confirming the business definition. For example, “growth” may mean year-over-year, month-over-month, compound growth, absolute change, or percentage change.
Distribution Concepts
Concept
Meaning
Exam clue
Normal distribution
Symmetric bell-shaped distribution
Mean, median, and mode are similar
Skewed distribution
Tail extends more on one side
Median may be better than mean
Outlier
Unusual value far from typical range
Investigate before excluding
Percentile
Value below which a percentage of observations fall
Used for ranking and thresholds
Quartile
Splits data into four parts
IQR and box plots
Seasonality
Repeating pattern over time
Retail, staffing, weather, demand
Trend
Long-term direction
Growth, decline, stabilization
Inferential Statistics and Hypothesis Testing
Key Terms
Term
Meaning
Exam note
Population
Entire group of interest
Often unavailable in full
Sample
Subset of population
Should represent population
Parameter
Population measure
Usually unknown
Statistic
Sample measure
Used to estimate parameter
Sampling error
Difference between sample statistic and population parameter
Reduced by better sampling design and larger samples
Confidence interval
Range of plausible values for a parameter
Wider intervals imply more uncertainty
Null hypothesis
Default/no-effect claim
Tested against alternative
Alternative hypothesis
Claim of effect/difference
May be one-tailed or two-tailed
p-value
Probability of results as extreme if null is true
Small p-value suggests evidence against null
Significance level
Threshold for rejecting null
Chosen before test
Type I error
Rejecting a true null
False positive
Type II error
Failing to reject a false null
False negative
Power
Probability of detecting a real effect
Higher power lowers Type II risk
Notes and examples
Common Test Selection
Scenario
Candidate method
Data type
Compare mean to known value
One-sample t-test
Numeric
Compare means of two independent groups
Two-sample t-test
Numeric + two groups
Compare means of paired observations
Paired t-test
Numeric paired data
Compare means across more than two groups
ANOVA
Numeric + multiple groups
Test relationship between categorical variables
Chi-square test
Categorical
Estimate linear relationship
Linear regression
Numeric outcome
Compare proportions
Proportion test
Categorical/binary outcome
Exam trap: Statistical significance does not prove practical significance, business value, or causation.
Sampling, Bias, and Experimental Design
Sampling Methods
Method
How it works
Strength
Risk
Simple random
Every member has equal chance
Easy to understand
Requires full sampling frame
Stratified
Sample within important subgroups
Ensures subgroup representation
Requires correct strata
Cluster
Randomly select groups/clusters
Cost-effective for dispersed populations
Higher sampling error if clusters vary
Systematic
Select every kth record
Simple
Hidden periodic patterns can bias results
Convenience
Use easily available records
Fast
Often biased
Snowball
Participants recruit others
Useful for hard-to-reach groups
Network bias
Census
Include all records/population
No sampling error for included population
May be expensive or infeasible
Notes and examples
Bias and Validity Traps
Bias / issue
Description
Mitigation
Selection bias
Sample differs from population
Random/stratified sampling, clear inclusion rules
Survivorship bias
Only successful/remaining cases are analyzed
Include failures and removed records
Confirmation bias
Analyst favors expected result
Predefine method; peer review
Response bias
Answers influenced by wording/social pressure
Neutral survey design
Nonresponse bias
Missing respondents differ from respondents
Follow-up, weighting, assess differences
Measurement bias
Instrument/process systematically mismeasures
Calibrate, validate, standardize collection
Data leakage
Predictive model uses information unavailable at prediction time
Separate training features by time and availability
Confounding
Third variable affects relationship
Control variables, experimental design
Simpson’s paradox
Aggregate trend reverses within subgroups
Analyze by relevant segments
Analytics Methods and Model Concepts
Analytics Categories
Category
Question answered
Examples
Descriptive
What happened?
Monthly sales, defect count, dashboard KPI
Diagnostic
Why did it happen?
Drill-down, variance analysis, root cause analysis
Predictive
What is likely to happen?
Forecasting demand, churn prediction
Prescriptive
What should we do?
Optimization, recommendations, next-best action
Notes and examples
Method Selection
Task
Common method
Output
Watch for
Forecast future values
Time series / regression
Predicted value by time
Seasonality, missing periods, external events
Predict numeric value
Regression
Continuous estimate
Outliers, multicollinearity, nonlinearity
Predict category/class
Classification
Class label/probability
Imbalanced classes, threshold choice
Find natural groups
Clustering
Segments/clusters
Need interpretation and scaling
Find co-occurring items
Association rules
Item relationships
Correlation, not causation
Reduce variables
Dimensionality reduction
Fewer features/components
Loss of interpretability
Analyze free text
Text mining/NLP
Sentiment, topics, entities
Ambiguity, language, context
Detect unusual events
Anomaly detection
Outlier score/flag
Rare legitimate events vs errors
Model Evaluation Metrics
Metric
Plain formula / meaning
Best for
Trap
Accuracy
Correct predictions / all predictions
Balanced classification
Misleading with class imbalance
Precision
TP / (TP + FP)
False positives are costly
May ignore missed positives
Recall / sensitivity
TP / (TP + FN)
False negatives are costly
May increase false positives
Specificity
TN / (TN + FP)
Correctly identifying negatives
Not enough alone
F1 score
Harmonic mean of precision and recall
Balance precision and recall
Hides business cost differences
MAE
Average absolute error
Regression; interpretable units
Treats all errors linearly
MSE
Average squared error
Regression; penalizes large errors
Units are squared
RMSE
Square root of MSE
Regression; original units
Sensitive to outliers
R-squared
Variance explained by model
Regression fit summary
Higher is not always better; overfitting possible
Visualization and Reporting
Chart Selection Matrix
Need
Best chart types
Avoid / watch for
Compare categories
Bar, column, dot plot
3D bars, unsorted clutter
Show trend over time
Line, area, sparkline
Pie chart for time trends
Show part-to-whole
Stacked bar, 100% stacked bar, treemap, pie for few categories
Too many pie slices
Show distribution
Histogram, boxplot, density plot
Mean-only summary for skewed data
Show relationship
Scatterplot, bubble chart
Inferring causation automatically
Show ranking
Sorted bar, lollipop chart
Alphabetical order when rank matters
Show geography
Map, choropleth, proportional symbol map
Using raw counts without population normalization
Show process flow
Flowchart, Sankey
Overly decorative visuals
Show KPI status
Scorecard, bullet chart, gauge with caution
Gauge overload
Show correlation matrix
Heatmap
Using rainbow color scales without meaning
Notes and examples
Visualization Design Principles
Principle
Practical guidance
Match chart to question
Choose the simplest chart that answers the stakeholder’s question
Reporting numbers without context, assumptions, or caveats
Core Data Concepts
Data Categories You Should Distinguish
Concept
Meaning
Examples
Review tip
Structured data
Organized in rows, columns, and defined fields
Relational tables, spreadsheets
Best suited to SQL-style querying
Semi-structured data
Has tags, keys, or hierarchy but not fixed tables
JSON, XML, logs
Often needs parsing or flattening
Unstructured data
No predefined model
Images, audio, free text
May require specialized processing
Quantitative data
Numeric and measurable
Revenue, age, count, duration
Can usually be aggregated
Qualitative data
Descriptive or categorical
Region, product type, status
Often used for grouping or filtering
Discrete data
Countable values
Number of orders
Often whole numbers
Continuous data
Measured on a scale
Temperature, time, weight
Can take many decimal values
Notes and examples
Levels of Measurement
Level
Description
Examples
Valid comparisons
Nominal
Categories without order
Country, color, department
Same/different
Ordinal
Ordered categories
Satisfaction rating, priority level
Greater/less, rank
Interval
Ordered, equal intervals, no true zero
Celsius temperature
Differences
Ratio
Ordered, equal intervals, true zero
Revenue, weight, duration
Differences and ratios
Common trap: If a value is numeric-looking but represents a label, it is not automatically quantitative. ZIP codes, account IDs, product codes, and employee numbers are identifiers, not measures.
The Data Analysis Workflow
A practical DA0-002 mindset is not “calculate first.” It is: understand the question, confirm the data, prepare it correctly, analyze it appropriately, communicate limitations, and preserve governance.
flowchart LR
A[Business question] --> B[Define metric, audience, and grain]
B --> C[Identify sources]
C --> D[Acquire data]
D --> E[Profile and validate]
E --> F[Clean and transform]
F --> G[Analyze]
G --> H[Visualize and interpret]
H --> I[Communicate findings]
I --> J[Document lineage and limitations]
Notes and examples
Workflow Traps
Step
Trap
Better approach
Business question
Starting with a tool or chart
Clarify decision, audience, and KPI first
Data acquisition
Pulling all available data
Pull relevant data with known source, scope, and refresh rules
Profiling
Assuming the file is correct
Check nulls, duplicates, ranges, types, and outliers
Cleaning
Deleting inconvenient records
Apply documented rules and preserve auditability
Analysis
Using a method because it is familiar
Match method to question and data type
Visualization
Showing every metric
Show what supports the decision
Communication
Overstating conclusions
State assumptions, limitations, and confidence level
Data Acquisition Review
Source Types
Source
Strengths
Risks or checks
Internal systems
Usually aligned to business processes
May have inconsistent definitions across departments
External data
Adds market, demographic, benchmark, or third-party context
Requires source credibility and usage rights review
Version control, delimiter issues, encoding problems
Logs
Detailed event-level behavior
High volume, messy timestamps, noise
Databases
Structured query access
Permissions, performance impact, join complexity
Notes and examples
Batch vs Streaming
Approach
Use when
Watch for
Batch
Periodic reporting is acceptable
Stale data between refreshes
Streaming
Real-time or near-real-time response is needed
Complexity, latency, event ordering
Incremental load
Only changed data should be processed
Change detection accuracy
Full load
Simplicity or complete refresh is preferred
Processing time, duplication, downtime
Common trap: “Real-time” is not automatically better. If the decision is monthly, a well-controlled batch process may be more appropriate than a fragile streaming pipeline.
Data Preparation and Cleaning
Profiling Checks
Check
What it reveals
Example
Row count
Missing or extra records
Expected 10,000 rows, received 8,700
Null count
Completeness issues
Missing birth date or revenue
Distinct count
Cardinality and uniqueness
Duplicate customer IDs
Min/max
Range problems
Negative quantity sold
Data type
Format and calculation readiness
Dates stored as text
Pattern check
Valid format
Email, phone, postal code
Referential check
Relationship integrity
Orders with no matching customer
Distribution
Skew, outliers, unusual clusters
Revenue dominated by one account
Notes and examples
Cleaning Techniques
Problem
Possible technique
Important caution
Missing values
Impute, flag, exclude, request correction
Do not hide meaningful absence
Duplicates
Deduplicate by key and business rule
Confirm whether records are true duplicates
Inconsistent formats
Standardize case, date format, units
Avoid changing meaning
Outliers
Investigate, cap, transform, segment, exclude with rationale
Outlier may be valid and important
Invalid values
Enforce validation rules
Rules must match business definitions
Mixed units
Convert units
Document conversion logic
Free-text variation
Normalize labels or use controlled vocabulary
Preserve original value when useful
Incorrect data type
Cast or parse values
Watch for failed conversions
Missing Data Decision Table
Situation
Better choice
Why
Missing value means “not applicable”
Create explicit category or flag
Absence has meaning
Small random missingness
Consider exclusion or simple imputation
Low impact if documented
Missingness is systematic
Investigate cause before modeling or reporting
Could bias results
Critical field missing
Request correction or exclude based on rule
Analysis may be unreliable
Missing target outcome
Usually exclude from supervised model training
Cannot train against unknown target
Missing categorical value
Use “Unknown” when meaningful
Avoid pretending the category is known
Joins, Blending, and Aggregation
Join Types
Join type
Keeps
Use case
Trap
Inner join
Matching records only
Need records present in both tables
Accidentally drops unmatched records
Left join
All left records plus matches from right
Preserve primary dataset
Nulls appear where no match exists
Right join
All right records plus matches from left
Less common; equivalent to swapping table order
Confusing table direction
Full outer join
All records from both sides
Reconciliation and completeness checks
Can create many nulls
Cross join
Every combination
Scenario generation or Cartesian products
Usually accidental and explosive
Notes and examples
Aggregation Traps
Trap
Example
Fix
Double counting after join
Customer table joined to many orders, then customer count inflated
Aggregate at correct grain first
Averaging averages
Average of regional averages without weighting
Use weighted average if group sizes differ
Filtering after aggregation incorrectly
Removing records after totals are calculated
Apply filters at correct stage
Mixing time grains
Daily and monthly data in same metric
Align to common time period
Ignoring null handling
Null values excluded from average
Confirm calculation behavior
SQL and Query Logic Review
CompTIA Data+ V2 (DA0-002) candidates should be comfortable interpreting query intent and recognizing common data retrieval mistakes, even when the exam is not asking for advanced database administration.
SQL Clause Logic
Clause
Purpose
Common issue
SELECT
Choose fields or calculated outputs
Selecting non-aggregated fields with grouped results
FROM
Identify source table
Wrong source table or outdated view
JOIN
Combine related tables
Incorrect join key or join type
WHERE
Filter rows before grouping
Using it for aggregate conditions
GROUP BY
Summarize rows by category
Grouping at wrong level
HAVING
Filter grouped results
Using it when row-level WHERE is intended
ORDER BY
Sort results
Assuming sorting changes calculations
LIMIT / TOP
Return a subset
Forgetting sort order before limiting
Notes and examples
WHERE vs HAVING
Need
Use
Filter individual rows before aggregation
WHERE
Filter groups after aggregation
HAVING
Remove orders before calculating total sales
WHERE
Show only customers with total sales above a threshold
HAVING
NULL Behavior
Point
Why it matters
NULL means unknown, missing, or not applicable depending on context
It is not the same as zero or blank text
Comparisons with NULL need special handling
Standard equality checks may not work
Aggregations may ignore NULLs
Averages and counts may not behave as expected
Replacing NULL with zero can distort analysis
Only do this when business meaning supports it
Correlation, Causation, and Bias
Correlation Review
Concept
Meaning
Positive correlation
Two variables tend to move in the same direction
Negative correlation
One variable tends to increase as the other decreases
No correlation
No clear linear relationship
Strong correlation
Points closely follow a pattern
Weak correlation
Relationship is inconsistent or noisy
Notes and examples
Critical rule: Correlation does not prove causation. A relationship may be caused by a third variable, coincidence, reverse causality, or selection effects.
Bias and Sampling
Bias or issue
What it looks like
Impact
Selection bias
Sample does not represent population
Misleading conclusions
Survivorship bias
Only successful or remaining cases are considered
Overestimates performance
Confirmation bias
Analyst favors evidence supporting expectation
Unbalanced interpretation
Response bias
Survey respondents answer inaccurately
Distorted survey results
Nonresponse bias
Certain groups do not respond
Missing viewpoint
Sampling error
Sample differs from population by chance
Uncertainty in estimates
Small sample size
Too few observations
Unstable results
Hypothesis and Inference Basics
Term
Practical meaning
Hypothesis
Testable statement about data
Null hypothesis
Default assumption, often “no effect” or “no difference”
Alternative hypothesis
Claim being evaluated against the null
p-value
Probability of observing results at least as extreme if the null assumption were true
Confidence interval
Range of plausible values for an estimate
Statistical significance
Result is unlikely under the null assumption
Practical significance
Result is large or meaningful enough to matter
Common trap: A statistically significant result may be too small to matter operationally. A non-significant result may still be important if the sample is too small or noisy.