Courseiva

CCNA Dap Data Concepts Questions

75 of 200 questions · Page 2/3 · Dap Data Concepts topic · Answers revealed

76
MCQmedium

A business needs to store large volumes of raw data in its native format for future analytics. Which storage architecture is most appropriate?

A.Relational database
B.Data lake
C.Operational data store
D.Data warehouse
AnswerB

A data lake stores raw data in its native format, such as JSON, Parquet or CSV, without requiring a predefined schema. This satisfies the requirement to retain large volumes of unprocessed data for future, undetermined analytics workloads.

Why this answer

A data lake is designed to store large volumes of raw data in its native format (structured, semi-structured, or unstructured) without requiring a predefined schema. This makes it ideal for future analytics where the data schema may not yet be known, as it supports schema-on-read rather than schema-on-write.

Exam trap

The trap here is that candidates confuse a data warehouse with a data lake, assuming both are for analytics, but the key differentiator is that a data warehouse requires schema-on-write and processed data, while a data lake stores raw data in native format.

How to eliminate wrong answers

Option A is wrong because a relational database enforces a strict schema-on-write and is optimized for transactional processing (OLTP), not for storing raw, unprocessed data at scale. Option C is wrong because an operational data store (ODS) is used for integrating data from multiple operational systems for near-real-time reporting, not for storing raw data in native format for future analytics. Option D is wrong because a data warehouse stores cleansed, transformed, and structured data optimized for query performance and business intelligence, not raw data in its native format.

77
MCQeasy

A market research firm collects survey responses where customers rate satisfaction on a scale of 'Very Unsatisfied', 'Unsatisfied', 'Neutral', 'Satisfied', 'Very Satisfied'. What type of data is being collected?

A.Interval
B.Ordinal
C.Ratio
D.Nominal
AnswerB

Ordinal data has a meaningful order but unequal intervals between categories. The satisfaction scale runs from Very Unsatisfied to Very Satisfied in ranked sequence, yet the gap between adjacent labels is not numerically defined, ruling out interval or nominal classification.

Why this answer

The data is ordinal because the satisfaction levels have a clear, ordered ranking from 'Very Unsatisfied' to 'Very Satisfied', but the intervals between categories are not necessarily equal. This type of categorical data preserves the order without assuming a consistent numerical difference between each level.

Exam trap

The trap here is that candidates mistakenly treat ordered categorical data as interval data because they assume the numeric labels (e.g., 1 to 5) imply equal spacing, but the exam expects you to recognize that the underlying measurement scale lacks guaranteed equal intervals.

How to eliminate wrong answers

Option A is wrong because interval data requires equal, measurable intervals between values (e.g., temperature in Celsius), but the satisfaction scale does not guarantee equal psychological distance between categories. Option C is wrong because ratio data requires a true, meaningful zero point (e.g., income, height), and 'Very Unsatisfied' does not represent an absolute absence of satisfaction. Option D is wrong because nominal data is unordered categorical data (e.g., colors, gender), but the satisfaction scale has a natural order that must be preserved.

78
MCQhard

A data architect is designing a system to store customer support tickets. The tickets are written in free-form text and include attachments such as screenshots and PDFs. The system must allow support agents to search for tickets by keywords within the text and attachments. The architect expects the volume of tickets to grow to millions and requires fast, full-text search capabilities. Which storage solution is most appropriate?

A.Relational database with BLOB columns
B.Document store with inverted index
C.Graph database with full-text search plugin
D.Key-value store with secondary indexes
AnswerB

A document store with an inverted index, such as Elasticsearch, is optimized for full-text search across large volumes of text and metadata. It can index the content of tickets and extract text from attachments (via ingest pipelines) to enable keyword search. This architecture scales horizontally and provides fast, relevant search results, directly addressing the requirements.

Why this answer

A document store with an inverted index is purpose-built for full-text search, enabling fast keyword queries across millions of text documents and attachments. It supports text extraction from various file types and scales horizontally. Relational, key-value, and graph databases lack the specialized indexing and search features needed for efficient full-text retrieval at this scale.

Exam trap

The trap here is assuming that any database with indexing can handle full-text search, but only systems with an inverted index provide the tokenization and ranking required for efficient keyword queries.

79
MCQhard

A data scientist is building a machine learning model to predict customer churn. The dataset includes both numerical features (age, income) and categorical features (gender, marital status). Which data concept describes the process of converting categorical features into numerical values that can be used by the algorithm?

A.Data sampling
B.Encoding
C.Feature scaling
D.Dimensionality reduction
AnswerB

Encoding maps categorical values such as gender and marital status into numeric representations, for example one-hot or ordinal vectors, which the algorithm can process. Numerical features like age and income need no conversion, so encoding is the concept that addresses the categorical constraint.

Why this answer

Encoding is the correct data concept because it transforms categorical features (like gender and marital status) into numerical representations (e.g., one-hot encoding, label encoding) that machine learning algorithms can process. Unlike feature scaling or dimensionality reduction, encoding directly addresses the incompatibility of non-numeric data with mathematical model operations.

Exam trap

CompTIA often tests the distinction between encoding and feature scaling, where candidates mistakenly think scaling applies to categorical data, but scaling only adjusts numeric ranges and cannot convert text labels to numbers.

How to eliminate wrong answers

Option A is wrong because data sampling refers to selecting a subset of data for training/testing, not converting categorical data to numeric. Option C is wrong because feature scaling normalizes numerical ranges (e.g., via min-max scaling or z-score standardization) and does not handle categorical-to-numeric conversion. Option D is wrong because dimensionality reduction (e.g., PCA, t-SNE) reduces the number of features, but it assumes all input features are already numeric and does not address the encoding of categorical variables.

80
MCQhard

A DBA wants to improve query performance on a large table that is frequently filtered on two columns: department_id and hire_date. The table has millions of rows. Which index strategy would be most effective?

A.Create a composite B-tree index on (department_id, hire_date)
B.Create a bitmap index on hire_date
C.Create a hash index on department_id only
D.Create two separate B-tree indexes, one on each column
AnswerA

A composite B-tree index on (department_id, hire_date) lets the optimiser seek directly to a department and then range-scan hire_date within it, satisfying both filter predicates in one index. Separate single-column indexes would require bitmap merges or scans, which scale poorly across millions of rows.

Why this answer

A composite B-tree index on (department_id, hire_date) is most effective because it allows the database to satisfy equality and range predicates on both columns in a single index scan. B-tree indexes are optimized for high-cardinality columns and support efficient multi-column filtering when the leading column matches the query's equality condition, followed by the range condition on hire_date.

Exam trap

The trap here is that candidates often assume two separate single-column indexes are equivalent to a composite index, but they fail to realize that the database cannot efficiently combine them for range predicates without a costly index merge operation.

How to eliminate wrong answers

Option B is wrong because bitmap indexes are designed for low-cardinality columns (e.g., gender or status) and perform poorly with high-cardinality columns like hire_date, leading to excessive bitmap merge overhead and poor query performance. Option C is wrong because a hash index on department_id only supports equality lookups, not range queries on hire_date, and cannot be used for filtering on both columns simultaneously. Option D is wrong because two separate B-tree indexes would force the optimizer to choose one index and then filter the other column via a table access (or perform an expensive index merge), which is less efficient than a single composite index that can directly satisfy both predicates.

81
MCQmedium

A data analyst finds that the "Age" column contains values like "N/A", "unknown", and negative numbers. Which data quality dimension is primarily affected?

A.Accuracy
B.Consistency
C.Validity
D.Completeness
AnswerC

Validity concerns whether values conform to the defined format, type, and permitted range for a field. Text placeholders and negative ages violate Age's expected numeric, non-negative domain, so the dimension breached is validity rather than completeness or accuracy.

Why this answer

Validity refers to whether data values conform to the defined format, type, and allowable range for a field. 'N/A', 'unknown', and negative numbers in an Age column violate the expected numeric, non-negative domain, so validity is the primary dimension affected.

Exam trap

DA0-002 often tests the overlap between validity and accuracy, causing candidates to choose accuracy when the issue is really format/domain conformance rather than truthfulness.

How to eliminate wrong answers

Option A is wrong because accuracy concerns whether a value correctly reflects reality (e.g., a real age of 30 recorded as 31), not whether it fits the allowed format. Option B is wrong because consistency concerns whether the same data is represented uniformly across systems or records, not whether individual values are permissible. Option D is wrong because completeness concerns missing values, whereas here values are present but invalid.

82
MCQeasy

Which of the following is an example of qualitative data?

A.Stock price
B.Customer feedback comments
C.Number of website visitors
D.Product weight in grams
AnswerB

Free-text comments are non-numeric and descriptive, capturing opinions and sentiment that cannot be measured numerically. This satisfies the qualitative criterion, unlike quantitative data such as ratings, counts or transaction totals, which are expressed as measurable values.

Why this answer

Customer feedback comments are qualitative data because they consist of non-numerical, descriptive text that captures opinions, sentiments, or experiences. Unlike quantitative data, which can be measured or counted, qualitative data is categorical and often requires thematic analysis to derive insights.

Exam trap

The trap here is that candidates often confuse 'qualitative' with 'quantifiable' and may incorrectly select a numeric option like stock price or website visitors, not realizing that qualitative data is inherently non-numeric and descriptive.

How to eliminate wrong answers

Option A is wrong because stock price is a numerical value that can be measured and compared, making it quantitative data. Option C is wrong because the number of website visitors is a count, which is a discrete numerical value and thus quantitative data. Option D is wrong because product weight in grams is a continuous numerical measurement, falling under quantitative data.

83
Multi-Selectmedium

A data analyst is performing a join between two tables: 'employees' and 'departments'. The 'employees' table has a foreign key 'dept_id' referencing the 'departments' table. Which two join types would include all rows from the 'employees' table, regardless of whether there is a matching department? (Select TWO)

Select 2 answers
A.LEFT JOIN
B.INNER JOIN
C.CROSS JOIN
D.RIGHT JOIN
E.FULL OUTER JOIN
AnswersA, E

A LEFT JOIN preserves every row from the left table, employees, matching department columns where dept_id resolves and returning NULLs otherwise. This directly satisfies the requirement that all employee rows appear regardless of department match.

Why this answer

A LEFT JOIN (option A) returns all rows from the left table (employees) plus matching rows from the right table (departments), so every employee appears even when dept_id has no matching department. A FULL OUTER JOIN (option E) returns all rows from both tables, which necessarily includes every row from employees regardless of a match, so it also satisfies the requirement. INNER JOIN (B) only returns rows where the join condition matches, dropping unmatched employees.

CROSS JOIN (C) produces a Cartesian product with no join predicate, which is not a match-based join and does not preserve employee rows in the intended sense. RIGHT JOIN (D) preserves all rows from departments, not employees, so unmatched employees would be excluded.

Exam trap

DA0-002 often tests the confusion between LEFT JOIN and RIGHT JOIN — candidates forget that RIGHT JOIN preserves the right table, so it excludes employees without departments, and they may also mistakenly select CROSS JOIN thinking it 'includes everything.'

84
MCQhard

A data engineer is profiling a dataset of online orders. The order_id column contains a unique value for every row, but the analyst notices that a join to the customer table unexpectedly returns fewer rows than the orders table. After investigation, the engineer finds that some customer_id values in the orders table do not exist in the customer table. Which data quality dimension is primarily violated by the customer_id values?

A.Referential integrity
B.Timeliness
C.Accuracy
D.Completeness
AnswerA

Referential integrity requires that a foreign key value in one table matches a primary key value in the referenced table. The customer_id values that have no matching customer row violate that rule, which is why the join drops rows. This is the precise dimension describing broken relationships between related tables, distinct from general accuracy or completeness of a single column.

Why this answer

When foreign key values in the orders table fail to match primary keys in the customer table, the relationship between the tables is broken, which is a referential integrity violation. That is why the join loses rows. Accuracy, completeness, and timeliness describe other properties of data and do not capture a missing parent record for a valid-looking child key.

Exam trap

