First 50 of 200 questions. Each one lists the choices, the correct answer, and an explanation. The checker at the top of this page saves progress in this browser when it is available.
Continue in the practice tool above to load more questions, 50 at a time.
Question 1Data Fundamentals and Data Quality
Which data type is best suited to storing a customer's date of birth when only the date is needed for age calculations?
- Timestamp with time zone
- Free-text string
- Boolean
- Date Correct answer.
Explanation
A date type stores a calendar date without a time component, which is exactly what age calculations require and avoids spurious time-zone shifts. Storing it as text would prevent reliable date arithmetic and sorting.
Question 2Data Fundamentals and Data Quality
In a relational table, which constraint guarantees that each row can be uniquely identified?
- Default value
- Check constraint
- Foreign key
- Primary key Correct answer.
Explanation
A primary key enforces uniqueness and non-nullness on the chosen column or column set, so every row is uniquely identifiable. Other constraints govern relationships, allowed values, or fill behaviour rather than row identity.
Question 3Data Fundamentals and Data Quality
A dataset column records customer satisfaction on a scale of 1 to 5. Which measurement scale does this represent?
- Ordinal Correct answer.
- Interval
- Nominal
- Ratio
Explanation
Ordinal data has a meaningful order but the gaps between categories are not guaranteed to be equal. A 1-to-5 satisfaction rating captures ranking rather than measurable distance, so it is ordinal.
Question 4Data Fundamentals and Data Quality
Which characteristic describes structured data?
- It requires no schema and is stored as raw text
- It is captured only as audio and video files
- It can only be analysed by manual inspection
- It is stored in a predefined schema of rows and columns Correct answer.
Explanation
Structured data conforms to a predefined model, typically tables with defined columns and data types, which makes it easy to query with SQL. Unstructured forms such as text, audio, and video lack this fixed schema.
Question 5Data Fundamentals and Data Quality
What is the main purpose of a data dictionary?
- To schedule nightly extract jobs
- To encrypt sensitive columns at rest
- To store backup copies of the production database
- To document the meaning, type, and allowed values of each data element Correct answer.
Explanation
A data dictionary is metadata that describes each element's definition, data type, format, and permitted values so users interpret fields consistently. It supports governance and reduces ambiguity across teams.
Question 6Data Fundamentals and Data Quality
Which statement best defines data completeness?
- The degree to which data is available when needed
- The degree to which required values are present in a dataset Correct answer.
- The degree to which values match the real-world entity
- The degree to which values are unique across records
Explanation
Completeness measures whether all required fields and records are present, focusing on missing values. It is distinct from accuracy, availability, and uniqueness, which address other quality dimensions.
Question 7Data Fundamentals and Data Quality
A report shows a customer's age as 145 years. Which data quality dimension is most directly violated?
- Consistency
- Timeliness
- Completeness
- Accuracy Correct answer.
Explanation
An implausible age indicates the value does not reflect the real-world fact, which is an accuracy failure. Completeness, consistency, and timeliness concern presence, agreement across sources, and currency rather than correctness of the value.
Question 8Data Fundamentals and Data Quality
In data modelling, what does cardinality describe?
- The frequency of backup operations
- The number of relationships allowed between entity instances Correct answer.
- The number of distinct values in a column
- The physical storage size of a table
Explanation
Cardinality in modelling expresses how many instances of one entity can relate to instances of another, such as one-to-many. It constrains relationship rules rather than describing value counts or storage.
Question 9Data Fundamentals and Data Quality
A retail chain needs to combine sales transactions from 40 stores into a single reporting table with consistent column names and types. Which process does this describe?
- Data archiving
- Data integration Correct answer.
- Data profiling
- Data masking
Explanation
Data integration consolidates data from multiple sources into a unified, consistent structure for reporting. Profiling assesses quality, masking obscures sensitive values, and archiving moves inactive data aside.
Question 10Data Fundamentals and Data Quality
A table has a foreign key referencing a customer table. A row is inserted with a customer identifier that does not exist in the customer table. What happens if referential integrity is enforced?
- The insert succeeds and a new customer row is created automatically
- The insert succeeds and the foreign key is dropped
- The insert succeeds and the value is set to null
- The insert is rejected Correct answer.
Explanation
Referential integrity requires every foreign key value to match an existing parent key, so an unmatched value causes the insert to fail. Automatic creation or nulling would require triggers or cascade rules that are not implied by the constraint itself.
Question 11Data Fundamentals and Data Quality
During profiling, an analyst finds that 12 percent of postcode fields contain fewer than four digits. Which quality dimension is being assessed?
- Timeliness
- Consistency
- Validity Correct answer.
- Uniqueness
Explanation
Validity checks whether values conform to a defined format or rule, such as a four-digit postcode. Uniqueness, consistency, and timeliness address duplicates, cross-source agreement, and currency respectively.
Question 12Data Fundamentals and Data Quality
Which activity best describes data cleansing?
- Standardising formats and correcting or removing erroneous values Correct answer.
- Increasing the frequency of data loads
- Defining access roles for analysts
- Encrypting data before transmission
Explanation
Data cleansing detects and remediates errors such as inconsistent formats, duplicates, and invalid values so the data meets quality rules. Security and load scheduling are separate operational concerns.
Question 13Data Fundamentals and Data Quality
An analyst joins a transactions table to a customer table on customer identifier. Which join returns only transactions that have a matching customer?
- Cross join
- Full outer join
- Inner join Correct answer.
- Left outer join
Explanation
An inner join keeps only rows where the join key matches in both tables, so unmatched transactions are excluded. Outer joins retain unmatched rows, and a cross join produces every combination.
Question 14Data Fundamentals and Data Quality
What distinguishes a data lake from a traditional data warehouse?
- A lake requires all data to be transformed into a star schema before loading
- A lake prohibits storage of unstructured files
- A lake can only store numeric data
- A lake typically stores raw data in native formats with schema applied on read Correct answer.
Explanation
A data lake commonly lands raw data in native formats and applies structure at query time, whereas a warehouse typically loads transformed, schema-defined data. This makes lakes suited to varied and unstructured sources.
Question 15Data Fundamentals and Data Quality
A dashboard displays yesterday's inventory levels, but the business requires near real-time stock positions. Which quality dimension is most affected?
- Completeness
- Validity
- Timeliness Correct answer.
- Accuracy
Explanation
Timeliness concerns whether data is current enough for the decision it supports. A one-day lag fails a near real-time requirement even if the values themselves are accurate and complete.
Question 16Data Fundamentals and Data Quality
Two systems store the same customer's address, and the values conflict. Which data quality dimension is primarily at risk?
- Consistency Correct answer.
- Validity
- Precision
- Completeness
Explanation
Consistency requires that the same fact agree across sources and records. Conflicting addresses for one customer show a consistency problem, even if each value is well formed and present.
Question 17Data Fundamentals and Data Quality
Which technique helps detect duplicate customer records that differ slightly in spelling and spacing?
- Exact string equality on the primary key
- Fuzzy matching on name and address fields Correct answer.
- Aggregating records by country only
- Sorting records by creation date
Explanation
Fuzzy matching compares fields using similarity measures so near-identical names and addresses can be flagged as potential duplicates. Exact comparison misses minor variations, and sorting or coarse grouping does not detect similarity.
Question 18Data Fundamentals and Data Quality
An analyst needs to summarise total sales by region and month from a large transaction table. Which approach is most appropriate?
- Filter out all rows with a null region
- Aggregate sales with grouping on region and month Correct answer.
- Return every transaction row for manual review
- Join the table to itself repeatedly
Explanation
Grouping by region and month with an aggregate function produces the required summary efficiently. Returning raw rows or self-joining adds effort without producing the summary, and filtering nulls alone does not aggregate.
Question 19Data Fundamentals and Data Quality
A column intended to store a two-letter country code contains values such as 'AUS', 'United Kingdom', and 'nz'. Which issue is most evident?
- Missing values
- Inconsistent coding standards Correct answer.
- Excessive precision
- Outdated records
Explanation
The column mixes three-letter codes, full names, and lowercase abbreviations, showing no single coding standard is enforced. This is a validity and consistency issue rather than a missing or outdated data problem.
Question 20Data Fundamentals and Data Quality
Which practice best supports data lineage tracking?
- Relying on analysts' memory of past changes
- Storing only the final report in a shared drive
- Recording source, transformation steps, and destination for each dataset Correct answer.
- Deleting intermediate staging tables after each load
Explanation
Lineage documents where data originated, how it was transformed, and where it landed, enabling impact analysis and audit. Removing intermediates or relying on memory breaks the traceable chain.
Question 21Data Fundamentals and Data Quality
A dataset of 1,000 records has 40 records with a missing email address. What is the completeness rate for the email field?
- 60 percent
- 96 percent Correct answer.
- 40 percent
- 4 percent
Explanation
Completeness is the proportion of records with the required value present: 960 of 1,000 records have an email, giving 96 percent. The 40 missing records represent a 4 percent gap.
Question 22Data Fundamentals and Data Quality
A team normalises a sales table so that customer details are stored once in a separate customer table. Which benefit does this primarily provide?
- Reduced redundancy and fewer update anomalies Correct answer.
- Automatic encryption of customer data
- Faster execution of every possible query
- Guaranteed elimination of all data errors
Explanation
Normalisation removes repeated data by storing each fact once, which reduces redundancy and the risk of inconsistent updates. It does not eliminate all errors, universally speed up queries, or provide encryption.
Question 23Data Fundamentals and Data Quality
An analyst finds that a numeric field has a mean far above its median and a small number of extremely large values. Which action is most appropriate before modelling?
- Delete the median value from the dataset
- Convert the field to a boolean flag
- Assume the mean is representative and proceed
- Investigate the extreme values and consider transformation or robust statistics Correct answer.
Explanation
A mean well above the median signals a right-skewed distribution driven by outliers, so the analyst should verify those values and consider a log transform or median-based measures. Deleting the median or ignoring the skew would distort results.
Question 24Data Fundamentals and Data Quality
A quality rule states that an order's ship date must be on or after its order date. Which type of rule is this?
- Referential integrity rule
- Cross-field consistency rule Correct answer.
- Uniqueness rule
- Format validity rule
Explanation
The rule compares two fields within the same record to ensure they agree logically, making it a cross-field consistency check. Uniqueness, referential integrity, and format rules each address different concerns.
Question 25Data Fundamentals and Data Quality
A source system sends records with a load timestamp in local time without a time zone, and the warehouse stores timestamps in UTC. What is the most significant risk?
- Ambiguous timestamps that shift by daylight-saving changes Correct answer.
- Permanent loss of referential integrity
- Automatic duplication of every row
- Reduced column precision for numeric fields
Explanation
Local times without a zone identifier become ambiguous around daylight-saving transitions, so conversion to UTC can be off by an hour. This affects event ordering and reporting accuracy rather than keys, duplication, or numeric precision.
Question 26Data Fundamentals and Data Quality
Which statement best describes the purpose of a data dictionary?
- It encrypts sensitive fields before they reach the reporting layer
- It schedules the overnight jobs that refresh reporting tables
- It stores a full copy of every record loaded into the warehouse
- It documents the meaning, type and permitted values of each field in a dataset Correct answer.
Explanation
A data dictionary is reference metadata that records definitions, data types, formats and allowed values for fields, so users and systems interpret data consistently. It describes the data rather than holding it, moving it or protecting it, which are handled by storage, scheduling and security tools respectively.
Question 27Data Fundamentals and Data Quality
An analyst must summarise sales by region and month from a very large transaction table, and the business wants fast dashboard queries without repeatedly scanning the full table. Which approach is most appropriate?
- Delete transaction rows that are not needed for reporting
- Query the full transaction table live for every dashboard view
- Build a pre-aggregated summary table keyed by region and month Correct answer.
- Export the transaction table to a spreadsheet for pivoting
Explanation
Pre-aggregating the transactions into a summary table keyed by region and month reduces the data scanned at query time and gives predictable dashboard performance. Live full-table scans and manual exports do not scale, and deleting source rows destroys detail the business may later need.
Question 28Data Fundamentals and Data Quality
A warehouse loads a daily extract, but the source system occasionally sends the same order twice with different load timestamps. Which technique best prevents these duplicates from inflating revenue totals?
- Deduplicating on the business key and retaining the latest record Correct answer.
- Increasing the frequency of the daily extract
- Storing the load timestamp as a text field
- Adding a surrogate key to every incoming row
Explanation
Duplicates arise from repeated business events, so the fix is to identify records by their business key, such as order identifier, and keep only the most recent version. Surrogate keys, extract frequency and field data types do not resolve repeated business records and can even mask them.
Question 29Data Fundamentals and Data Quality
An analyst profiles a date-of-birth field and finds that 3 percent of values fall after the record creation date. Which data quality dimension is most directly affected?
- Timeliness
- Completeness
- Uniqueness
- Accuracy Correct answer.
Explanation
Accuracy concerns whether values correctly reflect the real-world fact they represent. A birth date later than the record creation date is impossible, so the value is wrong even though it is present, distinct and current.
Question 30Data Fundamentals and Data Quality
A team ingests events from three source systems into a lake. Each event must be traceable back to its originating system, file and load time. Which design choice best supports this requirement?
- Apply hashing to event identifiers before storage
- Attach source system, file name and ingestion timestamp as metadata on each record Correct answer.
- Compress each source file before landing it in the lake
- Store all events in a single untyped text file per day
Explanation
Lineage requires that each record carries metadata identifying where it came from and when it arrived, so downstream users can trace it to the source. Consolidating files, hashing identifiers and compressing files may help storage or privacy but do not record provenance.
Question 31Data Analytics Techniques and Tools
A retail analyst wants a single number that summarises the typical transaction value when a small number of very large corporate purchases skew the distribution. Which measure of central tendency is most appropriate?
- The mean
- The median Correct answer.
- The range
- The mode
Explanation
The median is the middle value once data are ordered and it is resistant to extreme outliers, so a few very large corporate purchases will not distort it. The mean uses every value in its calculation and is pulled upward by such outliers. The mode and range do not describe a typical central value in this sense.
Question 32Data Analytics Techniques and Tools
Which statement best describes the purpose of a data dictionary in an analytics project?
- It stores the raw records extracted from source systems
- It lists the users who are authorised to query the warehouse
- It documents each field's name, meaning, type and permitted values Correct answer.
- It records the schedule of automated report deliveries
Explanation
A data dictionary is metadata that defines the structure and semantics of each field, including its name, data type, description and any valid value constraints. This shared definition prevents analysts from misinterpreting fields. It does not hold the data itself, nor does it manage delivery schedules or user permissions.
Question 33Data Analytics Techniques and Tools
An analyst joins a customer table to an orders table on customer ID and finds that customers with multiple orders appear multiple times in the result. Which join type produced this outcome?
- An inner join Correct answer.
- A full outer join
- A left outer join
- A cross join
Explanation
An inner join returns every matching row combination, so a customer with three orders appears three times. This row multiplication is normal behaviour for a one-to-many relationship. The other join types differ in which unmatched rows they retain, but all matching-based joins replicate rows the same way; a cross join instead pairs every row with every row.
Question 34Data Analytics Techniques and Tools
A dataset of 200 customer ages is sorted ascending. The analyst wants the value below which 25 percent of ages fall. Which calculation is required?
- The standard deviation
- The interquartile range
- The third quartile
- The first quartile Correct answer.
Explanation
The first quartile, or 25th percentile, is the value below which roughly a quarter of observations lie. The third quartile marks the 75th percentile, and the interquartile range is the distance between the two. Standard deviation measures dispersion around the mean rather than a positional cut-off.
Question 35Data Analytics Techniques and Tools
A marketing team wants to test whether average spend differs between customers exposed to two different campaign designs. Which technique is most appropriate?
- A moving average
- An independent-samples t-test Correct answer.
- A chi-square test of independence
- Simple linear regression
Explanation
An independent-samples t-test compares the means of a continuous variable across two independent groups, which matches comparing average spend between two campaign groups. A chi-square test suits categorical association, regression models relationships between variables rather than group differences, and a moving average smooths a time series.
Question 36Data Analytics Techniques and Tools
Which practice best supports reproducibility when an analyst builds a data preparation workflow?
- Emailing the final output to colleagues for checking
- Manually editing the spreadsheet each reporting cycle
- Relying on memory to repeat the same steps
- Saving the transformation steps as version-controlled code Correct answer.
Explanation
Reproducibility requires that the same inputs and steps reliably produce the same outputs, which is achieved by capturing transformations as version-controlled code. Manual edits, memory-based repetition and ad hoc distribution cannot be audited or rerun consistently. Version control also records who changed what and when.
Question 37Data Analytics Techniques and Tools
An analyst needs to combine monthly sales files that all share the same column structure into one dataset. Which operation is designed for this?
- Appending the files vertically Correct answer.
- Joining the files on a key
- Pivoting the files to long format
- Filtering the files by region
Explanation
When files share identical columns, stacking their rows is a vertical append, sometimes called a union, which produces one longer table. Joining combines columns from tables matched on a key, pivoting reshapes columns into rows, and filtering removes rows. Only the append preserves all records in a single consistent structure.
Question 38Data Analytics Techniques and Tools
A column of postcodes is stored as text rather than a number. Which outcome is most likely if this is not corrected before analysis?
- Storage space is reduced compared with numeric types
- Leading zeros are preserved but arithmetic comparisons fail Correct answer.
- Aggregate functions automatically convert the values
- Postcodes sort numerically in the correct geographic order
Explanation
Text storage preserves leading zeros, which is often desirable for postcodes, but numeric operations and range comparisons will not behave as intended. Sorting becomes lexicographic rather than numeric, and aggregates such as averages are meaningless on an identifier. Data type choice should reflect how the field will be used.
Question 39Data Analytics Techniques and Tools
Which chart type is best suited to showing the distribution of a single continuous variable such as customer wait times?
- A pie chart
- A scatter plot
- A stacked bar chart
- A histogram Correct answer.
Explanation
A histogram groups a continuous variable into bins and displays frequencies, revealing shape, spread and skew. Pie charts show parts of a whole for categories, stacked bars compare category compositions, and scatter plots show relationships between two variables. Only the histogram directly profiles one continuous distribution.
Question 40Data Analytics Techniques and Tools
A model predicting loan default achieves 98 percent accuracy on a dataset where only 2 percent of loans default. Why is accuracy misleading here?
- A model predicting no default for every loan would score 98 percent Correct answer.
- Accuracy always overstates performance on balanced datasets
- Accuracy cannot be computed for binary outcomes
- Accuracy ignores the number of observations in the test set
Explanation
With a heavily imbalanced class distribution, a trivial classifier that always predicts the majority class attains accuracy equal to that class's prevalence. This makes accuracy a poor guide to whether the model identifies the rare but important default cases. Metrics such as recall, precision or the area under the ROC curve are more informative.
Question 41Data Analytics Techniques and Tools
Which activity in the analytics lifecycle involves confirming that a dataset meets agreed completeness and validity rules before it is used for reporting?
- Feature engineering
- Model deployment
- Data quality assessment Correct answer.
- Exploratory data analysis
Explanation
Data quality assessment checks data against defined rules for completeness, validity, consistency and accuracy before use. Exploratory analysis investigates patterns, feature engineering creates model inputs, and deployment releases models into production. Quality checks typically precede these downstream activities.
Question 42Data Analytics Techniques and Tools
An analyst writes a query to return customers whose total order value exceeds 1000. Which clause structure correctly filters on an aggregated total?
- WHERE SUM(value) > 1000 GROUP BY customer
- ORDER BY SUM(value) > 1000
- SELECT customer WHERE value > 1000 GROUP BY customer
- GROUP BY customer HAVING SUM(value) > 1000 Correct answer.
Explanation
Aggregate conditions must be applied after grouping, which is the role of the HAVING clause. A WHERE clause filters individual rows before aggregation and cannot reference aggregate functions in standard SQL. The correct pattern groups by customer and then filters the summed value.
Question 43Data Analytics Techniques and Tools
A time series of daily sales shows a repeating pattern every seven days. What is this pattern called?
- Random noise
- Autocorrelation of residuals
- Seasonality Correct answer.
- Trend
Explanation
A regular pattern that repeats over a fixed period, such as a week, is seasonality. Trend refers to the longer-term direction of the series, while random noise is the irregular residual variation. Residual autocorrelation describes dependence between successive errors rather than a repeating calendar effect.
Question 44Data Analytics Techniques and Tools
An analyst wants to reduce a dataset with 40 correlated numeric variables to a smaller set of uncorrelated components before modelling. Which technique is designed for this?
- K-means clustering
- A chi-square test
- Principal component analysis Correct answer.
- Logistic regression
Explanation
Principal component analysis creates new uncorrelated variables, called components, that capture as much variance as possible in fewer dimensions. Logistic regression predicts a binary outcome, k-means groups similar observations, and a chi-square test assesses categorical association. Only PCA performs the described dimension reduction.
Question 45Data Analytics Techniques and Tools
Which statement correctly distinguishes structured from unstructured data?
- Structured data conforms to a defined schema, while unstructured data does not Correct answer.
- Unstructured data cannot be stored in a database
- Structured data is always numeric, while unstructured data is always text
- Structured data is always smaller in volume than unstructured data
Explanation
The defining difference is schema: structured data fits predefined fields and types, whereas unstructured data such as free text, images or audio lacks that organisation. Unstructured data can be stored in databases or data lakes, and volume is not the distinguishing criterion. Structured data may include text fields.
Question 46Data Analytics Techniques and Tools
A dataset contains a numeric field with values clustered near zero and a few extremely large values. Which transformation is commonly applied to reduce this skew before modelling?
- A logarithmic transformation Correct answer.
- One-hot encoding
- Binning into equal-width intervals
- Standardising to a mean of zero
Explanation
A logarithmic transformation compresses the scale of large values and pulls in a long right tail, making the distribution more symmetric. Standardisation rescales but does not remove skew, one-hot encoding applies to categories, and equal-width binning discards information rather than correcting the shape.
Question 47Data Analytics Techniques and Tools
An analyst notices that a customer record has a birth year of 1823 and a status field containing the value 'unknown' in a field restricted to active or closed. Which data quality dimensions are affected?
- Accuracy of aggregation
- Uniqueness and consistency
- Validity and domain integrity Correct answer.
- Completeness and timeliness
Explanation
The implausible birth year fails a validity rule, and the status value lies outside the permitted domain. Both are violations of defined constraints on acceptable values. Completeness concerns missing data, uniqueness concerns duplicates, and consistency concerns agreement across sources.
Question 48Data Analytics Techniques and Tools
A dashboard shows monthly revenue by product line. Which design choice best supports rapid comparison of product lines within a month?
- A table of raw daily transactions
- A 3D pie chart with many slices
- A dual-axis line chart with unrelated scales
- A horizontal bar chart ordered by revenue Correct answer.
Explanation
An ordered horizontal bar chart makes relative magnitudes easy to compare because length is a highly accurate visual encoding and ordering aids scanning. 3D pie charts distort perception, dual axes with unrelated scales invite false comparisons, and raw transaction tables require the viewer to aggregate mentally.
Question 49Data Analytics Techniques and Tools
What is the primary purpose of holding out a validation or test set when building a predictive model?
- To increase the number of features available
- To speed up model training
- To remove outliers from the training data
- To estimate performance on data the model has not seen Correct answer.
Explanation
A held-out set simulates new, unseen data and provides an unbiased estimate of generalisation performance. Training on all data would let the model memorise patterns and overstate its real-world accuracy. Holding out data does not add features, speed training or clean outliers.
Question 50Data Analytics Techniques and Tools
An analyst calculates a correlation coefficient of 0.85 between advertising spend and sales. Which conclusion is justified?
- Increased advertising causes higher sales
- There is a strong positive linear association between the two variables Correct answer.
- The relationship is statistically significant at the 1 percent level
- Sales will rise by exactly 0.85 units per unit of spend
Explanation
A correlation of 0.85 indicates a strong positive linear association, but correlation alone does not establish causation or the size of any effect. Significance depends on sample size and a formal test, which the coefficient alone does not provide. The slope of a regression line would be needed to quantify the change in sales.