WGU Data-Management-Foundations Practice Exam Questions & Answers
WGU Data-Management-Foundations Exam Details
Key details for this exam, checked against the published exam outline
- Exam Code
- Data-Management-Foundations
- Full Name
- WGU Data Management - Foundations Exam
- Issuing Body
- Western Governors University
- Question Format (Our Bank)
- Multiple Choice
- Eligibility
- No prerequisites are required
- Full Question Set
- 60 questions Get All Questions
Free Data-Management-Foundations Practice Questions
Answer each question, then see the correct answer and why it is right
Question 1 Domain 1 Running SQL queries to create and manipulate data
What function strips just the spaces found at the start of a string?
The LTRIM() function in SQL strips away leading spaces (those positioned at the start of a string) and leaves any trailing spaces intact.
Sample Usage:
sql
SELECT LTRIM(' Hello World') AS TrimmedText;
Result:
bash
'Hello World'
Reasons Other Options Fail:
Option B (LEFT) (Incorrect): Extracts a segment from the beginning of a string. Example:
sql
SELECT LEFT('Hello World', 5); -- Output: 'Hello'
Option C (TRIM) (Incorrect): Strips both leading and trailing spaces, so it does not target only the leading ones. Example:
sql
SELECT TRIM(' Hello World '); -- Output: 'Hello World'
Option D (REPLACE) (Incorrect): Swaps one substring for another but is not designed to remove spaces specifically.
Therefore, the correct answer is LTRIM(), which removes only leading spaces.
Question 2 Domain 2 Defining primary and foreign keys for data normalization
What characteristic describes a primary key made up of just one field?
A primary key uniquely identifies every row in a table. When the key is built from only one field, it is known as a Simple Primary Key.
Types of Primary Keys:
Simple Primary Key (Correct Answer):
Consists of a single column.
Example:
sql
CREATE TABLE Students (
StudentID INT PRIMARY KEY,
Name VARCHAR(50)
);
Composite Primary Key:
Combines several columns to guarantee uniqueness.
Example:
sql
CREATE TABLE Orders (
OrderID INT,
ProductID INT,
PRIMARY KEY (OrderID, ProductID)
);
Surrogate Primary Key:
A unique identifier produced by the system, such as UUID or AUTO_INCREMENT.
Why Other Options Are Incorrect:
Option B (Duplicate) (Incorrect): A primary key has to be unique, so it cannot hold duplicate values.
Option C (Numeric) (Incorrect): Primary keys may be numeric, but they can also be alphanumeric (VARCHAR).
Option D (Composite) (Incorrect): A composite key is made up of several fields, while a simple key is limited to one field.
Therefore, the correct answer is Simple, since a primary key of one field is a simple primary key.
Question 3 Domain 7 Attributes of databases tables and SQL commands
Which label refers to a single data item, for instance a salary?
An attribute type denotes one particular value held in a table, such as Salary, Age, or Price.
Sample usage:

CREATE TABLE Employees (
EmpID INT PRIMARY KEY,
Name VARCHAR(50),
Salary DECIMAL(10,2)
);
Salary is an attribute type with individual values for each employee.
Reasons Other Choices Are Wrong:
Option A (Glossary) (Incorrect): Points to documentation rather than database values.
Option B (Entity type) (Incorrect): Stands for a class of objects (for example, Employees), not individual values.
Option D (Relationship) (Incorrect): Sets out connections between entities, not attributes.
Therefore, the correct answer is Attribute type, since it represents an individual data value.
Get the complete Data-Management-Foundations question set
$20$40
Question 4 Domain 6 Introduction to conceptual logical and physical data models
What kind of entity in a table represents a physical object from the real world that can be quantified?
A tangible entity refers to a real-world object that can be measured and kept in a database.
Illustration:
Within an inventory system, tangible entities consist of:
Products, Orders, Customers
Reasons the Remaining Options Are Wrong:
Option A (Logical entity) (Incorrect): Logically exists yet might lack a physical form, such as views or categories.
Option C (Virtual entity) (Incorrect): Appears only within queries or reports and is not kept as stored data.
Option D (Conceptual entity) (Incorrect): An abstract notion employed in design modeling rather than a stored entity.
Therefore, the correct answer is Tangible entity, since it denotes measurable, real-world objects.
Question 5 Domain 7 Attributes of databases tables and SQL commands
Which entity property is able to serve as a column within a table?
When designing a database, an entity's attributes are turned into columns of a relational table.
Sample Scenario:
Suppose an Employee entity has attributes such as:

CREATE TABLE Employees (
EmployeeID INT PRIMARY KEY,
Name VARCHAR(50),
Salary DECIMAL(10,2),
DepartmentID INT
);
Every attribute, such as Name or Salary, is represented as a column of the table.
Reasons the Remaining Choices Fail:
Option A (Modality) (Incorrect): Refers to whether a relationship is optional or required, rather than to how a table is laid out.
Option B (Uniqueness) (Incorrect): Guarantees values are distinct, yet it does not qualify as a column property.
Option D (Non-null values) (Incorrect): Requires that a column hold a value, but it does not describe what an attribute is.
Therefore, Attribute is the right choice, since entity attributes are what become table columns.
Question 6 Domain 7 Attributes of databases tables and SQL commands
What is the name of the optional clause that blocks inserts and updates which fail to meet the WHERE condition of a view's defining query?
A VIEW in SQL allows users to add or change data through it. Yet, when a row is inserted or modified so that it breaks the condition in the VIEW's WHERE clause, data inconsistencies may follow.
To stop these unwanted changes, SQL offers the WITH CHECK OPTION clause.
How WITH CHECK OPTION Functions:
It makes sure any new record (INSERT/UPDATE) remains within the limits defined by the VIEW.
When a user attempts an insert or update that would leave the row outside the VIEW, the action is refused.
Example:
sql
CREATE VIEW HighSalaryEmployees AS
SELECT * FROM Employees WHERE Salary > 50000
WITH CHECK OPTION;
Suppose someone runs:
sql
INSERT INTO HighSalaryEmployees (ID, Name, Salary)
VALUES (101, 'Alice', 30000);
This is rejected because 30000 fails the condition Salary > 50000.
Reasons Other Options Are Wrong:
Option B (Incorrect): JOIN VIEWS is not a recognized SQL clause.
Option C (Incorrect): MATERIALIZED VIEW denotes stored views in certain databases, yet it does not block invalid inserts or updates.
Option D (Incorrect): BASE TABLE is the source table from which a VIEW is built.
Therefore, the right answer is WITH CHECK OPTION, which guarantees that only valid data changes take effect.
Question 7 Domain 7 Attributes of databases tables and SQL commands
Which element appears on the ''many'' side of a relationship linking two tables?
In a one-to-many (1:M) relationship, the foreign key is stored in the table on the 'many' side so that it links to the primary key of the 'one' side.
Example Usage:

CREATE TABLE Departments (
DeptID INT PRIMARY KEY,
DeptName VARCHAR(50)
);
CREATE TABLE Employees (
EmpID INT PRIMARY KEY,
Name VARCHAR(50),
DeptID INT, -- Foreign key on the 'many' side
FOREIGN KEY (DeptID) REFERENCES Departments(DeptID)
);
Each department can have many employees DeptID is a foreign key in Employees.
Why Other Options Are Incorrect:
Option A (Reflexive relationship) (Incorrect): Describes unary (self-referential) relationships rather than 1:M relationships.
Option B (Binary relationship) (Incorrect): A binary relationship links two entities but does not specify where the foreign key is kept.
Option C (Weak entity) (Incorrect): Weak entities rely on a strong entity, yet not every 'many' side is a weak entity.
Thus, the correct answer is Foreign key, since it is placed on the 'many' side of the relationship.
Question 8 Domain 1 Running SQL queries to create and manipulate data
In entity-relationship modeling, what is the name of the phase that deals with the upper and lower limits of relationships and attributes?
Cardinality specifies the least and greatest count of occurrences of one entity associated with another.
Sample Application in an ER Model:
One-to-Many (1:M): A customer may submit several orders, yet every order is linked to just one customer.
Customers (1) --------- (M) Orders
Cardinality notation:
(1,1) One-to-One
(0,M) Zero-to-Many
(1,M) One-to-Many
Reasons Other Choices Do Not Fit:
Option B (Physical design) (Incorrect): Concentrates on storage and indexing rather than relationships.
Option C (Attribute minimum) (Incorrect): Not a formal term used in database modeling.
Option D (Partition) (Incorrect): Describes splitting tables, not constraints on relationships.
Therefore, the correct answer is Cardinality, since it sets min/max constraints on relationships.
Question 9 Domain 6 Introduction to conceptual logical and physical data models
Which clause in a CREATE statement is used to guarantee that data stays within a defined range?
The CHECK constraint is employed in SQL to impose rules on the values of a column. It guarantees that rows added to a table satisfy defined criteria, such as limits on a range or logical conditions.
Example Usage:
sql
CREATE TABLE Employees (
ID INT PRIMARY KEY,
Name VARCHAR(50),
Salary INT CHECK (Salary BETWEEN 30000 AND 150000)
);
This constraint guarantees that salary values lie between 30,000 and 150,000.
If an INSERT or UPDATE statement attempts to assign Salary = 20000, it is rejected because the CHECK condition is not satisfied.
Reasons the Remaining Options Are Wrong:
Option B (FROM) (Incorrect): Employed in SELECT statements rather than for defining constraints.
Option C (WHERE) (Incorrect): Narrows the rows returned by queries but does not impose constraints.
Option D (SET) (Incorrect): Applied to modify records (UPDATE table_name SET column = value) rather than to define constraints.
Therefore, CHECK is the correct answer, since it keeps column values within an expected range.
Question 10 Domain 6 Introduction to conceptual logical and physical data models
In MySQL, which clause is required to indicate the columns used to match rows when joining tables?
During a JOIN in MySQL, the ON keyword sets the matching criteria, identifying which columns in each table should be paired together.
Example:
sql
SELECT Employees.Name, Departments.DepartmentName
FROM Employees
JOIN Departments ON Employees.DepartmentID = Departments.ID;
Option A (Incorrect): AS assigns aliases to tables and columns and does not define join criteria.
Option B (Incorrect): JOIN specifies the kind of join being performed (INNER JOIN, LEFT JOIN, and so on) but does not name the columns to match.
Option C (Correct): The ON clause defines the join condition linking two tables.
Option D (Incorrect): AND combines conditions within filters and is not used to join tables.
Practice every Data-Management-Foundations question in the full set, each one with its verified answer and a detailed explanation
Get Full AccessWhat the WGU Data-Management-Foundations Exam Covers
Exam domains verified against the Official WGU Data-Management-Foundations exam guide, last checked November 2026.
Domain 1 Running SQL queries to create and manipulate data
This section evaluates skills in using SQL commands to define and modify data and structures. Candidates work with creating tables and executing statements to add, change, remove, and read records from relational databases.
Domain 2 Defining primary and foreign keys for data normalization
This section covers specifying primary and foreign keys in a design. Focus is on using these keys to link tables, maintain relationships, and support a well-structured, normalized schema.
Above Practice Question from this Domain: Q2
Domain 3 Normalizing relational databases
This section addresses arranging data through normalization processes. Candidates concentrate on limiting duplicate information, dividing data into related tables, and improving accuracy and clarity.
Domain 4 Creating databases and tables in SQL enabled database systems
This section focuses on building databases and tables with SQL in relational systems. Candidates work on selecting suitable table structures, defining columns, and preparing the environment for reliable data storage and organization.
Domain 5 Leadership and management
This part covers project leadership, planning, and clear communication with project stakeholders in a data-focused context. Skills relate to directing data-focused projects and teams with business acumen.
Domain 6 Introduction to conceptual logical and physical data models
This section presents the core ideas of conceptual, logical, and physical data models. Emphasis is on how each type describes data at a different level, from overall business concepts to detailed implementation in a database.
Domain 7 Attributes of databases tables and SQL commands
This section outlines the essential characteristics of databases and tables along with key SQL commands. Focus includes understanding rows, columns, data types, and how standard SQL operations work with these elements.
Data-Management-Foundations Exam FAQ
Common questions about the exam itself
What background do I need before taking the Data Management Foundations exam?
How long should I study to prepare for Data Management Foundations?
What makes Data Management Foundations challenging for candidates?
Is the Data Management Foundations exam hands-on or theory-based?
How much does the Data Management Foundations exam cost?
What job roles does Data Management Foundations prepare you for?
Can I retake the Data Management Foundations exam if I do not pass?
How does Data Management Foundations fit into the WGU Data Analytics degree path?
What happens if I pass Data Management Foundations but want to advance further?
How long does the Data Management Foundations certification remain valid?
Other WGU Exams
Free practice questions for more WGU certification exams
