CPSC 343 Database Theory and Practice Fall 2026

CPSC 343 Review Information — Exam 4

Exam 4 is a written in-class (one hour) exam covering data integrity, security, and privacy — authentication and authorization concepts, transactions and concurrency control, database-level access control, SQL injection and input validation, auditing, and the ethics and privacy of personal data. Expect two kinds of questions:

Short answers should be short — generally 1-3 sentences, or 1-2 sentences per part for a question with several parts. A list rather than complete sentences is fine where appropriate. Time is limited, so don't write more than necessary!

The exam is about concepts rather than the Java implementation — you won't need to read or write any of the application's Java code (routes, services, DAOs, JDBC).

The topics covered on the exam are listed below. The items under "Self check" are study goals — examples of the kinds of things you should be able to do rather than actual exam questions or a complete list of what the exam might ask. As a starting point for studying, try to explain each topic without notes (including an example of your own where appropriate) and then answer the associated self check items. As a pacing guide, you should be able to start writing answers for definition/recall questions right away and "apply the concept" questions (name the anomaly in an interleaving, spot an injection or IDOR vulnerability, label the PII in a table) after a minute or two of thinking.

For practice applying the concepts, see the "Example question types" and "Practice" sections at the end.

Authentication and Authorization

Topics:

Self check:

Transactions and ACID

Topics:

Self check:

Concurrency Control

Topics:

Self check:

Database-Level Access Control

Topics:

Self check:

SQL Injection and Input Validation

Topics:

Self check:

Auditing

Topics:

Self check:

Security vs. Privacy

Topics:

Self check:

PII and De-identification

Topics:

Self check:

Privacy Law and Reasonable Care

Topics:

Self check:

Ownership, Stakeholders, and Professional Responsibility

Topics:

Self check:

Example Question Types

Beyond the conceptual questions above, expect questions that ask you to apply your knowledge to a given scenario, code, schema, or data. For example:

Practice