Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Document preview thumbnail
Preview 4 out of 32 pages
Exam (elaborations)

UT Austin CS 327E: Elite Database Management Test Bank (2026/2027 Edition) – PostgreSQL 18, SQL:2023 & Compliance Mastery

Document preview thumbnail
Preview 4 out of 32 pages

Unlock the "Grandmaster" level of enterprise data architecture. This isn't just a test bank; it’s a surgical strike at the most advanced database concepts required for 2026/2027 industry standards. Specifically tailored for students at the University of Texas at Austin (CS 327E/MIS 333K) and professionals aiming for elite certification, this document bridges the gap between textbook theory and high-stakes architectural reality. What You Get: 66 High-Stakes Questions: Organized into Foundational, Professional Simulation, and Grandmaster Synthesis modules. PostgreSQL 18 & SQL:2023 Deep Dives: Master cutting-edge features like io_uring AIO, B-Tree Skip Scans, and native Property Graph Queries (SQL/PGQ). 2026 Regulatory Compliance: Expert scenarios on the EU AI Act (Article 10) and Texas Data Privacy and Security Act (TDPSA). Google Cloud Architecture: Precision logic for Cloud Spanner (Hotspotting/Interleaving) and BigQuery (Slot Contention/Shuffle optimization). The "Mentor’s Analysis": Every answer includes a professional breakdown and "Professional Intuition" tips to help you think like a Senior Architect, not just a student. Why This is a Must-Buy: Pass Your Exams: Directly aligns with Modern Database Management (2026/2027 Redline Edition). Career Ready: Learn to solve the "Dual Write" problem with the Outbox Pattern and prevent cascading failures in microservices. Time-Saving Cheat Sheet: Includes the "Panic Button" guide for instant troubleshooting of replication halts and I/O bottlenecks.

Content preview

ELITE TEST BANK: Modern Database
Management (2026/2027 Redline
Edition)
PART 0: THE NAVIGATOR
●​ Module A: Foundational Syntax & Application (Questions 1–15)
○​ Conceptual Data Modeling & The Enhanced E-R Model
○​ Relational Logic, Normalization, & Data Independence
○​ Data Quality Dimensions & Schema Integrity
●​ Module B: Professional Simulation (Questions 16–40)
○​ PostgreSQL 18 Physical Design (Async I/O, Skip Scans, Logical Replication)
○​ SQL:2023 Standard Operations (JSON, Property Graph Queries)
○​ Google Cloud Architecture (Spanner Interleaving, BigQuery Slot Contention)
○​ 2026 Regulatory Compliance (EU AI Act Article 10, TDPSA Erasure Mandates)
●​ Module C: Grandmaster Synthesis (Questions 41–66)
○​ Transaction Concurrency, Distributed Deadlocks, & 2PC Failures
○​ High-Stakes Architectural Diagnostics & Performance Tuning
○​ Cross-Domain Compliance & Cryptographic Shredding

PART I: THE PRIMER
Mastering enterprise data architecture at the 2026 standard elevates the practitioner from a
baseline systems administrator to a highly compensated, strategic linchpin capable of averting
catastrophic failures. The elite professional replaces rote memorization with a surgical intuition
for high-throughput, legally compliant, and distributed system design.
●​ The "Panic Button" Cheat Sheet:
○​ PostgreSQL 18 AIO: Synchronous reads waste CPU cycles; default to io_method
= 'io_uring' or worker for high-latency cloud storage.
○​ Spanner Hotspotting: Monotonically increasing keys destroy distributed nodes;
default strictly to UUIDv7 or bit-reversed sequences.
○​ SQL:2023 Graph: Abandon recursive CTEs; deploy native GRAPH_TABLE and
MATCH logic directly over relational tables.
○​ Compliance is Architecture: "Soft deletes" violate 2026 TDPSA mandates;
engineer cryptographic shredding via CMEK destruction.
○​ Logical Replication: Constraint violations (confl_insert_exists) halt pipelines;
bypass via LSN skipping rather than manual table hacking.

PART II: THE ELITE TEST BANK
Module A: Foundational Syntax & Application

