Docsity

Data Management Applications Practice Exam: Databases, SQL and Data Modeling (WGU C170 S, Exams of Nursing

Toggle sidebar
bg1
Data Management Applications Practice
Exam: Databases, SQL and Data Modeling
(WGU C170 Style, 300 Questions)
Database Fundamentals and the Relational Model, SQL Queries, SQL Data Definition
and Manipulation, Data Modeling and ER Diagrams, Normalization and Design,
Transactions and Concurrency, Indexing Performance and Security, NoSQL Big Data
and Data Warehousing, Applied Scenarios
300 Multiple-Choice Practice Questions
with Answer Key and Explanations
2026 Edition
Data Management Applications Practice Exam: Databases, SQL and Data Modeling (WGU C170 Style, 300 Questions) | Page 1
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
pf22
pf23
pf24
pf25
pf26
pf27
pf28

Partial preview of the text

Download Data Management Applications Practice Exam: Databases, SQL and Data Modeling (WGU C170 S and more Exams Nursing in PDF only on Docsity!

Data Management Applications Practice

Exam: Databases, SQL and Data Modeling

(WGU C170 Style, 300 Questions)

Database Fundamentals and the Relational Model, SQL Queries, SQL Data Definition

and Manipulation, Data Modeling and ER Diagrams, Normalization and Design,

Transactions and Concurrency, Indexing Performance and Security, NoSQL Big Data

and Data Warehousing, Applied Scenarios

300 Multiple-Choice Practice Questions

with Answer Key and Explanations

2026 Edition

Exam Overview This original 300-question practice exam covers database concepts commonly taught in a first data management course: the relational model, keys and integrity, SQL queries and joins, DDL and DML, entity-relationship modeling, normalization through BCNF, transactions and ACID, indexing, security, and an introduction to NoSQL and data warehousing. SQL examples follow standard syntax; dialect differences exist. Exam Data Management Applications Practice Exam: Databases, SQL and Data Modeling (WGU C170 Style, 300 Questions) Intended for Students in an introductory database course such as WGU C170 Data Management Applications and early- career IT staff (an original practice exam, not WGU course materials or assessment items; confirm against your course's textbook and SQL dialect) Number of questions 300 multiple-choice (four options, one best answer) Content areas 9 Suggested time 5 hours (about 60 seconds per question) Suggested passing target 80% or higher (240 of 300) Answer format The correct answer and explanation appear directly after each question

Content Blueprint

Content area Questions Share of exam Database Fundamentals and the Relational Model

SQL Queries 33 11% SQL Data Definition and Manipulation

Data Modeling and ER Diagrams 33 11% Normalization and Design 33 11% Transactions and Concurrency 33 11% Indexing Performance and Security 33 11% NoSQL Big Data and Data Warehousing

Applied Scenarios 36 12%

How to Use This Exam

 Cover the answer lines with a sheet of paper and attempt each question before checking.  Work one content area at a time, or take all questions in one timed sitting to simulate test day.  Mark every question you miss or guess on, then reread its explanation and the related reference material.  Repeat the missed questions after a few days; aim to explain why each wrong option is wrong.

Reference Materials Used

 Database Systems textbooks (Coronel and Morris  Elmasri and Navathe)

Table of Contents Exam Overview Section 1: Database Fundamentals and the Relational Model (Questions 1–33) Section 2: SQL Queries (Questions 34–66) Section 3: SQL Data Definition and Manipulation (Questions 67–99) Section 4: Data Modeling and ER Diagrams (Questions 100–132) Section 5: Normalization and Design (Questions 133–165) Section 6: Transactions and Concurrency (Questions 166–198) Section 7: Indexing Performance and Security (Questions 199–231) Section 8: NoSQL Big Data and Data Warehousing (Questions 232–264) Section 9: Applied Scenarios (Questions 265–300) Answer Key Summary

Section 1: Database Fundamentals and the Relational Model

1. What is a database? A. A spreadsheet only B. A programming language C. An organized collection of related data stored electronically D. An operating system Correct answer: C. An organized collection of related data stored electronically Explanation: Supports storage and retrieval. 2. What is a database management system? A. Software that creates, manages and controls access to databases B. A hardware device C. A network protocol D. A programming language Correct answer: A. Software that creates, manages and controls access to databases Explanation: Examples include MySQL and Oracle. 3. Which is an advantage of a DBMS over file-based storage? A. More duplicated data B. Reduced data redundancy and improved consistency C. No security D. Slower access always Correct answer: B. Reduced data redundancy and improved consistency Explanation: Central control. 4. What is data redundancy? A. Data backup B. Data encryption C. Data deletion D. Unnecessary duplication of data Correct answer: D. Unnecessary duplication of data Explanation: Can cause anomalies. 5. What is data integrity? A. Accuracy and consistency of data over its life cycle B. Data speed C. Data size D. Data color Correct answer: A. Accuracy and consistency of data over its life cycle Explanation: A core goal.

11. What is an attribute? A. A column in a relation B. A row C. A table D. A database Correct answer: A. A column in a relation Explanation: Describes an entity property. 12. What is a domain? A. A table B. The set of allowable values for an attribute C. A key D. An index Correct answer: B. The set of allowable values for an attribute Explanation: Defines valid values. 13. What is cardinality in a relation? A. The number of attributes B. The number of tuples (rows) C. A key type D. A view Correct answer: B. The number of tuples (rows) Explanation: Row count. 14. What is degree of a relation? A. The number of attributes (columns) B. The number of rows C. The number of keys D. The number of tables Correct answer: A. The number of attributes (columns) Explanation: Column count. 15. What is a primary key? A. A duplicate column B. A foreign link C. An attribute or set that uniquely identifies each row D. An index only Correct answer: C. An attribute or set that uniquely identifies each row Explanation: Cannot be null.

16. Can a primary key contain NULL values? A. Yes B. Sometimes C. Only in one row D. No Correct answer: D. No Explanation: Entity integrity. 17. What is a candidate key? A. A foreign key B. A composite value C. A view D. A minimal attribute set that could serve as a primary key Correct answer: D. A minimal attribute set that could serve as a primary key Explanation: Unique and minimal. 18. What is a composite key? A. A single column key B. A key made of more than one attribute C. A foreign key only D. An index Correct answer: B. A key made of more than one attribute Explanation: Combined uniqueness. 19. What is a surrogate key? A. An artificial key with no business meaning B. A natural key C. A foreign key D. A composite key Correct answer: A. An artificial key with no business meaning Explanation: Often auto-generated. 20. What is a foreign key? A. A duplicate primary key B. A unique index C. An attribute that references the primary key of another table D. A view Correct answer: C. An attribute that references the primary key of another table Explanation: Enforces referential integrity.

26. Is NULL equal to zero? A. Yes B. Sometimes C. No, NULL means unknown or missing D. Always Correct answer: C. No, NULL means unknown or missing Explanation: Different concept. 27. What is a superkey? A. A minimal key B. A foreign key C. A view D. A set of attributes that uniquely identifies rows, possibly with extra attributes Correct answer: D. A set of attributes that uniquely identifies rows, possibly with extra attributes Explanation: Includes candidate keys. 28. What is the difference between a database and a DBMS? A. They are identical B. The database holds data and the DBMS manages it C. DBMS holds data D. Database manages Correct answer: B. The database holds data and the DBMS manages it Explanation: Distinct concepts. 29. What are the three levels of the ANSI-SPARC architecture? A. Physical, logical and virtual B. External, conceptual and internal C. Client, server and cloud D. Input, process and output Correct answer: B. External, conceptual and internal Explanation: Data independence. 30. What is logical data independence? A. Changing hardware B. Changing storage C. Changing the conceptual schema without changing external views or applications D. Changing users Correct answer: C. Changing the conceptual schema without changing external views or applications Explanation: Benefit.

31. What is physical data independence? A. Changing storage structures without affecting the conceptual schema B. Changing views C. Changing keys D. Changing queries Correct answer: A. Changing storage structures without affecting the conceptual schema Explanation: Benefit. 32. What is a view? A. A physical table B. An index C. A key D. A virtual table based on a query Correct answer: D. A virtual table based on a query Explanation: Stored query definition. 33. What is a stored procedure? A. A table B. A key C. A user D. Precompiled SQL code stored in the database Correct answer: D. Precompiled SQL code stored in the database Explanation: Reusable logic.

39. Which clause groups rows with the same values? A. ORDER BY B. WHERE C. JOIN D. GROUP BY Correct answer: D. GROUP BY Explanation: Used with aggregates. 40. Which function returns the number of rows? A. SUM B. COUNT C. AVG D. MAX Correct answer: B. COUNT Explanation: Aggregate. 41. Which function calculates the average? A. SUM B. COUNT C. AVG D. MIN Correct answer: C. AVG Explanation: Aggregate. 42. Which function returns the highest value? A. MIN B. MAX C. SUM D. COUNT Correct answer: B. MAX Explanation: Aggregate. 43. What does COUNT() count?* A. All rows including those with NULLs B. Only non-null values in one column C. Distinct values D. Columns Correct answer: A. All rows including those with NULLs Explanation: Row count.

44. What does COUNT(column) count? A. All rows B. Distinct only C. Columns D. Non-null values in that column Correct answer: D. Non-null values in that column Explanation: Ignores NULL. 45. What does SELECT DISTINCT do? A. Removes duplicate rows from the result B. Sorts rows C. Counts rows D. Deletes rows Correct answer: A. Removes duplicate rows from the result Explanation: Unique rows. 46. Which operator matches a pattern? A. BETWEEN B. IN C. LIKE D. IS Correct answer: C. LIKE Explanation: Wildcards. 47. What does the percent wildcard match? A. Exactly one character B. Zero or more characters C. One digit D. One letter Correct answer: B. Zero or more characters Explanation: Used with LIKE. 48. What does the underscore wildcard match? A. Zero or more B. Digits only C. Letters only D. Exactly one character Correct answer: D. Exactly one character Explanation: Used with LIKE.

54. What does a RIGHT JOIN return? A. All rows from the right table and matched rows from the left B. Only matches C. All rows from the left D. Cross product Correct answer: A. All rows from the right table and matched rows from the left Explanation: Right outer join. 55. What does a FULL OUTER JOIN return? A. Only matches B. Left only C. Right only D. All rows from both tables with matches where available Correct answer: D. All rows from both tables with matches where available Explanation: Union of outer joins. 56. What does a CROSS JOIN return? A. Matches only B. The Cartesian product of two tables C. Left rows D. Right rows Correct answer: B. The Cartesian product of two tables Explanation: Every combination. 57. What is a self join? A. Joining a table to itself B. Joining two tables C. Cross join D. Outer join Correct answer: A. Joining a table to itself Explanation: Uses aliases. 58. What is an alias? A. A key B. A view C. A temporary name for a table or column D. An index Correct answer: C. A temporary name for a table or column Explanation: AS keyword.

59. What is a subquery? A. A join B. A view C. A trigger D. A query nested within another query Correct answer: D. A query nested within another query Explanation: Inner query. 60. What does EXISTS test? A. Whether a value is null B. Whether a subquery returns any rows C. Whether a table exists D. Whether a key exists Correct answer: B. Whether a subquery returns any rows Explanation: Returns true or false. 61. Which operator combines results and removes duplicates? A. UNION ALL B. INTERSECT C. JOIN D. UNION Correct answer: D. UNION Explanation: Set operator. 62. Which operator combines results and keeps duplicates? A. UNION B. INTERSECT C. UNION ALL D. EXCEPT Correct answer: C. UNION ALL Explanation: Faster than UNION. 63. Which operator returns rows common to both queries? A. UNION B. INTERSECT C. EXCEPT D. JOIN Correct answer: B. INTERSECT Explanation: Set operator.

Section 3: SQL Data Definition and Manipulation

67. Which statement creates a table? A. ADD TABLE B. MAKE TABLE C. NEW TABLE D. CREATE TABLE Correct answer: D. CREATE TABLE Explanation: DDL. 68. Which statement changes the structure of an existing table? A. ALTER TABLE B. UPDATE TABLE C. CHANGE TABLE D. MODIFY ROW Correct answer: A. ALTER TABLE Explanation: DDL. 69. Which statement removes a table and its data? A. DELETE TABLE B. REMOVE TABLE C. DROP TABLE D. ERASE TABLE Correct answer: C. DROP TABLE Explanation: DDL. 70. What does TRUNCATE TABLE do? A. Drops the table B. Removes all rows quickly while keeping the table structure C. Deletes selected rows D. Alters columns Correct answer: B. Removes all rows quickly while keeping the table structure Explanation: Faster than DELETE for all rows. 71. Which statement adds rows to a table? A. INSERT INTO B. ADD ROW C. UPDATE D. CREATE ROW Correct answer: A. INSERT INTO Explanation: DML.

72. Which statement modifies existing rows? A. ALTER B. MODIFY C. CHANGE D. UPDATE Correct answer: D. UPDATE Explanation: DML. 73. What happens if UPDATE has no WHERE clause? A. No rows are updated B. All rows are updated C. An error occurs always D. Only the first row Correct answer: B. All rows are updated Explanation: Danger. 74. What happens if DELETE has no WHERE clause? A. No rows B. Error always C. All rows are deleted D. Only the first row Correct answer: C. All rows are deleted Explanation: Danger. 75. Which statement removes selected rows? A. DELETE FROM B. DROP C. TRUNCATE D. REMOVE Correct answer: A. DELETE FROM Explanation: DML. 76. What is the difference between DELETE and DROP? A. They are identical B. DROP removes rows C. DELETE removes tables D. DELETE removes rows, DROP removes the table object Correct answer: D. DELETE removes rows, DROP removes the table object Explanation: Different scope.