Database Management MCQs (Set-3)

Difficulty: Medium

Which normal form requires atomic column values?

A Second normal form
B Third normal form
C First normal form
D Boyce-Codd normal form

When a non-key field depends on only part of a composite key, which normal form is violated?

A Third normal form
B Fourth normal form
C First normal form
D Second normal form

If one non-key field depends on another, which normal form addresses this?

A Third normal form
B Fifth normal form
C First normal form
D Second normal form

In a functional dependency, what determines another attribute’s value?

A Foreign key
B Determinant
C Index page
D Transaction log

To limit rows before joining, which SQL clause applies?

A ORDER BY clause
B UNION clause
C WHERE clause
D HAVING clause

If a join unexpectedly doubles order totals, what should analysts inspect first?

A User password length
B Column display width
C Backup compression
D Join key cardinality

How does a query optimizer estimate work?

A Uses statistics and cost
B Reads employee schedules
C Counts screen controls
D Checks printer status

For a composite index beginning with customer_id, which query benefits most directly?

A Sorts an unrelated date
B Filters customer_id first
C Searches a separate table
D Filters only city

Why use a stored procedure for repeated database operations?

A Disable validation constraints
B Replace all relational keys
C Reuse controlled server-side logic
D Avoid transaction logging

What can a trigger do after a row changes?

A Replace the primary key
B Create a new network
C Guarantee correct business rules
D Run a defined database action

When repeated reports are expensive, which object stores query results?

A Materialized view
B Sequence
C Transaction lock
D Foreign key

Why might designers denormalize a reporting database?

A Prevent analytical queries
B Improve read performance
C Eliminate every duplicate
D Reduce all storage use

Which setup can serve reads from additional database copies?

A Row validation
B Schema normalization
C Read replication
D Query parameterization

How does horizontal partitioning divide a table?

A Duplicates every index
B Converts rows into views
C Splits columns into groups
D Splits rows into groups

Several database nodes hold different row ranges. What design is used?

A Sharding
B Serialization
C Normalization
D Materialization

Which warehouse technique preserves historical attribute versions?

A Type zero dimension
B Type two slowly changing dimension
C Full table deletion
D Single-value snapshot

Where are measurable business events commonly stored in a star schema?

A Lookup index
B Audit policy
C Fact table
D Role table

What do dimension tables usually provide?

A Backup encryption keys
B Transaction lock records
C Only numeric measures
D Descriptive analysis attributes

During ETL, why transform source values?

A Align formats and business rules
B Increase source inconsistencies
C Remove destination controls
D Delay every load

Which files can support point-in-time database recovery?

A User manuals and reports
B Backups and transaction logs
C Index files alone
D Only screen captures

What does recovery point objective limit?

A Database size
B Maximum restoration time
C Acceptable data loss
D Query response time

What does recovery time objective specify?

A Maximum duplicate rows
B Accepted query count
C Annual storage budget
D Target service restoration time

Before changing a production schema, what should be planned?

A Versioned schema migration
B Permanent query suspension
C Shared administrator access
D Untracked manual edits

Repeated facts cause update anomalies in which design?

A Partitioned design
B Denormalized design
C Atomic design
D Indexed design

How should applications prevent SQL injection?

A Concatenate raw input
B Grant broad database access
C Use parameterized queries
D Disable query logging