You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/5-knowledge-check.yml
+14-14Lines changed: 14 additions & 14 deletions
Original file line number
Diff line number
Diff line change
@@ -6,8 +6,8 @@ metadata:
6
6
prefetch-feature-rollout: true
7
7
title: Knowledge check
8
8
description: "Knowledge check"
9
-
ms.date: 05/11/2022
10
-
author: wwlpublish
9
+
ms.date: 02/26/2025
10
+
author: JulianePadrao
11
11
ms.author: jupadrao
12
12
ms.topic: unit
13
13
azureSandbox: false
@@ -22,43 +22,43 @@ quiz:
22
22
choices:
23
23
- content: "A mail profile"
24
24
isCorrect: true
25
-
explanation: "That's correct. To send email to an operator, you need to enable the email profile of the SQL Server Agent."
25
+
explanation: "Correct. To send email to an operator, you need to enable the email profile of the SQL Server Agent."
26
26
- content: "An agent job"
27
27
isCorrect: false
28
-
explanation: "That's incorrect. An agent job doesn't in and of itself send mail."
28
+
explanation: "Incorrect. An agent job doesn't in and of itself send mail."
29
29
- content: "An alert"
30
30
isCorrect: false
31
-
explanation: "That's incorrect. While an alert can send an email, it isn't a requirement for mail to be sent."
31
+
explanation: "Incorrect. While an alert can send an email, it isn't a requirement for mail to be sent."
32
32
- content: "Which system database stores SQL Server Agent jobs and their information?"
33
33
choices:
34
34
- content: "Msdb"
35
35
isCorrect: true
36
-
explanation: "That's correct. The msdb database acts as the data store for the SQL Server Agent."
36
+
explanation: "Correct. The msdb database acts as the data store for the SQL Server Agent."
37
37
- content: "Master"
38
38
isCorrect: false
39
-
explanation: "That's incorrect. The master database stores information about logins and databases."
39
+
explanation: "Incorrect. The master database stores information about logins and databases."
40
40
- content: "Model"
41
41
isCorrect: false
42
-
explanation: "That's incorrect. The model database is used to provide a database to copy for new database creation."
42
+
explanation: "Incorrect. The model database is used to provide a database to copy for new database creation."
43
43
- content: "Which operation recalculates the statistics on an index?"
44
44
choices:
45
45
- content: "Rebuild"
46
46
isCorrect: true
47
-
explanation: "That's correct. Rebuilding an index updates the statistics on the index."
47
+
explanation: "Correct. Rebuilding an index updates the statistics on the index."
48
48
- content: "Reorganize"
49
49
isCorrect: false
50
-
explanation: "That's incorrect. Reorganize rearranges pages, but doesn't calculate statistics."
50
+
explanation: "Incorrect. Reorganize rearranges pages, but doesn't calculate statistics."
51
51
- content: "Shrinking a file group"
52
52
isCorrect: false
53
-
explanation: "That's incorrect. Shrinking a file group doesn't have an impact on stats."
53
+
explanation: "Incorrect. Shrinking a file group doesn't affect stats."
54
54
- content: "What built-in option removes old files related to maintenance plans?"
55
55
choices:
56
56
- content: "Cleanup history task"
57
57
isCorrect: false
58
-
explanation: "That's incorrect. The cleanup history task deletes history of backup and restore operations from the msdb database and the history of SQL Server agent jobs."
58
+
explanation: "Incorrect. The cleanup history task deletes history of backup and restore operations from the msdb database and the history of SQL Server agent jobs."
59
59
- content: "Maintenance cleanup task"
60
60
isCorrect: true
61
-
explanation: "That's correct. The maintenance cleanup task provides the option to remove old files related to maintenance plans."
61
+
explanation: "Correct. The maintenance cleanup task provides the option to remove old files related to maintenance plans."
62
62
- content: "Execute SQL Server agent job task"
63
63
isCorrect: false
64
-
explanation: "That's incorrect. The execute SQL Server agent job task doesn't remove old files related to maintenance plans."
64
+
explanation: "Incorrect. The execute SQL Server agent job task doesn't remove old files related to maintenance plans."
Copy file name to clipboardExpand all lines: learn-pr/wwl-data-ai/schedule-tasks-using-sql-server-agent/includes/1-introduction.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,10 +1,12 @@
1
-
Database systems need regular maintenance, which includes tasks like making backups and updating statistics. Maintenance may also include regularly scheduled jobs that execute against a database. Some common examples of these jobs would be to extract, transform, and load data from a transaction processing system into a data warehouse. In SQL Server and Azure SQL managed instance, the SQL Server Agent service allows you to schedule jobs to perform these maintenance tasks.
1
+
Database systems require regular maintenance, including tasks like backups and updating statistics. Maintenance may also involve scheduled jobs that run against a database. Common examples include extracting, transforming, and loading data from a transaction processing system into a data warehouse. In SQL Server and Azure SQL Managed Instance, the SQL Server Agent service allows you to schedule these maintenance tasks.
2
2
3
-
One of the ways you can benefit from Azure is using the built-in resource monitoring that the platform provides. You can also take advantage of the options that the Azure platform offers for handling and responding to events.
3
+
Azure offers built-in resource monitoring, and you can also use the platform's options for handling and responding to events, enhancing your ability to maintain and manage your database systems effectively.
4
+
5
+
Most SQL Server Agent features are supported in Azure SQL Managed Instance, but there are some minor T-SQL differences between SQL Server and Azure SQL Managed Instance that might affect job scripts.
4
6
5
7
## Learning objectives
6
8
7
-
At the end of this module, you will understand:
9
+
At the end of this module, you'll understand:
8
10
9
11
- What maintenance activities you should perform on your databases
10
12
- How to configure notifications and alerts on SQL Server Agent jobs and SQL Server
0 commit comments