Limited-Time Offer: Enjoy 50% Savings! Coupon code: 50OFF Use it at checkout
Skip to content

Free WGU Data Management - Foundations Exam Data-Management-Foundations Exam Questions

Last updated: · 13 practice questions with answers and explanations

Page: 1 / 6 Total 60 questions

Want more questions? Get Premium Access.

Question 1

New Single answer

Topic: Creating conceptual, logical and physical data models

Skill tested: Maps business entities and attributes into conceptual, logical, and physical representations.

A regional clinic is replacing a collection of spreadsheets used to manage appointments. Staff need to record patients, clinicians, and appointments. Each appointment is for exactly one patient and one clinician, while both patients and clinicians can have many appointments over time. The design team first needs a technology-independent view for business stakeholders, then a detailed representation of attributes and relationships, and finally an implementation design for a relational database. Which sequence best describes how the appointment information should be represented across the three model types?

Correct Answer: A. Conceptual: Patient, Clinician, Appointment entities and their relationships; logical: entities with attributes, identifiers, and cardinalities; physical: database tables, columns, data types, and implemented constraints.
Explanation:

The conceptual model communicates the main business entities and their relationships without committing to implementation details. The logical model adds attributes, identifiers, and relationship cardinalities, clarifying that each appointment references one patient and one clinician. The physical model translates that design into a specific database structure, such as tables, columns, data types, and constraints. Starting with SQL data types, as in B, is implementation-first; C reverses model responsibilities. D omits the Appointment entity and encourages repeated details rather than modeling the stated relationships.

Question 2

New Single answer

Topic: Creating conceptual, logical and physical data models

Skill tested: Traces a many-to-many relationship into a relational junction table.

A training provider's logical model includes Course and Instructor entities. An instructor may teach several courses, and each course may be taught by several instructors. The physical database must preserve this relationship and allow the organization to record the instructor's assigned role for each course. The database is relational, and the design must avoid repeating course or instructor details in assignment records. Which physical design best implements the logical model?

Correct Answer: B. Create CourseInstructor with CourseID and InstructorID as a composite primary key, foreign keys to the parent tables, and a Role column.
Explanation:

A many-to-many relationship is represented in a relational physical model with a junction table. CourseInstructor records each valid course-instructor pairing; a composite key prevents the same pairing from being recorded twice, and foreign keys preserve references to existing parent rows. The Role attribute belongs on this relationship because it describes an instructor's assignment to a particular course. A cannot reliably represent multiple values in a single relational column, C duplicates names and loses referential integrity, and D can store only one course per instructor.

Question 3

New Single answer

Topic: Creating databases and tables in SQL-enabled database management systems

Skill tested: Defines primary and foreign keys to enforce relational identity and references.

A small retailer is creating a MySQL schema for suppliers and products. Each supplier has a unique supplier ID, and each product must be associated with exactly one existing supplier. Supplier names are not guaranteed to be unique, and a product must not be saved with a nonexistent supplier ID. The team wants the database itself to enforce these requirements rather than relying only on application checks. Which table design is most appropriate?

Correct Answer: D. Give Supplier a primary key SupplierID; give Product its own primary key ProductID and a NOT NULL SupplierID foreign key referencing Supplier.
Explanation:

SupplierID is the stable unique identifier, so it should be the Supplier primary key. Product needs its own primary key, plus a non-null SupplierID foreign key referencing Supplier; this enforces both the required association and the existence of the referenced supplier. SupplierName is unsuitable as a key because names may not be unique. C incorrectly limits each supplier to at most one product and does not establish the parent key. Application-only validation, as in D, cannot provide database-level referential integrity.

Question 4

New Multiple answers

Topic: Creating databases and tables in SQL-enabled database management systems

Skill tested: Selects DDL constraints that enforce required columns, uniqueness, and valid references.

An inventory system will store warehouse locations and stock balances. Each location has a unique LocationID. A balance is identified by the combination of LocationID and ItemID, and its Quantity must be recorded even when it is zero. The database must reject duplicate location-item pairs and balances for locations that do not exist. Which TWO design elements should the DDL include? Select TWO.

Correct Answer: B. A primary key on Location.LocationID.; D. A composite primary key on Balance(LocationID, ItemID), with LocationID also referencing Location(LocationID).
Explanation:

A primary key on LocationID provides a valid target for the foreign key and ensures each location is uniquely identified. The composite primary key on Balance(LocationID, ItemID) prevents duplicate balances for the same pair, while its foreign key ensures every balance refers to an existing location. Quantity should be non-null because zero is a known value, not missing data. Uniqueness on Quantity would incorrectly forbid different balances from sharing a quantity, and the proposed foreign-key direction in E does not enforce the required parent-child relationship.

Question 5

New Single answer

Topic: Normalizing databases

Skill tested: Identifies repeating groups and restructures data to satisfy first normal form.