The trap here is treating orphaned foreign keys as a completeness problem because rows disappear, when the underlying defect is a broken relationship between tables.

85
MCQhard

A data analyst is profiling a dataset of employee records. The birthdate column contains values stored as text in the format YYYY-MM-DD, while the hire date column is stored as a native date type. The analyst needs to calculate employee tenure. Which action should the analyst take first?

A.Convert the hire date column from native date to text to match the birthdate column
B.Calculate the difference between the hire date and the current date
C.Subtract the birthdate from the hire date to derive tenure
D.Convert the birthdate column from text to a native date type
AnswerB

Tenure measures how long an employee has been with the organization, which is the interval between the hire date and today. Since hire date is already a native date type, the analyst can directly compute this difference. The birthdate column's text format is irrelevant to the tenure calculation and does not need to be addressed first.

Why this answer

Tenure is the elapsed time between an employee's hire date and the present. Because the hire date is already stored as a native date type, the analyst can compute the difference directly without any conversion. The birthdate column's text format is a separate data quality issue that does not affect the tenure calculation and should not block it.

Exam trap

The trap here is assuming that all date-related columns must be converted before any calculation, when the column needed for tenure is already correctly typed.

86
Multi-Selectmedium

A university database stores student information in a normalized schema. The 'students' table has a primary key 'student_id'. The 'enrollments' table has a foreign key 'student_id' referencing 'students'. Which two of the following are true about primary and foreign keys? (Select TWO)

Select 2 answers
A.A foreign key must have the same name as the primary key it references
B.A foreign key ensures referential integrity between tables
C.A foreign key can reference a column that is not a primary key
D.A table can have multiple primary keys
E.A primary key column cannot contain NULL values
AnswersB, E

Foreign keys enforce that values match the referenced primary key.

Why this answer

A foreign key enforces referential integrity by ensuring that every value in the foreign key column of the 'enrollments' table matches a valid primary key value in the 'students' table. This prevents orphaned records and maintains consistency across related tables in a normalized relational database.

Exam trap

The trap here is that candidates often assume a foreign key can reference any column, forgetting that the referenced column must have a unique constraint (primary key or unique) to ensure a single target row, which is a common point of confusion in DA0-001.

87
MCQeasy

Refer to the exhibit. An Avro schema is defined as shown. Which data design concept does this represent?

A.Schema-on-read
B.Schema-less design
C.Dynamic schema
D.Schema-on-write
AnswerD

Schema-on-write enforces the Avro schema at ingestion, validating each record before storage. This satisfies the exhibit's requirement that data conforms to a predefined structure, unlike schema-on-read, which defers interpretation until query time and permits malformed records to persist in the store.

Why this answer

An Avro schema explicitly defines the structure and data types of records before data is written, which is the definition of schema-on-write. The schema is enforced at write time, ensuring data conforms to the defined format when stored. This contrasts with schema-on-read, where structure is applied only when data is queried.

Exam trap

DA0-002 often tests the confusion between schema-on-write and schema-on-read — the trap is assuming that because Avro is flexible, it is schema-on-read, when in fact Avro enforces schema at write time.

How to eliminate wrong answers

Option A is wrong because schema-on-read applies structure at query time (e.g., Parquet read with a defined schema), not when the Avro schema is defined and enforced at write. Option B is wrong because schema-less design means no schema is enforced at all, which contradicts having an explicit Avro schema. Option C is wrong because 'dynamic schema' is not a standard data design concept in this context; Avro schemas are static and versioned, not dynamically inferred at read time.

88
MCQhard

A data architect is designing a system to store data for a real-time analytics application. The application requires high-speed ingestion of semi-structured data with flexible schemas, and the ability to query data using SQL-like syntax. The data volume is expected to grow rapidly. Which type of database should the architect choose?

A.NoSQL document database
B.Graph database
C.Relational database
D.Data warehouse
AnswerA

A NoSQL document database stores semi-structured data in flexible, JSON-like documents and supports high-speed ingestion and horizontal scaling. Many document databases also offer SQL-like query languages or APIs. This makes it well-suited for real-time analytics with evolving schemas and large data volumes.

Why this answer

A NoSQL document database is the best choice because it handles semi-structured data with flexible schemas, supports high-speed ingestion, and scales horizontally. It often provides SQL-like query capabilities. Relational databases are too rigid, data warehouses are for structured historical data, and graph databases are for relationship-heavy use cases.

Exam trap

The trap here is assuming that a relational database or data warehouse can handle flexible schemas and real-time semi-structured ingestion just because they support SQL.

89
MCQmedium

A healthcare analytics team stores patient visit records in a relational database. Each visit has a unique VisitID, and the team frequently needs to join visit data with physician and facility tables. The database must enforce referential integrity between these tables. Which data model characteristic best describes this environment?

A.A normalized relational model with primary and foreign key constraints
B.A document-oriented NoSQL store with embedded visit documents
C.A key-value store using VisitID as the lookup key
D.A denormalized star schema optimized for analytical query speed
AnswerA

This scenario requires enforcing referential integrity between visit, physician, and facility tables, which is achieved through primary and foreign key constraints in a normalized relational model. The unique VisitID serves as the primary key, and foreign keys link related tables. Normalization reduces redundancy and maintains consistency across joins, directly matching the described requirements.

Why this answer

The described environment requires unique identifiers, joins across multiple related tables, and enforced referential integrity. These are defining characteristics of a normalized relational model using primary and foreign keys. Alternative models either lack join capabilities or do not enforce integrity constraints, making them unsuitable for this healthcare analytics scenario.

Exam trap

The trap here is assuming that any database storing related records must be relational, when the distinguishing factor is the explicit requirement for enforced referential integrity through primary and foreign keys.

90
MCQmedium

A data analyst needs to combine data from two tables: one containing customer information and another containing order details. The analyst wants to include all customers, even those who have not placed any orders. Which type of join should be used?

A.FULL OUTER JOIN
B.LEFT JOIN
C.INNER JOIN
D.RIGHT JOIN
AnswerB

A LEFT JOIN returns every row from the left (customer) table plus matching rows from the right (order) table, emitting NULLs where no order exists. That satisfies the stated constraint of retaining customers with zero orders, which an INNER JOIN would silently discard.

Why this answer

A LEFT JOIN returns all rows from the left table (customers) and matching rows from the right table (orders). If a customer has no orders, the order columns will contain NULLs. This satisfies the requirement to include all customers, even those without orders.

Exam trap

The trap here is that candidates often confuse LEFT JOIN with FULL OUTER JOIN, thinking they need to preserve all rows from both tables, when the requirement only specifies preserving all customers.

How to eliminate wrong answers

Option A is wrong because a FULL OUTER JOIN returns all rows from both tables, which would include unmatched orders (if any) and is unnecessary when only all customers are needed. Option C is wrong because an INNER JOIN returns only rows with matches in both tables, excluding customers who have not placed orders. Option D is wrong because a RIGHT JOIN returns all rows from the right table (orders) and matching customers, which would omit customers without orders if the customer table is on the left.

91
MCQmedium

A data engineer is comparing data warehouses and data lakes. Which statement accurately describes a data warehouse?

A.Typically stores data in object storage
B.Optimized for complex queries on structured data
C.Stores raw, unprocessed data
D.Uses schema-on-read
AnswerB

A data warehouse stores structured, schema-on-write data in a columnar or relational model tuned for complex analytical SQL queries. This contrasts with data lakes, which hold raw structured and unstructured data in schema-on-read object storage.

Why this answer

A data warehouse is optimized for complex queries on structured data because it uses a schema-on-write approach, where data is cleaned, transformed, and organized into relational tables (e.g., star or snowflake schemas) before loading. This pre-processing enables efficient execution of aggregations, joins, and reporting queries using SQL, making it ideal for business intelligence and analytics. In contrast, data lakes store raw data in native formats and rely on schema-on-read, which is less performant for structured query patterns.

Exam trap

The trap here is that candidates confuse the storage location (object storage) or data state (raw vs. processed) with the defining characteristic of a data warehouse, which is its schema-on-write design and optimization for structured query performance.

How to eliminate wrong answers

Option A is wrong because data warehouses typically store data in structured, columnar formats (e.g., Parquet, ORC) within relational databases or dedicated storage engines, not in object storage like Amazon S3 or Azure Blob Storage, which is characteristic of data lakes. Option C is wrong because data warehouses store processed, transformed, and cleansed data optimized for analysis, not raw, unprocessed data; raw data is a hallmark of data lakes. Option D is wrong because data warehouses use schema-on-write, where the schema is defined and enforced at data ingestion time, whereas schema-on-read is a property of data lakes where the schema is applied only when the data is queried.

92
Multi-Selecthard

A data engineer is designing a data lake to store raw data from multiple sources, including JSON logs, CSV files, and Parquet files. The data will be used for both batch analytics and machine learning. The engineer must choose storage and processing strategies that align with the characteristics of a data lake. Which two of the following are core characteristics of a data lake? (Choose two.)

Select 2 answers
A.It stores data in its native format, including structured, semi-structured, and unstructured data.
B.It enforces schema-on-write, requiring data to be structured before storage.
C.It is optimized for high-cost, low-volume transactional processing.
D.It uses schema-on-read, applying structure only when the data is queried.
E.It requires all data to be transformed and cleaned before it can be stored.
AnswersA, D

A data lake is designed to ingest and store data in its original format, such as JSON, CSV, Parquet, or images, without requiring transformation. This flexibility supports diverse analytics and machine learning use cases. Storing native formats allows the organization to defer schema definition until read time, which is a defining characteristic of a data lake.

Why this answer

A data lake stores data in its native format and applies schema-on-read, allowing raw data to be stored without upfront transformation. These two characteristics enable flexibility and support diverse data types. Enforcing schema-on-write, pre-storage transformation, and optimization for transactional processing are not core to data lakes.

Exam trap

The trap here is mixing data lake characteristics with those of a data warehouse, such as schema-on-write and pre-storage transformation.

93
MCQhard

A data engineer is designing a system to handle high-velocity clickstream data from a website. The system must allow low-latency writes and support key-value lookups. Which type of database is most appropriate?

A.Graph database (e.g., Neo4j)
B.Document store (e.g., MongoDB)
C.Key-value store (e.g., Redis)
D.Wide-column store (e.g., Cassandra)
AnswerC

A key-value store such as Redis satisfies both stated constraints: it performs low-latency writes by holding data in memory with simple key-based access, and it supports direct key-value lookups without joins or schema overhead. This suits high-velocity clickstream ingestion, where each event maps to a key and must be written and retrieved rapidly.

Why this answer

A key-value store like Redis is optimized for extremely low-latency reads and writes using in-memory data structures, making it ideal for high-velocity clickstream ingestion and fast key-value lookups (e.g., session state, counters, real-time analytics). Its simple key→value model avoids the overhead of document parsing or wide-column coordination, delivering sub-millisecond performance.

Exam trap

The trap is being drawn to wide-column stores because they are 'high write throughput,' but the question's emphasis on low-latency key-value lookups points specifically to an in-memory key-value store.

How to eliminate wrong answers

Option A is wrong because graph databases like Neo4j are optimized for traversing relationships (e.g., social networks, fraud rings), not high-throughput key-value writes. Option B is wrong because document stores like MongoDB store JSON-like documents and are better for flexible schemas than for the raw write velocity and simple lookups of clickstream data. Option D is wrong because wide-column stores like Cassandra handle high write throughput but are designed for distributed, column-family access patterns with higher per-operation latency than in-memory key-value stores, and are not the best fit for pure key-value lookups.

94
MCQeasy

Which of the following data types is characterized by a flexible schema and is commonly represented using JSON or XML?

A.Unstructured data
B.Structured data
C.Semi-structured data
D.Relational data
AnswerC

Semi-structured data lacks a rigid tabular schema yet retains tags or markers separating elements, typically serialised as JSON or XML. This flexibility distinguishes it from structured data, which enforces fixed columns, and unstructured data, which has no defined model.

Why this answer

