Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Exam (elaborations)

D427 WGU DATABASE MANAGEMENT APPLICATIONS COMPREHENSIVE QUESTIONS WITH VERIFIED ANSWERS NEWEST UPDATE

Rating
5.0
(1)
Sold
3
Pages
28
Grade
A+
Uploaded on
20-06-2026
Written in
2025/2026

D427 WGU DATABASE MANAGEMENT APPLICATIONS COMPREHENSIVE QUESTIONS WITH VERIFIED ANSWERS NEWEST UPDATE

Institution
D427 WGU DATABASE MANAGEMENT APPLICATIONS
Course
D427 WGU DATABASE MANAGEMENT APPLICATIONS

Content preview

D427 WGU DATABASE MANAGEMENT APPLICATIONS COMPREHENSIVE QUESTIONS
WITH VERIFIED ANSWERS NEWEST UPDATE



Question 1
In the address fragment "San Francisco, CA 94110", how many attributes are represented?
A) 1
B) 2
C) 3
D) 4
E) 5
Correct Answer: C) 3
Rationale: The fragment contains three distinct attributes: the City (San Francisco), the
State (CA), and the Zip Code (94110). In database design, these should be stored in
separate columns to ensure atomicity and allow for better sorting and filtering.

Question 2
The Package table has the following columns: Weight (decimal), Description (variable length
string), LastChangedDate (date), and TrackingNumber (integer). Which column should be
designated as the primary key?
A) Weight
B) Description
C) LastChangedDate
D) TrackingNumber
E) A composite of Weight and Description
Correct Answer: D) TrackingNumber
Rationale: A primary key must be unique and non-null. Tracking numbers are unique
identifiers assigned to specific packages, whereas weights, descriptions, and dates are likely
to have duplicate values across different records.

Question 3
Which SQL data type is most appropriate for storing a value like "2022-01-10 14:22:12" as a
temporal value without loss of information?
A) DATE
B) TIME
C) DATETIME
D) TIMESTAMP
E) YEAR
Correct Answer: C) DATETIME
Rationale: The DATE type only stores the year, month, and day. The TIME type only stores
hours, minutes, and seconds. DATETIME (and TIMESTAMP) stores both the date and the
time components, ensuring no information is lost from the provided string.

, 2



Question 4
Which of the following SQL commands is classified as Data Definition Language (DDL)?
A) SELECT
B) INSERT
C) UPDATE
D) ALTER
E) DELETE
Correct Answer: D) ALTER
Rationale: DDL commands (CREATE, ALTER, DROP) are used to define or modify the
structure of database objects like tables and indexes. DML commands (SELECT, INSERT,
UPDATE, DELETE) are used to manage the data within those structures.
Question 5
How does a database engine handle an UPDATE or DELETE statement that violates a
RESTRICT referential integrity constraint?
A) The engine sets the offending value to NULL.
B) The engine allows the change and updates the foreign key automatically.
C) The engine rejects the statement and an error is returned.
D) The engine deletes the parent row and all associated child rows.
E) The engine sets the value to a pre-defined database default.
Correct Answer: C) The engine rejects the statement and an error is returned.
Rationale: The RESTRICT constraint prevents the modification or deletion of a parent key
if a corresponding foreign key exists in a child table. Unlike CASCADE, which propagates
the change, RESTRICT stops the action to maintain integrity.

Question 6
Which of the following is a specific requirement or restriction when using a materialized view?
A) It cannot be used in a SELECT statement.
B) It does not store data on the disk.
C) The underlying data must be periodically refreshed.
D) It can only reference one table.
E) It must be deleted before the base table can be updated.
Correct Answer: C) The underlying data must be periodically refreshed.
Rationale: A materialized view stores the result of a query physically. Because it is a
"snapshot," it can become stale if the base tables change. Therefore, it must be refreshed
(manually or on a schedule) to stay current.

Question 7
In a JOIN operation between Table A and Table B, which rows are included in the result set for
an INNER JOIN?
A) All rows from Table A regardless of matches.

, 3



B) All rows from Table B regardless of matches.
C) Only rows where the join condition is met in both tables.
D) All rows from both tables, even without matches.
E) Only rows that do not have a match in the other table.
Correct Answer: C) Only rows where the join condition is met in both tables.
Rationale: An INNER JOIN returns only the intersection of the two tables. If a row in Table
A does not have a matching value in the specified column of Table B, that row is excluded
from the final result set.

Question 8
In the fragment "Portland, OR 97212", how many attributes are present?
A) 1
B) 2
C) 3
D) 4
E) 0
Correct Answer: C) 3
Rationale: This fragment represents a city (Portland), a state abbreviation (OR), and a
postal code (97212). In a normalized database, these are three separate attributes.

Question 9
Which data type should be used for a column that will store numbers with fractional components,
such as "19.99"?
A) INTEGER
B) VARCHAR
C) DECIMAL
D) BIGINT
E) BINARY
Correct Answer: C) DECIMAL
Rationale: The DECIMAL (or NUMERIC) type is used for exact fixed-point numbers where
precision is required (like currency). INTEGER and BIGINT only store whole numbers.

Question 10
A database contains a Patient table (parent) and an Exam table (child). The Exam table is defined
with "FOREIGN KEY (patient_id) REFERENCES Patient(patient_id) ON DELETE
CASCADE". What happens if a patient is deleted?
A) The deletion is blocked by the database.
B) The patient_id in the Exam table is set to NULL.
) All exams associated with that patient_id are automatically deleted.
D) The exams remain but are orphaned.
E) The engine asks the user to manually delete the exams first.

Written for

Institution
D427 WGU DATABASE MANAGEMENT APPLICATIONS
Course
D427 WGU DATABASE MANAGEMENT APPLICATIONS

Document information

Uploaded on
June 20, 2026
Number of pages
28
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers

Subjects

$21.49
Get access to the full document:

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


Also available in package deal

Thumbnail
Package deal
Ultimate 300-Exam Mega Prep Bundle | All-in-One Test Bank with Verified Answers
5.0
(1)
2 318 2026
$ 8.49 More info

Reviews from verified buyers

Showing all reviews
1 week ago

5.0

1 reviews

5
1
4
0
3
0
2
0
1
0
Trustworthy reviews on Stuvia

All reviews are made by real Stuvia users after verified purchases.

Get to know the seller

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.
Braintrust West Virginia University Institute Of Technology
View profile
Follow You need to be logged in order to follow users or courses
Sold
1211
Member since
10 months
Number of followers
2
Documents
354
Last sold
1 hour ago
Braintrust: Your Academic Blueprint

Stop wasting hours on disorganized textbooks. Braintrust offers the "ultimate shortcut" to academic success. I specialize in distilling vast amounts of information into streamlined, exam-ready blueprints that help you learn more in half the time. Why Students Choose Braintrust: ✔ Exam-First Focus: I prioritize the topics most likely to appear on your finals. ✔ Clutter-Free Content: No "fluff" just the essential facts and logic you need. ✔ Ready-to-Use Case Studies: Perfect for assignments and research-heavy projects. ✔ Instant Mastery: Clear definitions and logical flow for immediate understanding. Don’t just study hard,study smart. Grab your blueprint today and ace your next challenge!

Read more Read less
5.0

261 reviews

5
260
4
1
3
0
2
0
1
0

Recently viewed by you

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