Courseiva

CompTIA Data+ (DA0-002) (DA0-002) — Questions 151225

986 questions total · 14pages · All types, answers revealed

Page 2

Page 3 of 14

Page 4
151
MCQmedium

During data acquisition, an analyst notices that the data from an external vendor has inconsistent date formats. What is the first step the analyst should take?

A.Contact the vendor to request corrected data
B.Immediately transform dates to a standard format
C.Perform data profiling
D.Reject the entire dataset
AnswerC

Profiling identifies inconsistencies and guides next steps.

Why this answer

Data profiling is the initial step to understand the structure, quality, and issues in the data. Rejecting or transforming without profiling may lead to errors, and contacting the vendor is premature without understanding the scope.

152
MCQmedium

A business analyst is creating a dashboard to monitor sales performance. The primary goal is to quickly identify which regions are underperforming compared to the target. Which design principle is most important to apply?

A.Data-ink ratio
B.Appropriate precision
C.Visual hierarchy
D.Consistent color coding
AnswerC

Visual hierarchy arranges elements to guide the user to the most important information first.

Why this answer

Visual hierarchy ensures that the most important metrics (like underperforming regions) are prominently displayed, drawing the user's attention first.

153
MCQeasy

An analyst creates a pie chart showing market share of four companies: A (45%), B (30%), C (15%), D (10%). A stakeholder complains that it is difficult to compare C and D. Which alternative chart should the analyst recommend?

A.Horizontal bar chart
B.Line chart
C.Stacked bar chart
D.Scatter plot
AnswerA

Horizontal bar chart allows easy length comparison between categories.

Why this answer

A horizontal bar chart allows viewers to compare individual values by length, making it easy to see the difference between 15% and 10%. Pie charts rely on angles, which are difficult to compare for small slices. A line chart is for trends over time, a stacked bar chart shows parts of a whole but not individual comparisons as clearly, and a scatter plot shows relationships between variables.

Thus, a horizontal bar chart is the best alternative for comparing C and D.

154
Multi-Selecteasy

A dashboard designer is building a sales performance dashboard for executives. According to dashboard design principles, which TWO practices should be applied? (Choose two.)

Select 2 answers
A.Use color coding consistently to group related metrics
B.Use visual hierarchy to make the most important metric prominent
C.Avoid titles and labels to keep the dashboard clean
D.Include excessive precision on all numbers to show accuracy
E.Maximize chartjunk to make the dashboard visually appealing
AnswersA, B

Correct. Consistent color coding helps interpretation.

Why this answer

Visual hierarchy emphasizes the most important metric, and clear labels ensure readability. Chartjunk should be minimized, not maximized.

155
MCQmedium

A data analyst needs to extract data from a transactional database and load it into a data warehouse for reporting. Which process typically transforms the data before loading it into the warehouse?

A.Data virtualization
B.ELT
C.ETL
D.Data replication
AnswerC

ETL transforms before loading.

Why this answer

ETL (Extract, Transform, Load) transforms data before loading it into the warehouse, which is common for traditional data warehousing.

156
MCQhard

A data analyst is presenting a story to executives about a decline in sales. The analyst wants to show the key events that led to the decline, such as a product recall and a competitor's launch. Which storytelling technique should be used?

A.Using a pie chart to show current market share
B.Adding a waterfall chart to show incremental changes
C.Annotating the line chart with event markers
D.Using a treemap to show hierarchical proportions
AnswerC

Annotations on a line chart effectively highlight key events and their impact on trends.

Why this answer

Annotating key events on a time-series chart directly links events to data changes, helping executives understand causes.

157
MCQmedium

A company needs to store raw data from IoT sensors for future machine learning projects. The data is expected to be massive and in various formats. Which storage solution is most appropriate?

A.Data mart
B.Data warehouse
C.Data lake
D.Relational database
AnswerC

Data lakes store raw data in native format, suitable for large-scale, diverse data.

Why this answer

A data lake stores raw data in its native format without predefined schema, ideal for large volumes of varied data for future use.

158
MCQeasy

A data analyst wants to show the proportion of total sales for each product category. There are 4 categories. Which chart type is most appropriate?

A.Pie chart
B.Line chart
C.Scatter plot
D.Histogram
AnswerA

Pie charts effectively show proportions for a small number of categories.

Why this answer

Pie charts are suitable for showing part-to-whole relationships when there are a limited number of categories (5-7 or fewer).

159
Multi-Selecthard

Which THREE of the following are best practices when performing data extraction for a data pipeline?

Select 3 answers
A.Performing a full refresh every time
B.Implementing error handling and logging
C.Documenting the extraction process
D.Ignoring data quality issues during extraction
E.Using incremental extraction where possible
AnswersB, C, E

Error handling ensures the pipeline can recover from failures.

Why this answer

Implementing error handling and logging is a critical best practice in data pipeline extraction. It ensures that failures (e.g., network timeouts, authentication errors, or schema mismatches) are captured and can be diagnosed without data loss or silent corruption, which is essential for maintaining pipeline reliability and auditability.

Exam trap

CompTIA often tests the misconception that full refreshes are always safer or simpler, but the trap is that they ignore the operational cost and scalability issues, while incremental extraction with proper error handling is the standard in production pipelines.

160
MCQmedium

During a data presentation, an audience member questions the accuracy of the data shown. Which of the following is the best way for the analyst to respond?

A.Provide documentation of data sources and transformation steps
B.Change the topic
C.Offer to send the raw data later
D.Dismiss the question and continue
AnswerA

Documentation validates data accuracy and shows integrity.

Why this answer

Providing documentation of data sources and transformation steps directly addresses the audience member's concern about accuracy by demonstrating transparency and traceability. This approach aligns with best practices in data governance, as it allows the audience to verify the data lineage and any ETL processes that may have introduced errors. It also builds trust by showing the analyst has a clear understanding of the data pipeline.

Exam trap

The trap here is that candidates may choose Option C, thinking that providing raw data is sufficient, but they overlook that raw data without transformation documentation does not prove accuracy and may even raise more questions about how the data was prepared.

How to eliminate wrong answers

Option B is wrong because changing the topic avoids the question entirely, which undermines the credibility of the analyst and fails to address the legitimate concern about data accuracy. Option C is wrong because offering to send raw data later delays the response and does not provide immediate clarification; raw data alone may also be insufficient without context on how it was processed. Option D is wrong because dismissing the question and continuing is dismissive and unprofessional, likely eroding audience trust and suggesting the analyst cannot defend the data's integrity.

161
Multi-Selecthard

A data warehouse team is considering moving from an ETL to an ELT approach. Which THREE of the following are advantages of ELT over ETL?

