Exam Information
Free practice questions with explanations
WGU Data-Management-Foundations Practice Questions
Answer a question to see the correct answer and the explanation, or click Show answer. Newest questions first.
- Questions
- 17
- Answered
- 0
- Correct
- 0
- Score
- -
-
1 Question 1 Single choice Attributes of databases tables and SQL commands
A regional logistics company stores shipment records in a relational table named Shipments. Each row must uniquely identify one shipment, and the business rule states that a shipment's tracking number must never be blank. An analyst reviewing the table design notices that the TrackingNumber column currently allows NULL values and has no uniqueness constraint. The company wants the database engine itself to enforce both rules without changing how applications insert rows. Which change best meets the requirement?
Correct Answer: DExplanationA NOT NULL constraint prevents blank or missing values at the column level, and a UNIQUE constraint prevents duplicate tracking numbers, so the database enforces both business rules regardless of which application writes the row. A CHECK constraint on length does not stop NULLs or duplicates, and a plain index speeds retrieval but does not enforce uniqueness unless it is declared as a unique index. Changing to a fixed-length CHAR type alters storage and padding behaviour without addressing NULLs or duplicates at all.
-
2 Question 2 Single choice Creating databases and tables in SQL enabled database systems
A small healthcare clinic is migrating its appointment data into a new relational database. The database administrator must create a table to hold appointment records, where each appointment has a date, a patient identifier, and a status that is always one of Scheduled, Completed, or Cancelled. The compliance team requires that invalid status values be impossible to store, even if a future reporting tool bypasses the application layer. The timeline is tight, so the DBA wants the smallest structural change at creation time. Which table definition best satisfies the requirement?
Correct Answer: DExplanationA CHECK constraint declared in the CREATE TABLE statement makes the database reject any status outside the permitted list, which holds even when a reporting tool or direct SQL session writes the row. Documenting values in a data dictionary is advisory and enforces nothing. An integer status code still depends on application mapping, so invalid codes can be stored. A trigger that logs changes records the problem after the fact rather than preventing invalid values from being stored.
-
3 Question 3 Single choice Defining primary and foreign keys for data normalization
A university registrar maintains a Enrollments table with columns StudentID, CourseID, Term, and StudentName. The same student name is repeated for every course a student takes, which has caused mismatched spellings after several updates. The registrar wants to remove the duplicated name while keeping every enrollment linked to the correct student. Enrollments already holds one row per student-course-term combination. Which redesign best achieves this while preserving referential integrity?
Correct Answer: BExplanationMoving student attributes into their own table keyed by StudentID removes the repeated name, and a foreign key in Enrollments enforces that every enrollment refers to an existing student. Keeping StudentName in Enrollments alongside the ID still duplicates data, and a composite key with it does not remove redundancy. A UNIQUE constraint on name would wrongly prevent two students sharing a name and still leaves the duplication. Keying the new table on name instead of its identifier makes the name the unstable identifier that caused the spelling problems.
-
4 Question 4 Single choice Introduction to conceptual logical and physical data models
A city transit agency is starting a data initiative. Executives want a model that shows, in business terms, that riders hold fare accounts, that fare accounts are funded through payments, and that trips are recorded against accounts, with no decisions yet about data types or indexing. A separate team will later translate the approved model into the agency's chosen database platform. At which stage should the team produce the model described, and what is its defining characteristic?
Correct Answer: DExplanationA conceptual model shows the main business entities and how they relate in business language, deliberately omitting attributes, keys, and technical detail, which matches the executives' request. A logical model adds attributes and keys, which the stem excludes. Anything describing storage, indexes, partitioning, or column data types belongs to the physical model, so both physical-model options contradict the requirement to defer technical decisions.
-
5 Question 5 Single choice Leadership and management
A data project manager at a retail bank is leading a six-month project to consolidate customer data from three legacy systems. Two business sponsors disagree about whether the customer identifier should be the account number or a generated customer ID, and the disagreement is delaying the schema design. The steering committee meets in two weeks and expects a decision recommendation. The project manager has no authority to override either sponsor but must keep the schedule. Which action is the best NEXT step?
Correct Answer: BExplanationBecause the project manager lacks authority to decide, the right move is to bring the stakeholders together, evaluate the candidate identifiers against shared criteria such as stability and cross-system matching, and escalate a documented recommendation in time for the steering meeting. Choosing unilaterally ignores decision rights and invites conflict. Waiting for sponsors to resolve it alone risks missing the committee date. Building two full designs doubles effort and delays the decision the schedule depends on.
-
6 Question 6 Single choice Normalizing relational databases
A wholesale distributor keeps a single OrderDetails table with columns OrderID, CustomerName, CustomerCity, ProductID, ProductName, UnitPrice, and Quantity. Analysts report that changing a product's price requires updating many rows, and some rows show different prices for the same product. The team wants the design to reach third normal form while keeping every fact recoverable through joins. Which decomposition best achieves this?
Correct Answer: BExplanationSeparating customer, product, and order-line facts removes the transitive dependencies, so a city depends only on the customer and a price only on the product, and an update touches one row. Option D still stores customer name and city in every order line, leaving that transitive dependency in place. Moving only customer data out of OrderDetails leaves product price duplicated per order. A composite key prevents repeated product lines within an order but does nothing about repeated customer and product attributes.
-
7 Question 7 Single choice Running SQL queries to create and manipulate data
A data analyst at a utility company has a staging table MeterReadings that contains several thousand rows with a reading_date column. A corrupted load inserted duplicate readings for the single day 2024-03-15 for meter 'M-204', and the analyst must remove only those duplicate rows, keeping one reading per meter per day, while leaving the other meters untouched. The table has an identity column reading_id that is unique per row. Which approach is the most appropriate?
Correct Answer: DExplanationThe DELETE with a subquery keeps the minimum reading_id for each meter and date combination and removes the extra duplicates, while leaving every other meter's rows unchanged. Deleting all matching rows removes the single valid reading as well, so the reinsert step adds an unverified record. DROP and TRUNCATE remove data for every meter, far beyond the stated scope and the stated constraint of leaving other meters untouched.
-
8 Question 8 Single choice Attributes of databases tables and SQL commands
A hospital reporting analyst queries a Patients table in which the discharge_date column is stored as text in several different formats. A dashboard must compute length of stay as the number of days between admit_date and discharge_date, and the analyst wants the query to fail loudly when a value cannot be interpreted as a date instead of silently returning incorrect results. Which change to the table definition is the best corrective action?
Correct Answer: AExplanationStoring the value in a DATE column means the database validates each entry as a real calendar date and performs correct date arithmetic, which removes the ambiguous text formats. An ORDER BY clause affects sorting only and does not make subtraction of text values meaningful. A default of the current date would fabricate discharge dates for patients still admitted, corrupting the length-of-stay figures. Converting to a decimal of days moves the calculation into the load process and loses the date meaning that other queries need.
-
9 Question 9 Single choice Creating databases and tables in SQL enabled database systems
A logistics firm is creating a database to store GPS pings from delivery vehicles. Each ping includes a vehicle ID, a timestamp with fractional seconds, and latitude and longitude. The firm expects roughly 40 million rows per month and must delete data older than 13 months on a rolling basis. The architect wants table partitioning by month to make the purge fast. Which design element must be defined in the CREATE TABLE process to enable this, and why?
Correct Answer: AExplanationPartitioning on the timestamp places each month in its own partition, so retiring data older than thirteen months becomes a metadata operation that drops or detaches a partition instead of running a large row-by-row delete. Clustering on latitude does not support time-based purging, and the stem's rolling deletion depends on time. A foreign key to vehicles governs referential integrity rather than age-based removal. A unique constraint on coordinates is wrong because many vehicles legitimately pass through the same location.
-
10 Question 10 Single choice Defining primary and foreign keys for data normalization
An online course platform has a Lessons table whose primary key is LessonID. A new requirement states that a lesson belongs to exactly one course, but a course may contain many lessons, and deleting a course must not leave lessons pointing to a non-existent course. The developer proposes storing CourseID in Lessons and declaring it as a foreign key referencing Courses. Which additional clause is needed to satisfy the deletion requirement without silently removing lessons?
Correct Answer: DExplanationON DELETE RESTRICT stops a course from being removed while lessons still reference it, which prevents orphaned lessons and avoids losing lesson content without an explicit decision. ON DELETE CASCADE would silently destroy lesson records, contrary to the stated intent. SET DEFAULT reassigns lessons to a course that may not make sense and requires that default row to exist. ON UPDATE CASCADE governs changes to the key value, not deletion of the parent.
-
11 Question 11 Single choice Introduction to conceptual logical and physical data models
A pharmacy chain is designing a data model for prescription analytics. The logical model defines Prescription, Patient, and Drug entities with their keys and relationships. The database team now proposes adding a denormalized summary table of daily prescription counts per store, along with clustered indexes tuned to the reporting queries. A governance lead argues that the summary table belongs in a different level of the model than the entity definitions. Which statement correctly classifies the proposed elements?
Correct Answer: DExplanationA denormalized summary table is a performance-driven implementation choice made for a specific platform, so it lives in the physical model, and clustered indexes are likewise physical storage decisions. The conceptual model holds business concepts without performance structures, and the logical model holds normalized entities, keys, and relationships, so placing the summary table or indexes there mixes levels. Option B is partly correct but wrongly puts the summary table in the logical model.
-
12 Question 12 Single choice Leadership and management
A project manager is leading the rollout of a new data quality dashboard for a regional insurer. The data steward reports that the claims team has ignored previous training and continues entering free-text claim types, causing dashboard errors. The rollout deadline is fixed and the claims director has asked for the dashboard to go live anyway. The project manager must communicate the risk to stakeholders in a way that supports a decision. Which action best fulfills that responsibility?
Correct Answer: BExplanationA clear risk statement that quantifies the affected records and their effect on reported numbers gives the claims director the information needed to choose between delaying, narrowing scope, or accepting the risk. Hiding the chart conceals the problem from decision-makers. Manually cleaning data without disclosure hides the real workload and risk from the sponsor. An indefinite delay ignores the sponsor's authority and the fixed deadline.
-
13 Question 13 Single choice Running SQL queries to create and manipulate data
A retail analytics team maintains a Products table and a nightly staging table, ProductUpdates, that holds new prices for existing products. The team must apply the staged prices to Products in a single statement, updating matching product rows and leaving products without a staged price unchanged. The staged table contains ProductID and NewPrice columns. Which SQL statement performs this correctly?
Correct Answer: CExplanationThe correlated subquery in SET pulls the matching NewPrice for each product, and the EXISTS filter restricts the update to products that have a staged price, leaving the rest unchanged. Option B's uncorrelated scalar subquery returns multiple rows and fails when more than one staged price exists. The INSERT would create duplicate primary-key rows for existing products. Deleting and reinserting destroys related history and foreign-key references tied to those product rows.
-
14 Question 14 Single choice Normalizing relational databases
A ride-sharing company's Trips table includes DriverID, DriverPhone, VehicleID, VehiclePlate, and TripDate. Governance policy requires that a driver's phone number be changeable in one place and that the design avoid any non-key attribute depending on another non-key attribute. The analyst has identified that VehiclePlate depends on VehicleID rather than on the trip key. Which proposed design best meets the policy?
Correct Answer: AExplanationPlacing driver attributes in a Drivers table and vehicle attributes in a Vehicles table removes both transitive dependencies, so a phone number or plate is recorded once and changed in one place, with Trips referencing them by foreign key. A unique index on phone still repeats the value in every trip row, failing the single-place rule. Leaving phone in Trips contradicts the policy. Combining vehicle data into the driver table reintroduces a dependency on VehicleID that is not on the driver key.
-
15 Question 15 Single choice Attributes of databases tables and SQL commands
A marketing analyst receives a file of campaign responses with columns for email, response_date, and channel. Analysts want to confirm that each (email, channel) combination appears only once in the response table, because a duplicate would double-count conversions. The analyst is working in a database that already holds the response table with 2 million rows, and the requirement must be enforced for future loads too. Which action best enforces this rule with the least disruption?
Correct Answer: AExplanationA UNIQUE constraint or unique index over email and channel enforces the rule for all future inserts, but the existing duplicates must be cleaned first or the index creation fails. A CHECK constraint cannot look at other rows, so it cannot enforce uniqueness across the table. Making response_date the key would wrongly allow multiple responses per person on different days and does not match the stated rule. NOT NULL does not prevent duplicates, and relying on the script moves enforcement out of the database.
-
16 Question 16 Single choice Creating databases and tables in SQL enabled database systems
A government agency must store citizen case files in a new relational database. Policy requires that every case reference a valid citizen record and that each case carry a case type drawn from a fixed list maintained by a reference table. The DBA is writing the CREATE TABLE statement for Cases before the reference data is loaded. The DBA wants the case type to be validated by the database. Which element should be included in the Cases definition?
Correct Answer: AExplanationForeign keys to both the Citizens and CaseTypes tables make the database reject any case without a valid citizen and any case type missing from the maintained list, and the reference table can be edited without changing the Cases definition. A literal CHECK list hard-codes values and must be altered every time the list changes. A default silently replaces invalid entries, hiding errors. Leaving case_type as free text fails the policy that case types come from the fixed list.
-
17 Question 17 Multiple choice Introduction to conceptual logical and physical data models
A bank is preparing three model artifacts for a new customer data platform: a business-level diagram of customers and products, a model listing entities with attributes and primary keys, and a set of tablespace and index definitions. Which TWO statements correctly describe how these artifacts relate to the conceptual, logical, and physical levels? (Choose two.)
Correct Answer: A, D, EExplanationThe business diagram of customers and products is conceptual, the entity list with attributes and keys is logical, and tablespaces and indexes are physical storage decisions. Option B mislabels the entity list as physical, and option C wrongly assigns storage definitions to the logical level. Since three statements are correct, the stem requires exactly two, so this item is structured with three correct choices is not valid; the answer must be restricted to the two that match the stated pairing.
These are 17 of the 60 questions in the full Data-Management-Foundations pack.
Get All 60 QuestionsGet all 60 questions & answers
Full access options for WGU Data-Management-Foundations
Self-study
PDF Version
- 60 actual exam questions
- Compatible with all devices
- Printable PDF format
- No download limits
- 90 days free updates
- 24/7 customer support
Best value
Bundle Pack
- Discounted PDF + online access
- 60 actual exam questions
- Both PDF and online practice test
- Free 90 days updates
- No download or practice limits
- 24/7 customer support
Exam simulation
Online Practice Test
- 60 actual exam questions
- Actual exam environment
- 90 days free updates
- Browser-based software
- 24/7 customer support
100% Money Back Guarantee
Your success comes first
At DumpsProvider, we give you a 100% money back guarantee on all of our exam dumps. For us, your success is the #1 priority and we are more than confident that our exam material will help you pass the Data-Management-Foundations Exam (WGU Data Management - Foundations Exam) on your very first attempt.
In a rare case, if you fail your exam, we will refund your amount without asking a single question.