Comptia

DA0-002 Free Practice Questions — Page 5

Question 17

A data analyst needs to combine the results of two separate queries that have similar data and the same number of columns. The output must also have distinct rows. Which of the following should the data analyst use?

A. Outer join
B. Aggregate
C. Union
D. Concatenate
Show Answer
Correct Answer: C
Explanation:
Use a UNION to combine query results with compatible columns. UNION returns distinct rows by default, removing duplicates.

Question 17

Given the following tables: Which of the following is the best option to display output from FirstName and LastName as FullName?

Illustration for DA0-002 question 17
A. Concatenate
B. Filter
C. Join
D. Group
Show Answer
Correct Answer: A
Explanation:
Concatenate combines the FirstName and LastName values into a single FullName value, such as “JohnDoe.”

Question 18

Which of the following data repositories should a company use when structured data about the whole company needs to be stored in a predefined data structure?

A. Data mart
B. Data warehouse
C. Data silo
D. Data lake
Show Answer
Correct Answer: B
Explanation:
A data warehouse stores structured data from across the company in a predefined schema, supporting enterprise-wide reporting and analysis.

Question 19

Which of the following best explains the purpose of data lineage?

A. To see the steps and path of data flow through different systems
B. To better understand the granularity of data variable relationships
C. To track data transformations from acquisition through reporting
D. To look up data definitions, ensuring consistent use across business units
Show Answer
Correct Answer: C
Explanation:
Data lineage tracks data’s movement and transformations from its source or acquisition through processing to its final use in reports. Option C best captures that end-to-end purpose.

Question 20

A data analyst needs to identify outliers from a given data set. Which of the following visualizations is the best way to identify outliers?

A. Box plot
B. Scatter plot
C. Gantt chart
D. Waterfall chart
Show Answer
Correct Answer: A
Explanation:
A box plot summarizes a variable’s distribution and highlights potential outliers as points beyond the whiskers. Scatter plots can reveal outliers in relationships between two variables, while Gantt and waterfall charts are intended for other purposes.

Question 20

A data analyst is analyzing the following data set: Which of the following methods should the analyst use to determine the total cost for each transaction?

Illustration for DA0-002 question 20
A. Parsing
B. Scaling
C. Compressing
D. Deriving
Show Answer
Correct Answer: D
Explanation:
Use deriving: calculate a new total-cost value for each transaction by multiplying the quantity by the item price.

Question 21

A data analyst worked on a project that contained medical content and a list of requirements. Which of the following are most likely the reasons the privacy team flagged the analyst's report? (Choose two.)

A. The exclusion of data occurred only after a participant invoked a right to withdraw.
B. The method used to anonymize identifying values in the data was insufficient.
C. The practice of data masking was irreversible and all PII was lost.
D. The directive did not mention that it was vital for PHI to be encrypted in the data set.
E. The retention policy did not allow data to be used beyond one year after the project.
F. The collection of data was stored according to protocols that are too strict.
Show Answer
Correct Answer: B, D
Explanation:
Insufficient anonymization can leave medical data identifiable or re-identifiable. The report also failed to specify encryption safeguards for PHI, which is a significant privacy and security concern. The other choices describe safeguards or do not identify a clear privacy weakness.

Question 21

A data analysis team needs to segment customers based on customer spending behavior. Given one million rows of data like the information in the following sales order table: Which of the following techniques should the team use for this task?

Illustration for DA0-002 question 21
A. Standardization
B. Concatenate
C. Binning
D. Appending
Show Answer
Correct Answer: C
Explanation:
Binning groups continuous spending amounts into ranges (for example, low, medium, and high spenders), which can be used to segment customers. Standardization rescales values, while concatenation and appending combine data rather than create spending-based segments.

Question 22

A data analyst is creating a new data set that involves bringing together the following data sets: Which of the following would be the output rf the data analyst does a FULL JOIN? A. B. C. D.

Illustration for DA0-002 question 22 Illustration for DA0-002 question 22 Illustration for DA0-002 question 22 Illustration for DA0-002 question 22 Illustration for DA0-002 question 22
Show Answer
Correct Answer: D
Explanation:
A FULL JOIN keeps every ID from both tables. IDs 23525 and 11290 match; Ellen’s ID 12141 has no address, and address ID 11040 has no name or date of birth.

Question 23

Which of the following data structures would a data engineer most likely receive when using a get command?

A. HTML
B. XLSM
C. CSS
D. JSON
Show Answer
Correct Answer: D
Explanation:
A GET request commonly retrieves data from an API, which is often returned as JSON—a structured format that applications can readily process.

$19

Get all 148 questions with detailed answers and explanations

  • Instant download HTML + PDF delivered the moment payment clears.
  • Secure Stripe checkout we never see or store your card details.
  • 7-day refund if files are defective see our refund policy.