Select 3 answers
A.Requires less storage space in the data warehouse
B.Reduces data loading time because transformations are done after loading
C.Allows data to be reprocessed easily if transformation logic changes
D.Ensures data is cleaned before loading
E.Eliminates the need for a separate ETL server
AnswersB, C, E

Data is loaded quickly without transformation, reducing initial load time.

Why this answer

In ELT, data is loaded into the data warehouse first and transformations are applied afterward. This reduces the initial loading time since no transformation processing occurs during the load phase, allowing raw data to be ingested more quickly.

Exam trap

CompTIA often tests the misconception that ELT reduces storage requirements, but in reality, ELT increases storage needs because raw data is persisted alongside transformed data, whereas ETL can discard raw data after transformation.

162
MCQeasy

A dataset contains the ages of 100 customers. The analyst wants to transform the ages to a 0-1 range for use in a distance-based algorithm. Which technique should be used?

A.Square root transformation
B.Log transformation
C.Z-score normalization
D.Min-max normalization
AnswerD

Min-max scales to a range, e.g., 0-1.

Why this answer

Min-max normalization scales features to a fixed range, typically 0-1.

163
Multi-Selectmedium

Which TWO actions are best practices for creating effective data visualizations?

Select 2 answers
A.Avoid using more than five slices in a pie chart
B.Maximize data-ink ratio by removing all whitespace
C.Always include gridlines with high contrast
D.Use 3D effects to make charts look professional
E.Use color to represent data values consistently
AnswersA, E

Too many slices make pie charts unreadable.

Why this answer

Pie charts with more than five slices become cluttered and difficult to read, making it hard for viewers to compare proportions accurately. Limiting slices to five or fewer ensures the chart remains clear and effectively communicates the relative sizes of categories. This best practice aligns with data visualization principles that prioritize clarity and cognitive ease.

Exam trap

CompTIA often tests the misconception that maximizing data-ink ratio means eliminating all whitespace, when in fact whitespace is a critical design element for readability and should be preserved judiciously.

164
MCQeasy

A data analyst runs the Python code shown. What is the result of executing this code?

A.It reads the data, adds a calculated column, and shows the first 5 rows
B.It throws an error because 'total' column already exists
C.It reads the data and displays all rows
D.It reads the data and displays summary statistics
AnswerA

The code does exactly that.

Why this answer

The code reads a CSV file into a pandas DataFrame, then creates a new column 'total' by summing columns 'col1' and 'col2'. Finally, `head()` returns the first 5 rows. Option A correctly describes this sequence of operations.

Exam trap

The trap here is that candidates may think `head()` shows all rows or that adding a column with an existing name throws an error, but pandas silently overwrites the column.

How to eliminate wrong answers

Option B is wrong because pandas allows adding a new column with the same name as an existing column only if the assignment overwrites it; here, if 'total' already existed, it would be overwritten without error. Option C is wrong because `head()` without an argument defaults to 5 rows, not all rows. Option D is wrong because `head()` displays rows, not summary statistics (which would require `.describe()`).

165
MCQeasy

A data analyst is cleaning a dataset and finds missing values in a categorical variable representing customer region. Which imputation method is most appropriate?

A.Drop rows with missing values
B.Mode imputation
C.Mean imputation
D.Median imputation
AnswerB

Mode is appropriate for categorical variables.

Why this answer

Mode imputation is the most appropriate method for a categorical variable because it replaces missing values with the most frequently occurring category, preserving the distribution of the data. Unlike mean or median imputation, which are designed for numerical data, mode imputation maintains the categorical nature of the variable and avoids introducing invalid values. This approach is simple and effective when missing data is random and the category is well-represented.

Exam trap

The trap here is that candidates often confuse imputation methods across data types, incorrectly applying mean or median imputation to categorical variables because they focus on central tendency without considering data type appropriateness.

How to eliminate wrong answers

Option A is wrong because dropping rows with missing values can lead to significant data loss and potential bias, especially if the missingness is not completely random, reducing the dataset's representativeness. Option C is wrong because mean imputation is only appropriate for numerical data, not categorical variables, as calculating the mean of categories is meaningless and would produce non-categorical values. Option D is wrong because median imputation is also designed for numerical data and cannot be applied to categorical variables, as the median requires ordered numerical values to compute.

166
Multi-Selectmedium

A data analyst needs to identify duplicate customer records based on email and phone number. Which SQL techniques can be used to find duplicates? (Select TWO).

Select 2 answers
A.SELECT email, phone FROM customers ORDER BY email, phone
B.SELECT DISTINCT email, phone FROM customers
C.SELECT email, phone, ROW_NUMBER() OVER (PARTITION BY email, phone ORDER BY customer_id) AS rn FROM customers WHERE rn > 1
D.Use a CTE to assign ROW_NUMBER() and then select rows where rn > 1
E.SELECT email, phone, COUNT(*) FROM customers GROUP BY email, phone HAVING COUNT(*) > 1
AnswersD, E

A CTE with ROW_NUMBER() can identify duplicates by filtering on rn > 1.

Why this answer

GROUP BY with COUNT and HAVING COUNT > 1 filters groups with duplicates. ROW_NUMBER() with PARTITION BY can assign row numbers to identify duplicates.

167
Multi-Selectmedium

A data analyst is comparing characteristics of structured and unstructured data. Which TWO of the following are characteristics of structured data? (Choose two.)

Select 2 answers
A.Data is typically stored as raw text
B.Data lacks a fixed format
C.Data is stored in predefined schemas
D.Data often requires NoSQL databases for storage
E.Data can be easily queried using SQL
AnswersC, E

Structured data follows a predefined schema, such as tables in a relational database.

Why this answer

Structured data is organized into predefined schemas, such as tables with rows and columns, which enforce a consistent data format and relationships. This rigid structure allows structured data to be easily queried using SQL, as SQL is designed to operate on relational database management systems (RDBMS) that rely on these schemas. Option C is correct because a predefined schema is a defining characteristic of structured data, enabling efficient storage, retrieval, and integrity constraints.

Exam trap

The trap here is that candidates often confuse 'lack of fixed format' (unstructured) with 'flexibility in storage' (NoSQL), leading them to select options B or D, which describe unstructured or semi-structured data, not structured data.

168
MCQmedium

Refer to the exhibit. A data analyst is troubleshooting a failed dashboard refresh. The error log shows repeated SQL syntax errors. Which of the following is the most likely cause?

A.The database server is offline.
B.The query contains a syntax mistake.
C.The user does not have permissions to access the table.
D.The network connection timed out.
AnswerB

ORA-00933 is a SQL syntax error, indicating the query is not properly formed.

Why this answer