JSON and XML are examples of semi-structured data, which has a flexible schema unlike structured data (fixed schema) or unstructured data (no schema).

95
MCQhard

A mid-sized e-commerce company stores customer data in a relational database. The database has a table named 'Customers' with columns: CustomerID (primary key), FirstName, LastName, Email, Phone, Address, City, State, ZipCode, and SignUpDate. The company is migrating to a new CRM system that requires a denormalized structure for performance reasons. The new system expects a single table 'CustomerDetails' with columns: CustomerID, FullName (concatenation of first and last name), ContactInfo (JSON object containing email, phone, and address), SignUpDate, and Region (derived from state). The data analyst must design an ETL process to transform the data. During a test run, the analyst notices that some records have missing Phone or Address values. Which of the following is the best approach to handle missing data in the ContactInfo JSON object?

A.Exclude any record with missing Phone or Address from the migration.
B.Set missing values to an empty string in the JSON object.
C.Include the missing fields as null in the JSON object.
D.Replace missing values with 'N/A' string.
AnswerC

Retaining missing fields as explicit nulls preserves the JSON schema and key structure, so downstream consumers can distinguish absent values from omitted keys. This satisfies the denormalised ContactInfo requirement without fabricating data or dropping otherwise valid customer records.

Why this answer

Representing missing fields as null in the JSON object preserves the data structure and allows downstream systems to explicitly handle null values. This approach maintains data integrity without discarding records or introducing ambiguous placeholder strings that could be misinterpreted as actual data.

Exam trap

The trap here is that candidates may confuse 'handling missing data' with 'filling in missing data,' leading them to choose placeholder strings (B or D) instead of preserving the null representation that JSON natively supports.

How to eliminate wrong answers

Option A is wrong because excluding records with missing Phone or Address would result in data loss, violating the migration requirement to preserve all customer data. Option B is wrong because setting missing values to an empty string conflates 'no data' with 'empty data,' which can cause incorrect processing in JSON parsers or CRM logic that expects null for absent values. Option D is wrong because replacing missing values with 'N/A' string introduces a non-standard placeholder that may be treated as valid data, leading to errors in downstream analytics or validation rules.

96
MCQmedium

An e-commerce company uses a star schema for its data warehouse. The fact table 'sales_fact' contains foreign keys to dimension tables: customer_dim, product_dim, time_dim, and store_dim. A business user wants to know the total sales for each product category in the last month. Which join operation is required to retrieve this data?

A.Self-join on the fact table
B.Cross join between fact and dimension tables
C.Inner join between fact table and dimension tables
D.Left outer join between fact and dimension tables
AnswerC

An inner join matches each fact row to its related dimension rows via the foreign keys, letting the query group sales by product category. Because every sales_fact row has valid dimension references, inner joins return all required combinations without dropping matching data.

Why this answer

To retrieve total sales for each product category, you need to join the fact table with the product dimension table to map product keys to categories, and with the time dimension table to filter on the last month. An inner join is correct because it returns only rows where matching keys exist in both tables, which is the standard approach for star-schema queries where all required dimension attributes are present. This ensures that only valid sales transactions with corresponding product and time entries are included in the aggregation.

Exam trap

The trap here is that candidates often confuse the need for a left outer join to 'preserve all fact rows,' but in a well-designed star schema with referential integrity, inner join is sufficient and more performant, and left outer join is only needed when fact rows might lack matching dimension keys (e.g., orphaned records).

How to eliminate wrong answers

Option A is wrong because a self-join on the fact table would match rows within the same table, which is unnecessary here since the required attributes (product category and month) are in dimension tables, not in the fact table itself. Option B is wrong because a cross join between fact and dimension tables would produce a Cartesian product, generating every possible combination of fact rows with dimension rows, leading to massively inflated and incorrect sales totals. Option D is wrong because a left outer join would include fact rows even if there is no matching dimension row (e.g., a product key not in product_dim), which could introduce NULL values for category and potentially skew the aggregation; inner join is the standard for guaranteed referential integrity in a star schema.

97
MCQhard

A sensor records temperature readings in Celsius and a separate sensor records wind speed in meters per second. A data scientist wants to combine these datasets for analysis. Which statement accurately compares these data types?

A.Both are ratio data
B.Temperature is discrete; wind speed is continuous
C.Both are discrete data
D.Temperature is interval; wind speed is ratio
AnswerD

Temperature in Celsius has an arbitrary zero, so only differences are meaningful, making it interval. Wind speed in metres per second has a true zero and supports meaningful ratios, making it ratio. This axis of difference is precisely what the option states.

Why this answer

Temperature measured in Celsius has an arbitrary zero point (0°C does not mean 'no heat'), so it is interval data. Wind speed in meters per second has a true zero point (0 m/s means no wind), making it ratio data. Therefore, option D correctly identifies temperature as interval and wind speed as ratio.

Exam trap

The trap here is confusing interval and ratio data by overlooking the significance of a true zero point, leading candidates to incorrectly classify temperature as ratio data.

How to eliminate wrong answers

Option A is wrong because temperature in Celsius is interval data, not ratio data, due to the lack of a true zero point. Option B is wrong because temperature is continuous (can take any value within a range), not discrete; wind speed is also continuous. Option C is wrong because both temperature and wind speed are continuous data types, not discrete.

98
Multi-Selecthard

A company is designing a data pipeline to process streaming data from social media feeds. Which THREE of the following are characteristics of streaming data? (Select THREE).

Select 3 answers
A.Data is unbounded and infinite
B.Data is processed in micro-batches
C.Data arrives continuously
D.Data is stored permanently before processing
E.Data is processed in real-time
AnswersA, C, E

Streaming data is unbounded.

Why this answer

Streaming data is inherently unbounded and infinite because social media feeds generate a continuous, never-ending flow of events. Unlike batch data, there is no natural end to the stream; new tweets, posts, or interactions arrive constantly, making the dataset theoretically infinite in size.

Exam trap

The trap here is that candidates confuse processing strategies (like micro-batching) with the inherent nature of streaming data, or they assume streaming data must be stored before processing, which is a batch-oriented mindset.

99
MCQeasy

A market researcher conducts a survey with questions like "What is your favorite brand?" and "How many units do you purchase per year?" Which data types correspond?

A.Qualitative & Quantitative
B.Quantitative & Qualitative
C.Both quantitative
D.Both qualitative
AnswerA

Favourite brand responses are categorical labels, which are qualitative, whereas units purchased per year are numeric counts, which are quantitative. This pairing matches the stem's two questions, distinguishing nominal descriptive data from measurable discrete numerical data.

Why this answer

'favorite brand' is a categorical label (qualitative data), while 'units purchased per year' is a numerical count (quantitative data). The question explicitly pairs these two distinct data types, matching the definition of qualitative (non-numeric categories) and quantitative (numeric measurements).

Exam trap

The trap here is that candidates often confuse the order of the data types in the question, assuming the first listed data type must be quantitative, leading them to select Option B instead of correctly identifying 'favorite brand' as qualitative.

How to eliminate wrong answers

Option B is wrong because it reverses the order: 'favorite brand' is qualitative, not quantitative, and 'units purchased per year' is quantitative, not qualitative. Option C is wrong because 'favorite brand' is not a numeric value; it is a categorical label, so both cannot be quantitative. Option D is wrong because 'units purchased per year' is a numeric count, not a categorical label, so both cannot be qualitative.

100
Multi-Selecteasy

Which TWO of the following are considered internal data sources within an organization?

Select 2 answers
A.Social media feeds
B.Employee payroll data
C.Government census data
D.Sales transaction records
E.Market research reports from third parties
AnswersB, D

Employee payroll data originates inside the organisation, generated by HR and finance systems, so it satisfies the stem's requirement for an internal source. Unlike external feeds such as government statistics or purchased market research, payroll records are owned and maintained by the organisation itself, making them a canonical internal data source.

Why this answer

Employee payroll data (B) is a correct answer because it is generated and maintained internally by the organization's HR and finance systems, containing confidential compensation, tax withholding, and benefits information that never originates outside the company. Sales transaction records (D) are also correct because they are produced by the organization's own point-of-sale, e-commerce, or ERP systems and capture internal order, revenue, and customer purchase activity. By contrast, social media feeds (A), government census data (C), and third-party market research reports (E) are all external data sources, since they are created and published by outside parties such as social platforms, government statistical agencies, and independent research firms rather than by the organization itself.

Exam trap

The trap here is that candidates may confuse 'data used internally' with 'internal data source,' mistakenly selecting options like social media feeds or third-party reports because the organization uses them for analysis, even though they originate externally.

101
MCQeasy

A company is designing a database for an e-commerce application that requires high transaction throughput and must guarantee that each transaction is processed atomically. Which property of ACID ensures that a transaction is either fully completed or not executed at all?

A.Atomicity
B.Isolation
C.Durability
D.Consistency
AnswerA

Atomicity treats each transaction as an indivisible unit: every operation commits together or the whole transaction rolls back, leaving no partial state. This precisely satisfies the stem's requirement that a transaction is either fully completed or not executed at all, unlike consistency, isolation or durability.

Why this answer

Atomicity is the ACID property that guarantees a transaction is treated as a single indivisible unit — either all of its operations commit or none of them do. If any statement in the transaction fails, the entire transaction is rolled back, leaving the database in its pre-transaction state. This is the 'all-or-nothing' guarantee that the question describes.

Exam trap

The trap here is that candidates conflate Consistency with Atomicity because both sound like 'the transaction is correct' — but Consistency is about rule/constraint preservation, while Atomicity is specifically about all-or-nothing execution.

How to eliminate wrong answers

Option B is wrong because Isolation governs how concurrent transactions see each other's intermediate state (via isolation levels like READ COMMITTED or SERIALIZABLE) — it prevents dirty reads and lost updates, not partial execution. Option C is wrong because Durability guarantees that once a transaction commits, its changes survive crashes or power loss (typically via write-ahead logging and fsync), which is about persistence, not all-or-nothing execution. Option D is wrong because Consistency ensures a transaction moves the database from one valid state to another while respecting constraints, triggers, and referential integrity — it does not describe rollback of partial work.

102
MCQmedium

A financial application requires fast query performance for aggregations on large historical datasets. The schema has many lookup tables. Which schema design is most efficient for this workload?

A.Snowflake schema
B.Star schema
C.Wide table
D.Third normal form (3NF)
AnswerB

A star schema keeps a central fact table joined to denormalised dimension tables, minimising joins for aggregations over large historical datasets. This satisfies the stem's requirement for fast aggregation performance despite many lookup tables, unlike snowflake schemas that normalise dimensions and add join depth.

Why this answer

The star schema is most efficient for this workload because it denormalizes lookup tables into dimension tables, reducing the number of joins required for aggregations. This design optimizes query performance for large historical datasets by enabling faster full table scans and simpler query plans, which is critical for financial applications needing rapid aggregations.

Exam trap

The trap here is that candidates often confuse normalization with performance, assuming snowflake or 3NF schemas are faster due to reduced redundancy, when in fact denormalization in a star schema minimizes joins for analytical queries.

How to eliminate wrong answers

Option A is wrong because the snowflake schema normalizes dimension tables into sub-dimensions, increasing join complexity and degrading query performance on large datasets. Option C is wrong because a wide table, while denormalized, leads to excessive redundancy and storage overhead, and can cause performance issues due to wide row scans and index inefficiencies. Option D is wrong because third normal form (3NF) prioritizes data integrity over query speed, requiring many joins that slow down aggregations on historical data.

103
MCQeasy

A retail company processes daily transactions. The current system transforms data before loading it into the data warehouse. The volume is growing rapidly, and they want to load raw data first to reduce processing time. Which approach should they adopt?

A.Change data capture (CDC)
B.ETL (Extract, Transform, Load)
C.ELT (Extract, Load, Transform)
D.Data replication
AnswerC

ELT loads raw data into the warehouse first, then transforms it there using the warehouse's compute. This satisfies the stem's requirement to load raw data first and reduce processing time, unlike ETL, which transforms before loading.

Why this answer

