FEFreeExamDumps.in

DP-300 Practice Questions — Page 17

Question 161

Open question ↗

You have an Azure SQL managed instance named Server1 and an Azure Blob Storage account named storage1 that contains Microsoft SQL Server database backup files.

You plan to use Log Replay Service to migrate the backup files from storage1 to Server1. The solution must use the highest level of security when connecting to storage1.

Which PowerShell cmdlet should you run, and which parameter should you specify to secure the connection? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 161

Question 162

Open question ↗

You have an on-premises Microsoft SQL Server instance named SQLSVR1 that hosts a database named DB1.

You have an Azure subscription that contains an Azure SQL database named SQLDB1.

You need to perform the following actions:

• Sync DB1 with SQLDB1 by using SQL Data Sync.

• Configure an index in DB1 by using CREATE INDEX.

• Add data to DB1 at regular intervals by using BULK INSERT.

Which option should you specify when you use BULK INSERT, and which parameter should you specify when you use CREATE INDEX? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

Question 162

Question 163

Open question ↗

You have an Azure subscription that contains an Azure SQL database named DB1.

You execute the following T-SQL statements against DB1.

For each of the following statements, select Yes if the statement is true, otherwise select No.

NOTE: Each correct selection is worth one point.

Question 163

Question 164

Open question ↗

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

You have an application that queries DB1 to generate a sales report.

You need to see the parameter values from the last time the query was executed.

Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  • A.Enable Last_Query_Plan_Stats in the master database
  • B.Enable Lightweight_Query_Profiling in DB1
  • C.Enable Last_Query_Plan_Stats in DB1
  • D.Enable Lightweight_Query_Profiling in the master database
  • E.Enable PARAMETER_SNIFFING in DB1

Question 165

Open question ↗

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

You need to enable automatic tuning for Db1.

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

NOTE: Each correct selection is worth one point.

Hot Area:

Question 165

Question 166

Open question ↗

You deploy a database to an Azure SQL Database managed instance.

You need to prevent read queries from blocking queries that are trying to write to the database.

Which database option should set?

  • A.PARAMETERIZATION to FORCED
  • B.PARAMETERIZATION to SIMPLE
  • C.Delayed Durability to Forced
  • D.READ_COMMITTED_SNAPSHOT to ON

Question 167

Open question ↗

You have an Azure SQL database.

You discover that the plan cache is full of compiled plans that were used only once.

You run the select * from sys.database_scoped_configurations Transact-SQL command and receive the results shown in the following table.

You need relieve the memory pressure.

What should you configure?

Question 167
  • A.LEGACY_CARDINALITY_ESTIMATION
  • B.QUERY_OPTIMIZER_HOTFIXES
  • C.OPTIMIZE_FOR_AD_HOC_WORKLOADS
  • D.ACCELERATED_PLAN_FORCING

Question 168

Open question ↗

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

You view a plan summary that shows the duration in milliseconds of each execution of query 1178902 as shown in the following exhibit:

What should you do to ensure that the query uses the execution plan which executes in the least amount of time?

Question 168
  • A.Force the query execution plan for plan 1221065.
  • B.Run the DBCC FREEPROCCACHE command.
  • C.Force the query execution plan for plan 1220917.
  • D.Disable parameter sniffing.

Question 169

Open question ↗

You have an Azure SQL database named DB1. The automatic tuning options for DB1 are configured as shown in the following exhibit.

For each of the following statements, select Yes if the statement is true. Otherwise, select No.

NOTE: Each correct selection is worth one point.

Hot Area:

Question 169

Question 170

Open question ↗

You have an Azure SQL database named DB1. You run a query while connected to DB1.

You review the actual execution plan for the query, and you add an index to a table referenced by the query.

You need to compare the previous actual execution plan for the query to the Live Query Statistics.

What should you do first in Microsoft SQL Server Management Studio (SSMS)?

  • A.For DB1, set QUERY_CAPTURE_MODE of Query Store to All.
  • B.Run the SET SHOWPLAN_ALL Transact-SQL statement.
  • C.Save the actual execution plan.
  • D.Enable Query Store for DB1.