The error log explicitly states 'repeated SQL syntax errors,' which directly indicates that the SQL query being executed is malformed. A syntax mistake in the query (e.g., missing keyword, incorrect clause order, or mismatched parentheses) will cause the database to reject the statement before any execution begins, leading to the exact error described.

Exam trap

CompTIA often tests the distinction between error types (syntax vs. runtime vs. connectivity) to see if candidates can map the exact error message to its root cause, rather than guessing based on general troubleshooting assumptions.

How to eliminate wrong answers

Option A is wrong because if the database server were offline, the error would be a connection timeout or 'cannot connect to server' message, not a SQL syntax error. Option C is wrong because a permissions issue would produce an 'access denied' or 'permission denied' error, not a syntax error. Option D is wrong because a network timeout would result in a timeout or connection reset error, not a SQL syntax error.

169
MCQeasy

A data analyst needs to visualize the relationship between two continuous variables: advertising spend (in dollars) and monthly sales (in units). Which chart type is most appropriate?

A.Scatter plot
B.Pie chart
C.Bar chart
D.Line chart
AnswerA

Scatter plots are used to display the relationship between two continuous variables.

Why this answer

A scatter plot is the most appropriate chart for visualizing the relationship between two continuous variables, such as advertising spend (dollars) and monthly sales (units). It displays individual data points on an x-y axis, allowing the analyst to observe correlation, clustering, or outliers between the two numeric fields. This aligns with the DA0-001 objective of selecting visualizations based on data type and analytical goal.

Exam trap

The trap here is that candidates often choose a line chart (Option D) because they mistakenly think 'relationship' implies a trend over time, but line charts require a sequential or time-based x-axis, not two independent continuous variables.

How to eliminate wrong answers

Option B (Pie chart) is wrong because pie charts are designed to show proportions of a whole for categorical data, not the relationship between two continuous variables. Option C (Bar chart) is wrong because bar charts compare discrete categories or aggregated values, not the direct correlation between two continuous numeric fields. Option D (Line chart) is wrong because line charts are typically used to show trends over time or ordered sequences, not the general relationship between two independent continuous variables.

170
Matchingmedium

Match each data visualization type to its best use case.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Compare quantities across categories

Show relationship between two numeric variables

Display distribution of a single continuous variable

Show magnitude of values across two dimensions

Summarize distribution and identify outliers

Why these pairings

Correct matches: Bar chart compares categories, Line chart shows trends over time, Pie chart shows proportions. Common confusions: swapping time trend with bar chart or proportion with category comparison.

171
MCQmedium

Refer to the exhibit. A data analyst receives this error when running a data load script. What is the most likely cause?

A.The email field is too long
B.The database connection is lost
C.The customer_id 12345 already exists in the table
D.The name field is null
AnswerC

The error indicates duplicate primary key value.

Why this answer

The error message states 'Duplicate entry '12345' for key 'PRIMARY'', indicating that a record with customer_id 12345 already exists in the table. Option A (email too long) would produce a data truncation error, not a duplicate key error. Option B (connection lost) would result in a connection timeout or similar error.

Option D (name field null) could cause a constraint violation if the column is not nullable, but the specific error here is a primary key violation.

172
MCQmedium

A data analyst wants to randomly select 100 customers from a database for a survey, ensuring that the sample reflects the proportion of male and female customers in the population. Which sampling method is most appropriate?

A.Stratified sampling
B.Cluster sampling
C.Simple random sampling
D.Systematic sampling
AnswerA

Stratified sampling by gender ensures proportional representation.

Why this answer

Stratified sampling ensures proportional representation of subgroups (strata).

173
MCQmedium

A marketing manager wants to visualize the conversion funnel from website visits to final purchase. Which chart type is most appropriate?

A.Funnel chart
B.Treemap
C.Waterfall chart
D.Scatter plot
AnswerA

Funnel charts are ideal for visualizing conversion funnels.

Why this answer

Funnel charts are specifically designed to show stages in a pipeline or conversion process, with decreasing values as prospects move through the funnel.

174
MCQeasy

Which data sampling method involves selecting every k-th element from a list after a random start?

A.Systematic sampling
B.Cluster sampling
C.Stratified sampling
D.Simple random sampling
AnswerA

Correct: selects every k-th element.

Why this answer

Systematic sampling selects every k-th item after a random start.

175
MCQeasy

A data analyst is extracting data from a relational database using SQL. Which clause is essential for limiting the rows retrieved to only those needed?

A.GROUP BY
B.ORDER BY
C.WHERE
D.HAVING
AnswerC

Filters rows based on conditions.

Why this answer

WHERE. The WHERE clause is used to filter rows from a table based on specified conditions, limiting the result set to only the rows that meet those conditions. Option A (GROUP BY) is incorrect because it groups rows with same values into summary rows, not for filtering.

Option B (ORDER BY) is incorrect because it sorts the result set, not filters. Option D (HAVING) is incorrect because it filters groups after aggregation, not individual rows. Therefore, WHERE is essential for limiting rows retrieved.

176
Multi-Selecthard

An analyst is conducting an A/B test on a new website layout. Which TWO of the following must be defined before the test begins?

Select 2 answers
A.The final conversion rates for each group
B.The actual p-value from the test
C.The confidence interval for the lift
D.The significance threshold (alpha)
E.The sample size required for adequate statistical power
AnswersD, E

Must be set beforehand.

Why this answer

Sample size and significance level must be set a priori to ensure proper test design.

177
MCQhard

A financial institution is merging transaction data from two different systems. System A stores currency amounts as integers in cents, and System B stores as decimals in dollars. What is the best way to integrate the data?

A.Convert System A amounts to dollars by dividing by 100.
B.Keep both as is and use a transformation layer.
C.Store all amounts as strings to preserve precision.
D.Convert System B amounts to cents by multiplying by 100.
AnswerA

This standardizes all amounts to dollar decimal format.

Why this answer

Converting System A's integer cents to dollars by dividing by 100 ensures both datasets share a consistent unit (dollars) and numeric data type (decimal). This direct transformation eliminates ambiguity in aggregation and reporting, as financial calculations require uniform precision and scale. Using a transformation layer or storing as strings would introduce unnecessary complexity or risk of rounding errors.

Exam trap

The trap here is that candidates may assume keeping both formats (Option B) is simpler or that converting to cents (Option D) is safer, but they overlook the critical requirement for a single, consistent unit to enable direct arithmetic and avoid precision loss in financial data integration.

How to eliminate wrong answers