(ELT) because the company wants to load raw data first and then transform it later, reducing initial processing time. ELT leverages the power of modern data warehouses to perform transformations after loading, which is ideal for rapidly growing volumes of raw transaction data.

Exam trap

The trap here is that candidates often confuse ETL and ELT, assuming that 'transform before load' (ETL) is always faster, but the question explicitly states the goal is to reduce processing time by loading raw data first, which directly points to ELT.

How to eliminate wrong answers

Option A is wrong because Change Data Capture (CDC) is a technique for capturing incremental changes from source systems, not a data loading approach that loads raw data first. Option B is wrong because ETL (Extract, Transform, Load) transforms data before loading, which contradicts the requirement to reduce processing time by loading raw data first. Option D is wrong because Data Replication copies data between systems in real-time or near-real-time, but it does not inherently load raw data into a data warehouse for later transformation.

104
Multi-Selecteasy

Which TWO are examples of primary data? (Select two.)

Select 2 answers
A.Industry reports from a trade association
B.Government census data
C.Customer survey responses collected by the company themselves
D.Company sales records
E.Social media data purchased from a vendor
AnswersC, D

Primary data is collected first-hand by the organisation for its own purpose. Survey responses gathered directly by the company are original, unmediated data, distinguishing them from secondary sources such as published reports or third-party datasets.

Why this answer

Primary data is data the organization collects firsthand for its own purposes, so option C (customer survey responses collected by the company themselves) is correct because the company designs and gathers the responses directly from the source. Option D (company sales records) is also correct because these records are generated internally by the company's own transactions and systems, making them original first-hand data. By contrast, option A (industry reports from a trade association) and option B (government census data) are secondary data, since they are compiled and published by external organizations and merely reused by the company.

Option E (social media data purchased from a vendor) is likewise secondary data, as it is acquired from a third party rather than collected directly by the company.

Exam trap

CompTIA often tests the distinction between primary and secondary data by including options that appear firsthand but are actually collected by an external entity, such as purchased datasets or government reports, leading candidates to mistakenly classify them as primary.

105
MCQmedium

A logistics company collects GPS pings from delivery trucks every few seconds. Each ping includes a device identifier, a timestamp, and latitude and longitude coordinates. The analytics team wants to compute the total distance each truck traveled per day and the average speed between consecutive pings. Which characteristic of the data must the team address first to make these calculations valid?

A.The pings are a time series that must be ordered by timestamp per device before calculating deltas.
B.The latitude and longitude values must be converted from degrees to radians before any arithmetic.
C.The pings must be aggregated to one record per truck per day before any distance calculation.
D.The device identifier must be hashed to protect driver privacy before distance is computed.
AnswerA

Distance and speed between consecutive pings depend on the order of events, so the data must be sorted by timestamp within each device before computing differences. Without correct ordering, delta calculations mix unrelated pings and produce meaningless distances. Establishing the time series sequence is the prerequisite step before any spatial or speed math can be trusted.

Why this answer

Distance and speed between consecutive pings are order-dependent calculations, so the pings must first be sorted by timestamp within each device to form a proper time series. Unit conversion, privacy masking, and daily aggregation are either later steps or would prevent the calculation entirely. Correct sequencing is the foundation for valid deltas.

Exam trap

The trap here is jumping to coordinate math or privacy handling while missing that unordered event data makes any delta calculation meaningless.

106
MCQmedium

Refer to the exhibit. A data analyst is trying to understand access permissions for the company data folder. Which statement accurately describes the effective permissions?

A.DataAnalyst can read objects in the production folder except those in the sensitive subfolder.
B.DataAnalyst can read all objects in the production folder, including the sensitive subfolder.
C.No one can read from the production folder except DataAnalyst.
D.Only DataAnalyst is allowed to read from the entire production folder.
AnswerA

NTFS permissions are cumulative, but an explicit deny on the sensitive subfolder overrides the inherited allow from the production folder. The DataAnalyst therefore retains read access to production objects while being blocked from sensitive ones, matching the stated effective permissions.

Why this answer

The exhibit shows an access control policy that grants the DataAnalyst user read permission on the production folder, but includes an explicit deny rule for the sensitive subfolder specified via a path condition. In most access control systems, explicit deny rules take precedence over allow rules, so the deny on the sensitive subfolder overrides the allow on the production folder, effectively blocking read access to objects in the sensitive subfolder while permitting reads elsewhere in the production folder.

Exam trap

The trap here is that candidates often assume an allow rule on a folder grants full access to all subfolders, forgetting that an explicit deny rule on a specific subfolder (via a path condition) takes precedence and creates a narrower effective permission.

How to eliminate wrong answers

Option B is wrong because it claims DataAnalyst can read all objects including the sensitive subfolder, but the explicit Deny on that subfolder prevents read access, so this statement is false. Option C is wrong because it states 'No one can read from the prod bucket except DataAnalyst,' which is incorrect; the policy only applies to DataAnalyst and does not grant or deny permissions to other principals, so other users or roles may have separate policies allowing read access. Option D is wrong because it says 'Only DataAnalyst is allowed to read from the entire prod bucket,' but the Deny on the sensitive subfolder means DataAnalyst cannot read from the entire bucket, and other principals might also have read permissions via different policies.

107
MCQmedium

A company is ingesting data from multiple sources into a cloud data warehouse. They decide to load the data raw and then perform transformations within the warehouse. Which approach does this describe?

A.Data lake ingestion
B.ETL
C.ELT
D.Stream processing
AnswerC

ELT extracts raw data, loads it into the warehouse unchanged, then transforms it there using the warehouse's compute. The stem specifies loading raw before transforming within the warehouse, which is precisely the load-then-transform ordering that distinguishes ELT from ETL.

Why this answer

ELT (Extract, Load, Transform) loads raw data first, then transforms it inside the data warehouse, as opposed to ETL which transforms before loading.

108
MCQhard

During an ETL process, a data quality check fails due to duplicate customer IDs. Which data quality dimension is violated?

A.Consistency
B.Uniqueness
C.Completeness
D.Accuracy
AnswerB

Duplicate customer IDs breach uniqueness, the dimension requiring each real-world entity to appear only once within its dataset. This directly satisfies the stem's constraint: the ETL quality check detected repeated identifiers. Uniqueness differs from accuracy, which concerns correctness of values, and from completeness, which concerns missing values — neither applies to repeated IDs.

Why this answer

Duplicate customer IDs violate the uniqueness dimension because uniqueness ensures that each record in a dataset has a distinct identifier with no duplicates. In an ETL process, a primary key or unique constraint on the customer ID column would reject duplicate values, causing the data quality check to fail. This is distinct from consistency, which checks for logical agreement across data sources.

Exam trap

The trap here is that candidates confuse uniqueness with accuracy, thinking a duplicate ID is 'inaccurate' data, but accuracy concerns correctness of values, not their distinctness.

How to eliminate wrong answers

Option A is wrong because consistency refers to data being logically coherent across systems (e.g., same customer name in CRM and ERP), not to the absence of duplicate IDs. Option C is wrong because completeness measures whether all required data is present (e.g., missing customer names), not whether values are duplicated. Option D is wrong because accuracy checks if data correctly reflects real-world values (e.g., correct spelling of a name), not uniqueness of identifiers.

109
Multi-Selectmedium

A university is designing a data platform to consolidate student records from several departments. The data includes enrollment dates, course grades, and tuition payments. The team must classify each field correctly so that appropriate storage, aggregation, and visualization choices can be made. Which two statements correctly describe the measurement scales of these fields? (Choose two.)

Select 2 answers
A.Tuition payment amount is a ratio scale because it has a true zero and ratios between amounts are meaningful.
B.Enrollment date is an interval scale because differences between dates are meaningful but there is no true zero.
C.Tuition payment amount is an interval scale because zero payments are not allowed in the system.
D.Course grade expressed as a letter is a nominal scale because letters are just labels with no order.
E.Course grade expressed as a letter (A, B, C, D, F) is an ordinal scale because the categories have a meaningful order but unequal intervals.
AnswersA, E

A tuition payment of zero means no money was paid, which is a true zero, and it is meaningful to say one payment is twice another. This satisfies the ratio scale. It permits the full range of arithmetic and statistical operations, including averages, percentages, and ratio comparisons, which interval and ordinal scales do not allow.

Why this answer

Letter grades are ordinal because they are ranked but have unequal intervals, and tuition amounts are ratio because they have a true zero and support meaningful ratio comparisons. Correctly identifying these scales determines which statistics and visualizations are valid for each field.

Exam trap

The trap here is letting business rules, such as disallowing zero payments, override the mathematical properties of a scale, when the scale itself still has a true zero.

110
MCQmedium

A logistics company collects GPS telemetry from delivery trucks. Each reading includes a truck identifier, a timestamp, latitude, and longitude, and the fleet generates roughly 500 million readings per day. Analysts mostly run aggregate queries such as average speed per route over the past 90 days, and they rarely update individual readings. Which storage approach best fits this workload?

A.A row-oriented transactional database with secondary indexes on truck identifier and timestamp
B.A key-value cache that holds the most recent reading for each truck identifier
C.A columnar analytical store that compresses and scans only the columns referenced by aggregate queries
D.A graph database that models trucks, routes, and readings as nodes and relationships
AnswerC

Columnar stores keep values of each column together, so an aggregate over speed and route reads only those columns instead of entire rows. This drastically reduces I/O for the 500 million daily readings and compresses repetitive timestamp and identifier values well. Since individual readings are rarely updated, the write pattern is a good match for a columnar analytical workload.

Why this answer

The workload is dominated by large aggregate scans over historical telemetry with few updates, which suits a columnar analytical store. Columnar storage reads only the referenced columns and compresses repetitive values, cutting I/O dramatically compared with row-oriented storage, while the rare updates do not conflict with the columnar write pattern.

Exam trap

The trap here is assuming that adding indexes to a row-oriented transactional database will make large aggregate scans efficient, when the fundamental row layout still forces reading every column.

111
Multi-Selecthard

A company is migrating its data pipeline from on-premises to the cloud. The current ETL process transforms data before loading into a data warehouse. The new architecture will use ELT instead. Which THREE of the following are advantages of ELT over traditional ETL? (Select 3)

Select 3 answers
A.Ensures data quality before loading
B.Provides ability to reprocess raw data if transformation logic changes
C.Leverages the processing power of the cloud data warehouse
D.Reduces storage costs by storing only transformed data
E.Allows for schema-on-read, enabling flexible analysis
AnswersB, C, E

ELT loads raw data first, so transformations run inside the warehouse against persisted source data. If transformation logic changes, the raw layer is reprocessed without re-extracting from source systems, satisfying the stem's requirement for an advantage unavailable in transform-before-load ETL.

Why this answer

Option B is correct because ELT loads raw data into the target system first, preserving the original data so transformations can be re-run whenever business logic or requirements change, without needing to re-extract from source systems. Option C is correct because ELT pushes transformation work down to the cloud data warehouse (e.g., Snowflake, BigQuery, Redshift), leveraging its massively parallel processing and elastic compute rather than relying on a separate ETL server. Option E is correct because ELT commonly pairs with schema-on-read, where the schema is applied at query time, allowing flexible analysis of raw, semi-structured, or evolving data.

Option A is not correct because ELT typically defers quality checks and transformations until after loading, whereas ETL enforces data quality before loading. Option D is not correct because ELT generally stores raw data in addition to transformed data, which tends to increase rather than reduce storage requirements.

Exam trap

DA0-002 often tests whether candidates confuse ELT's benefits (raw data retention, cloud compute leverage, schema-on-read) with ETL's strengths (pre-load data quality, reduced storage), leading them to pick options that actually describe ETL.

112
MCQeasy

A data analyst needs to ensure that a customer's address is stored in a consistent format across multiple databases. Which data quality dimension is the analyst primarily concerned with?

A.Consistency
B.Completeness
C.Accuracy
D.Timeliness
AnswerA

