Database Management MCQs (Set-2)

Difficulty: Easy & Basic

Which ER-model concept represents a person, place, or thing?

A Constraint
B Entity
C Transaction
D Index

In an ER model, what describes an entity property?

A Cursor
B Partition
C Attribute
D Gateway

Several columns could uniquely identify a row. What is each called?

A Surrogate attribute
B Foreign key
C Sort index
D Candidate key

How can two columns jointly identify one record?

A Composite key
B Partial index
C Lookup view
D Data mask

What prevents a child record referencing a nonexistent parent?

A Data compression
B Referential integrity
C File rotation
D Query caching

How can a query combine matching rows from two tables?

A COMMIT clause
B INSERT clause
C JOIN clause
D DROP clause

Repeated searches on a column are slow. Which structure may help?

A Trigger
B View
C Cursor
D Index

What is a common cost of adding many indexes?

A More storage and writes
B No backup requirement
C Automatic schema migration
D Fewer data constraints

Which properties are summarized by ACID?

A Audit, control, integrity, delivery
B Atomicity, consistency, isolation, durability
C Access, caching, indexing, deletion
D Accuracy, capacity, input, design

Which command makes transaction changes permanent?

A ROLLBACK
B SELECT
C COMMIT
D EXPLAIN

If a transaction fails midway, which command can undo its changes?

A GRANT
B CREATE
C COMMIT
D ROLLBACK

Two users overwrite each other’s changes. Which anomaly occurred?

A Lost update
B Deadlock
C Dirty read
D Phantom row

How do databases commonly coordinate conflicting writes?

A Aliases
B Locks
C Views
D Schemas

Reading another transaction’s uncommitted value is called what?

A Phantom read
B Write skew
C Dirty read
D Lost update

Two transactions wait on each other’s locks. What occurred?

A Schema drift
B Replication lag
C Index scan
D Deadlock

Which SQL command changes existing column values?

A UPDATE
B INSERT
C SELECT
D CREATE

Which command removes selected table rows?

A ALTER
B DELETE
C GRANT
D INSERT

Which aggregate function counts matching rows?

A CAST
B ROUND
C COUNT
D UPPER

Which clause groups rows for aggregation?

A ORDER BY
B WHERE
C LIMIT
D GROUP BY

Where can a query filter aggregate groups?

A HAVING clause
B INSERT clause
C VALUES clause
D FROM clause

Which system workload handles routine business transactions?

A DLP
B OLTP
C OLAP
D ETL

Managers compare trends across historical data. Which workload fits?

A OLTP
B DNS
C OLAP
D FTP

Which process extracts, transforms, and loads data?

A ACID
B BPMN
C CRUD
D ETL

Where is integrated historical data commonly analyzed?

A Data warehouse
B Web cache
C Transaction queue
D Password vault

Which ACID property keeps committed changes after failure?

A Isolation
B Durability
C Atomicity
D Consistency