Option B is wrong because keeping both formats as-is forces every downstream query or application to repeatedly apply conversion logic, increasing complexity, maintenance overhead, and the risk of inconsistent results. Option C is wrong because storing currency amounts as strings prevents arithmetic operations (e.g., SUM, AVG) without explicit casting, degrades query performance, and can lead to sorting or comparison errors due to lexical ordering. Option D is wrong because converting System B's decimal dollars to cents by multiplying by 100 would lose fractional cent precision (e.g., $1.234 becomes 123 cents, truncating 0.4 cents), which is unacceptable for financial data integrity.

178
MCQhard

A social media monitoring company collects public tweets using the Twitter API. The API has a tiered access: free tier allows 500,000 tweets per month, and paid tier allows 2 million tweets per month. The company needs to collect 1.5 million tweets per month for analysis. They are on a free tier but have been exceeding the limit, causing account suspension. They need a sustainable solution without significantly increasing costs. What should they do?

A.Request an academic research exemption
B.Reduce the collection to exactly 500,000 tweets per month by sampling
C.Use multiple developer accounts to stay within free limits
D.Upgrade to the paid tier
AnswerC

Multiple accounts can split the load, staying within free limits and avoiding costs.

Why this answer

Using multiple developer accounts to distribute the collection load can allow access to more tweets while staying within each account's free limit. This avoids the cost of upgrading to a paid tier. Reducing collection to 500,000 tweets would cause loss of critical data.

Requesting an academic exemption is unlikely because the company is commercial. Upgrading to paid tier increases costs significantly.

179
MCQmedium

A data scientist is building a model to predict customer churn. The company's internal CRM system provides customer demographics and transaction history. They also purchase demographic data from a third-party vendor. How should the purchased data be classified?

A.Secondary data
B.Internal data
C.Structured data
D.Primary data
AnswerA

Correct. Secondary data is collected by another entity and reused.

Why this answer

Purchased demographic data from a third-party vendor is classified as secondary data because it was originally collected by another entity for a different purpose and is being reused by the data scientist for churn prediction. Secondary data contrasts with primary data, which is collected firsthand for the specific analysis at hand. This classification is independent of whether the data is structured or unstructured.

Exam trap

The trap here is that candidates confuse 'secondary data' with 'structured data' because purchased data is often delivered in a structured format like CSV, but the classification is based on data origin and collection purpose, not its structure.

How to eliminate wrong answers

Option B (Internal data) is wrong because the purchased data originates from an external vendor, not from the company's own CRM or internal systems. Option C (Structured data) is wrong because the classification of data as primary or secondary is about its origin and collection purpose, not its format; purchased data could be structured or unstructured. Option D (Primary data) is wrong because primary data is collected directly by the researcher for the specific study, whereas this data was pre-existing and collected by a third party.

180
MCQmedium

A data analyst needs to visualize the distribution of customer ages in a dataset. The analyst wants to see the frequency of ages grouped into bins. Which chart type should be used?

A.Pie chart
B.Histogram
C.Box plot
D.Bar chart
AnswerB

Correct. Histograms show the distribution of a continuous variable.

Why this answer

A histogram groups continuous data into bins and shows the frequency of each bin, making it ideal for visualizing the distribution of a continuous variable like age.

181
MCQhard

A data engineer is designing a data pipeline where raw data is loaded into a cloud data warehouse (Snowflake) and then transformed using SQL. This approach is called:

A.ELT
B.ETL
C.Data migration
D.Data wrangling
AnswerA

ELT loads raw data, then transforms in the warehouse.

Why this answer

ELT (Extract, Load, Transform) loads raw data first, then transforms it within the warehouse, which is suitable for modern cloud warehouses.

182
MCQmedium

A stakeholder asks for the exact number of customers who churned last month. Which metric should the analyst report?

A.Churn trend
B.Churn rate percentage
C.Count of churned customers
D.Churn probability
AnswerC

This directly gives the exact number requested.

Why this answer

The stakeholder explicitly asks for the 'exact number' of customers who churned, which is a discrete count. Option C, 'Count of churned customers,' directly provides this integer value without any normalization or ratio. The analyst should report the raw metric that matches the request's specificity.

Exam trap

The trap here is that candidates often confuse 'churn rate percentage' (a relative metric) with the 'exact count' (an absolute metric), assuming the stakeholder wants the rate when they explicitly ask for the number.

How to eliminate wrong answers

Option A is wrong because a 'churn trend' shows the direction or pattern over time (e.g., increasing or decreasing), not a single exact number. Option B is wrong because 'churn rate percentage' is a ratio (churned customers divided by total customers), which normalizes the count and does not give the exact number requested. Option D is wrong because 'churn probability' is a predictive model output (e.g., a score between 0 and 1) indicating likelihood of future churn, not a historical count of past churned customers.

183
Multi-Selecthard

Which THREE of the following are common mistakes when creating data visualizations? (Choose 3.)

Select 3 answers
A.Choosing the correct chart type for the data
B.Using a 3D pie chart
C.Labeling axes clearly
D.Using a non-zero baseline for bar charts
E.Truncating the y-axis to exaggerate differences
AnswersB, D, E

3D distorts angles and makes comparison harder.

Why this answer

3D pie charts distort the perception of proportions by adding a false depth dimension, making it difficult for viewers to accurately compare slice sizes. This violates the principle of data-ink ratio and is widely discouraged in data visualization best practices.

Exam trap

CompTIA often tests the misconception that adding visual flair (like 3D effects) improves a chart, when in reality it reduces accuracy; the trap here is that candidates may think 3D pie charts are acceptable because they look 'professional' or 'modern'.

184
Multi-Selecteasy

Which TWO color choices are appropriate for a categorical data visualization? (Select two.)

Select 2 answers
A.Distinct hues
B.Sequential color scheme
C.Monochrome
D.Rainbow gradient
E.Colorblind-friendly palette
AnswersA, E

Distinct hues clearly separate categories.

Why this answer

Distinct hues (A) are appropriate for categorical data because they use different colors to represent distinct categories without implying any order or magnitude. This aligns with best practices in data visualization where categorical variables require qualitative color schemes that maximize perceptual separation between groups.

Exam trap

CompTIA often tests the misconception that any color scheme can be used for any data type, but the trap here is confusing sequential or rainbow schemes (which imply order) with categorical data that requires distinct, unordered hues.

185
MCQeasy

A business user asks a data analyst to include several charts in a weekly report. The user wants to see the trend of sales over the last 12 months at a glance. Which chart type should the analyst use?

A.Line chart
B.Stacked bar chart
C.Treemap
D.Pie chart
AnswerA

Line charts clearly show changes and trends over continuous time periods.

Why this answer

A line chart is the correct choice because it is specifically designed to display trends over continuous time intervals, such as sales over 12 months. The x-axis represents time (months), and the y-axis represents sales values, allowing the user to quickly see upward, downward, or cyclical patterns. This aligns with the requirement to visualize a trend at a glance, which is a core strength of line charts in data visualization.