Consistency directly addresses the stem's requirement that the same address value be represented identically across multiple databases. It governs uniformity of format and representation between systems, whereas accuracy concerns correctness against reality, completeness concerns missing values, and validity concerns conformance to defined rules. The cross-database format requirement is precisely consistency's domain.

Why this answer

The data analyst is primarily concerned with consistency, which ensures that the same data values are represented uniformly across different systems or databases. In this scenario, the customer's address must follow the same format (e.g., street, city, state, ZIP code) in every database to enable reliable merging and querying. Consistency is a key data quality dimension that focuses on cross-system uniformity, distinct from accuracy (correctness of values) or completeness (presence of all required fields).

Exam trap

The trap here is that candidates often confuse consistency with accuracy, thinking that if the address is correct (accurate), it must be consistent, but consistency is about format uniformity across systems, not the truthfulness of the data.

How to eliminate wrong answers

Option B (Completeness) is wrong because completeness measures whether all required data fields are present, not whether the data is formatted uniformly across databases. Option C (Accuracy) is wrong because accuracy refers to the correctness of the data values relative to the real-world entity, not the format or representation. Option D (Timeliness) is wrong because timeliness concerns whether the data is up-to-date and available when needed, not the consistency of its format across systems.

113
MCQmedium

A data analyst is examining a dataset of employee records. The 'EmployeeID' column contains unique alphanumeric codes, and the 'Department' column contains values like 'Sales', 'HR', and 'IT'. The analyst needs to determine which column is a key and which is a categorical attribute. Which statement correctly identifies the data types and roles?

A.Both EmployeeID and Department are keys.
B.EmployeeID is a key, and Department is a categorical attribute.
C.Both EmployeeID and Department are categorical attributes.
D.EmployeeID is a categorical attribute, and Department is a key.
AnswerB

EmployeeID uniquely identifies each row, making it a primary key. Department contains a limited set of repeated labels, making it a categorical attribute. This distinction is fundamental for data modeling: keys are used for joining and ensuring uniqueness, while categorical attributes are used for grouping and filtering.

Why this answer

EmployeeID uniquely identifies each employee, so it is a key. Department has a limited set of repeated values, so it is a categorical attribute. This distinction is essential for data modeling and analysis.

The other options incorrectly assign roles or claim both are keys or both are categorical.

Exam trap

The trap here is assuming that any alphanumeric column is categorical, when uniqueness determines whether a column is a key.

114
MCQmedium

In a customer database, each row represents a customer with columns: CustomerID, Name, Address, Phone. What does the column "Name" represent?

A.Instance
B.Entity
C.Attribute
D.Record
AnswerC

Name is an attribute: a column describing a characteristic of the customer entity, whose rows are instances. It satisfies the stem's requirement by identifying the property recorded for each CustomerID, distinct from the entity itself.

Why this answer

In the context of a relational database, a column represents an attribute of an entity. The 'Name' column stores a specific characteristic (the customer's name) for each row, making it an attribute. This aligns with the data modeling concept where attributes define the properties of an entity.

Exam trap

The trap here is that candidates confuse 'attribute' with 'record' because they think of a row as containing all attributes, but the question specifically asks what a single column represents, not the row itself.

How to eliminate wrong answers

Option A is wrong because an instance refers to a single occurrence of an entity (e.g., a specific customer row), not a column. Option B is wrong because an entity is a table-level concept representing a real-world object (e.g., the Customer table), not a column within it. Option D is wrong because a record is a row in the table, which contains values for all attributes, not a single column like 'Name'.

115
Multi-Selectmedium

A data governance team is establishing policies for data quality. Which THREE of the following are common dimensions of data quality? (Select 3)

Select 3 answers
A.Consistency
B.Completeness
C.Accuracy
D.Velocity
E.Volume
AnswersA, B, C

Data is uniform across systems.

Why this answer

Consistency is a common dimension of data quality because it ensures that data values are uniform across different datasets or systems, preventing contradictions. For example, if a customer's address is stored as '123 Main St' in one database and '123 Main Street' in another, consistency rules would flag this discrepancy. This dimension is critical for reliable reporting and integration.

Exam trap

The trap here is that candidates confuse the characteristics of big data (velocity, volume, variety) with the dimensions of data quality, leading them to select velocity or volume instead of the correct quality-focused options.

116
MCQhard

A financial services company is migrating its customer data from a legacy on-premises relational database to a cloud-based data warehouse. The legacy database uses a denormalized schema with a single table 'customer_master' that contains all customer attributes, including repeated groups for multiple accounts per customer (account1_type, account1_balance, account2_type, account2_balance, etc.). The data warehouse team wants to implement a normalized star schema with separate dimension and fact tables. During the ETL process, the team encounters an error: 'Data truncation: string data right truncation' when loading account_type values into the dim_account table. The account_type column in dim_account is defined as VARCHAR(10), but the source data contains account types like 'SavingsPlus' (11 characters) and 'CheckingPremium' (15 characters). The team must resolve this issue without losing data. Which course of action should the team take?

A.Truncate the account_type values to 10 characters during ETL.
B.Change the data type of dim_account.account_type to TEXT.
C.Ignore the error and continue loading with NULL values for truncated rows.
D.Increase the VARCHAR length of dim_account.account_type to accommodate the longest account type.
AnswerD

The truncation error occurs because dim_account.account_type is VARCHAR(10) while source values reach 15 characters. Widening the column to the longest value preserves every account type during load, satisfying the no-data-loss constraint without altering source records.

Why this answer

Increasing the VARCHAR length of dim_account.account_type to accommodate the longest account type (e.g., VARCHAR(15) for 'CheckingPremium') resolves the data truncation error without data loss. This aligns with the star schema design principle of preserving source data integrity while ensuring the column definition matches the actual data length. The team must avoid truncation or NULL insertion to maintain accurate dimensional attributes for analytics.

Exam trap

The trap here is that candidates may choose truncation (Option A) or NULL insertion (Option C) as quick fixes, overlooking the requirement to preserve data integrity, or mistakenly think TEXT (Option B) is a safe catch-all without considering performance implications in a data warehouse context.

How to eliminate wrong answers

Option A is wrong because truncating account_type values to 10 characters would lose data, violating the requirement to resolve the issue without data loss. Option B is wrong because changing the data type to TEXT is unnecessary and can introduce performance overhead in indexing and querying, as TEXT is a large object type not optimized for VARCHAR-like operations in a data warehouse. Option C is wrong because ignoring the error and loading NULL values for truncated rows would discard valid account_type data, breaking referential integrity and analytics accuracy.

117
MCQmedium

A data analyst needs to compare sales data from the company's internal CRM with public demographic data from a government census. Which data concept best describes this scenario?

A.Internal vs. External data
B.Primary vs. Secondary data
C.Structured vs. Unstructured data
D.Quantitative vs. Qualitative data
AnswerA

The CRM data originates within the organisation, making it internal, while the census data comes from an outside government body, making it external. Combining both satisfies the stem's requirement to compare proprietary sales figures against public demographic information, which is precisely the internal versus external data distinction.

Why this answer

The scenario involves comparing internal CRM data (generated and owned by the company) with external government census data (publicly sourced from outside the organization). This directly maps to the Internal vs. External data concept, where internal data is collected within the enterprise (e.g., sales transactions, customer records) and external data is acquired from third-party sources (e.g., census bureaus, market research firms).

The key distinction is the data's origin and ownership, not its structure, collection method, or measurement type.

Exam trap

CompTIA often tests the Internal vs. External data concept by presenting a scenario where the key differentiator is the data's source (inside vs. outside the organization), tempting candidates to confuse it with Primary vs. Secondary data, which focuses on whether the data was collected firsthand or repurposed.

How to eliminate wrong answers

Option B (Primary vs. Secondary data) is wrong because both datasets could be primary (collected firsthand by the CRM or census) or secondary (repurposed from another source), but the question focuses on the origin relative to the organization, not the collection method. Option C (Structured vs.

Unstructured data) is wrong because both CRM sales data and census demographic data are typically structured (e.g., tables with rows and columns), so the contrast is not about format but about source. Option D (Quantitative vs. Qualitative data) is wrong because both datasets contain quantitative values (e.g., sales figures, population counts) and possibly qualitative labels (e.g., region names), but the core distinction in the scenario is internal versus external sourcing, not measurement scale.

118
MCQhard

A financial analytics team is building a data warehouse to support complex analytical queries on historical stock trades. The data volume is in terabytes, and queries frequently join multiple large tables and perform aggregations. The team needs a storage model that minimizes query latency for these read-heavy analytical workloads. Which data modeling approach is most appropriate?

A.Highly normalized OLTP schema
B.Dimensional star schema
C.Entity-attribute-value (EAV) model
D.Flat file with no indexing
AnswerB

A dimensional star schema organizes data into fact tables (e.g., trades) and denormalized dimension tables (e.g., date, stock, broker). This design reduces the number of joins, enables efficient aggregations, and is optimized for read-heavy analytical queries. It also supports columnar storage and partitioning, making it ideal for terabyte-scale historical trade analysis with minimal query latency.

Why this answer

A dimensional star schema is designed for analytical workloads, using fact and dimension tables to minimize joins and optimize aggregations. It supports columnar storage and partitioning, which are critical for terabyte-scale read-heavy queries. Normalized OLTP, EAV, and flat files each introduce performance bottlenecks or lack the necessary optimizations for complex analytical queries on historical stock trades.

Exam trap

The trap here is assuming that a normalized schema is always best for data integrity, overlooking that analytical workloads require denormalized dimensional models for performance.

119
MCQmedium

A database administrator wants to ensure that every value in a column matches values in a primary key column of another table. Which constraint enforces this rule?

A.Unique constraint
B.Primary key
C.Check constraint
D.Foreign key
AnswerD

A foreign key constrains each value in the child column to exist in the referenced primary key column of the parent table, enforcing referential integrity and rejecting inserts or updates that would orphan the row.

Why this answer

A foreign key constraint enforces referential integrity by requiring that values in a column match values in the primary key (or unique key) column of another table. This is exactly the rule described — ensuring every value in one table's column corresponds to a primary key value in another table.

Exam trap

DA0-002 often tests the confusion between unique constraints and foreign keys, since both involve uniqueness — candidates must remember that only a foreign key enforces a cross-table reference to a primary key.

How to eliminate wrong answers

Option A is wrong because a unique constraint only ensures values within a single column (or set of columns) are distinct; it does not reference another table. Option B is wrong because a primary key uniquely identifies rows in its own table and does not enforce cross-table references. Option C is wrong because a check constraint validates a condition on column values (e.g., range or format) within the same table, not a relationship to another table.

120
Multi-Selecthard

A data analyst is working with a dataset that contains a column for 'Order Date' stored as a string in the format 'YYYY-MM-DD'. The analyst needs to perform time-series analysis, such as calculating monthly sales trends. Which two actions should the analyst take to prepare the data for this analysis? (Choose two.)

Select 2 answers
A.Create a separate column for the month and year.
B.Convert the string to a date data type.
C.Encode the date as a numeric timestamp.
D.Normalize the date by subtracting the mean date.
E.Replace missing dates with the average date.
AnswersA, B

Creating separate columns for month and year facilitates grouping and aggregation for monthly trends. This derived column allows the analyst to easily group sales by month across years or by year-month combinations. It is a common data preparation step for time-series reporting when the tool does not support date functions directly.

Why this answer

To perform time-series analysis on a date string, the analyst must first convert it to a proper date data type so that date functions can be applied. Additionally, creating separate month and year columns simplifies grouping and aggregation for monthly trends. These two steps ensure the data is in a usable format for temporal analysis.

Exam trap

The trap here is assuming that dates can be normalized or averaged like numerical data, which is not appropriate for temporal analysis.

121
MCQhard

An analyst is reviewing a table that stores customer orders. The table contains columns: OrderID, CustomerName, Product1, Product1Qty, Product2, Product2Qty. This design violates which normal form?

A.No violation
B.Third normal form (3NF)
C.Second normal form (2NF)
D.First normal form (1NF)
AnswerD

Repeating Product1/Product2 column groups makes the table non-atomic, violating 1NF's requirement that each column hold a single value and no repeating groups exist. Splitting into an OrderItems table (OrderID, Product, Quantity) satisfies 1NF before addressing higher normal forms.

Why this answer

The table violates First Normal Form (1NF) because it contains repeating groups (Product1, Product1Qty, Product2, Product2Qty) instead of storing each product in a separate row. 1NF requires that each column contains atomic values and that there are no repeating groups or arrays. The presence of multiple product columns for a single order breaks this atomicity and normalization rule.

Exam trap

The trap here is that candidates often think the table is already in 1NF because it has a primary key (OrderID), but they overlook the repeating group columns that violate the atomicity requirement of 1NF.

How to eliminate wrong answers

Option A is wrong because the table clearly violates normalization rules due to repeating groups, so a violation exists. Option B is wrong because Third Normal Form (3NF) requires that the table already be in 2NF and have no transitive dependencies; the immediate violation is at the 1NF level, not 3NF. Option C is wrong because Second Normal Form (2NF) requires that the table first satisfy 1NF and then have no partial dependencies; since the table fails 1NF, it cannot be evaluated for 2NF.

122
MCQhard

Refer to the exhibit. A data analyst runs this query to identify high-value customers. However, the result does not include customers with exactly 5 orders. Which data concept does the HAVING clause illustrate?

A.Data sorting with ORDER BY
B.Data joining with INNER JOIN
C.Data aggregation with filtering on aggregated values
D.Data filtering on row-level conditions
AnswerC

The HAVING clause filters groups produced by GROUP BY, applying a predicate to the aggregated COUNT rather than to individual rows, so customers with exactly five orders are excluded when the condition is a strict inequality.

Why this answer

The HAVING clause filters groups after aggregation, so it operates on aggregated values like COUNT(*), SUM(), or AVG(). In the exhibit, the query likely uses HAVING COUNT(order_id) > 5, which excludes customers with exactly 5 orders because the condition is strictly greater than 5. This illustrates aggregation with post-aggregation filtering, distinct from WHERE, which filters rows before grouping.

Exam trap

DA0-002 often tests the WHERE vs HAVING distinction, and candidates frequently miss strict inequality boundaries (e.g., > 5 excludes exactly 5) or mistakenly think HAVING filters rows rather than groups.

How to eliminate wrong answers

Option A is wrong because ORDER BY only sorts the result set; it does not filter groups or affect which rows are returned. Option B is wrong because INNER JOIN combines rows from two tables based on a join condition; it has nothing to do with filtering aggregated groups. Option D is wrong because row-level filtering is the job of the WHERE clause, which executes before GROUP BY, not HAVING, which executes after aggregation.

123
MCQeasy

A data analyst at a university is asked to classify the variable 'Student Classification' with possible values Freshman, Sophomore, Junior, Senior. Which measurement scale best describes this variable?

A.Ratio
B.Nominal
C.Ordinal
D.Interval
AnswerC

Ordinal scale applies to categorical data with a meaningful order but no defined difference between ranks. The classifications Freshman, Sophomore, Junior, Senior have a clear sequence, but the gap between each is not quantified. Thus, ordinal is the correct measurement scale for this variable.

Why this answer

The correct answer is Ordinal because the classifications have a natural order (Freshman, Sophomore, Junior, Senior) but the differences between them are not equal or measurable. Nominal would ignore the order, while interval and ratio require quantitative properties that are absent here.

Exam trap

The trap here is assuming that because the categories have a clear order, they must be interval or ratio; however, without equal intervals or a true zero, ordinal is the correct scale.

124
Multi-Selectmedium

A data team must implement a data retention policy to reduce storage costs while meeting legal requirements. Which TWO actions best achieve this?

Select 2 answers
A.Set data retention limits with automated deletion
B.Use data compression
C.Increase primary storage capacity
D.Implement data deduplication
E.Archive historical data to tape or cloud archive
AnswersA, E

Automated deletion enforces retention limits without manual intervention, directly satisfying the legal requirement to purge data once its mandated retention period expires. By removing data systematically at the defined threshold, it also curtails ongoing storage consumption, which is the cost-reduction constraint the stem specifies.

Why this answer

Option A is correct because setting data retention limits with automated deletion enforces the legal retention policy by removing data once its required retention period expires, directly reducing stored volume and storage costs. Option E is correct because archiving historical data to tape or cloud archive tiers moves infrequently accessed data to much cheaper storage media while still preserving it for legal and compliance requirements. Together, these two actions address both cost reduction and legal retention.

Option B (data compression) reduces the size of stored data but does not enforce retention or remove data that has exceeded its legal retention period. Option C (increasing primary storage capacity) raises costs rather than reducing them and does nothing to meet retention requirements. Option D (data deduplication) eliminates redundant copies but does not implement a retention policy or remove expired data.

Exam trap

DA0-002 often tests the confusion between storage optimization techniques (compression, deduplication) and retention policy enforcement (automated deletion, archiving), leading candidates to pick efficiency features instead of compliance-driven actions.

125
MCQeasy

A data analyst at a healthcare clinic is organizing patient records. The analyst needs to categorize each patient's blood pressure reading as 'Low', 'Normal', 'Elevated', or 'High' based on clinical thresholds. The categories have a clear order from lowest to highest risk. Which measurement scale best describes this classification?

A.Interval
B.Nominal
C.Ordinal
D.Ratio
AnswerC

Ordinal data has categories with a meaningful order but unequal or undefined intervals between them. The blood pressure classifications progress from low to high risk in a defined sequence, yet the difference between 'Normal' and 'Elevated' is not a fixed numeric quantity. This ordered categorization fits the ordinal scale precisely.

Why this answer

The blood pressure categories have a clear rank order from lowest to highest risk but lack equal intervals or a true zero, which is the defining characteristic of ordinal data. Nominal data would ignore the ranking, while interval and ratio scales require numeric properties that these qualitative labels do not possess.

Exam trap

The trap here is assuming that any set of categories is nominal, overlooking the meaningful order that elevates this classification to ordinal.

126
MCQmedium

A company is building a data pipeline to ingest sensor data from IoT devices. The data arrives continuously in small batches and must be processed in real-time for monitoring. Which type of data source best describes this scenario?

A.Transactional database
B.Streaming data
C.Web scraping
D.Flat file
AnswerB

Streaming data matches the continuous, small-batch arrival described in the stem, where each event is processed as it occurs rather than stored and queried later. This satisfies the real-time monitoring constraint, since latency stays low and the pipeline reacts to sensor readings immediately instead of waiting for scheduled batch windows.

Why this answer

B is correct because the scenario describes data arriving continuously in small batches that must be processed in real-time for monitoring. This is the defining characteristic of streaming data, which is typically ingested via technologies like Apache Kafka, Amazon Kinesis, or MQTT brokers, enabling low-latency processing and immediate alerting.

Exam trap

The trap here is that candidates may confuse 'real-time' with 'fast batch processing' and incorrectly choose a transactional database, not recognizing that streaming data sources are specifically designed for continuous, unbounded data flows with sub-second latency requirements.

How to eliminate wrong answers

Option A is wrong because a transactional database (e.g., PostgreSQL, MySQL) is designed for ACID-compliant, query-based storage and retrieval, not for continuous real-time ingestion of sensor data; it would introduce latency and cannot handle unbounded streams efficiently. Option C is wrong because web scraping is a technique for extracting data from web pages via HTTP requests (e.g., using BeautifulSoup or Scrapy), which is batch-oriented and not suited for real-time IoT sensor data. Option D is wrong because a flat file (e.g., CSV, JSON file) is a static storage format that requires manual or scheduled batch loads, making it incapable of supporting real-time processing or continuous ingestion.

127
Multi-Selecthard

Which THREE of the following are valid methods for handling missing data?

Select 3 answers
A.Using a placeholder like 'Unknown' for categorical data
B.Ignoring missing values and proceeding with analysis
C.Replacing missing values with the mean of the column
D.Sorting the data to bring missing values to the top
E.Deleting rows with missing values
AnswersA, C, E

Placeholder is a valid approach.

Why this answer

Using a placeholder like 'Unknown' for categorical missing data preserves the dataset's structure and allows analysis to proceed without introducing statistical bias. This method is particularly valid for nominal data where the missing category can be treated as a distinct value, enabling downstream operations like one-hot encoding or frequency analysis without distorting the original distribution.

Exam trap

The trap here is that candidates may confuse 'handling missing data' with 'preprocessing steps'—sorting (Option D) is a data organization technique, not a valid method for dealing with missing values, and ignoring missing data (Option B) is often mistakenly considered acceptable in quick analyses, but it violates best practices for robust data science workflows.

128
MCQeasy

An organization needs to store raw data from IoT sensors in its native format for future analysis. Which storage solution is best suited for this purpose?

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

A data lake stores raw data in its native format without transformation or schema enforcement, preserving fidelity for future, possibly unknown, analytical needs. This schema-on-read approach suits high-volume, varied IoT sensor output better than warehouses or relational stores that demand predefined structure.

Why this answer

A data lake is designed to store raw data in its native format, including unstructured and semi-structured data from IoT sensors, without requiring a predefined schema. This allows the organization to preserve the original data for future analysis, unlike traditional databases that enforce structure upon ingestion.

Exam trap

The trap here is that candidates often confuse a data warehouse with a data lake, assuming both are for storage, but a data warehouse requires ETL and structured schemas, making it unsuitable for raw, native-format IoT data.

How to eliminate wrong answers

Option A is wrong because a relational database requires a predefined schema and is optimized for structured data, not raw, native-format IoT sensor data. Option C is wrong because a data mart is a subset of a data warehouse focused on a specific business domain, not designed for storing raw, unprocessed data. Option D is wrong because a data warehouse stores processed, structured, and transformed data for analytical queries, not raw data in its native format.

129
MCQeasy

Which of the following is an example of unstructured data?

A.A JSON file
B.An image file
C.A relational database table
D.A CSV file with rows and columns
AnswerB

An image file stores pixel data with no predefined schema, so it cannot be queried by fixed fields or columns. That absence of a structured, tabular model is what makes it unstructured, unlike records held in relational tables or delimited formats.

Why this answer

An image file is unstructured data because it has no predefined data model or schema — its content is raw pixel data that requires specialized processing (e.g., computer vision) to extract meaning. This contrasts with structured formats that organize data into rows, columns, or key-value pairs.

Exam trap

DA0-002 often tests the boundary between semi-structured and unstructured data, tempting candidates to misclassify JSON or XML as unstructured when they are actually semi-structured.

How to eliminate wrong answers

Option A is wrong because a JSON file is semi-structured data — it has a defined syntax with keys and values that can be parsed into a schema. Option C is wrong because a relational database table is the archetypal structured data, with rows, columns, and defined data types. Option D is wrong because a CSV file with rows and columns is structured data, easily mapped to a tabular schema.

130
MCQmedium

A data governance team is implementing a program to ensure consistent definitions and quality of customer data across the organization. They assign a senior manager to be accountable for the data asset. Which role does this manager fulfill?

A.Data analyst
B.Data custodian
C.Data owner
D.Data steward
AnswerC

Data owner is accountable for a specific data domain.

Why this answer

The data owner is the senior manager accountable for a specific data asset, including its quality, definition, and compliance. In the DA0-001 context, the data owner has ultimate responsibility for the data, not just day-to-day management. This role ensures consistent definitions and quality across the organization, aligning with the governance team's objectives.

Exam trap

The trap here is confusing the data owner's accountability with the data steward's operational duties, leading candidates to pick 'Data steward' because they associate governance with hands-on management rather than executive responsibility.

How to eliminate wrong answers

Option A is wrong because a data analyst focuses on analyzing and interpreting data, not on accountability for data definitions or quality. Option B is wrong because a data custodian is responsible for the technical environment and security of data, not for defining or governing its meaning. Option D is wrong because a data steward handles day-to-day data governance tasks like metadata management and quality monitoring, but does not hold the ultimate accountability that a senior manager does.

131
MCQhard

A data engineer is designing storage for a fraud detection system that ingests millions of transaction events per second. The system must store each event with its timestamp and support fast writes without predefined schema enforcement, while allowing later analytical queries over semi-structured payloads. Which storage approach best fits these requirements?

A.A document-oriented NoSQL database with schema-on-read
B.A relational OLTP database with third normal form tables
C.A graph database optimized for relationship traversal
D.A columnar data warehouse with strict schema-on-write
AnswerA

Document-oriented NoSQL databases accept semi-structured payloads without predefined schema enforcement, support high write throughput through horizontal scaling, and apply schema-on-read during queries. These characteristics align with ingesting millions of transaction events per second and later analyzing flexible JSON-like documents, making this approach the best fit.

Why this answer

The requirements combine high-velocity ingestion, absence of predefined schema, and support for semi-structured payloads with later analytical querying. Document-oriented NoSQL databases provide schema-on-read flexibility and horizontal write scalability that match these needs. Relational, columnar, and graph systems each impose constraints or optimizations that conflict with one or more of the stated requirements.

Exam trap

The trap here is assuming that any database capable of analytical queries must be a columnar warehouse, overlooking that schema-on-read NoSQL stores can also support analytics over semi-structured data.

132
MCQhard

Refer to the exhibit. A database administrator notices that queries filtering on both CustomerID and OrderDate are slow. Which single change would most likely improve performance for such queries?

A.Partition the table by OrderDate
B.Convert TotalAmount to VARCHAR
C.Add a composite index on (CustomerID, OrderDate)
D.Remove the primary key constraint
AnswerC

A composite index on (CustomerID, OrderDate) matches the query's equality filter followed by its range or sort column, letting the engine seek directly to the relevant CustomerID entries already ordered by OrderDate. This avoids scanning and sorting, unlike separate single-column indexes.

Why this answer

A composite index on (CustomerID, OrderDate) allows the database to satisfy queries that filter on both columns using a single index seek, avoiding a full table scan or multiple index lookups. The column order matters: CustomerID first supports equality filtering, and OrderDate second supports range or sort operations within each customer. This is the most direct performance improvement for the described query pattern.

Exam trap

The trap is choosing partitioning by OrderDate because it sounds like a performance fix — candidates overlook that the query filters on CustomerID first, and partitioning on the wrong column does not help and may hurt.

How to eliminate wrong answers

Option A is wrong because partitioning by OrderDate alone does not help queries that filter primarily by CustomerID — partition pruning would not eliminate partitions effectively, and it could even hurt queries that span many dates. Option B is wrong because converting TotalAmount to VARCHAR changes the data type and would break numeric comparisons and aggregations, with no benefit to filtering on CustomerID and OrderDate. Option D is wrong because removing the primary key constraint eliminates uniqueness enforcement and the clustered index, degrading performance and data integrity rather than improving it.

133
MCQmedium

A data quality report shows that 95% of records have all required fields completed, but 20% of the completed fields contain values that are outside valid ranges. Which data quality dimension is most affected?

A.Consistency
B.Accuracy
C.Timeliness
D.Completeness
AnswerB

Accuracy measures whether values correctly represent reality and fall within valid domains. Completeness is already high at 95%, but out-of-range values breach validity and correctness, so accuracy is the dimension most affected by this defect.

Why this answer

Accuracy measures how well data reflects real-world values or a defined standard. Here, 20% of completed fields contain values outside valid ranges, meaning the data is present but incorrect, directly degrading accuracy. Completeness (95% filled) is high, but the core issue is that the values themselves are wrong, not missing or late.

Exam trap

The trap here is that candidates see '95% of records have all required fields completed' and immediately think 'Completeness is high, so that dimension is fine,' but then incorrectly assume the 20% out-of-range values also affect Completeness, when in fact Accuracy is the dimension that suffers when present data is invalid.

How to eliminate wrong answers

Option A (Consistency) is wrong because consistency checks for logical coherence across datasets or over time (e.g., same customer ID format in two tables), not whether individual field values fall within valid ranges. Option C (Timeliness) is wrong because timeliness concerns whether data is available when needed or within a required time window, not the correctness of values. Option D (Completeness) is wrong because completeness measures the presence of data (95% of records have all required fields), which is high; the problem is with the quality of the present data, not its absence.

134
Multi-Selecthard

A data analyst is evaluating data quality issues in a customer database. Which TWO actions are best practices for ensuring data consistency?

Select 2 answers
A.Allowing null values for foreign keys
B.Standardizing date formats across all tables
C.Implementing referential integrity constraints
D.Enabling cascading updates on primary keys
E.Using data profiling to identify duplicate records
AnswersB, C

Correct: Uniform formats ensure consistency in temporal data.

Why this answer

Standardizing date formats across all tables (Option B) ensures that date values are stored and interpreted uniformly, eliminating inconsistencies that arise from mixed formats (e.g., MM/DD/YYYY vs. DD-MM-YY). This practice directly supports data consistency by enforcing a single representation, which is critical for accurate querying, reporting, and integration across systems.

Exam trap

CompTIA often tests the distinction between data quality dimensions (e.g., consistency vs. accuracy), leading candidates to confuse data profiling (which identifies duplicates) with a direct method for enforcing consistency.

135
MCQmedium

A data architect is designing a storage solution for a healthcare provider. The system must store patient records with varying structures, including unstructured clinical notes and semi-structured JSON data from wearables. The solution must scale horizontally and handle high write throughput. Which storage type is most appropriate?

A.Data warehouse
B.Data lake
C.OLTP database
D.Relational database
AnswerB

A data lake stores raw data in any format, including unstructured and semi-structured, and can scale horizontally using distributed storage. It supports high write throughput and schema-on-read, making it ideal for diverse healthcare data like clinical notes and JSON from wearables.

Why this answer

The correct answer is Data lake because it can store raw data in any format, scale horizontally, and handle high write throughput. Relational databases, data warehouses, and OLTP databases are optimized for structured data and transactional workloads, making them less suitable for diverse, high-volume healthcare data.

Exam trap

The trap here is assuming that a data warehouse or relational database can handle unstructured data; however, they require schema-on-write and are not designed for raw, varied data formats.

136
MCQeasy

A hospital's data team needs to choose a storage model for its new electronic health record (EHR) system. Patient records contain many nested, variable attributes such as a list of allergies, multiple insurance policies, and a changing set of lab results per visit. The schema changes frequently as new clinical fields are added, and the team wants to avoid costly migrations. Which data model should the team select?

A.Columnar model
B.Relational model
C.Document model
D.Key-value model
AnswerC

A document model stores each patient record as a self-contained document that can hold nested arrays and variable fields, such as an allergy list or a set of lab results. New clinical fields can be added without altering a global schema or performing migrations, which directly matches the team's requirement for flexible, fast-changing structures.

Why this answer

The team needs a schema-flexible structure that can hold nested and variable attributes, such as allergy lists and changing lab results, while allowing new fields to be added without migrations. A document model provides exactly this by storing each patient record as a self-contained, nested document that evolves with clinical requirements.

Exam trap

The trap here is assuming that any non-relational database automatically supports flexible nested schemas, when key-value stores actually treat values as opaque and offer no structure for nested attributes.

137
MCQeasy

A hospital's data team is cataloging its data assets. They need to classify the blood type field stored for each patient (e.g., A+, O-). Which data type classification best describes this field?

A.Nominal
B.Interval
C.Ordinal
D.Ratio
AnswerA

Blood type values such as A+, O-, and AB+ are labels that identify categories with no inherent order or ranking. Nominal data classifies items into distinct groups where no category is greater or lesser than another. Because blood types cannot be meaningfully ordered or mathematically averaged, classifying them as nominal is correct for this hospital scenario.

Why this answer

Blood type is a categorical label that identifies which of the recognized blood groups a patient belongs to. There is no inherent order among A+, O-, AB+, and B-, and no arithmetic can be meaningfully performed on these values. Nominal classification is the only correct choice because it groups data into unordered, distinct categories.

Exam trap

The trap here is assuming that because blood types contain letters and symbols, they represent a ranked or measurable scale rather than unordered labels.

138
MCQhard

A data governance team is establishing policies to ensure data quality. They define rules for data accuracy, completeness, and consistency. Which data governance function is primarily responsible for defining and enforcing these rules?

A.Data stewardship
B.Data ownership
C.Data quality management
D.Master data management
AnswerC

Data quality management directly defines and enforces accuracy, completeness, and consistency rules, satisfying the stem's requirement for a governance function owning those three dimensions. It operationalises policy through profiling, validation, cleansing, and monitoring, unlike master data management, which governs shared reference entities rather than quality rule enforcement.

Why this answer

Data quality management is the governance function specifically responsible for defining data quality dimensions (accuracy, completeness, consistency, timeliness, validity, uniqueness) and implementing the rules, profiling, and monitoring to enforce them. It translates governance policy into measurable quality controls and remediation workflows.

Exam trap

DA0-002 often tests the boundary between data stewardship (who applies rules) and data quality management (who defines and enforces them) — candidates pick 'stewardship' because it sounds like the hands-on quality role.

How to eliminate wrong answers

Option A is wrong because data stewardship is about the day-to-day custodianship of data assets — stewards apply and monitor the rules, but the function that defines the quality dimensions and rules is data quality management. Option B is wrong because data ownership is about accountability and decision rights for a data domain (who approves access, defines policy), not the operational enforcement of quality rules. Option D is wrong because master data management focuses on creating a single trusted golden record for core entities (customer, product), which is a related but distinct discipline from defining quality rules across all data.

139
Multi-Selectmedium

A data analyst is extracting data from a web page using web scraping techniques. The data will be used for market research. Which TWO of the following are common challenges associated with web scraping?

Select 2 answers
A.Limited API rate limits
B.Legal and ethical restrictions
C.Website structure changes
D.High latency of data transfer
E.Inconsistent data formatting
AnswersB, C

Many websites prohibit scraping in their terms of service, and legal issues may arise.

Why this answer

Web scraping often involves accessing data that may be protected by copyright, terms of service, or privacy regulations such as GDPR or the Computer Fraud and Abuse Act (CFAA). Even if data is publicly accessible, repurposing it for market research without permission can lead to legal liability or ethical violations, making this a fundamental challenge.

Exam trap

CompTIA Data+ often tests the distinction between API-related challenges (rate limits, authentication) and web-scraping-specific challenges (structure changes, legal/ethical issues), so candidates mistakenly select 'Limited API rate limits' because they confuse web scraping with API consumption.

140
MCQmedium

Refer to the exhibit. Which type of data is the field "region"?

A.Qualitative
B.Continuous
C.Quantitative
D.Discrete
AnswerA

Region labels categories such as "North" or "EMEA", so it is qualitative (nominal) data. It cannot be measured or averaged, unlike quantitative fields. This satisfies the stem's request to classify the field by its data type.

Why this answer

The field 'region' contains categorical labels (e.g., 'North', 'South', 'East', 'West') that represent distinct groups or categories, not numerical measurements. Qualitative data (also called categorical data) describes attributes or characteristics that can be named but not meaningfully ordered or measured on a numeric scale. Since 'region' assigns a name to a geographic area without any inherent numeric value or order, it is a classic example of qualitative data.

Exam trap

The trap here is that candidates may confuse 'region' with a numeric code (e.g., region ID 1, 2, 3) and incorrectly classify it as discrete quantitative data, but the field 'region' as shown contains text labels, making it qualitative.

How to eliminate wrong answers

Option B is wrong because continuous data represents measurements that can take any value within a range (e.g., temperature, time), but 'region' consists of discrete labels with no numeric continuum. Option C is wrong because quantitative data involves numerical values that can be counted or measured (e.g., sales amount, age), whereas 'region' is a non-numeric category. Option D is wrong because discrete data is a subset of quantitative data that takes countable integer values (e.g., number of customers), but 'region' is not numeric at all.

141
MCQmedium

A data engineer is designing a schema for a new application. The application will store user profiles with fields such as UserID, Email, and SignupDate. The team expects the user base to grow rapidly, and the schema may evolve to include new profile attributes like phone number or social media handles. They want to minimize downtime and avoid complex migrations when adding fields. Which data model should the engineer choose?

A.Relational
B.Graph
C.Key-value
D.Document
AnswerD

Document databases store data in flexible, JSON-like documents where each record can have its own structure. New attributes such as phone number or social media handles can be added to individual documents without altering a global schema or performing migrations. This flexibility aligns perfectly with the requirement to minimize downtime and accommodate evolving user profiles.

Why this answer

A document database provides schema flexibility by storing each user profile as a self-contained document, allowing new attributes to be added without global schema changes or downtime. Relational databases require migrations, key-value stores lack query flexibility, and graph databases are optimized for relationships rather than evolving profile attributes.

Exam trap

The trap here is assuming that a relational database's structured schema is always preferable, ignoring the need for frequent schema changes without downtime.

142
Multi-Selectmedium

Which TWO of the following are examples of semi-structured data?

Select 2 answers
A.XML document
B.JSON object
C.Relational table
D.Plain text file
E.CSV file
AnswersA, B

XML documents carry self-describing tags that impose hierarchy and meaning without a rigid relational schema, satisfying the stem's semi-structured requirement. Unlike flat CSV rows or fully schema-bound tables, XML's nested elements and attributes vary between records, so structure exists but is not fixed in advance.

Why this answer

Semi-structured data has some organizational structure (tags, keys, or markers) but does not conform to a rigid tabular schema, and both A (XML document) and B (JSON object) fit this definition because they use self-describing tags or key-value pairs to organize data hierarchically without requiring a fixed relational schema. XML documents are explicitly semi-structured since elements and attributes define structure while allowing flexible, nested, and optional fields. JSON objects are likewise semi-structured because their key-value pairs and nested arrays/objects provide structure without enforcing a strict table format.

The unmarked options do not belong: C (relational table) is structured data with a fixed schema, E (CSV file) is typically treated as structured tabular data with rows and columns, and D (plain text file) is unstructured data lacking any formal organizational markers.

143
MCQeasy

Which stage of the data lifecycle involves converting raw data into a usable format, such as cleaning or validating?

A.Archival
B.Processing
C.Ingestion
D.Storage
AnswerB

Processing transforms raw data into a usable format through cleaning, validation, and standardisation, converting it into a reliable dataset. It sits between collection and storage or analysis, directly matching the stem's description of converting raw data.

Why this answer

Processing is the stage where raw data is transformed into a usable format through cleaning, validation, normalization, or aggregation. This step ensures data quality and consistency before analysis or storage, directly matching the question's description.

Exam trap

The trap here is confusing ingestion (data arrival) with processing (data transformation), as both occur early in the lifecycle but serve distinct purposes.

How to eliminate wrong answers

Option A is wrong because archival refers to moving data to long-term storage for compliance or historical purposes, not cleaning or validating. Option C is wrong because ingestion is the initial capture or import of raw data from sources, not its transformation. Option D is wrong because storage is the persistent retention of data in databases or filesystems, not the conversion into a usable format.

144
MCQmedium

A data analyst wants to retrieve data from a REST API that returns JSON. Which step is part of the data lifecycle for this activity?

A.Data archival
B.Data sharing
C.Data deletion
D.Data ingestion
AnswerD

Fetching JSON from a REST API is data acquisition into the analytics pipeline, which is the ingestion stage of the data lifecycle. The analyst is moving raw data from an external source into a repository for subsequent storage, transformation and analysis, so ingestion is the lifecycle step being performed.

Why this answer

Retrieving data from a REST API that returns JSON is a classic example of data ingestion, where data is acquired from an external source and brought into a system for processing or storage. This step is part of the data lifecycle's initial phase, often called data acquisition or ingestion. The other options—archival, sharing, and deletion—occur later in the lifecycle after data has been ingested and processed.

Exam trap

The trap here is confusing data ingestion with other lifecycle stages like data sharing or archival, especially when the question mentions retrieving data from an API, which might sound like sharing. Candidates must remember that ingestion is about bringing data in, not sending it out or storing it long-term.

How to eliminate wrong answers

Option A is wrong because data archival refers to the long-term storage of data that is no longer actively used, which happens after ingestion and processing. Option B is wrong because data sharing involves making data available to other users or systems, which is a later stage. Option C is wrong because data deletion is the final stage of the lifecycle, where data is removed, not retrieved.

145
MCQeasy

A hospital wants to analyze patient readmission rates. The data contains daily patient visits. What is the level of granularity?

A.Patient
B.Visit
C.Day
D.Hospital
AnswerB

Granularity describes the finest level at which data is captured. Each row represents a single daily patient visit, so the visit is the unit of analysis, not the patient, admission or hospital, enabling readmission calculations from visit-level records.

Why this answer

The level of granularity refers to the finest detail captured in the dataset. Since the data contains daily patient visits, each record represents a single visit event, not the patient or the day itself. Therefore, 'Visit' is the correct granularity because each row corresponds to one visit occurrence.

Exam trap

The trap here is confusing the subject of analysis (patient readmission rates) with the actual data granularity (each row is a visit), leading candidates to incorrectly select 'Patient' instead of 'Visit'.

How to eliminate wrong answers

Option A is wrong because 'Patient' would be the granularity if the data summarized all visits per patient (e.g., one row per patient with aggregated readmission counts), but here each visit is a separate record. Option C is wrong because 'Day' would be the granularity if the data aggregated all visits per day (e.g., total visits per day), but the data contains individual visit records, not daily summaries. Option D is wrong because 'Hospital' would be the granularity if the data aggregated across the entire hospital (e.g., total readmission rate for the hospital), but the data is at the individual visit level.

146
MCQmedium

A retail company analyzes customer purchase data to improve inventory management. They store daily transaction records in a relational database and monthly aggregate reports in a data warehouse. Which difference between these storage methods best explains why the warehouse is more suitable for trend analysis?

A.The database uses a star schema while the warehouse uses a normalized schema.
B.The database enforces ACID transactions, while the warehouse uses eventual consistency.
C.The database is optimized for write-heavy OLTP, while the warehouse is optimized for read-heavy OLAP.
D.The database stores only current data, while the warehouse stores historical data.
AnswerC

The relational database handles write-heavy OLTP workloads with frequent row-level inserts and updates, while the warehouse uses columnar, read-heavy OLAP designs optimised for scanning and aggregating large historical datasets. That architectural difference is what makes the warehouse suitable for trend analysis.

Why this answer

OLTP databases are optimized for high-frequency write operations (INSERT/UPDATE/DELETE) and ACID compliance, making them ideal for transaction processing but poor for complex analytical queries. In contrast, a data warehouse is optimized for read-heavy OLAP workloads, using columnar storage, pre-aggregated tables, and indexing strategies that enable fast aggregation and trend analysis over large historical datasets. This architectural difference directly supports the retail company's need to analyze purchase trends over time.

Exam trap

CompTIA often tests the misconception that 'data warehouses only store historical data' (Option D) as the primary reason for trend analysis suitability, but the real differentiator is the workload optimization (OLTP vs. OLAP), not merely the presence of history.

How to eliminate wrong answers

Option A is wrong because a star schema (with fact and dimension tables) is actually typical of data warehouses for analytical queries, while OLTP databases usually use normalized schemas to reduce redundancy and maintain data integrity. Option B is wrong because data warehouses often support ACID or snapshot isolation for consistency, and eventual consistency is more characteristic of NoSQL systems, not traditional data warehouses. Option D is wrong because relational databases can store historical data as well; the key difference is not the presence of history but the optimization for read-heavy analytical queries versus write-heavy transactional processing.

147
MCQhard

A data engineer is designing a system to store raw sensor data from thousands of IoT devices. The data will be used later for various analytics projects, but the schema is not yet defined. Which storage solution is most appropriate?

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

A data lake stores raw data in its native format without requiring a predefined schema, satisfying the undefined-schema constraint. It handles high-volume ingestion from thousands of IoT devices and supports diverse downstream analytics, including structured, semi-structured and unstructured data, which a schema-on-write warehouse cannot accommodate.

Why this answer

A data lake is designed to store raw, unprocessed data in its native format without requiring a predefined schema, which is exactly what is needed for IoT sensor data whose schema is not yet defined. It supports schema-on-read, allowing analytics projects to interpret the data later as requirements evolve. This makes it the most appropriate choice for storing diverse, high-volume raw data for future analytics.

Exam trap

DA0-002 often tests the distinction between schema-on-write (data warehouse) and schema-on-read (data lake), so candidates who pick a data warehouse because it 'stores data for analytics' miss the requirement that the schema is not yet defined.

How to eliminate wrong answers

Option B is wrong because a data mart is a subset of a data warehouse focused on a specific business line, and it requires a defined schema and transformed data, which is not suitable for raw, schema-less IoT data. Option C is wrong because a data warehouse stores structured, processed data with a predefined schema (schema-on-write), which contradicts the requirement that the schema is not yet defined. Option D is wrong because a relational database requires a fixed schema and is not designed for the volume and variety of raw IoT sensor data.

148
MCQmedium

An OLTP system processes thousands of transactions per second. Which property ensures that a transaction is fully completed or fully rolled back, preventing partial updates?

A.Isolation
B.Durability
C.Atomicity
D.Consistency
AnswerC

Atomicity guarantees each transaction executes as a single indivisible unit, so either every operation commits or none does. This directly satisfies the stem's requirement to prevent partial updates under high-volume OLTP load, where a mid-transaction failure would otherwise leave inconsistent data committed.

Why this answer

Atomicity guarantees that a transaction is treated as a single unit, completed entirely or not at all.

149
MCQeasy

A data analyst is creating a report for a marketing campaign. The campaign data includes customer names, email addresses, and purchase history. Which of the following best describes the 'customer name' data type?

A.Nominal
B.Quantitative
C.Ordinal
D.Discrete
AnswerA

Customer names are labels with no inherent order or numeric meaning, so they are categorical. Nominal is the correct level of measurement because values merely distinguish one customer from another, unlike ordinal, interval or ratio data.

Why this answer

Customer names are categorical labels that identify individuals without any inherent order or numerical value. This fits the definition of nominal data, which is used for naming or classifying variables. In data analysis, nominal data can be stored as strings and used for grouping or filtering, but arithmetic operations are meaningless.

Exam trap

CompTIA often tests the distinction between nominal and ordinal data by presenting a label that could be mistaken for having an order (e.g., 'customer name' might be confused with 'rank' or 'tier'), but the trap here is that names are purely categorical with no intrinsic ranking.

How to eliminate wrong answers

Option B is wrong because quantitative data represents numerical measurements or counts (e.g., purchase amount), not text labels like names. Option C is wrong because ordinal data has a meaningful order or rank (e.g., customer satisfaction rating), but customer names have no inherent sequence. Option D is wrong because discrete data consists of countable numerical values (e.g., number of purchases), whereas customer names are non-numeric categories.

150
MCQmedium

A logistics company uses a key-value store to cache real-time shipment tracking updates. The data model has no fixed schema, and each shipment record may contain different attributes. Which data storage approach is being used?

A.Relational database
B.Data warehouse
C.Data lake
D.NoSQL key-value store
AnswerD

A key-value store maps unique keys to arbitrary values without requiring a fixed schema. Each shipment record can be stored under its shipment ID as the key, and the value can contain any set of attributes. This matches the description of schema-less, flexible storage for real-time caching of tracking updates.

Why this answer

The scenario describes storing shipment records under unique identifiers with varying attributes and no fixed schema, which is the defining characteristic of a key-value store. Key-value stores excel at fast, simple lookups by key, making them ideal for caching real-time tracking updates. Relational databases, warehouses, and lakes impose structure or latency that conflict with these requirements.

Exam trap

The trap here is equating any schema-less storage with a data lake, when the key-based, low-latency access pattern points specifically to a key-value store.

← PreviousPage 2 of 3 · 200 questions totalNext →

Ready to test yourself?

Try a timed practice session using only Dap Data Concepts questions.