COMPREHENSIVE PRE-ASSESSMENT & OA PRACTICE EXAM
400 QUESTIONS WITH CORRECT ANSWERS & DETAILED
RATIONALES
COURSE DESCRIPTION:
WGU D427 - Database Management Applications provides a comprehensive foundation in
database design, implementation, and management using Structured Query Language (SQL).
The course covers relational database concepts, data modeling, entity-relationship diagrams,
normalization through third normal form, SQL query writing (DDL, DML, DCL), database
administration principles, and data integrity. Students develop practical skills in creating
database objects, manipulating data, and retrieving information from relational databases
using MySQL and industry-standard SQL practices.
SECTION 1: DATABASE FUNDAMENTALS & RELATIONAL CONCEPTS (Questions 1 - 50)
QUESTION 1:
What is the primary purpose of a Database Management System (DBMS)?
A) To store data in spreadsheets
B) To manage database security and access
C) To create web pages
D) To compile programming code
CORRECT ANSWER: B
RATIONALE: A DBMS is software that manages database security, access, storage,
and retrieval of data. It provides an interface between users/applications and
the database itself. While a DBMS does store data, its primary function is
managing that data securely and efficiently. Spreadsheets are not DBMSs.
Creating web pages and compiling code are unrelated to DBMS functionality.
QUESTION 2:
MySQL Workbench is designed for which users?
1
,A) Database administrators only
B) Application developers only
C) Both database administrators and users
D) System administrators only
CORRECT ANSWER: C
RATIONALE: MySQL Workbench is a unified visual tool designed for both database
administrators and database users. It provides tools for database design,
development, and administration. DBAs use it for server configuration and
monitoring, while developers use it for query writing and schema
design[reference:0].
QUESTION 3:
Which of the following is an example of a relational database?
A) Microsoft Excel
B) MySQL
C) Microsoft Word
D) Adobe Photoshop
CORRECT ANSWER: B
RATIONALE: MySQL is a relational database management system (RDBMS) that
organizes data into tables with rows and columns. Microsoft Excel is a
spreadsheet application, not a relational database (though it can store data).
Microsoft Word is a word processor, and Adobe Photoshop is an image editing
application. Relational databases use structured query language (SQL) for data
manipulation.
QUESTION 4:
What is a tuple in relational database terminology?
2
,A) A column in a table
B) A row in a table
C) A database schema
D) A foreign key constraint
CORRECT ANSWER: B
RATIONALE: In relational database terminology, a tuple is a single row or
record in a table. Each tuple represents a single instance of the entity
being modeled. A column is an attribute, a schema is the database structure,
and a foreign key is a constraint that links tables.
QUESTION 5:
What is an attribute in relational database terminology?
A) A row in a table
B) A column in a table
C) A table in a database
D) A database constraint
CORRECT ANSWER: B
RATIONALE: An attribute is a column in a relational database table. It
represents a specific property or characteristic of the entity being modeled.
For example, in a "Customers" table, "CustomerName" and "CustomerID" are
attributes. A row is a tuple, a table is a relation, and a constraint is a
rule applied to data.
QUESTION 6:
What is the relationship between a primary key and a foreign key?
A) A primary key uniquely identifies a row in its table; a foreign key
3
, references a primary key in another table
B) A foreign key uniquely identifies a row in its table; a primary key
references a foreign key in another table
C) Both are identical in function
D) Neither is used in relational databases
CORRECT ANSWER: A
RATIONALE: A primary key uniquely identifies each row in a table and cannot
contain NULL values. A foreign key is a column or set of columns in one table
that references the primary key of another table, establishing a relationship
between the tables. Foreign keys can contain NULL values and duplicate values.
QUESTION 7:
What is an associative entity?
A) An entity that exists independently
B) An entity used to represent a many-to-many relationship with attributes
C) An entity that has no primary key
D) An entity that contains only foreign keys
CORRECT ANSWER: B
RATIONALE: An associative entity (also called a junction or bridge entity) is
used to represent a many-to-many relationship between two entities. It
contains foreign keys from both related entities and may also contain
additional attributes that describe the relationship. For example, in a
Student-Course many-to-many relationship, an "Enrollment" associative entity
would contain StudentID and CourseID foreign keys and possibly a Grade
attribute[reference:1].
QUESTION 8:
What is a composite primary key?
4