Exam trap

The trap here is that candidates often confuse a stacked bar chart's ability to show cumulative totals over time with a clear trend line, but the stacked segments actually make it harder to discern the overall sales trajectory at a glance.

How to eliminate wrong answers

Option B (Stacked bar chart) is wrong because it emphasizes part-to-whole relationships across categories over time, not a single trend line; it can obscure the overall sales trend due to stacked segments. Option C (Treemap) is wrong because it uses nested rectangles to show hierarchical proportions, making it unsuitable for time-series trend analysis. Option D (Pie chart) is wrong because it shows proportions of a whole at a single point in time, not changes over a continuous period like 12 months.

186
MCQeasy

Which SQL function can be used to extract the year from a date column 'order_date'?

A.DATEDIFF(year, order_date)
B.DATEADD(year, order_date)
C.YEAR(order_date)
D.FORMAT(order_date, 'yyyy')
AnswerC

Correct: YEAR returns the year as an integer.

Why this answer

The YEAR function extracts the year portion from a date.

187
Multi-Selectmedium

A data analyst is performing data profiling on a customer table. Which TWO metrics are most useful for understanding the completeness of the data? (Choose two.)

Select 2 answers
A.Minimum and maximum values
B.Null count per column
C.Row count
D.Cardinality
E.Mean value
AnswersB, C

Directly measures missing values.

Why this answer

Row count gives total records, null count gives missing values per column, both help assess completeness. Cardinality is for uniqueness, min/max for range, mean for central tendency.

188
MCQmedium

A company needs to visualize monthly sales revenue for the past five years to identify seasonal trends. Which chart type is most appropriate?

A.Line chart with months on the x-axis and revenue on the y-axis
B.Stacked bar chart showing each year as a segment
C.Scatter plot with revenue vs. month number
D.Pie chart for each year showing revenue distribution
AnswerA

Line chart is best for displaying continuous data over time and highlighting trends.

Why this answer

(Line chart) is correct because line charts are ideal for showing trends over time, such as monthly sales revenue over five years. Option B (Stacked bar chart) would segment each year, making it harder to see continuous trends. Option C (Scatter plot) is for relationships between two variables, not time series trends.

Option D (Pie chart) is for proportions, not trends over time.

189
MCQhard

An organization is implementing a centralized reporting layer to replace multiple departmental spreadsheets. Which governance principle does this support?

A.Single version of truth
B.Data dictionary
C.Data lineage
D.Row-level security
AnswerA

Centralized reporting promotes a single authoritative source.

Why this answer

A single version of truth ensures that all users access the same consistent data, eliminating discrepancies from siloed spreadsheets.

190
Multi-Selectmedium

An analyst needs to identify outliers in a numeric column 'transaction_amount' using the interquartile range (IQR) method. Which TWO steps are part of this process? (Select TWO).

Select 2 answers
A.Subtract 1.5 times the IQR from Q1 and add 1.5 times the IQR to Q3 to define bounds
B.Calculate the median of the column
C.Calculate the first quartile (Q1) and third quartile (Q3)
D.Sort the data and remove the top and bottom 5%
E.Compute the mean and standard deviation of the column
AnswersA, C

These bounds are used to flag outliers.

Why this answer

The IQR method involves calculating Q1 and Q3 to find IQR, then defining lower and upper bounds as Q1 - 1.5*IQR and Q3 + 1.5*IQR. Computing mean and standard deviation is for Z-score method; calculating median alone is insufficient.

191
MCQmedium

You are analyzing sales data and need to calculate the moving average of monthly sales over the previous 3 months for each month. Which type of function is best suited for this task?

A.String function
B.Window function with OVER()
C.Aggregate function with GROUP BY
D.Date function
AnswerB

Window functions operate on a set of rows related to the current row, perfect for moving averages.

Why this answer

Window functions, specifically using OVER() with ORDER BY and a frame specification, can compute moving averages. Aggregate functions alone cannot access previous rows without a self-join. String and date functions are irrelevant.

192
MCQeasy

A data analyst needs to communicate findings to a non-technical audience that is concerned with overall performance but not interested in details. Which approach is best?

A.Provide a summary dashboard with key KPIs
B.Include complex model outputs
C.Share raw data tables
D.Use detailed statistical jargon
AnswerA

A dashboard with KPIs gives a concise overview of performance.

Why this answer

A summary dashboard with key KPIs is best because it distills complex data into visual, high-level metrics that non-technical stakeholders can quickly grasp. This approach aligns with the principle of data storytelling, where the focus is on actionable insights rather than technical details. Dashboards using tools like Tableau or Power BI allow for interactive filtering without overwhelming the audience.

Exam trap

The trap here is that candidates may overestimate the audience's technical comfort and choose raw data or jargon, forgetting that the question explicitly states the audience is 'non-technical' and 'not interested in details.'

How to eliminate wrong answers

Option B is wrong because complex model outputs (e.g., regression coefficients or decision tree splits) require statistical literacy and obscure the main performance narrative, causing confusion. Option C is wrong because raw data tables present unaggregated, granular information that is difficult to interpret and irrelevant for high-level performance review. Option D is wrong because detailed statistical jargon (e.g., p-values, confidence intervals) alienates non-technical audiences and violates the principle of communicating insights in plain language.

193
Multi-Selectmedium

A sales report shows a 10% increase in revenue, but the analyst knows the data has limitations. Which TWO elements should be included to communicate uncertainty? (Select TWO.)

Select 2 answers
A.Executive summary
B.Caveats about data completeness
C.Confidence intervals around the revenue figure
D.Data dictionary definitions
E.Detailed row-level data
AnswersB, C

Correct. Caveats highlight limitations.

Why this answer

Confidence intervals and caveats help stakeholders understand data limitations.

194
MCQmedium

A marketing team runs an A/B test comparing two webpage designs. The null hypothesis states there is no difference in conversion rates. The p-value is 0.08 at α=0.05. Which is the correct interpretation?

A.The null hypothesis is rejected, indicating the designs are different.
B.The alternative hypothesis is accepted, showing the new design is better.
C.There is insufficient evidence to conclude a difference between the designs.
D.There is a statistically significant difference between the designs.
AnswerC

We fail to reject the null hypothesis due to high p-value.

Why this answer

Since p > α, we fail to reject the null hypothesis, meaning no statistically significant difference was found.

195
MCQeasy

Which measure best describes the spread of the middle 50% of a dataset?

A.IQR
B.Range
C.Standard deviation
D.Variance
AnswerA

IQR is robust and covers middle 50%.

Why this answer

Interquartile range (IQR) is the range between Q1 and Q3, covering the middle 50%.

196
MCQmedium

