• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 4 out of 120 pages
Exam (elaborations)

Wgu D427 Data Management Applications Quick Review Exam 2026 Practice Questions And Verified Answers With Rationales| Instant Download

Document preview thumbnail
Preview 4 out of 120 pages

A quick review for WGU D427 Data Management Applications with practice questions and verified answers covering schema design, 3NF normalization, SQL joins, views, indexing, ACID properties, and transaction isolation levels. Each question includes a rationale explaining why the correct answer works, so you can check your understanding and get ready for the exam.

Content preview

, Question 1
A database designer is creating a schema for a university. The registrar's office
needs to track students, courses, and the sections of each course. Each course
can have many sections, but each section belongs to exactly one course. Each
student can enroll in many sections, and each section can have many students.
Which schema correctly implements this requirement while satisfying third
normal form (3NF)?
A. CREATE TABLE Enrollment (student_id INT, section_id INT, grade
CHAR(1), PRIMARY KEY (student_id, section_id)); CREATE TABLE
Section (section_id INT PRIMARY KEY, course_id INT, semester
VARCHAR(10)); CREATE TABLE Course (course_id INT PRIMARY
KEY, title VARCHAR(100)); CREATE TABLE Student (student_id INT
PRIMARY KEY, name VARCHAR(100));
B. CREATE TABLE Enrollment (student_id INT, section_id INT,
course_id INT, grade CHAR(1), PRIMARY KEY (student_id,
section_id)); CREATE TABLE Section (section_id INT PRIMARY KEY,
semester VARCHAR(10)); CREATE TABLE Course (course_id INT
PRIMARY KEY, title VARCHAR(100)); CREATE TABLE Student
(student_id INT PRIMARY KEY, name VARCHAR(100));
C. CREATE TABLE Enrollment (student_id INT, section_id INT, grade
CHAR(1), PRIMARY KEY (student_id, section_id)); CREATE TABLE
Section (section_id INT PRIMARY KEY, course_id INT, semester
VARCHAR(10), course_title VARCHAR(100)); CREATE TABLE
Course (course_id INT PRIMARY KEY, title VARCHAR(100));
CREATE TABLE Student (student_id INT PRIMARY KEY, name
VARCHAR(100));
D. CREATE TABLE Enrollment (student_id INT, section_id INT, grade
CHAR(1), PRIMARY KEY (student_id, section_id)); CREATE TABLE
Section (section_id INT PRIMARY KEY, course_id INT, semester
VARCHAR(10)); CREATE TABLE Course (course_id INT PRIMARY
KEY, title VARCHAR(100)); CREATE TABLE Student (student_id INT


Page 2

, PRIMARY KEY, name VARCHAR(100), section_id INT);


Correct Answer: A - CREATE TABLE Enrollment (student_id
INT, section_id INT, grade CHAR(1), PRIMARY KEY
(student_id, section_id)); CREATE TABLE Section (section_id
INT PRIMARY KEY, course_id INT, semester VARCHAR(10));
CREATE TABLE Course (course_id INT PRIMARY KEY, title
VARCHAR(100)); CREATE TABLE Student (student_id INT
PRIMARY KEY, name VARCHAR(100));


RATIONALE
Option A correctly separates entities into normalized tables:
Enrollment is an associative entity with a composite primary key,
Section links to Course via a foreign key, and no transitive
dependencies exist. Option B redundantly stores course_id in
Enrollment, violating 3NF because course_id depends on section_id,
not directly on the Enrollment key. Option C duplicates course_title in
Section, creating a transitive dependency, and Option D incorrectly
places section_id in Student, which would limit a student to one
section.

Question 2
Given the following table structures: Orders(order_id, customer_id, order_date,
total_amount) and Customers(customer_id, customer_name, city). Which SQL
query correctly returns each customer's name and the total amount of their
orders for the year 2025, including customers who placed no orders in 2025
(displaying 0 for their total)?
A. SELECT c.customer_name, COALESCE(SUM(o.total_amount), 0)
AS total FROM Customers c LEFT JOIN Orders o ON c.customer_id =
o.customer_id AND o.order_date >= '2025-01-01' AND o.order_date <
'2026-01-01' GROUP BY c.customer_name;
B. SELECT c.customer_name, SUM(o.total_amount) AS total FROM
Customers c LEFT JOIN Orders o ON c.customer_id = o.customer_id


Page 3

, WHERE o.order_date BETWEEN '2025-01-01' AND '2025-12-31'

GROUP BY c.customer_name;

C. SELECT c.customer_name, COALESCE(SUM(o.total_amount), 0)
AS total FROM Customers c INNER JOIN Orders o ON c.customer_id =
o.customer_id WHERE o.order_date BETWEEN '2025-01-01' AND
'2025-12-31' GROUP BY c.customer_name;
D. SELECT c.customer_name, COALESCE(SUM(o.total_amount), 0)
AS total FROM Customers c RIGHT JOIN Orders o ON c.customer_id =
o.customer_id AND o.order_date >= '2025-01-01' AND o.order_date <
'2026-01-01' GROUP BY c.customer_name;
Correct Answer: A - SELECT c.customer_name,
COALESCE(SUM(o.total_amount), 0) AS total FROM
Customers c LEFT JOIN Orders o ON c.customer_id =
o.customer_id AND o.order_date >= '2025-01-01' AND
o.order_date < '2026-01-01' GROUP BY c.customer_name;


RATIONALE
Option A uses a LEFT JOIN with the date condition in the ON clause,
ensuring all customers are included and those without 2025 orders get
NULL, which COALESCE converts to 0. Option B places the date
filter in WHERE, which filters out customers with no 2025 orders,
effectively turning the LEFT JOIN into an INNER JOIN. Option C
uses INNER JOIN, excluding customers with no orders. Option D
uses RIGHT JOIN, which returns all orders but only matching
customers, potentially missing customers with no orders.

Question 3
Consider a table with columns (A, B, C, D) where the functional dependencies
are: A -> B, B -> C, and C -> D. The table is currently in 1NF. To achieve 3NF,
which decomposition is correct?
A. R1(A, B), R2(B, C), R3(C, D)
B. R1(A, B, C), R2(C, D)



Page 4

Document information

Uploaded on
October 1, 2026
Number of pages
120
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$30.00

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
CaseHero
3.8
(4)
Sold
20
Followers
0
Items
6236
Last sold
6 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions