Docsity

WGU C792 Data Modeling and Database Management Systems — 100 Question Advanced Practice E, Exams of Database Management Systems (DBMS)

Toggle sidebar
bg1
___________________________________________________________________
WGU C792 Data Modeling and
Database Management Systems — 100-
Question Advanced Practice Exam 2026
| Questions, Answers & Detailed
Rationales | Complete WGU C792
Database Management Course Exam
Prep, Study Guide & Practice Test |
Data Modeling, Database Design, SQL,
Relational Databases, Data
Normalization, Entity-Relationship
Diagrams & Database Management
___________________________________________________________________
Question 1: Which data modeling stage focuses purely on business requirements
and remains entirely independent of both the target database type (relational vs.
NoSQL) and physical storage details?
A. Logical Data Model
B. Physical Data Model
C. Conceptual Data Model
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21

Partial preview of the text

Download WGU C792 Data Modeling and Database Management Systems — 100 Question Advanced Practice E and more Exams Database Management Systems (DBMS) in PDF only on Docsity!

___________________________________________________________________

WGU C792 Data Modeling and

Database Management Systems — 100-

Question Advanced Practice Exam 2026

| Questions, Answers & Detailed

Rationales | Complete WGU C

Database Management Course Exam

Prep, Study Guide & Practice Test |

Data Modeling, Database Design, SQL,

Relational Databases, Data

Normalization, Entity-Relationship

Diagrams & Database Management

___________________________________________________________________

Question 1: Which data modeling stage focuses purely on business requirements and remains entirely independent of both the target database type (relational vs. NoSQL) and physical storage details? A. Logical Data Model B. Physical Data Model C. Conceptual Data Model

D. Implementation Data Model Rationale: The conceptual data model serves as a high-level blueprint capturing business entities and relationships. It is abstract, meaning it does not depend on database technology, hardware, or software constraints.

Question 2: In a relational database, what does a composite key consist of? A. A single attribute that references a primary key in another table. B. Two or more attributes that uniquely identify a row within a table. C. A primary key that has been encrypted for security purposes. D. An attribute that allows null values while maintaining data uniqueness. Rationale: A composite key uses a combination of multiple columns or fields to ensure uniqueness when no single field can uniquely identify a record on its own.

Question 3: Which anomaly occurs when removing a specific record inadvertently deletes completely unrelated, critical data from the database? A. Insert Anomaly B. Update Anomaly C. Deletion Anomaly D. Selection Anomaly Rationale: A deletion anomaly happens when poorly structured or unnormalized tables cause the removal of one piece of information to unintendedly wipe out a separate, valid piece of business data.

Question 4: A table is considered to be in Second Normal Form (2NF) if it satisfies First Normal Form (1NF) and meets which additional requirement? A. It contains absolutely no transitive dependencies. B. Every non-prime attribute is fully functionally dependent on the entire primary key. C. All multi-valued attributes are separated into distinct lookup tables. D. Every determinant field within the table structure qualifies as a candidate key. Rationale: Second Normal Form (2NF) targets partial dependencies. It ensures that no non-key attribute relies on only a piece of a composite primary key.

C. One or many D. Zero or one Rationale: The circle represents an optional relationship (minimum cardinality of zero), and the three-pronged crow's foot indicates a maximum cardinality of many.

Question 9: Which index type alters the physical storage order of rows on disk to exactly match the index key order? A. Non-clustered index B. B-Tree index C. Clustered index D. Hash index Rationale: A clustered index physically sorts and stores the data rows in the table based on their key values. Because of this structural constraint, a table can possess only one clustered index.

Question 10: Which specific ACID property guarantees that a transaction is treated as a single, indivisible unit of work that must either succeed completely or fail completely? A. Atomicity B. Consistency

  1. Isolation D. Durability Rationale: Atomicity enforces an "all-or-nothing" rule for transactions, ensuring that if any single operation within the transaction fails, the entire transaction is completely rolled back.

Question 11: What type of relationship exists between an invoicing table and an items table where one invoice can list many items, and a single inventory item can appear across multiple invoices? A. One-to-One B. One-to-Many C. Many-to-Many D. Recursive

Rationale: When multiple entities on either side relate to multiple entities on the other, a many-to-many relationship exists. In a physical relational model, this must be resolved using an associative bridge table.

Question 12: Which component of a Database Management System (DBMS) translates declarative SQL statements into an executable sequence of low-level physical operations? A. Transaction Manager B. Data Dictionary C. Query Optimizer D. Storage Engine Rationale: The query optimizer analyzes the incoming SQL query, evaluates multiple access paths, and selects the most efficient execution plan based on database statistics.

