ExamGecko
Home Home / Microsoft / DP-300

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

Question list
Search
Search

List of questions

Search

Related questions











You have an instance of SQL Server on Azure Virtual Machines.

You need to ensure that a user named User1 can configure proxy accounts for SQL Server Agent jobs.

The solution must use the principle of least privilege.

Which role should you assign to User1?

A.
sysadmin
A.
sysadmin
Answers
B.
SQLAgentUserRole
B.
SQLAgentUserRole
Answers
C.
SQLAgentReaderRole
C.
SQLAgentReaderRole
Answers
D.
SQLAgentOperatorRole
D.
SQLAgentOperatorRole
Answers
Suggested answer: A

You have an Azure SQL database named DB1. DB1 has a table named Table1 that contains the following columns.

You plan to enable Always Encrypted for Table1.

Which two columns support encryption? Each correct answer presents a complete solution.

NOTE: Each correct selection is worth one point

A.
Column1
A.
Column1
Answers
B.
Column2
B.
Column2
Answers
C.
Column3
C.
Column3
Answers
D.
Column4
D.
Column4
Answers
E.
Column5
E.
Column5
Answers
Suggested answer: A, D

You have a single availability set that contains two SQL Server on Azure Virtual Machines instances. The instances were deployed by using an Azure Marketplace SQL Server 2019 Enterprise image that has the latest cumulative updates applied. The instances are configured as the nodes of a failover cluster instance (FCI) named FCI1. You need to ensure that client applications can connect to FCI1. The solution must meet the following requirements:

- Provide an availability SLA

- Minimize costs.

What should you create?

A.
a virtual network name (VNN) resource
A.
a virtual network name (VNN) resource
Answers
B.
a Basic Azure Load Balancer
B.
a Basic Azure Load Balancer
Answers
C.
a distributed network name (DNN) resource
C.
a distributed network name (DNN) resource
Answers
D.
an Azure Standard Load Balancer
D.
an Azure Standard Load Balancer
Answers
Suggested answer: C

You plan to deploy two instances of SQL Server on Azure virtual machines in a highly available configuration that will use an Always On availability group. You need to recommend a deployment solution that meets the following requirements:

- Provides a Service Level Agreement (SLA) of at least 99.95%

- Replicates databases in the same group synchronously

- Minimizes the latency of database writes

What should you recommend?

A.
Create a proximity group and an availability set. Deploy each virtual machine to the availability set Add both virtual machines to the proximity group.
A.
Create a proximity group and an availability set. Deploy each virtual machine to the availability set Add both virtual machines to the proximity group.
Answers
B.
Create two proximity groups and a single availability set. Deploy both virtual machines to the availability set. Add one virtual machine to each proximity group.
B.
Create two proximity groups and a single availability set. Deploy both virtual machines to the availability set. Add one virtual machine to each proximity group.
Answers
C.
Create two proximity groups and two availability sets. Deploy each virtual machine to a unique availability set. Add one virtual machine to each proximity group.
C.
Create two proximity groups and two availability sets. Deploy each virtual machine to a unique availability set. Add one virtual machine to each proximity group.
Answers
D.
Create a proximity group and two availability sets. Deploy each virtual machine to a unique availability set. Add both virtual machines to the proximity group.
D.
Create a proximity group and two availability sets. Deploy each virtual machine to a unique availability set. Add both virtual machines to the proximity group.
Answers
Suggested answer: A

HOTSPOT

You have an on-premises Microsoft SQL Server 2016 instance that hosts a database named db1. You have an Azure subscription that contains an Azure SQL managed instance named Mil. You plan to perform an online migration of db1 to MM by using Azure Database Migration Service.

You need to create the backups for the migration. The solution must minimize the number of backup files created. Which type of backups should you create, and how should you store the backups? To answer, select the appropriate options in the answer area. NOTE: Each correct selection is worth one point.


Question 265
Correct answer: Question 265

HOTSPOT

You have an Azure subscription that contains a resource group named RG1. RG1 contains an instance of SQL Server on Azure Virtual Machines named SQL You need to use PowerShell to enable and configure automated patching for SQL The solution must include both SQL Server and Windows security updates.

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

NOTE: Each correct selection is worth one point.


Question 266
Correct answer: Question 266

You have an on-premises Microsoft SQL Server 2019 database named SQL1 that uses merge replication. You need to migrate SQL1 to Azure. Which service should you use?

A.
Azure SQL Edge
A.
Azure SQL Edge
Answers
B.
Azure SQL Database
B.
Azure SQL Database
Answers
C.
SQL Server on Azure Virtual Machines
C.
SQL Server on Azure Virtual Machines
Answers
D.
Azure SQL Managed instance
D.
Azure SQL Managed instance
Answers
Suggested answer: C

You have an Azure virtual machine named VM1 that runs Windows Server 2022 and hosts a Microsoft SQL Server 2019 instance named SQL1. You need to configure SQL! to use mixed mode authentication. Which procedure should you run?

A.
sp_addremoteIogin
A.
sp_addremoteIogin
Answers
B.
xp_instance_regwrite
B.
xp_instance_regwrite
Answers
C.
sp_cnarge_users_login
C.
sp_cnarge_users_login
Answers
D.
xp_grant_login
D.
xp_grant_login
Answers
Suggested answer: B

You have SQL Server 2019 or an Azure virtual machine that runs Windows Server 2019. The virtual machine has 4 vCPUs and 28 GB of memory. Vou scale up the virtual machine to 8 vCPUs and 64 GB of memory.

You need to reduce tempdb contention without regatively affecting server performance.

What is the number of secondary data files that you should configure for tempdb?

A.
2
A.
2
Answers
B.
4
B.
4
Answers
C.
8
C.
8
Answers
D.
64
D.
64
Answers
Suggested answer: C

DRAG DROP

You have two instances of SQL Server on Azure virtual Machines named VM1 and VM2. VM1 hosts a database named dbl. You plan to create a database availability group (DAG) for dbl. The solution must use certificate authentication between VM1 and VM2. You need to configure authentication for the outbound connections of VM1.

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.


Question 270
Correct answer: Question 270
Total 338 questions
Go to page: of 34