A data analyst is performing data profiling on a customer dataset. Which metric would best reveal the number of distinct values in the 'state' column?

A.Mean
B.Row count
C.Cardinality
D.Null count
AnswerC

Cardinality is the count of distinct values.

Why this answer

Cardinality refers to the number of unique values in a column, which directly indicates distinct states.

197
MCQmedium

An analyst uses K-means clustering on customer purchase data. After plotting the within-cluster sum of squares for different values of k, they observe an elbow at k=4. What is the most appropriate number of clusters?

A.4
B.6
C.5
D.3
AnswerA

The elbow indicates the optimal k.

Why this answer

The elbow method suggests choosing k where the WSS starts to diminish slowly; that point is the elbow.

198
MCQmedium

A data analyst needs to visualize the distribution of customer ages in a dataset containing 10,000 records. The analyst wants to see the shape of the distribution and identify any outliers. Which chart type is most appropriate?

A.Line chart
B.Histogram
C.Box plot
D.Pie chart
AnswerB

Histograms display distribution of continuous data and can show outliers.

Why this answer

A histogram shows the distribution of a continuous variable and can reveal shape and outliers when bins are appropriately sized.

199
MCQmedium

A dataset has missing values in the 'age' column. The distribution of age is approximately normal with few outliers. Which imputation method is most appropriate?

A.Mean imputation
B.Forward-fill
C.Delete all rows with missing data
D.Mode imputation
AnswerA

Mean imputation is appropriate for normal distribution.

Why this answer

For normally distributed data, mean imputation is reasonable and preserves the mean.

200
Multi-Selecthard

An analyst is creating a Tableau dashboard for a logistics company. They need to allow users to filter data by region and time period, and also want to show a tooltip with detailed shipment information. Which THREE Tableau features should be used? (Choose three.)

Select 3 answers
A.Tooltips
B.Marks
C.Parameters
D.Calculated fields
E.Dashboard actions
AnswersA, C, E

Correct. Tooltips can show detailed information on hover.

Why this answer

Parameters allow user input for filtering, dashboard actions enable interactions across sheets, and tooltips display details on hover. Calculated fields are for custom calculations, and marks are for visual encoding.

201
MCQeasy

Which chart type is best for displaying the distribution of a continuous variable, such as the age distribution of customers?

A.Box plot
B.Line chart
C.Histogram
D.Pie chart
AnswerC

Histograms show the distribution of a continuous variable by binning data.

Why this answer

A histogram is the correct choice because it groups continuous data (like age) into bins along the x-axis and displays the frequency of observations within each bin as bars, making the distribution shape immediately visible. This directly addresses the need to show how customer ages are spread across the range, which is the definition of a distribution for a continuous variable.

Exam trap

CompTIA Data+ often tests the distinction between a histogram and a bar chart, where candidates mistakenly choose a bar chart (not listed here) or a box plot because they confuse 'distribution' with 'summary statistics' or 'categorical comparison'.

How to eliminate wrong answers

Option A is wrong because a box plot summarizes the distribution using five-number summary statistics (min, Q1, median, Q3, max) and highlights outliers, but it does not show the detailed shape or modality of the distribution as a histogram does. Option B is wrong because a line chart is designed to show trends over time or ordered categories by connecting data points, not to display the frequency distribution of a single continuous variable. Option D is wrong because a pie chart is used to show proportions of a whole for categorical data, and it cannot represent the distribution of a continuous variable like age.

202
MCQeasy

A data analyst is comparing the average test scores of students who attended a tutoring program versus those who did not. Which statistical test is most appropriate for determining if there is a significant difference between the means of these two independent groups?

A.Paired t-test
B.Chi-square test
C.Two-sample t-test
D.ANOVA
AnswerC

Correct: independent samples t-test compares means of two groups.

Why this answer

The independent samples t-test is used to compare the means of two independent groups.

203
MCQmedium

A dashboard uses a heatmap to show sales density by hour and day of week. Users report that the color scale is confusing because some low values appear similar to high values. Which design change improves clarity?

A.Use a sequential color scale with more contrast
B.Increase the number of color steps
C.Switch to a diverging color scale
D.Change to a single hue gradient
AnswerC

Diverging scale uses two contrasting colors from a midpoint, making differences more apparent.

Why this answer

Using a diverging color scale with a neutral midpoint improves differentiation between low, medium, and high values. A sequential scale may still cause confusion. Increasing color steps or using a single hue does not address the issue.

204
Multi-Selecthard

Which THREE data quality dimensions are commonly assessed in a data profiling task?

Select 3 answers
A.Scalability
B.Consistency
C.Uniqueness
D.Availability
E.Completeness
AnswersB, C, E

Consistency ensures uniform data representation, a common profiling check.

Why this answer

Consistency is a core data quality dimension assessed in data profiling because it evaluates whether data values are free from contradiction and adhere to the same representation rules across records. In profiling tools like Informatica or Talend, consistency checks identify violations such as 'NY' vs 'New York' in a state column, ensuring semantic uniformity.

Exam trap

CompTIA often tests the distinction between data quality dimensions (completeness, consistency, uniqueness) and system-level attributes (scalability, availability), leading candidates to mistakenly select non-quality terms like 'Availability' or 'Scalability' because they sound relevant to data management.

205
Multi-Selectmedium

Which TWO of the following are considered structured data?

Select 2 answers
A.A PDF report with free-form text
B.A relational database table
C.A JPEG image of a product
D.A JSON file with nested key-value pairs
E.A CSV file containing sales records
AnswersB, E

Tables have a fixed schema.

Why this answer

A relational database table stores data in a predefined schema of rows and columns, where each column has a fixed data type. This rigid structure allows for efficient querying, indexing, and relational operations, making it a classic example of structured data.

Exam trap

The trap here is that candidates often mistake semi-structured data (like JSON) for structured data because it has key-value pairs, but the DA0-001 exam strictly defines structured data as having a fixed, predefined schema—typically found in relational databases or CSV files with consistent column headers.

206
MCQhard

In Looker Studio, a data analyst has two data sources: one with customer IDs and transactions, and another with customer demographics. They need to create a chart that includes fields from both sources. Which feature should they use?

A.Data blending
B.Calculated fields
C.Community connectors
D.Dashboard filters
AnswerA

Blending merges data from different sources based on a key.

Why this answer

Data blending in Looker Studio allows you to combine data from two or more separate data sources based on a common key (e.g., customer ID). This enables you to create a chart that uses fields from both the transactions source and the demographics source without needing to merge the data at the database level. Without blending, a single chart can only reference fields from one data source at a time.

Exam trap

The trap here is that candidates often confuse data blending with calculated fields, thinking a formula can reference fields from another source, but Looker Studio restricts calculated fields to operate only within a single data source.