Question 13: If a table contains an attribute that can have multiple distinct values for a single record instance, which normal form does it directly violate? A. First Normal Form (1NF) B. Second Normal Form (2NF) C. Third Normal Form (3NF) D. Boyce-Codd Normal Form (BCNF) Rationale: First Normal Form requires that all table attributes contain only atomic (indivisible) values, prohibiting multi-valued fields or repeating groups.

Question 14: What is the primary purpose of a foreign key in a relational database management system? A. To accelerate search performance for complex analytical queries. B. To enforce referential integrity between related tables. C. To uniquely identify each unique row within its own table. D. To automatically encrypt data passed across network connections. Rationale: Foreign keys ensure referential integrity by verifying that a value in a child table's foreign key column always corresponds to an existing, valid primary key value in the parent table.

A. It lacks any foreign key references to other tables. B. It cannot exist without a related parent entity and lacks a primary key of its own. C. It contains only non-numeric, text-based attributes. D. It is used exclusively to represent many-to-many relationship intersections. Rationale: Weak entities are identification-dependent on a strong owner entity. They use a partial key combined with the owner's primary key to achieve full unique identification.

Question 19: Which SQL clause must be used alongside aggregate functions like SUM or AVG when you want to group a result set by one or more non-aggregated columns? A. ORDER BY B. GROUP BY C. HAVING D. WHERE Rationale: The GROUP BY clause tells the database engine how to categorize rows before computing the aggregate functions across those specified categories.

Question 20: How does Boyce-Codd Normal Form (BCNF) differ strictly from standard Third Normal Form (3NF)? A. BCNF permits partial dependencies on composite keys. B. BCNF requires that every determinant in a table must be a candidate key. C. BCNF allows transitive dependencies between non-key fields. D. BCNF applies exclusively to tables that lack primary keys. Rationale: BCNF is a stronger variation of 3NF. It eliminates anomalies that can still occur in 3NF when a table has overlapping, multi-column candidate keys. It requires every functional dependency's determinant to be a candidate key.

Question 21: Which DDL (Data Definition Language) command completely removes both the data and the structural definition of a table from the system catalog? A. DELETE

B. TRUNCATE

C. DROP

D. ALTER

Rationale: DROP completely deletes the entire table structure along with its data from the database schema, whereas DELETE and TRUNCATE only remove the row data while leaving the table structure intact.

Question 22: What type of relationship exists when an entity is related to itself within an Entity-Relationship Diagram? A. Ternary relationship B. Recursive relationship C. Binary relationship D. Associative relationship Rationale: A recursive (or unary) relationship occurs when an entity type has a relationship line connecting back to itself, such as an Employee entity managing another Employee entity.

Question 23: Which phrase best describes the concept of a candidate key? A. Any attribute that contains numerical data. B. A minimal set of attributes that can uniquely identify any row in a table. C. A foreign key that has been chosen to act as the primary key. D. A key that is automatically generated by the database management system. Rationale: Candidate keys are unique identifiers from which the database designer selects the primary key. They must contain no redundant attributes; removing any column would break their uniqueness.

Question 24: What does the 'D' in the ACID transaction model stand for, and what is its specific functional objective? A. Durability; ensuring committed transaction data survives subsequent system crashes or power failures. B. Dependency; ensuring foreign keys update automatically when primary keys shift. C. Decomposition; breaking complex tables down into smaller normalized forms. D. Distribution; splitting database files across multiple cluster nodes.

can only read data that has already been permanently committed by other running transactions.

Question 28: What is the primary purpose of an associative entity in an Entity- Relationship Diagram? A. To store historical log records for audit tracking. B. To convert a many-to-many relationship into two one-to-many relationships with attributes of its own. C. To isolate weak entities from strong entities. D. To establish a secure connection with external cloud data stores. Rationale: Relational structures cannot map a many-to-many relationship directly without an intermediary table. An associative entity acts as this bridge and can hold attributes unique to the relationship itself (e.g., date_joined).

Question 29: What happens when an operational SQL query specifies a WHERE clause instead of a HAVING clause? A. The WHERE clause filters individual rows before any grouping occurs, while HAVING filters grouped results after aggregation. B. The WHERE clause can only be used with numeric values. C. The WHERE clause filters data after the GROUP BY execution completes. D. The HAVING clause executes faster because it bypasses table indexes. Rationale: The WHERE clause filters row-level records prior to grouping. The HAVING clause is specifically designed to filter summary or aggregated data groups created by a GROUP BY clause.

Question 30: Which phrase defines a data warehouse compared to an operational database system (OLTP)? A. It is optimized for highly concurrent, quick read-and-write transaction workloads. B. It is optimized for complex, historical analytical queries and data analysis (OLAP). C. It avoids using normalization or schema models entirely. D. It is used exclusively to capture live streaming data from IoT devices. Rationale: Data warehouses focus on reporting, business intelligence, and

analytical processing (OLAP), organizing historical data using specialized schemas (like Star or Snowflake) to accelerate complex reporting.

Question 31: Which type of constraint ensures that an attribute's value must strictly fall within a predefined range or match specific business rules? A. DEFAULT B. CHECK C. NOT NULL D. FOREIGN KEY Rationale: A CHECK constraint validates that values entered into a column satisfy a boolean predicate expression (e.g., salary > 0) before allowing the insert or update operation to proceed.

Question 32: In database architecture, what does logical data independence provide? A. The ability to swap out physical storage hardware without modifying internal database tables. B. The ability to modify the conceptual schema without forcing changes to the external views or application programs. C. The ability to run SQL queries across different database vendor engines without syntax shifts. D. The ability to store text strings and binary files within the same data block. Rationale: Logical data independence ensures that structural changes made to the logical/conceptual tier (like adding a new column) do not break the top-level user views or existing applications that interact with the database.

Question 33: Which join type returns all records from both participating tables, matching rows where possible, and inserting NULL values for missing matches on either side? A. INNER JOIN B. LEFT JOIN C. CROSS JOIN D. FULL OUTER JOIN Rationale: A FULL OUTER JOIN combines the logic of both LEFT and RIGHT joins,

A. Data Sharding B. Locking mechanisms C. Query Indexing D. Database Replication Rationale: Concurrency control via locking (shared or exclusive locks) ensures that two transactions cannot modify the exact same piece of data at the same time, preventing one from overwriting the changes of the other.

Question 38: In a dimensional data model designed for analytical processing, what do dimension tables typically contain? A. High-volume numerical metrics and performance indicators. B. Descriptive, contextual textual attributes used to filter and slice business measurements. C. Raw transaction logs stored in a unstructured binary format. D. System metadata tracking query execution times. Rationale: Dimension tables provide the context (who, what, where, when) surrounding business events. They contain textual descriptions used to filter, group, and label data pulled from numeric fact tables.

Question 39: What core rule governs referential integrity in a relational schema? A. Primary keys can accept NULL values if they are part of a composite setup. B. A foreign key value must either precisely match an existing primary key value in the parent table or be completely NULL. C. Every table must have a foreign key pointing to an external lookup system. D. Indexes must be created on all non-prime attributes automatically. Rationale: Referential integrity guarantees that relationships between tables remain consistent. It prevents orphan records by forcing foreign keys to point to valid parent records or remain blank if optional.

Question 40: Which SQL command is used to modify an existing table structure, such as adding a new column or changing a column's data type? A. UPDATE B. ALTER TABLE C. MODIFY SCHEMA

D. CREATE OR REPLACE

Rationale: ALTER TABLE is a DDL command used to change the structural definition of an existing database table. UPDATE is a DML command used to modify row data within the table.

Question 41: What design approach defines a Snowflake Schema in a data warehouse? A. All dimensions are flattened into a single, large table surrounding a central fact table. B. Dimension tables are normalized into further sub-dimension tables, creating a hierarchical structure. C. Data is split into semi-structured collections of JSON documents. D. The entire database is stored in-memory without using any disk indexes. Rationale: A Snowflake schema normalizes its dimensions into multiple related tables, reducing redundancy and forming a structure resembling a snowflake, whereas a Star schema leaves dimensions fully denormalized.

Question 42: What error condition occurs when two distinct transactions are blocked because each is waiting for an exclusive lock held by the other? A. Phantom Read B. Dirty Read C. Deadlock D. Cascade Failure Rationale: A deadlock occurs when Transaction A holds a lock on Resource 1 and requests Resource 2, while Transaction B holds a lock on Resource 2 and requests Resource 1. Neither can proceed until the DBMS intervenes to abort one of them.

Question 43: In database terms, what is a view? A. A copy of table data saved permanently to an alternate disk drive. B. A virtual table based on the dynamic result set of an underlying SQL SELECT query. C. An optimization index designed to speed up text pattern matching. D. A configuration file that dictates user connection privileges.

part of a composite primary key rather than the entire key, violating the requirements for Second Normal Form (2NF).

Question 47: Which of the following SQL expressions correctly identifies records where the city column contains a value starting with the letter 'J'? A. WHERE city = 'J%' B. WHERE city LIKE '%J' C. WHERE city LIKE 'J%' D. WHERE city IN ('J') Rationale: The LIKE operator combined with the '%' wildcard matches any sequence of zero or more characters. Placing the wildcard after 'J' ensures the string must start with 'J'.

Question 48: What does the Consistency property of the ACID model ensure? A. Transactions execute concurrently without interfering with one another. B. A transaction transforms the database from one valid state to another valid state, maintaining all schema constraints. C. Data is copied across multiple backup servers simultaneously. D. Queries always return identical results regardless of when they execute. Rationale: Consistency ensures that any transaction will bring the database from one valid state to another, strictly enforcing all defined rules, checks, triggers, and referential integrity constraints.

Question 49: Which term describes the measure of uniqueness for data values contained within a specific database index column? A. Cardinality B. Density C. Nullability D. Volatility Rationale: Cardinality refers to the uniqueness of data values in a column. High cardinality means a column contains many distinct values (e.g., User ID), making it highly effective for index filtering.

Question 50: When constructing a logical model from an ERD, how is a many-to- many relationship physically transformed into a viable relational schema?

A. By adding a foreign key directly into both existing tables pointing to each other. B. By creating an intermediate associative table containing the primary keys of both parent tables as foreign keys. C. By merging both tables into a single table with an array data column. D. By converting one of the strong entities into a weak entity. Rationale: Relational databases cannot natively link rows across a many-to- many relationship. An intermediate (junction/associative) table is required to split the relationship into two separate, manageable one-to-many relationships.

I have prepared the first 50 advanced practice questions following your exact layout requirements (unbolded questions, bold answers , and bold italic rationales ).

Question 51: Which of the following isolation levels completely eliminates phantom reads by locking the range of records scanned during a query? A. Read Committed B. Read Uncommitted C. Repeatable Read D. Serializable Rationale: The Serializable isolation level prevents phantom reads by ensuring that no other transaction can insert or modify rows within the range read by the current transaction until it completes.

Question 52: When mapping an ISA (specialization/generalization) supertype/subtype hierarchy to a physical relational schema, what is a primary trade-off of the "Single Table with Discriminator" approach? A. It requires complex multi-table joins to retrieve a single entity instance. B. It results in a highly denormalized structure with many NULL values for subtype-specific attributes. C. It breaks referential integrity constraints across the entire inheritance hierarchy. D. It prevents the use of indexes on the primary key of the supertype entity. Rationale: Combining all supertype and subtype attributes into a single table

primary key? A. Transitive Dependency B. Multi-valued Dependency C. Partial Dependency D. Join Dependency Rationale: A partial dependency exists when a non-prime attribute relies on only part of a composite primary key. This violates Second Normal Form (2NF).

Question 57: What type of operational lock allows multiple transactions to read a specific database resource concurrently but prevents any transaction from modifying its data? A. Exclusive Lock (X) B. Intent Exclusive Lock (IX) C. Shared Lock (S) D. Deadlock Rationale: Shared locks support concurrent read operations. Multiple transactions can hold a shared lock on the same data block simultaneously, but write locks are blocked until all shared locks release.

Question 58: Which of the following SQL aggregation clauses restricts the rows evaluated by an aggregate function before the actual groupings are computed? A. HAVING B. WHERE C. ORDER BY D. GROUP BY Rationale: The WHERE clause filters raw rows out of the pipeline before the GROUP BY clause organizes them and before any aggregate computations occur.

Question 59: When designing a Star Schema for an analytical data warehouse, what is the primary characteristic of the central Fact Table? A. It contains highly normalized descriptive text attributes. B. It contains foreign keys pointing to dimension tables and quantitative numerical metrics.

C. It contains system metadata logs tracking user access patterns. D. It is completely disconnected from all other tables in the database schema. Rationale: Fact tables hold the quantitative observations, events, or measurements of a business process alongside the foreign keys that link them to contextual dimension tables.

Question 60: Which statement accurately describes the characteristics of a non- clustered index? A. It reorders the actual data rows of the table physically on the disk. B. It creates a separate structural object containing a sorted list of keys along with pointers to the physical data rows. C. A database table is strictly limited to having only one non-clustered index. D. It can only be created on columns that contain entirely unique integer values. Rationale: A non-clustered index is structurally separate from the underlying table data. It functions like an index at the back of a book, pointing to the actual location of the target rows.

Question 61: Which database concept specifies that a transaction must execute completely or not at all, ensuring that half-completed changes are never permanently written? A. Consistency B. Isolation C. Durability D. Atomicity Rationale: Atomicity treats an entire database transaction as a single atomic unit. If any individual statement fails, the entire sequence is completely undone via a rollback operation.

Question 62: In an Entity-Relationship Model, what does the term structural cardinality specifically describe? A. The total number of columns defined within a physical table schema. B. The data uniqueness density found across an index column. C. The minimum and maximum number of entity instances that can participate in a relationship.