Microsoft SQL Server Database Quiz Questions

Chapter Name:Chapter 9 - Advanced Topics
Lesson Content Link:DB Trigger
Current Quiz Count:45
Progress
0%
Q1
True / False

A trigger in SQL Server can be used to enforce complex business rules.

Q2
True / False

Triggers can be used to automatically log changes to a table.

Q3
True / False

A trigger can only be created on a single table.

Q4
True / False

A SQL Server trigger can be nested to a depth of 32 levels.

Q5
True / False

A trigger can execute a stored procedure.

Q6
True / False

INSTEAD OF triggers can replace standard action statements in SQL Server.

Q7
True / False

AFTER triggers execute after the triggering action is completed.

Q8
True / False

Triggers cannot be used to enforce referential integrity.

Q9
True / False

A trigger in SQL Server can be enabled or disabled.

Q10
True / False

Triggers are executed explicitly by the user.

Q11
True / False

A SQL Server trigger can modify the data it is based on.

Q12
True / False

Triggers can be used to automatically send emails in SQL Server.

Q13
True / False

Triggers in SQL Server cannot be used to maintain historical data.

Q14
True / False

A trigger can be created to fire before a DELETE operation in SQL Server.

Q15
True / False

Triggers are a part of DDL (Data Definition Language) in SQL Server.

Q16
Single Choice

What type of trigger is fired in response to DML events like INSERT, UPDATE, or DELETE?

Q17
Single Choice

Which trigger type can replace standard action statements in SQL Server?

Q18
Single Choice

Which statement is true about AFTER triggers?

Q19
Single Choice

Which trigger is typically used for auditing purposes in SQL Server?

Q20
Single Choice

Which SQL statement is used to disable a trigger?

Q21
Single Choice

Which type of trigger is executed in response to DDL events?

Q22
Single Choice

Which of the following triggers can be used to prevent unauthorized logins?

Q23
Single Choice

Which type of trigger is fired for INSERT operations in SQL Server?

Q24
Single Choice

Which type of trigger is fired when a database user logs on?

Q25
Single Choice

What is the purpose of an INSTEAD OF trigger?

Q26
Single Choice

What type of trigger is fired in response to an ALTER statement?

Q27
Single Choice

Which type of trigger is best for maintaining an audit trail?

Q28
Single Choice

What is the primary use of LOGON triggers in SQL Server?

Q29
Single Choice

Which type of trigger can be used to execute complex business logic in SQL Server?

Q30
Single Choice

Which of the following can disable a trigger in SQL Server?

Q31
Multiple Choice

Which of the following actions can an AFTER trigger respond to in SQL Server?

Q32
Multiple Choice

Which triggers can be used to enforce complex integrity constraints in SQL Server?

Q33
Multiple Choice

Which of the following statements about INSTEAD OF triggers is true?

Q34
Multiple Choice

What are the uses of LOGON triggers in SQL Server?

Q35
Multiple Choice

Which actions can a DDL trigger respond to in SQL Server?

Q36
Multiple Choice

What can be achieved with INSTEAD OF triggers in SQL Server?

Q37
Multiple Choice

Which of the following triggers can be used for data auditing in SQL Server?

Q38
Multiple Choice

Which triggers are used to respond to Data Manipulation Language (DML) events?

Q39
Multiple Choice

What are some key features of LOGON triggers in SQL Server?

Q40
Multiple Choice

What can be done with AFTER triggers in SQL Server?

Q41
Multiple Choice

Which trigger can be used to execute code instead of the actual event in SQL Server?

Q42
Multiple Choice

Which of the following is true about triggers in SQL Server?

Q43
Multiple Choice

Which triggers can be used to prevent certain operations in SQL Server?

Q44
Multiple Choice

What is the function of DML triggers in SQL Server?

Q45
Multiple Choice

Which type of trigger can prevent unauthorized actions in SQL Server?