exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 5 question 14 discussion

Actual exam question from Microsoft's DP-300
Question #: 14
Topic #: 5
[All DP-300 Questions]

You have an Azure SQL managed instance.
You need to enable SQL Agent Job email notifications.
What should you do?

  • A. Use the Agent XPs option.
  • B. Enable the SQL Server Agent.
  • C. Run the sp_configure command.
  • D. Run the sp_set_agent_properties command.
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
sca88
6 months, 1 week ago
Selected Answer: C
C is correct. https://learn.microsoft.com/en-us/sql/ssms/agent/configure-sql-server-agent?source=recommendations&view=sql-server-ver16 On Sql Server Managed Instance SqlAgent is always running so B is not possible.
upvoted 3 times
...
bsk1983
1 year, 1 month ago
Selected Answer: C
in SQL MI, user doesnot have control to stop OR start SQL Agent and SQL agent in MI always is in running state so, next step in the process of job alert notification is to enable DB mail by running Sp_configure so, C is correct answer, configure DB mail using Exec Sp_configure
upvoted 2 times
...
bsk1983
1 year, 1 month ago
in SQL MI, user doesnot have control to stop OR start SQL Agent and SQL agent in MI always is in running state so, next step in the process of job alert notification is to enable DB mail by running exec Sp_configure so, C is correct answer, configure DB mail using Exec Sp_configure
upvoted 1 times
...
OBIJUAN88
1 year, 6 months ago
Selected Answer: C
If it isn't already enabled, first you would need to configure the Database Mail feature on SQL Managed Instance: SQL Copy GO EXEC sp_configure 'show advanced options', 1; GO RECONFIGURE; GO EXEC sp_configure 'Database Mail XPs', 1; GO RECONFIGURE https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/job-automation-managed-instance?view=azuresql
upvoted 2 times
...
amazonalex
1 year, 6 months ago
i think C is correct, since you cannot enable/disable sql agent on MI(only can do it on sql server)
upvoted 1 times
...
U_C
1 year, 6 months ago
ChatGPT doesn't provide the correct answer on this question. The Database Mail feature is independent of the SQL Server Agent and can be configured and used without enabling the SQL Server Agent. Usually we enable Database Mail feature first before enabling SQL Agent.
upvoted 2 times
U_C
1 year, 6 months ago
The answer C is correct.
upvoted 1 times
...
Dalamain
6 months, 1 week ago
Which is why we shouldn't take answers from it and stick to contributions from real users!
upvoted 1 times
...
...
TheMCT
1 year, 7 months ago
Selected Answer: B
Enable the SQL Server Agent
upvoted 1 times
Pranava_GCP
1 year, 6 months ago
Enabling and disabling SQL Server Agent is currently not supported in SQL Managed Instance. SQL Agent is always running in SQLMI
upvoted 1 times
Pranava_GCP
1 year, 6 months ago
https://learn.microsoft.com/en-us/sql/ssms/agent/configure-sql-server-agent?source=recommendations&view=sql-server-ver16
upvoted 2 times
sca88
6 months, 1 week ago
Thanks for provided documentation. So the answer C is correct
upvoted 1 times
...
...
...
...
KIET2131
1 year, 7 months ago
Selected Answer: B
B. Enable the SQL Server Agent. Explanation: To enable SQL Agent Job email notifications, you need to enable the SQL Server Agent. The SQL Server Agent is a component of the SQL Server Database Engine that can execute scheduled administrative tasks, such as executing SQL Agent jobs. SQL Agent jobs can be configured to send email notifications based on job status. To enable the SQL Server Agent, you can use SQL Server Management Studio or Transact-SQL commands. Once the SQL Server Agent is enabled, you can configure email notifications for SQL Agent jobs in the SQL Server Agent properties.
upvoted 2 times
...
Ciupaz
2 years ago
Selected Answer: C
In this page: https://learn.microsoft.com/en-us/azure/azure-sql/managed-instance/job-automation-managed-instance?view=azuresql they use sp_configure option.
upvoted 3 times
...
Bigdicktome
2 years, 1 month ago
Are you sure this is the answer? I think A
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago