ExamGecko
Home Home / Microsoft / DP-300

Microsoft DP-300 Practice Test - Questions Answers, Page 22

Question list
Search
Search

List of questions

Search

Related questions











You have a database on a SQL Server on Azure Virtual Machines instance.

The current state of Query Store for the database is shown in the following exhibit.

A.
A.
Answers
Suggested answer: A

You have an Azure SQL managed instance named MI1.

You need to implement automatic tuning for the databases of MI1.

What should you do?

A.
Use the REST API to call the patch operation and modify the AutomaticTuningServerMode property
A.
Use the REST API to call the patch operation and modify the AutomaticTuningServerMode property
Answers
B.
Use Transact-SQL to enable the force_last_good_plan option.
B.
Use Transact-SQL to enable the force_last_good_plan option.
Answers
C.
From the Azure portal, configure automatic tuning.
C.
From the Azure portal, configure automatic tuning.
Answers
Suggested answer: B

You have an Azure subscription that contains a logical SQL server named Serverl. The master database of Serverl contains a user named Userl. You need to ensure that Userl can create databases on Serverl. Which database role should you assign to Userl?

A.
db_owner
A.
db_owner
Answers
B.
dbmanager
B.
dbmanager
Answers
C.
dbo
C.
dbo
Answers
D.
db_ddladmin
D.
db_ddladmin
Answers
Suggested answer: B

HOTSPOT

You have a SQL Server on Azure Virtual Machines instance named VM1 that hosts a database named DB1. You run the following query.

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


Question 214
Correct answer: Question 214

You have a on-premises Microsoft SQL Server named SQL1 that hosts five databases.

You need to migrate the databases to an Azure SQL managed instance. The solution must minimize downtime and prevent data loss. What should you use?

A.
log shipping
A.
log shipping
Answers
B.
Always On availability groups
B.
Always On availability groups
Answers
C.
Database Migration Assistant
C.
Database Migration Assistant
Answers
D.
Backup and Restore
D.
Backup and Restore
Answers
Suggested answer: C

You have an Azure subscription that contains the resources shown in the following table.

You need to configure a connection between VM1 and MIL The solution must meet the following requirements:

• The connection must be encrypted.

• Network latency must be minimized.

What should you implement?

A.
virtual network peering
A.
virtual network peering
Answers
B.
private endpoints
B.
private endpoints
Answers
C.
service endpoints
C.
service endpoints
Answers
D.
a site-to-site VPN
D.
a site-to-site VPN
Answers
Suggested answer: B

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.
A.
Answers
B.
B.
Answers
C.
C.
Answers
D.
D.
Answers
Suggested answer: C

You have two on-premises servers that run Windows Server 2019 and host a Microsoft SQL Server 2017 Always On availability group named AG1. AG1 contains a single database named DB1. You have an Azure subscription. The subscription contains a virtual machine named VM1 that runs Linux. You need to migrate DB1 to a SQL Server 2019 instance on VM1. The solution must minimize the downtime of DB1 during the migration. What should you do? To answer, select the appropriate options in the answer area.

NOTE: Each correct selection is worth one point.

A.
A.
Answers
Suggested answer: A

DRAG DROP

You have an Azure subscription.

You plan to deploy a new Azure virtual machine that will host a Microsoft SQL Server instance.

You need to configure the disks on the virtual machine. The solution must meet the following requirements:

• Minimize latency for transaction logs.

• Minimize the impact on IO Of the virtual machine.

Which type of disk should you use for each workload? To answer. drag the appropriate disk types to the correct workloads. Each disk type may be used once, at all. You may need to drag the split bar between panes or scroll to view content. NOTE: Each correct selection is worth one point.


Question 219
Correct answer: Question 219

Your on-premises network contains a Microsoft SQL Server 2016 server that hosts a database named db1. You have an Azure subscription.

You plan to migrate db1 to an Azure SQL managed instance.

You need to create the SQL managed instance. The solution must minimize the disk latency of the instance. Which service tier should you use?

A.
Hyperscale
A.
Hyperscale
Answers
B.
General Purpose
B.
General Purpose
Answers
C.
Premium
C.
Premium
Answers
D.
Business Critical
D.
Business Critical
Answers
Suggested answer: D
Total 338 questions
Go to page: of 34