Designing Database Solutions for Microsoft SQL Server — Question 4
You have an SQL Server 2014 instance named SQL1.
SQL1 creates error events in the Windows Application event log.
You need to recommend a solution that will run an application when SQL1 logs a specific error in the Application log.
Which SQL elements should you include in the recommendation? (Each correct answer presents part of the solution. Choose all that apply.)
Answer options
- A. A policy
- B. A maintenance plan
- C. An alert
- D. A job
- E. A trigger
Correct answer: D, E
Explanation
The correct answer includes 'D' (A job) and 'E' (A trigger) because a trigger can execute a job in response to specific events in the SQL Server. The other options, such as policies, maintenance plans, and alerts, do not directly execute applications based on logged errors.