Administering Relational Databases on Microsoft Azure — Question 14

You have an Azure virtual machine based on a custom image named VM1.
VM1 hosts an instance of Microsoft SQL Server 2019 Standard.
You need to automate the maintenance of VM1 to meet the following requirements:
✑ Automate the patching of SQL Server and Windows Server.
✑ Automate full database backups and transaction log backups of the databases on VM1.
✑ Minimize administrative effort.
What should you do first?

Answer options

Correct answer: D

Explanation

The correct answer is D because registering the Azure subscription with the Microsoft.SqlVirtualMachine resource provider is essential for enabling the management of SQL Server on Azure virtual machines, which includes automation features. Options A, B, and C do not directly provide the necessary capabilities for automating SQL Server maintenance tasks on VM1.