nerdexam
Microsoft

70-465 · Question #111

You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure. Computer users use custom applications that store data in SQL…

The correct answer is A. You should configure an alert and a job. To run an application when a specific Windows Application event log ID is generated, configure a SQL Server Agent alert to monitor the event log and then execute a SQL Server Agent job to launch the application.

Submitted by satoshi_tk· Mar 5, 2026Design and implement database solutions for SQL Server

Question

You work as a Database Administrator (DBA) for a company named ABC.com. The company uses a Microsoft SQL Server 2012 infrastructure. Computer users use custom applications that store data in SQL Server databases hosted on a server named ABC-SQL1. You discover that the Windows Application event log on ABC-SQL1 contains error events. You need to configure a solution that will run an application whenever an event with a specific event ID number is generated in the Windows Application event log. What should you configure?

Options

  • AYou should configure an alert and a job.
  • BYou should configure an alert and a maintenance plan.
  • CYou should configure a trigger and a maintenance plan.
  • DYou should configure a trigger and a job.
  • EYou should configure an alert and a trigger.

How the community answered

(49 responses)
  • A
    84% (41)
  • B
    4% (2)
  • C
    2% (1)
  • D
    2% (1)
  • E
    8% (4)

Why each option

To run an application when a specific Windows Application event log ID is generated, configure a SQL Server Agent alert to monitor the event log and then execute a SQL Server Agent job to launch the application.

AYou should configure an alert and a job.Correct

A SQL Server Agent Alert can be configured to monitor the Windows Application event log for a specific event ID. When the alert is triggered by the event, it can then execute a SQL Server Agent Job, which can contain a step to run an operating system command or script to launch the specified application.

BYou should configure an alert and a maintenance plan.

A maintenance plan is primarily used for routine database upkeep tasks like backups or integrity checks and is not the appropriate mechanism for executing an arbitrary application in response to a Windows event log entry.

CYou should configure a trigger and a maintenance plan.

SQL Server triggers respond to Data Manipulation Language (DML) or Data Definition Language (DDL) events occurring within the database itself, not to entries in the Windows Application event log.

DYou should configure a trigger and a job.

SQL Server triggers monitor events related to database operations (DML/DDL) and cannot be configured to detect or respond to events in the Windows Application event log.

EYou should configure an alert and a trigger.

While an alert can detect the event, a SQL Server trigger executes T-SQL code within the database in response to database events and cannot directly execute an external application based on a Windows event log entry.

Concept tested: SQL Server Agent Alerts and Jobs for Event Response

Source: https://learn.microsoft.com/en-us/sql/ssms/agent/create-an-alert-on-an-event-id

Topics

#SQL Server Agent#Alerts#Jobs#Event monitoring

Community Discussion

No community discussion yet for this question.

Full 70-465 Practice