A distributor receives an order spreadsheet with one row per order. The columns include OrderID, OrderDate, CustomerID, and ItemList, where ItemList contains text such as "P12 x 3; P18 x 1". Analysts need to filter and aggregate quantities by product, and the system must retain multiple products per order without parsing a text field in every query. Which normalization change is the best first step?

Correct Answer: D. Split ItemList into atomic order-line rows, using one product and quantity per row, while retaining order-level details in an order relation.
Explanation:

First normal form requires attributes to hold single, atomic values rather than repeating groups or packed lists. An order-line relation with one product and quantity per row makes products independently queryable and supports straightforward joins and aggregation. Order-level facts can remain in an Order relation, avoiding needless duplication. Adding delimiters in B leaves the repeating group embedded in text; C creates a changing, impractical set of columns; D still retains the non-atomic list and duplicates order facts.

Question 6

New Single answer

Topic: Normalizing databases

Skill tested: Removes partial dependencies to transform a composite-key relation into second normal form.

A music distributor stores order lines in a relation with columns OrderID, TrackID, OrderDate, TrackTitle, and Units. The primary key is (OrderID, TrackID). OrderDate depends only on OrderID, TrackTitle depends only on TrackID, and Units depends on the complete key. The team wants to reduce update anomalies while preserving the line-item facts. Which redesign most directly achieves second normal form?

Correct Answer: C. Split into Order(OrderID, OrderDate), Track(TrackID, TrackTitle), and OrderLine(OrderID, TrackID, Units).
Explanation:

Second normal form requires a relation to be in first normal form and every non-key attribute to depend on the whole candidate key, not merely part of a composite key. OrderDate depends on OrderID alone and TrackTitle on TrackID alone, so they belong in separate Order and Track relations. Units depends on the full order-line key and stays in OrderLine. A changes nullability but not dependencies; C places Units with the wrong determinant; adding LineID in D does not remove the original partial dependencies.

Question 7

New Single answer

Topic: Normalizing databases

Skill tested: Resolves transitive dependencies to achieve third normal form.

A service company keeps one row per service ticket, with TicketID, CustomerID, CustomerName, and CustomerPhone. TicketID determines CustomerID, and CustomerID determines the customer's name and phone number. Customers can have many tickets, and customer contact details are occasionally updated. The database is already in first and second normal form. Which redesign best addresses the remaining normalization problem while retaining ticket-to-customer associations?

Correct Answer: D. Store CustomerName and CustomerPhone in a Customer relation keyed by CustomerID, and retain CustomerID as a foreign key in Ticket.
Explanation:

The dependency TicketID → CustomerID → CustomerName, CustomerPhone is transitive: customer attributes depend on a non-key attribute of Ticket. A Customer relation keyed by CustomerID stores those attributes once, while Ticket retains CustomerID as a foreign key. This reduces inconsistent updates when contact details change and supports multiple tickets per customer. Adding an index in C may help access but does not remove redundancy. B changes the key without correcting the dependency, and D reverses the relationship and would not properly associate each ticket with its customer.

Question 8

New Multiple answers

Topic: MySQL exposure, creating and modifying views, indexes, and populating tables; developing Select-From-Where (SFW) queries to complex 3+ table joins

Skill tested: Writes MySQL DDL and DML to create a table and populate it with valid rows.

A MySQL database needs a simple table for department records. Each row must have a unique integer DepartmentID and a required DepartmentName. A data import will add the departments "Sales" and "Support" after the table is created. The team wants portable, straightforward SQL and does not need automatic ID generation. Which TWO statements correctly implement the requirement? Select TWO.

Correct Answer: A. INSERT INTO Department (DepartmentID, DepartmentName) VALUES (10, 'Sales'), (20, 'Support');; B. CREATE TABLE Department (DepartmentID INT PRIMARY KEY, DepartmentName VARCHAR(100) NOT NULL);
Explanation:

The table definition in A makes DepartmentID unique and non-null through its primary-key constraint and requires DepartmentName through NOT NULL. The multirow INSERT in C supplies values in the listed column order and matches the integer and text data types. B does not require DepartmentName and instead imposes uniqueness on names, which was not requested. D reverses the value order and types. E permits a missing department name, contrary to the requirement.

Question 9

New Single answer

Topic: MySQL exposure, creating and modifying views, indexes, and populating tables; developing Select-From-Where (SFW) queries to complex 3+ table joins

Skill tested: Chooses an index that supports a frequent filtered and ordered MySQL query.

A MySQL table Events has millions of rows and columns EventID, AccountID, EventTime, and EventType. A frequent query retrieves recent events for one account, filters by AccountID, applies a time range on EventTime, and orders the result by EventTime. EventID is already the primary key. The workload is read-heavy, but events continue to arrive throughout the day, so excessive indexing would add avoidable write cost. Which additional index is the best fit for this access pattern?

Correct Answer: D. A composite index on (AccountID, EventTime).
Explanation:

The composite index starts with the equality-filtered AccountID and then includes EventTime for the range condition and ordering. This column order aligns with the query's predicates and can reduce the rows examined without adding several single-column indexes. A unique index, as in D, would incorrectly assert that an account cannot have two events at the same time. B does not support the stated filter or ordering, and C places a range-oriented column first, making the leading prefix less suited to a query constrained by AccountID.

Question 10

New Single answer

Topic: MySQL exposure, creating and modifying views, indexes, and populating tables; developing Select-From-Where (SFW) queries to complex 3+ table joins

Skill tested: Constructs a four-table join to retrieve order, customer, product, and quantity data.

An analyst must list the customer name, order date, product name, and quantity for every order line belonging to customers in region 'North'. The MySQL schema contains Customer(CustomerID, CustomerName, Region), Orders(OrderID, CustomerID, OrderDate), OrderLine(OrderID, ProductID, Quantity), and Product(ProductID, ProductName). The query must return only matching North-region orders, with each product appearing as a separate line item. Which query best meets the requirement?

Correct Answer: A. SELECT c.CustomerName, o.OrderDate, p.ProductName, l.Quantity FROM Customer c JOIN Orders o ON o.CustomerID = c.CustomerID JOIN OrderLine l ON l.OrderID = o.OrderID JOIN Product p ON p.ProductID = l.ProductID WHERE c.Region = 'North';
Explanation:

The correct join path follows the declared keys: Customer to Orders by CustomerID, Orders to OrderLine by OrderID, and OrderLine to Product by ProductID. Filtering on c.Region selects the requested customers, and the row-level join preserves one result per order line, including its quantity. B joins Product to the wrong identifier, C applies the region value to the product name, and D lacks join predicates, producing a Cartesian multiplication among the tables.

Question 11

New Multiple answers

Topic: MySQL exposure, creating and modifying views, indexes, and populating tables; developing Select-From-Where (SFW) queries to complex 3+ table joins

Skill tested: Uses views and join logic to report customers with no matching order records.

A monthly report must list every customer and, when present, the order date of that customer's orders placed during January 2025. Customers with no January orders must still appear, with the order-date result left NULL. The report may be exposed through a view for analysts. The schema has Customer(CustomerID, CustomerName) and Orders(OrderID, CustomerID, OrderDate). Which TWO design choices satisfy the reporting requirement? Select TWO.

Correct Answer: A. Use LEFT JOIN from Customer to Orders and put the January date restriction in the ON clause.; B. Create a view from a SELECT that uses the LEFT JOIN and January restriction in the ON clause.
Explanation:

A LEFT JOIN preserves each Customer row even when no January order matches. Placing the date condition in the ON clause restricts which order rows match without filtering away customers whose joined order columns are NULL. A view can expose that same SELECT result for reuse, as in C. An INNER JOIN excludes customers without matching orders. Putting the date predicate in WHERE rejects the NULL-extended rows and effectively removes the required customers; an Orders-only view cannot produce customers with no orders.

Question 12

New Multiple answers

Topic: Data management aspects: quality, policy and storage methodologies

Skill tested: Selects data-quality controls and policy actions for inconsistent customer records.

A customer analytics team finds duplicate customer profiles, inconsistent country names such as "US" and "United States," and missing email addresses. Analysts use email to send optional marketing notices, but the organization must not block order processing when a customer has no email address. A governance lead wants durable improvements rather than a one-time spreadsheet cleanup. Which TWO actions are most appropriate? Select TWO.

Correct Answer: D. Establish a controlled country-value standard and a documented process for resolving duplicate customer records.; E. Define and monitor data-quality rules for valid country values, duplicate detection, and completeness where appropriate.
Explanation:

Sustainable quality management combines measurable rules with governance processes. Monitoring validity, duplication, and appropriate completeness exposes problems, while a controlled country standard and an accountable duplicate-resolution process prevent inconsistent values from recurring. Email is optional for order processing, so forcing it to be NOT NULL would reject valid customers. Deleting customers with missing email would lose legitimate operational data, and analyst-specific corrections in reports would leave the underlying records inconsistent.

Question 13

New Single answer

Topic: Data management aspects: quality, policy and storage methodologies

Skill tested: Selects a storage approach aligned with structured data access and retention needs.

A municipal records team stores monthly inspection results as structured records with fixed fields: inspection ID, site ID, inspection date, and outcome. Staff need to filter by site and date for the current year, while older records must be retained for seven years but are accessed only during audits. The organization wants routine queries to remain responsive and avoid keeping all historical records in the most active storage tier. Which approach best fits the requirements?

Correct Answer: A. Store the structured records in a relational database with appropriate keys and indexes, and apply a documented retention and archival policy for older records.
Explanation:

A relational database suits fixed, structured records that staff need to filter by identifiers and dates; suitable keys and indexes support those access patterns. A retention policy can preserve records for the required seven years while moving less frequently accessed history to an appropriate archival storage tier, subject to the organization's controls. A spreadsheet copy per month impairs consolidated querying and governance. Images are a poor fit for structured filtering, and deletion after one year violates the retention requirement.