Extracting and integrating data

On this page

Extracting complete, correctly understood data

Business data sits in many systems, such as a CRM, an ERP, a payroll application, and shared files. These sources may use different field names, identifiers, formats, update times, and rules for missing values.

Extraction selects and obtains source data. Integration makes separate data sources usable together without changing meaning or losing important changes. Poor extraction can omit rows, repeat data, or miss deletions. Poor integration can match the wrong records, combine unlike values, or use an unauthorized path.

Source selection connects with Reviewing SQL queries. Data movement through business processes connects with Business process models and diagrams. This chapter supplies the extraction methods and integration patterns that connect those topics.

The problem is not simply moving a file or running a query. Source data must be complete, correctly understood, and allowed to move. The control rule comes first, then specific extraction and integration methods apply it.

Approved information flow and retention

These controls apply whether data is obtained by query, API, file, or change log. They also apply whether data uses ETL, ELT, or federation.

🔑 RULE: Enforce approved authorizations for controlling the flow of information within the system and between connected systems. - NIST SP 800-53 Rev. 5, AC-4

Manage and retain information within the system and information output from the system in accordance with applicable laws, executive orders, directives, regulations, policies, standards, guidelines, and operational requirements. - NIST SP 800-53 Rev. 5, SI-12

These controls set the boundary for the methods, matching work, transformations, and integration patterns that follow.

Extraction methods and integration patterns

Extraction choices answer what data is obtained, how it is accessed, and how changes are found. Integration choices align meaning, identify the same records, check quality, and determine where transformation occurs.

PartWhat it asks or coversClue words in a scenario
Query extractionSelects specified rows and columns directly from a relational source by using a query.SELECT, WHERE, source table, relational database, columns, filter
API or connector extractionRequests data through a supported application interface or connector.API endpoint, connector, JSON response, authentication, page, token
File export extractionReads a source-provided file and checks its structure and delivery timing.scheduled file, CSV, JSON, XML, delimiter, encoding, export
Full extractionObtains the complete current source set for a run.all rows, full snapshot, initial load, complete extract
Incremental extractionObtains records added or changed since the last successful extraction.since last run, modified date, watermark, new rows, changed rows
Change data captureCaptures insert, update, and delete events from logs, change tables, or triggers.CDC, transaction log, change table, trigger, insert, update, delete
Schema mappingMaps source fields to target fields and aligns names, types, units, formats, and codes.source field, target field, data type, code mapping, units, common schema
Record matchingDetermines which records from different sources represent the same business entity.customer ID, account key, same customer, duplicate, unmatched
Transformation and validationStandardizes values, checks data, rejects invalid rows, and uses controls to check results.clean, convert, validate, reject, quarantine, control total, lineage
ETLExtracts data, transforms it before loading, and loads conforming results into the target.ETL, transform before load, staging, conformed table
ELTExtracts and loads source data first, then transforms it inside the target platform.ELT, load raw, transform in warehouse, raw layer
FederationPresents a combined virtual view while data remains in its source systems.virtual view, live query, data stays in place, no central copy

The extraction methods differ by access method and change scope, while the integration patterns differ by where data is aligned and stored.

Choosing extraction and integration methods

These scenarios move from source access to change capture, then to physical and virtual integration. Each answer uses one part from the same structure.

Practice

A reporting job asks a relational sales table for only posted invoices and the fields needed by the report, using a source-side SELECT with a WHERE condition. Which part is this?

A source system writes each insert, update, and delete to a change table, and the integration job reads those entries rather than scanning the full table. Which part is this?

An integration job converts source date and code values before writing only validated, common-format rows to warehouse tables. Which integration pattern describes where the conversion occurs?

CRM and ERP data stay in their own systems. A reporting tool presents a combined view by querying them when a user asks, with no central copy. Which part is this?

The labels connect source clues with the method used to extract, align, transform, or present the data.

Extraction, matching, transformation and integration

Query extraction selects source rows and columns directly.
API or connector extraction uses a supported application interface.
File export extraction reads a delivered file and checks its structure.
Full extraction takes the complete current source set.
Incremental extraction takes new or changed records after a reliable watermark.
Change data capture records inserts, updates, and deletes.
Schema mapping aligns fields, types, units, and codes.
Record matching identifies the same entity across sources.
Transformation and validation standardize, check, and trace the data.
ETL transforms before loading the target.
ELT loads first and transforms inside the target.
Federation provides a virtual view while source data stays in place.

Unlock the full lesson and continue reading

Signup to continue reading this lesson and unlimited access questions, flashcards, AI notes, and more

Scan to download app

Scan to download
UNLOCK FREE ACCESS

Practice Questions: Extracting and integrating data

  1. 1. A CPA on an internal controls team is reviewing the first year-end load from a procurement system into an inventory-cost mart. Management intends to use the mart for financial reporting. The CPA must determine whether the extraction and transformation preserved a complete and accurate population and document the required remediation.

    • 2. A CPA on the internal controls team is reviewing the migration of accounts-payable invoice data from two ERP systems into a supplier-spend data warehouse. Management intends to certify the dashboard as complete and accurate. The pipeline extracts invoice-line data, applies vendor crosswalks and validation rules, quarantines unresolved records, and loads accepted records into the warehouse. Using the exhibits, evaluate the extraction, transformation, loading, data-modeling, and release controls.

      • 3. A newly licensed CPA is validating the December 20X5 consolidated-revenue data pipeline for a U.S. parent. The pipeline combines U.S. dollar transactions with euro-denominated transactions from a European subsidiary. Management uses the target table for its monthly financial reporting analytics. The CPA must determine whether the pipeline followed the approved transformation specification, calculate the corrected target amount, and document the related processing and change-management issues.

        • 4. A CPA in internal audit is reviewing the first monthly production run of a new revenue data pipeline. The pipeline extracts posted invoice and credit-memo lines from a legacy billing system and loads a revenue fact table used for financial reporting. The CPA must determine whether the extraction, transformation, integration, change-management, and data-lineage controls operated as designed.

          • 5. A newly licensed CPA is reviewing the February 1, 20X5 migration of open accounts receivable from a legacy ERP system to a new ERP system. The legacy ERP is the system of record through January 31, 20X5. The conversion team must identify eligible documents, validate customer mappings, obtain approval for exceptions, ensure segregation of duties between preparation and loading, and reconcile the target system to approved source control totals.

            • 6. A CPA in internal audit is reviewing the first production run of a sales data mart used for the July 15, 20X5 management revenue report. The CPA must determine whether the data model, source selection, transformations, and reconciliation controls conform to the approved requirements. Use Exhibits 1 through 4 to complete the review.

              • 7. A CPA on an internal controls team is reviewing the first production migration of posted purchase-order-line data from a procurement system to an inventory cost analytics warehouse. The dashboard has not yet been released to management. The CPA must evaluate whether the load complied with the approved mapping, quantify any error, and determine the appropriate remediation and documentation.

                • 8. A CPA in internal audit is reviewing a new first-quarter sales data mart before management uses it for financial analysis and monitoring controls. The CPA must determine whether the extraction scope, transformations, customer classifications, and reconciliation procedures comply with the approved requirements, and whether an unauthorized credit-memo override was improperly included in the load. All amounts in the exhibits are in U.S. dollars.

                  Flashcards: Extracting and integrating data

                  1. 1. Define a query in the context of reporting.

                    Show answer

                    A query is a user-initiated ad hoc report.

                  Everything you need for CPA prep

                  Get full Oncourse access with lessons, practice questions, flashcards and AI study tools.

                  GET STARTED FOR FREE
                  75% OFFLimited time offer
                  GET 75% OFF