Launch price: every exam for $29.99 a year, for the first 300 buyers. See the price

CertStreak
Menu

Manage schedules for regular maintenance jobs

A worked example

Multiple answers

Contoso runs eight instances of SQL Server 2022 on Azure virtual machines, named SQLVM1 to SQLVM8. On every instance, the SQL Server Agent service is stopped and its startup type is Manual.

You are creating a SQL Server Agent job that runs DBCC CHECKDB. You have the following requirements:

  • Define the job once, on SQLVM1, and run it on SQLVM2 to SQLVM8.
  • Later changes to the job's schedule must be made only on SQLVM1.
  • The job must run every Saturday at 22:00, including after the virtual machines restart.

Which three actions should you perform? Each correct answer presents part of the solution.

Choose 3 answers.
Why

Configure SQLVM1 as the master and assign its multiserver job to SQLVM2 through SQLVM8 as targets. The master distributes the job and its weekly Saturday schedule, allowing schedule changes to be managed on SQLVM1. SQL Server Agent must be running on every instance and configured for automatic startup so scheduled execution can continue after restarts.

Practise this topic until it's automatic.

Ten questions a day, every answer explained, and misses that come back until you beat them.

Start free