| Qno | Answer |
|---|---|
| 1 | B) A mechanism to enforce business rules automatically |
| 2 | C) CREATE TRIGGER |
| 3 | A) To monitor and control data changes |
| 4 | B) DROP TRIGGER |
| 5 | C) A DML operation is performed on a table |
| 6 | D) INSERT, UPDATE, DELETE operations |
| 7 | B) Trigger |
| 8 | A) Enforcing data integrity automatically |
| 9 | B) BEFORE UPDATE |
| 10 | B) Automatically updating related tables or logging changes |
| 11 | B) Once per row affected by the statement |
| 12 | B) Row-level trigger |
| 13 | B) They are fired once for the entire DML statement, regardless of the number of rows |
| 14 | A) Performing operations on each individual row affected |
| 15 | B) Row-level trigger |
| 16 | B) Performing a task once per statement execution |
| 17 | A) Row-level trigger |
| 18 | B) When you need to execute an action only once for a multi-row update |
| 19 | A) They execute for each row in a DML operation, which can impact performance |
| 20 | B) Fire once for each transaction, regardless of the number of rows |
| 21 | A) It fires before a DML operation (INSERT, UPDATE, DELETE) is executed |
| 22 | A) A “BEFORE” trigger is executed before the operation, while an “AFTER” trigger is executed after |
| 23 | C) They execute after the operation has completed |
| 24 | B) BEFORE trigger |
| 25 | A) Modify data before it is inserted or updated |
| 26 | B) Access data modified by the DML operation |
| 27 | C) BEFORE UPDATE |
| 28 | B) AFTER trigger |
| 29 | B) Auditing changes after an operation is performed |
| 30 | B) BEFORE trigger |