How to eliminate wrong answers

Option B is wrong because calculated fields create new fields within a single data source using formulas, but they cannot pull in fields from a second, unrelated data source. Option C is wrong because community connectors are used to connect to external data sources (e.g., APIs), not to combine data from two already-connected sources within a report. Option D is wrong because dashboard filters control which data is displayed across charts, but they do not merge or join fields from different data sources into a single chart.

207
Matchingmedium

Match each data sampling method to its description.

Drag a concept onto its matching description — or click a concept then click the description.

Concepts
Matches

Each member has equal chance of selection

Population divided into subgroups; random sample from each

Randomly select entire groups (clusters)

Select every k-th element from a list

Sample based on ease of access

Why these pairings

In matching, ensure you distinguish between methods: simple random gives equal chance; stratified divides by characteristic; cluster divides into groups and picks whole groups; systematic uses a fixed interval.

208
MCQmedium

A data analyst is creating a report to compare the performance of different sales regions. The report will be used by regional managers to identify areas needing improvement. Which of the following visualization techniques would be most effective?

A.A bar chart comparing each region's sales
B.A line chart showing overall company sales
C.A pie chart showing each region's contribution
D.A scatter plot of sales vs. expenses
AnswerA

Bar charts enable easy comparison of values across categories.

Why this answer

A bar chart is most effective because it allows direct, side-by-side comparison of discrete categories (sales regions) using a common baseline, making it easy for regional managers to quickly identify which regions are underperforming. The vertical bars encode exact values with high perceptual accuracy, supporting the report's goal of highlighting areas needing improvement.

Exam trap

The trap here is that candidates often choose a pie chart (Option C) because they think 'contribution to the whole' is the goal, but the question asks for comparing performance across regions, which requires a common baseline — a task for which pie charts are notoriously poor.

How to eliminate wrong answers

Option B is wrong because a line chart is designed to show trends over continuous time intervals, not to compare discrete categories like sales regions; it would obscure regional differences by aggregating data into a single overall trend. Option C is wrong because a pie chart shows parts of a whole, making it difficult to compare individual region performance accurately due to the lack of a common baseline and poor perceptual precision for small differences. Option D is wrong because a scatter plot is used to explore the relationship between two continuous variables (e.g., correlation between sales and expenses), not to compare performance across distinct categories like regions.

209
MCQhard

In a linear regression model predicting house prices, the coefficient for the number of bedrooms is $30,000 and the intercept is $50,000. If a house has 3 bedrooms, what is the predicted price?

A.$80,000
B.$150,000
C.$90,000
D.$140,000
AnswerD

Correct: 30000*3 + 50000 = 140000.

Why this answer

Using y = mx + b, predicted price = 30000 * 3 + 50000 = $140,000.

210
MCQeasy

Which report type is best suited for monitoring the real-time status of manufacturing equipment on the factory floor?

A.Scheduled report
B.Self-service report
C.Analytical report
D.Operational report
AnswerD

Operational reports deliver real-time status for day-to-day operations.

Why this answer

Operational reports provide real-time data for monitoring ongoing operations.

211
MCQeasy

A data analyst wants to create a temporary result set that can be referenced within a single SQL statement. Which feature should be used?

A.Subquery
B.CTE
C.Temporary table
D.Derived table
AnswerB

CTE with WITH clause is the correct feature.

Why this answer

CTE (Common Table Expression) defined with WITH clause creates a temporary named result set usable within the query.

212
MCQmedium

A data team is designing an ETL process to extract data from an operational database daily. The database experiences heavy write loads during business hours. What is the best practice to minimize impact on operations?

A.Extract directly from the primary database with high priority
B.Run the extraction during peak hours to ensure data freshness
C.Schedule extraction at midnight when load is low
D.Use replication or a read replica to extract data
AnswerD

Read replicas are designed for such purposes and do not affect the primary.

Why this answer

(use replication or a read replica) is best because it offloads the extraction from the primary database, minimizing impact on operational write loads. Option A extracts directly from the primary, impacting performance. Option B runs extraction during peak hours, which increases load and negatively affects operations.

Option C still extracts from the primary even at midnight, though less busy, it still adds load to the primary.

213
MCQmedium

In time series analysis, which component represents regular patterns that repeat over fixed periods, such as daily or yearly?

A.Seasonality
B.Trend
C.Cyclical
D.Irregular
AnswerA

Correct definition.

Why this answer

Seasonality refers to patterns that repeat at regular intervals.

214
MCQmedium

A data analyst receives a request from a sales manager for a one-time report on Q4 performance by product line. The report is not expected to be repeated. Which type of report should the analyst create?

A.Scheduled report
B.Operational report
C.Ad hoc report
D.Self-service report
AnswerC

Ad hoc reports are custom, one-off requests.

Why this answer

An ad hoc report is created for a specific, one-time request, as opposed to scheduled or recurring reports.

215
MCQeasy

After a marketing campaign, sales increased by 15%. The analyst wants to understand which customer segment contributed most to the increase. Which type of analysis is this?

A.Predictive analysis
B.Diagnostic analysis
C.Prescriptive analysis
D.Descriptive analysis
AnswerB

Diagnostic analysis investigates the cause of the outcome—here, which segment drove the increase.

Why this answer

Diagnostic analysis is used to understand the root cause of an event or change. In this scenario, the analyst already knows sales increased by 15% and wants to determine which customer segment drove that increase, which is a classic diagnostic question. This type of analysis goes beyond describing what happened to explain why it happened.

Exam trap

The trap here is confusing diagnostic analysis with descriptive analysis, as both deal with past data, but descriptive only summarizes what happened while diagnostic explains why it happened.

How to eliminate wrong answers

Option A is wrong because predictive analysis uses historical data to forecast future outcomes, not to explain past changes. Option C is wrong because prescriptive analysis recommends actions or decisions to achieve a desired outcome, not to diagnose the cause of a past event. Option D is wrong because descriptive analysis summarizes what happened (e.g., 'sales increased by 15%') but does not investigate which segment contributed most to the increase.

216
Multi-Selectmedium

A business analyst is asked to distinguish between KPIs and metrics for a new dashboard. According to CompTIA Data+, which TWO statements correctly differentiate KPIs from metrics? (Choose two.)

Select 2 answers
A.KPIs and metrics are interchangeable terms
B.Metrics are always more important than KPIs
C.KPIs are directly tied to strategic business objectives
D.Metrics are operational measurements that may not be strategic
E.KPIs are always lagging indicators
AnswersC, D

Correct. KPIs measure progress toward strategic goals.

Why this answer

KPIs are tied to strategic objectives and are often leading or lagging indicators. Metrics are operational measurements that may support KPIs but are not necessarily strategic.

217
MCQmedium

A marketing analyst needs to answer a one-time question about campaign performance for a specific week. Which report type is appropriate?

A.Operational report
B.Self-service report
C.Ad hoc report
D.Scheduled report
AnswerC

Correct. Ad hoc reports are for one-time needs.

Why this answer

Ad hoc reports are designed for unique, on-demand queries.

218
MCQmedium

A data engineer is designing a data warehouse for a retail company. The fact table must record each sale transaction, including product ID, store ID, date, and quantity sold. The product details (name, category, price) are stored in a separate table. This design is an example of which data modeling concept?

A.Star schema
B.Data lake
C.Normalization
D.Snowflake schema
AnswerA

Correct: fact table linked to dimension tables.

Why this answer

This design is a classic star schema, where a central fact table (sales transactions) contains foreign keys to dimension tables (product, store, date). The fact table stores quantitative measures (quantity sold) and foreign keys, while dimension tables hold descriptive attributes (product name, category, price). This separation optimizes query performance for OLAP workloads by reducing joins and enabling straightforward aggregations.

Exam trap

The trap here is that candidates confuse star schema with snowflake schema, but the key differentiator is whether dimension tables are further normalized (snowflake) or kept denormalized (star), and this question's single product table clearly indicates a star schema.

How to eliminate wrong answers

Option B is wrong because a data lake stores raw, unprocessed data in its native format (e.g., CSV, Parquet) without a predefined schema, whereas this design explicitly separates facts and dimensions with a structured schema. Option C is wrong because normalization would split data into many related tables to eliminate redundancy (e.g., separating product category into its own table), but here product details are kept in a single dimension table, which is denormalized. Option D is wrong because a snowflake schema further normalizes dimension tables into sub-dimensions (e.g., splitting product category into a separate table), but this design keeps product details in one table, making it a star schema, not a snowflake.

219
MCQeasy

A data analyst is designing a dashboard for executives. Which best practice should be followed regarding the placement of key performance indicators (KPIs)?

A.Include as many charts as possible on a single screen to avoid scrolling
B.Hide KPIs behind filters to reduce initial load time
C.Use distinct colors to highlight all KPIs equally
D.Place the most important KPIs in the top-left corner
AnswerD

Users typically scan from top-left, so important metrics should be placed there.

Why this answer

Placing the most important KPIs in the top-left corner follows natural reading patterns (left-to-right, top-to-bottom), ensuring executives see critical metrics first. Option A is wrong because including too many charts on a single screen reduces readability and can overwhelm users. Option B is wrong because hiding KPIs behind filters defeats the purpose of having them visible at a glance.

Option C is wrong because using distinct colors for all KPIs equally does not prioritize information; it may actually create visual clutter and reduce clarity.

220
MCQhard

An e-commerce company stores customer support emails in a text database, product images in a blob store, and sales transactions in a SQL table. Which data store holds only structured data?

A.Blob store
B.Text database
C.SQL table
D.None
AnswerC

Correct. SQL tables have rows and columns with defined data types.

Why this answer

Structured data conforms to a predefined schema with rows and columns, enforcing data types and relationships. A SQL table is the canonical example of a structured data store because it organizes data into tables with fixed schemas, supports ACID transactions, and enables relational queries via SQL. In contrast, blob stores and text databases store unstructured or semi-structured data without a rigid schema.

Exam trap

The trap here is that candidates confuse 'structured data' with any data that has some organization (like tags in a blob store or fields in a text document), but only a SQL table enforces a rigid, predefined schema with typed columns and relational constraints, which is the defining characteristic of structured data.

How to eliminate wrong answers

Option A is wrong because a blob store (e.g., Amazon S3, Azure Blob Storage) stores binary large objects such as images, videos, or documents as opaque blobs with no inherent schema or structure — it is designed for unstructured data. Option B is wrong because a text database (e.g., a NoSQL document store like MongoDB or a plain text file repository) stores free-form text or semi-structured documents (e.g., JSON, XML) that lack a fixed, predefined schema and are not organized into rows and columns. Option D is wrong because the SQL table explicitly holds structured data, so 'None' is incorrect.

221
MCQmedium

A data analyst wants to concatenate first_name and last_name columns with a space in between. Which string function combination should be used in SQL?

A.first_name + ' ' + last_name
B.SUBSTRING(first_name, 1, 1) + '.' + last_name
C.CONCAT(first_name, last_name)
D.CONCAT(first_name, ' ', last_name)
AnswerD

This adds a space between the two names.

Why this answer

CONCAT joins strings; adding a space produces 'First Last'.

222
Multi-Selectmedium

A data analyst is performing data profiling on a customer table. Which TWO of the following are key metrics to assess data quality? (Select TWO.)

Select 2 answers
A.Row count
B.Minimum and maximum values
C.Cardinality
D.Data type verification
E.Null count
AnswersB, E

Min and max help identify out-of-range values or anomalies.

Why this answer

Null counts indicate missing values, and min/max values can reveal outliers or unexpected ranges. Row count alone doesn't assess quality; cardinality and data type verification are also important but the question asks for key metrics among the options.

223
Multi-Selectmedium

Which THREE of the following are components of Master Data Management (MDM)? (Select 3)

Select 3 answers
A.Data governance
B.Data quality management
C.Data encryption
D.Data archival
E.Data integration
AnswersA, B, E

MDM requires governance policies.

Why this answer

MDM includes data governance, data integration, and data quality management to maintain a single source of truth.

224
MCQhard

A data scientist is building a K-means clustering model for customer segmentation. After plotting the within-cluster sum of squares (WCSS) against the number of clusters (k), she observes that the WCSS decreases sharply until k=5 and then levels off. Which value of k should she choose based on the elbow method?

A.k=5
B.k=6
C.k=4
D.k=3
AnswerA

Correct elbow point.

Why this answer

The elbow method suggests selecting the number of clusters at the point where the WCSS starts to diminish less rapidly, forming an 'elbow'. Here, the elbow is at k=5, where adding more clusters yields diminishing returns.

225
Multi-Selectmedium

A data analyst wants to visualize the distribution of customer ages, including quartiles and potential outliers, for a dataset with 10,000 records. Which TWO chart types are appropriate? (Choose two.)

Select 2 answers
A.Box plot
B.Pie chart
C.Line chart
D.Treemap
E.Histogram
AnswersA, E

Box plots display median, quartiles, and outliers.

Why this answer

Box plots explicitly show quartiles and outliers. Histograms show distribution shape and can reveal outliers, but they don't directly show quartiles. However, both can be used to understand distribution and identify outliers.

Page 2

Page 3 of 14

Page 4