,Q1: An enterprise data architect is designing an Enhanced E-R (EER) model for a hospital. A
Patient is defined as the supertype, with Outpatient and Resident_Patient as subtypes. A patient
MUST be classified as at least one of these categories, and CANNOT be both simultaneously.
Which constraints BEST define this structural rule? A) Partial specialization and the Overlap
rule. B) Total specialization and the Overlap rule. C) Total specialization and the Disjoint rule. D)
Partial specialization and the Disjoint rule.
●​ The Answer: C (Total specialization and the Disjoint rule.)
●​ Distractor Analysis:
○​ A is incorrect: Partial specialization implies a patient might not belong to any
subtype, violating the mandatory classification. Overlap allows simultaneous
membership.
○​ B is incorrect: Overlap violates the strict "cannot be both" business rule.
○​ D is incorrect: Partial specialization violates the requirement that every patient must
be categorized.
The Mentor's Analysis: Precision in conceptual modeling dictates physical database behavior.
Total specialization guarantees no orphan supertypes exist without subtype context. The disjoint
rule ensures mutually exclusive data states. Professional Intuition: A double line on the EER
diagram represents total specialization; a "d" in the circle enforces disjointness. Lock down the
business rules at the conceptual layer before writing a single line of DDL.
Q2: During a logical database design review, a table named EMPLOYEE_PROJECT contains
the attributes Employee_ID, Project_ID, Employee_Name, and Hours_Worked. The composite
primary key is (Employee_ID, Project_ID). The attribute Employee_Name relies exclusively on
Employee_ID. Which normalization standard does this table IMMEDIATELY violate? A) First
Normal Form (1NF). B) Second Normal Form (2NF). C) Third Normal Form (3NF). D)
Boyce-Codd Normal Form (BCNF).
●​ The Answer: B (Second Normal Form (2NF).)
●​ Distractor Analysis:
○​ A is incorrect: The table already possesses a primary key and atomic values,
satisfying 1NF.
○​ C is incorrect: 3NF deals with transitive dependencies (non-key depending on
non-key). This is a partial dependency.
○​ D is incorrect: BCNF is a stricter version of 3NF dealing with overlapping candidate
keys, not the immediate partial dependency issue.
The Mentor's Analysis: A partial dependency occurs when an attribute relies on only a fraction
of a composite primary key. Employee_Name only needs Employee_ID, ignoring Project_ID.
Normal Form Rule Enforced Anomaly Prevented
1NF Atomicity Repeating Groups
2NF Full Dependency Partial Dependency
3NF No Transitive Non-Key Dependencies
Professional Intuition: If a composite key exists, audit every non-key attribute to ensure it
demands the entire composite key for its existence. If it does not, extract it into a separate table.
Q3: The data governance board is evaluating a legacy data warehouse. The audit reveals that a
customer's total lifetime value metric varies wildly depending on whether the data is pulled from
the CRM schema or the ERP schema. Which specific Data Quality dimension has been
CRITICALLY compromised? A) Completeness. B) Validity. C) Consistency. D) Uniqueness.
●​ The Answer: C (Consistency.)
●​ Distractor Analysis:

, ○​ A is incorrect: Completeness refers to missing values (nulls), not mismatched
values across systems.
○​ B is incorrect: Validity ensures data conforms to a specific format or domain rule
(e.g., proper ZIP code formatting).
○​ D is incorrect: Uniqueness ensures no duplicate rows exist within a single dataset.
The Mentor's Analysis: Data consistency is the bedrock of enterprise trust. When multiple
systems of record disagree on a fundamental business fact, the data is inconsistent.
Professional Intuition: A system can be highly accurate in isolation but completely inconsistent
across the enterprise landscape. Consistency requires an authoritative Master Data
Management (MDM) strategy.
Q4: A relational database schema utilizes a DEPARTMENT table with attributes Dept_ID,
Dept_Name, and Manager_ID. A functional dependency exists where Manager_ID dictates
Dept_Name, but Manager_ID is not a candidate key. Which normalization phase is REQUIRED
to resolve this anomaly? A) First Normal Form (1NF). B) Second Normal Form (2NF). C) Third
Normal Form (3NF). D) Fourth Normal Form (4NF).
●​ The Answer: C (Third Normal Form (3NF).)
●​ Distractor Analysis:
○​ A is incorrect: 1NF resolves repeating groups and atomicity.
○​ B is incorrect: 2NF resolves partial dependencies on composite keys. Dept_ID is a
single-attribute key.
○​ D is incorrect: 4NF addresses multi-valued dependencies, which are not present
here.
The Mentor's Analysis: This is a classic transitive dependency: a non-key attribute
(Dept_Name) depends on another non-key attribute (Manager_ID). Professional Intuition:
3NF mandates that non-key attributes must provide a fact about the key, the whole key, and
nothing but the key. Extract the manager details into a distinct relation.
Q5: In the context of physical database design, an architect must choose a data storage
organization method for a table that requires rapid, exact-match queries on a Customer_ID
column. Range queries (e.g., Customer_ID BETWEEN 100 AND 500) are never performed.
Which indexing structure is MOST OPTIMAL? A) B-Tree Index. B) Hash Index. C) Bitmap
Index. D) Generalized Inverted Index (GIN).
●​ The Answer: B (Hash Index.)
●​ Distractor Analysis:
○​ A is incorrect: B-Trees are excellent for range queries and sorting, but carry slightly
more overhead for pure, exact-match lookups than Hash indexes.
○​ C is incorrect: Bitmap indexes are optimized for low-cardinality columns (e.g.,
gender, status), not highly unique IDs.
○​ D is incorrect: GIN indexes are utilized for indexing composite values like arrays or
full-text search documents.
The Mentor's Analysis: Physical design requires matching the data structure to the exact
query access pattern. Hash indexes operate on O(1) time complexity for equality operators (=).
Professional Intuition: If the business logic absolutely guarantees no range scans, sorting, or
prefix matching will ever occur, Hash indexes offer the lowest read latency for highly unique
identifier lookups.
Q6: When transforming an EER diagram into a relational schema, the architect encounters a
many-to-many (M:N) relationship between STUDENT and COURSE. What is the MANDATORY
standard protocol for resolving this relationship in a relational database? A) Place a foreign key
in the STUDENT table referencing the COURSE table. B) Place a foreign key in the COURSE

