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

CertStreak
Menu

DP-300 practice questions: automation of tasks

“Configure and manage automation of tasks” is about 18% of the DP-300 exam. Try a question below.

Ten free questions a day, no card. Full access to every exam is one pass: $29.99 a year.

The topics in this domain

Create and manage SQL Server Agent jobsManage schedules for regular maintenance jobsConfigure job alerts and notificationsTroubleshoot SQL Server Agent jobsAutomate deployment of database resourcesAutomate deployment by using Azure Resource Manager (ARM) and Bicep templatesAutomate deployment by using Azure PowerShellAutomate deployment by using Azure CLIMonitor and troubleshoot deploymentsCreate and manage database tasks in AzureCreate and configure elastic jobsCreate and configure database tasks by using automationConfigure alerts and notifications on database tasksTroubleshoot automated database tasks

You can practise any single topic in the app.

Try one

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.

  1. Configure SQLVM1 as a master server, enlist SQLVM2 to SQLVM8 as target servers, and assign the job to those targets.
  2. On each instance, use SQL Server Configuration Manager to set SQL Server Agent to start automatically, and start it.
  3. Create a local DBCC CHECKDB job and attach a recurring schedule for Saturday at 22:00 on each instance from SQLVM2 to SQLVM8.
  4. On SQLVM1, attach a recurring schedule to the job that runs weekly on Saturday at 22:00.
  5. Configure SQLVM2 as a master server and enlist SQLVM1 as its target server.
  6. On SQLVM1, attach a one-time schedule to the job that runs next Saturday at 22:00.
See answers explained in the sample test, no account

Ten questions a day gets you there.

Start free