nerdexam
Microsoft

DP-300 · Question #438

Drag and Drop Question You have an Azure subscription that contains a virtual network named VNet1 and two SQL Server on Azure Virtual Machines instances named SQLVM1 and SQLVM2. SQLVM1 and SQLVM2…

The correct answer is CREATE MASTER KEY; CREATE CERTIFICATE WITH SUBJECT; BACKUP CERTIFICATE; CREATE CERTIFICATE FROM FILE; CREATE ENDPOINT. The correct sequence follows the logical dependency chain required to set up certificate-based authentication for a domain-independent availability group. You must first CREATE MASTER KEY to encrypt the database master key, then CREATE CERTIFICATE WITH SUBJECT to generate a…

Submitted by tarun92· Mar 6, 2026Configure high availability and disaster recovery for SQL Server on Azure Virtual Machines, specifically implementing domain-independent (workgroup) availability groups using certificate-based endpoint authentication.

Question

Drag and Drop Question You have an Azure subscription that contains a virtual network named VNet1 and two SQL Server on Azure Virtual Machines instances named SQLVM1 and SQLVM2. SQLVM1 and SQLVM2 are connected to VNet1. You plan to deploy a domain-independent availability group that will be hosted on SQLVM1 and SQLVM2. You create the required security principals. You need to complete the deployment. In which order should you run the commands? To answer, move all commands from the list of commands to the answer area and arrange them in the correct order. Answer:

Exhibit

DP-300 question #438 exhibit

Answer Area

Drag items

CREATE CERTIFICATE FROM FILECREATE ENDPOINTCREATE MASTER KEYBACKUP CERTIFICATECREATE CERTIFICATE WITH SUBJECT

Correct arrangement

  • CREATE MASTER KEY
  • CREATE CERTIFICATE WITH SUBJECT
  • BACKUP CERTIFICATE
  • CREATE CERTIFICATE FROM FILE
  • CREATE ENDPOINT

Explanation

The correct sequence follows the logical dependency chain required to set up certificate-based authentication for a domain-independent availability group. You must first CREATE MASTER KEY to encrypt the database master key, then CREATE CERTIFICATE WITH SUBJECT to generate a self-signed certificate on the first instance, then BACKUP CERTIFICATE to export that certificate to a file so it can be shared with the second SQL VM, then CREATE CERTIFICATE FROM FILE on the second instance to import the certificate from the first VM (enabling mutual trust), and finally CREATE ENDPOINT to create the database mirroring endpoint that uses the certificate for authentication. Each step is a prerequisite for the next, as the certificate must exist before it can be backed up, and the endpoint cannot be created without the certificate infrastructure in place.

Topics

#Always On Availability Groups#Domain-Independent Availability Groups#SQL Server on Azure VMs#Certificate-Based Authentication

Community Discussion

No community discussion yet for this question.

Full DP-300 Practice