, table referencing the STUDENT table. C) Create a new associative entity (intersection table)
containing the primary keys of both tables as its composite primary key. D) Utilize a multi-valued
array column within the STUDENT table.
●​ The Answer: C (Create a new associative entity (intersection table) containing the
primary keys of both tables as its composite primary key.)
●​ Distractor Analysis:
○​ A & B are incorrect: Placing a foreign key in either table of an M:N relationship
forces duplicate rows and massive redundancy, violating 1NF.
○​ D is incorrect: While NoSQL or advanced object-relational models allow arrays,
strict relational design mandates 1NF atomic values.
The Mentor's Analysis: Relational databases cannot natively process M:N relationships. They
must be decomposed into two 1:M relationships via an associative entity. Professional
Intuition: Always capture the intersection. The associative entity not only resolves the structural
limitation but provides a crucial location to store attributes specific to the relationship, such as
an enrollment date or final grade.
Q7: A database engineer is analyzing the physical schema of a high-volume transactional
application. The developer has chosen a CHAR(255) data type for a column that stores user
email addresses, which vary heavily in length. What is the PRIMARY negative consequence of
this design choice? A) The database will silently truncate any email address exceeding 50
characters. B) The database will pad shorter email addresses with trailing spaces, wasting
massive amounts of disk space and memory buffer cache. C) The column will be incapable of
participating in a B-Tree index. D) The system will automatically convert the column to a BLOB
format during query execution.
●​ The Answer: B (The database will pad shorter email addresses with trailing spaces,
wasting massive amounts of disk space and memory buffer cache.)
●​ Distractor Analysis:
○​ A is incorrect: CHAR(255) allows up to 255 characters; it will not truncate at 50.
○​ C is incorrect: CHAR columns can easily be indexed in a B-Tree.
○​ D is incorrect: Type casting to BLOB is an entirely different mechanical operation
and does not happen automatically here.
The Mentor's Analysis: CHAR is a fixed-length data type. If an application inserts a
15-character string into a CHAR(255) field, the disk writes 240 empty spaces. Multiplied by
millions of rows, this obliterates I/O throughput and pollutes RAM caches with whitespace.
Professional Intuition: Never use fixed-length CHAR types for highly variable data. Always
deploy VARCHAR or TEXT to dynamically allocate storage based on actual string length.
Q8: A table named ORDERS contains the attributes Order_ID, Customer_ID, and
Customer_Email. A deletion anomaly is identified by the database administrator. Which scenario
BEST describes this specific anomaly? A) Deleting an order record simultaneously destroys the
only existing record of the customer's email address. B) Inserting a new order requires a system
reboot to update the clustered index. C) Updating the customer's email address requires
modifying multiple rows, risking data inconsistency. D) The database rejects the deletion
because Customer_Email is a foreign key.
●​ The Answer: A (Deleting an order record simultaneously destroys the only existing
record of the customer's email address.)
●​ Distractor Analysis:
○​ B is incorrect: This describes an operational index overhead issue, not an anomaly.
○​ C is incorrect: This describes an update anomaly, not a deletion anomaly.
○​ D is incorrect: This describes a referential integrity constraint block, not a deletion

Connected book
 image
Fred R. McFadden, Jeffrey A. Hoffer, Mary B. Prescott Modern Database Management
Publisher: 1999 ISBN: 9780201474329 Edition: Unknown

Document information

Uploaded on
March 9, 2026
Number of pages
32
Written in
2025/2026
Type
Exam (elaborations)
Contains
Questions & answers
$14.49

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Sold
1
Followers
0
Items
412
Last sold
1 month ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions