Difficulty: Easy
Correct Answer: never
Explanation:
Introduction / Context:
Some environments require data to be immutable for safety, auditing, or performance reasons. A read-only database enforces this by preventing changes to its contents at the database level.
Given Data / Assumptions:
Concept / Approach:
By definition, a read-only database disallows DML changes such as INSERT, UPDATE, DELETE, and MERGE, as well as most DDL that would alter stored data. It may be used for reporting, replication targets, or archival snapshots where integrity and repeatability are paramount.
Step-by-Step Solution:
Verification / Alternative check:
Vendor documentation (e.g., setting a database or tablespace to read-only) states that write operations fail until the database is returned to read-write mode.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
never
Discussion & Comments