Exam 98-364: Database Fundamentals Practice Test
Database fundamentals covers how relational data is organized, queried, and maintained. Practice topics include selecting and sorting records with SQL, grouping rows for counts, removing duplicate results, and expressing relationships between tables. The questions also touch on data integrity, transactions, backups, and changes to stored records—skills used to retrieve accurate information and protect database contents.
Exam overview
About the Exam 98-364: Database Fundamentals Exam
Work with relational databases by distinguishing tables, columns, rows, and the relationships that connect records. SQL tasks include filtering rows with WHERE, ordering output with ORDER BY, grouping records for aggregate calculations, and using DISTINCT to suppress duplicate results. Join choices determine whether unmatched records remain in a result, while primary and foreign keys help identify rows and enforce valid references. Data maintenance involves choosing commands that insert, update, or delete records without confusing query output with stored data. Transaction concepts matter when multiple changes must succeed or fail together, and backup planning supports recovery after data loss. Function use, such as converting displayed text to uppercase, also illustrates the difference between transforming query results and changing persisted values.
Sample Practice Questions
Review a selection from this exam's published US Practice Tests practice bank.
A database administrator wants a regularly recoverable copy of database contents in case the primary database is lost. What is the most direct measure?
Show answer
Correct answer: ABackups provide copies from which data can be restored after loss or damage. A schedule and restore verification help ensure the copies are usable and sufficiently current.
A table contains repeated rows that are identical in every column. Which SQL keyword can request that duplicate result rows be removed from a query result?
Show answer
Correct answer: ASELECT DISTINCT returns only unique combinations of the selected column values. It affects the query result and does not by itself remove duplicate records from the underlying table.
A report needs the number of orders placed by each customer. Which SQL feature is used to calculate a count separately for each customer?
Show answer
Correct answer: ACOUNT(*) calculates the number of rows, and GROUP BY CustomerID partitions those rows into customer groups so a count can be returned for each one.
A query returns a list of invoice amounts. The results should be arranged from the smallest amount to the largest. Which ordering direction is appropriate?
Show answer
Correct answer: AAscending order arranges numeric values from smallest to largest. Descending order would arrange them from largest to smallest.
A table has a column containing a department code. The database should ensure each code matches a code already listed in a Departments table. Which database feature is designed for this relationship?
Show answer
Correct answer: AA foreign key can require values in one table to correspond to key values in a referenced table, helping maintain referential integrity.
A query needs to keep every row from a list of departments, including departments that currently have no employees, while showing matching employees when present. Which join type is appropriate when Departments is the left-side table?
Show answer
Correct answer: BA left outer join retains all rows from the left table and includes matching rows from the right table where available. Unmatched right-side columns are typically returned as NULL.
A database stores one row for each sale. A sales report needs to show only rows where the sale amount is greater than 500. Which clause filters individual rows before they are returned?
Show answer
Correct answer: BWHERE filters rows that meet a condition. HAVING is used to filter groups after grouping and aggregation, while ORDER BY sorts results and GROUP BY forms groups.
How to use this practice test
The free US Practice Tests bank contains 50 questions for this exam. Each session presents up to 20 questions selected at random and shows results afterward. Use a session to check how well you distinguish SQL clauses, joins, constraints, and data-maintenance operations; revisit any missed concept by writing a small query or tracing its effect on a sample table.
Preparation tips
- Write queries that combine WHERE, ORDER BY, GROUP BY, and COUNT, and note which clauses filter rows versus aggregate results.
- Draw two related tables and compare INNER JOIN with LEFT JOIN, including what happens when a department or customer has no matching row.
- Practice identifying primary-key and foreign-key roles, then test how a foreign-key constraint prevents references to missing records.
- Trace a two-step account transfer as a transaction and explain why both updates must commit together or be rolled back.
- Separate retrieval from maintenance: compare SELECT expressions such as UPPER() with UPDATE statements that change stored values, and outline a backup-and-restore scenario.