FEFreeExamDumps.in

DP-300 Practice Questions — Page 27

Question 261

Open question ↗

You have a SQL Server on Azure Virtual Machines instance named SQLVM1 that contains two databases named DB1 and DB2. The database and log files for DB1 and DB2 are hosted on managed disks.

You need to perform a snapshot backup of DB1 and DB2.

How should you complete the T-SQL statements? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 261

Question 262

Open question ↗

You have an Azure subscription. The subscription contains three virtual machines that run Red Hat Enterprise Linux (RHEL).

You plan to implement a highly available deployment of Microsoft SQL Server 2022 on the virtual machines by using failover cluster instances (FCIs).

You need to prepare for the implementation.

What should you do first on each server?

  • A.Create the FCI disk and network resources.
  • B.Install a named SQL Server instance.
  • C.Install the cluster resource manager and the FCI resource agent. ✓
  • D.Install the default SQL Server instance.

Question 263

Open question ↗

You have an Azure SQL database named DB3.

You need to provide a user named DevUser with the ability to view the properties of DB3 from Microsoft SQL Server Management Studio (SSMS) as shown in the exhibit. (Click the Exhibit tab.)

Which Transact-SQL command should you run?

Question 263
  • A.GRANT SHOWPLAN TO DevUser
  • B.GRANT VIEW DEFINITION TO DevUser
  • C.GRANT VIEW DATABASE STATE TO DevUser
  • D.GRANT SELECT TO DevUser

Question 264

Open question ↗

You have SQL Server on an Azure virtual machine that contains a database named DB1.

The database reports a CHECKSUM error.

You need to recover the database.

How should you complete the statements? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 264

Question 265

Open question ↗

You have an Azure SQL Database managed instance named sqldbmi1 that contains a database name Sales.

You need to initiate a backup of Sales.

How should you complete the Transact-SQL statement? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 265

Question 266

Open question ↗

You have an Azure Data Lake Storage Gen2 account named account1 that stores logs as shown in the following table.

You do not expect that the logs will be accessed during the retention periods.

You need to recommend a solution for account1 that meets the following requirements:

✑ Automatically deletes the logs at the end of each retention period

✑ Minimizes storage costs

What should you include in the recommendation? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 266

Question 267

Open question ↗

You have two Azure virtual machines named VM1 and VM2 that run Windows Server 2019. VM1 and VM2 each host a default Microsoft SQL Server 2019 instance. VM1 contains a database named DB1 that is backed up to a file named D:\DB1.bak.

You plan to deploy an Always On availability group that will have the following configurations:

✑ VM1 will host the primary replica of DB1.

✑ VM2 will host a secondary replica of DB1.

You need to prepare the secondary database on VM2 for the availability group.

How should you complete the Transact-SQL statement? To answer, select the appropriate options in the answer area.

Hot Area:

Question 267

Question 268

Open question ↗

You have an Azure Active Directory (Azure AD) tenant named contoso.com that contains a user named [email protected] and an Azure SQL managed instance named SQLMI1.

You need to ensure that [email protected] can create logins in SQLMI1 that map to Azure AD service principals.

Which three actions should you perform in sequence? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.

Select and Place:

Question 268

Question 269

Open question ↗

You have a 50-TB Microsoft SQL Server database named DB1.

You need to reduce the time it takes to perform database consistency checks of DB1.

Which Transact-SQL command should you run? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 269

Question 270

Open question ↗

You have an Azure SQL database named DB1 that contains a private certificate named Sales. The private key for Sales is encrypted with a password.

You need to change the password for the private key.

Which Transact-SQL statement should you run?

  • A.ALTER CERTIFICATE Sales WITH PRIVATE KEY (DECRYPTION BY PASSWORD = ' EWYx9Xk+$#');
  • B.ALTER CERTIFICATE Sales WITH PRIVATE KEY (ENCRYPTION BY PASSWORD = ' 6YY9YcD!pV');
  • C.ALTER CERTIFICATE Sales WITH PRIVATE KEY (DECRYPTION BY PASSWORD = 'Mb^68K&*w%'), ENCRYPTION BY PASSWORD = ' 6YY9YcD!pV'); ✓
  • D.ALTER CERTIFICATE Sales WITH PRIVATE KEY (FILE = 'D:\importkeys\SalesNew, (DECRYPTION BY PASSWORD = ' Mb^68K&*w%');