Courseiva

DA0-002 · topic practice

Data Acquisition and Preparation practice questions

Domain 2 of CompTIA Data+ (DA0-002) covers how data is identified, gathered, and readied for analysis. Expect SQL query writing, source and acquisition method selection, data profiling, cleansing, and validation, plus ordering the steps of a data audit. Questions are scenario-based and ask you to pick the correct query, method, or sequence.

Courseiva uses original exam-style practice questions designed for learning and revision. The goal is to understand the concepts, recognise exam patterns, and improve through explanations — not memorise copied exam dumps.

Editorial oversight:Johnson Ajibi· MSc IT Security, IEEE Senior Member
20 questionsDomain: Data Acquisition and Preparation

What the exam tests

What to know about Data Acquisition and Preparation

Be able to write correct SQL for counting, filtering, and pattern matching, select the right acquisition method for a scenario, and sequence data audit steps. The single most important thing: match the query or method precisely to the question asked, especially COUNT DISTINCT versus COUNT and LIKE versus equals.

Writing SQL SELECT statements with WHERE, LIKE, COUNT, DISTINCT, and GROUP BY for acquisition tasks

Choosing acquisition methods such as surveys, interviews, observation, and existing database extraction

Performing data profiling, cleansing, and validation to resolve duplicates, nulls, and format issues

Ordering data audit steps: identify sources, profile, assess quality, document findings, remediate

Watch out for

Common Data Acquisition and Preparation exam traps

  • ▸Using COUNT(*) instead of COUNT(DISTINCT customer_id) when counting customers with at least one order, which overcounts repeat buyers.
  • ▸Writing WHERE name = 'Pro%' instead of WHERE name LIKE 'Pro%'; the equals operator does not accept wildcards in SQL.
  • ▸Confusing primary and secondary data acquisition, or treating a post-purchase questionnaire as observation rather than survey.

Practice set

Data Acquisition and Preparation questions

20 questions · select your answer, then reveal the explanation

A data analyst needs to extract data from an API that returns JSON. The analyst wants to convert the JSON output into a tabular format for analysis. Which function in a scripting language is commonly used for this purpose?

A data analyst sees this error in the ETL logs. What is the most likely cause?

Exhibit

Refer to the exhibit.

Error log:

```
2025-03-15 10:23:45 ERROR: ORA-12034: materialized view log on "SCHEMA"."SALES" is newer than last refresh
2025-03-15 10:23:45 INFO: Refresh of materialized view "SALES_MV" failed
```

A data engineer is configuring access to a data lake in Amazon S3. What does the JSON policy shown allow?

Exhibit

Refer to the exhibit.

```
{
  "policy": {
    "Statement": [
      {
        "Effect": "Allow",
        "Action": ["s3:GetObject"],
        "Resource": "arn:aws:s3:::data-bucket/*"
      }
    ]
  }
}
```

A healthcare organization is building a data warehouse to support population health analytics. The data sources include: (1) an electronic health record (EHR) system with a relational database containing patient demographics, diagnoses, and medications; (2) a claims system that generates CSV files daily; (3) patient-generated health data from mobile apps via a REST API returning JSON. The data engineer needs to design a data acquisition process that runs nightly. The EHR system has a change tracking mechanism that logs changes with timestamps. The claims CSV files are appended daily. The API supports filtering by date. The data warehouse uses a star schema with fact and dimension tables. The engineer must ensure data consistency and minimize load times. Which approach should the engineer take?

A data analyst is merging two datasets from different departments. The analyst notices that the 'CustomerID' field in the first dataset is stored as an integer, while in the second dataset it is stored as a string with leading zeros. Which TWO steps should the analyst take to ensure successful data integration?

Which THREE are common challenges when acquiring data from external APIs? (Choose three.)

Refer to the exhibit. An analyst runs this query before acquiring data from a PostgreSQL database. What is the primary purpose of this query?

Network Topology
+Refer to the exhibit.```SELECT table_name, num_rows, last_analyzedFROM information_schema.tablesWHERE table_schema = 'public'table_name | num_rows | last_analyzedcustomers | 15234 | 2024-06-01orders | 89732 | 2024-05-30products | 456 | 2024-06-02

Refer to the exhibit. A data engineer is setting up data acquisition from a cloud storage bucket with this policy. What does the policy enforce?

Exhibit

Refer to the exhibit.
```json
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::data-bucket/*",
      "Condition": {
        "IpAddress": {"aws:SourceIp": "10.0.0.0/8"}
      }
    }
  ]
}
```

Refer to the exhibit. An analyst sees this log during data acquisition. What action should be taken first?

Exhibit

Refer to the exhibit.
```
INFO: Starting extraction from source 'SalesDB'
INFO: Connected successfully.
WARN: Data type mismatch in column 'Price': expected NUMERIC, found VARCHAR
ERROR: Row 1523: failed to parse date '2024-02-30'
INFO: Extraction completed with 1 warning and 1 error.
```

During a data mining project, an analyst discovers that a significant number of records have a negative value for the age field. What is the most appropriate first step?

Which THREE data sources are suitable for web scraping? (Select three.)

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 data team is integrating customer data from three sources. After joining, they find that the count of unique customers is lower than expected. What is the most likely cause?

A data analyst is tasked with collecting data from a web API that returns JSON. The API requires an API key in the header. Which method should be used to authenticate?

A data engineer is tasked with acquiring data from a third-party vendor that provides daily file drops via SFTP. The files are large (10 GB each). The pipeline must load data into a data warehouse. Which approach optimizes for speed and reliability?

Which TWO are examples of internal data sources? (Select exactly 2)

Refer to the exhibit. What is the most likely issue causing the unexpectedly low count?

Exhibit

SELECT COUNT(*) FROM customers WHERE signup_date > '2023-01-01';
Result: 15000
The analyst notices that the result seems low because they expected more signups from that period.

Refer to the exhibit. What is the most likely cause of the extraction failure?

Exhibit

2023-05-01 14:32:01 INFO: Starting extraction from source 'SalesDB'
2023-05-01 14:32:05 ERROR: Connection timeout after 30s
2023-05-01 14:32:06 WARN: Retry attempt 1
2023-05-01 14:32:36 ERROR: Connection timeout after 30s
2023-05-01 14:32:37 WARN: Retry attempt 2
2023-05-01 14:33:07 ERROR: Connection timeout after 30s
2023-05-01 14:33:08 WARN: Retry attempt 3
2023-05-01 14:33:38 ERROR: Maximum retries exceeded

A retail company is acquiring sales data from 150 stores worldwide. Each store sends daily CSV files via email to a central email address. The data acquisition process is manual: an intern downloads each attachment and copies it into a shared folder. The shared folder is then accessed by an ETL tool that loads data into a data warehouse. Recently, the data warehouse has been missing records for several stores. The intern reports that some emails are not being received or are delayed. The company needs to improve the reliability and timeliness of data acquisition. Which course of action should be taken first?

An e-commerce company wants to integrate product pricing data from competitor websites to adjust its own prices dynamically. They plan to scrape pricing pages every hour. However, the competitors' websites have anti-scraping measures such as IP blocking and CAPTCHAs. The company's legal team also advises caution regarding terms of service. Which data acquisition strategy is both effective and compliant?

Free account

Track your progress over time

Create a free account to save your results and see which topics improve across sessions.

Focused Data Acquisition and Preparation sessions

Start a Data Acquisition and Preparation only practice session

Every question in these sessions is drawn from the Data Acquisition and Preparation domain — nothing else.

Related practice questions

Related DA0-002 topic practice pages

Move into related areas when this topic feels solid.

Frequently asked questions

What does the DA0-002 exam test about Data Acquisition and Preparation?
Be able to write correct SQL for counting, filtering, and pattern matching, select the right acquisition method for a scenario, and sequence data audit steps. The single most important thing: match the query or method precisely to the question asked, especially COUNT DISTINCT versus COUNT and LIKE versus equals.
How should I use these practice questions?
Select your answer before revealing the explanation. Then read why each option is right or wrong — this active recall approach builds retention far faster than re-reading notes.
Can I practise just Data Acquisition and Preparation questions in a focused session?
Yes — the session launcher on this page draws every question from the Data Acquisition and Preparation domain. Use a 10-question session first to gauge your baseline, then move to 20 or 30 once the weak spots are clear.
Where can I practise other DA0-002 topics?
Use the topic links above to move to related areas, or go back to the DA0-002 question bank to see all topics.
Are these real exam questions or dumps?
These are original practice questions written to test the same concepts the DA0-002 exam covers. They are not copied from any real exam or dump site.