ExamGecko
Home Home / Microsoft / DP-300

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

Question list
Search
Search

List of questions

Search

Related questions











You deploy an instance of SQL Server on Azure Virtual Machines named SQL1 that hosts multiple databases.

You configure the full recovery model for all the databases.

You perform a full backup of the master database on SQL1.

You need to a perform an additional backup of the master database on SQL1. The solution must minimize how long it takes to perform the backup.

Which type of backup should you perform?

A.
tail-log
A.
tail-log
Answers
B.
differential
B.
differential
Answers
C.
full
C.
full
Answers
D.
log
D.
log
Answers
Suggested answer: B

You have an Azure SQL database named SOL1.

You need to implement a disaster recovery solution for SQL1. The solution must minimize the following:

* The recovery point objective JRPO)

* The recovery time objective (RTO)

* Administrative effort

What should you include in the solution?

A.
auto failover groups
A.
auto failover groups
Answers
B.
Azure Site Recovery
B.
Azure Site Recovery
Answers
C.
availability groups
C.
availability groups
Answers
D.
active geo - replication
D.
active geo - replication
Answers
Suggested answer: A

DRAG DROP

You have an Azure key vault named Vault1 and a SQL Server on Azure Virtual Machines instance named SQL1 SQL 1 hosts a database named DB1.

You need to configure Transparent Data Encryption (TDE) on D61 to use a key in Vault1

Which four 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 303
Correct answer: Question 303

Explanation:

Create an Azure AD service principal and grant the service principal permissions for Vault1.

On SQL, create an asymmetric key.

On SQL1, create a cryptographic provider and a Microsoft SQL Server credential.

On SQL1, create a login from the asymmetric key.


You Save an Azure SCX database named DB1.

You need to query the fragmentation information of data and indexes for the tables in D61.

Which command should you run?

A.
A.
Answers
B.
B.
Answers
C.
C.
Answers
D.
D.
Answers
Suggested answer: A

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

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

You need to replicate DB1 to SQlDC1.

Which type of replication should you use?

A.
peer-to-pec
A.
peer-to-pec
Answers
B.
merge
B.
merge
Answers
C.
transactional
C.
transactional
Answers
D.
snapshot
D.
snapshot
Answers
Suggested answer: C

HOTSPOT

You have an Azure subscription.

You need to deploy a logical SQL server by using an Azure Resource Manager (ARM) template. The solution must ensure that the server will allow inbound connectivity from any Azure resource.

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

NOTE: Each correct selection is worth one point.


Question 306
Correct answer: Question 306

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

You plan louse SQLDB11 as an elastic job database to run jobs on SQlDb11 andSOtDB22. What is the minimum number of database scoped credentials required tor the elastic jobs?

A.
1
A.
1
Answers
B.
2
B.
2
Answers
C.
3
C.
3
Answers
D.
4
D.
4
Answers
Suggested answer: A

You have an Azure subscription.

You need to deploy an Instance of SQL Server on Azure Virtual Machines. The solution must meet the following 'requirements:

* Custom performance configuration. such as lCPS. capacity, and throughout, must be supported.

* Costs must be minimized

Which type of disk should you include in the solution?

A.
Premium SSD v2
A.
Premium SSD v2
Answers
B.
Premium SSD
B.
Premium SSD
Answers
C.
Ultra SSD
C.
Ultra SSD
Answers
D.
Standard SSD
D.
Standard SSD
Answers
Suggested answer: A

You have an Azure subscription.

You create a logical SQL server that hosts four databases Each database will be used by a separate customer.

You need to ensure that each customer can access only its own database. The solution must minimize administrative effort

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

NOTE: Each correct selection is worth one point.

A.
Create a network security group (NSG)
A.
Create a network security group (NSG)
Answers
B.
Create a server-level firewall rule
B.
Create a server-level firewall rule
Answers
C.
Create a private endpoint
C.
Create a private endpoint
Answers
D.
Create a database-level firewall rule.
D.
Create a database-level firewall rule.
Answers
E.
Deny public access.
E.
Deny public access.
Answers
Suggested answer: C, D

Task 1

In an Azure SQL database named db1, you need to enable page compression on the PK_SalesOrderHeader_SalesOrderlD clustered index of the SalesLT.SalesOrderHeader table.

A.
See the explanation part for the complete Solution
A.
See the explanation part for the complete Solution
Answers
Suggested answer: A

Explanation:

To enable page compression on the PK_SalesOrderHeader_SalesOrderlD clustered index of the SalesLT.SalesOrderHeader table in db1, you can use the following Transact-SQL script:

-- Connect to the Azure SQL database named db1

USE db1;

GO

-- Enable page compression on the clustered index

ALTER INDEX PK_SalesOrderHeader_SalesOrderlD ON SalesLT.SalesOrderHeader

REBUILD WITH (DATA_COMPRESSION = PAGE);

GO

This script will rebuild the clustered index with page compression, which can reduce the storage space and improve the query performance

The script solution consists of three parts:

The first part isUSE db1; GO. This part connects to the Azure SQL database named db1, where the SalesLT.SalesOrderHeader table is located. TheGOcommand separates the batches of Transact-SQL statements and sends them to the server.

The second part isALTER INDEX PK_SalesOrderHeader_SalesOrderlD ON SalesLT.SalesOrderHeader REBUILD WITH (DATA_COMPRESSION = PAGE); GO. This part enables page compression on the clustered index named PK_SalesOrderHeader_SalesOrderlD, which is defined on the SalesLT.SalesOrderHeader table. TheALTER INDEXstatement modifies the properties of an existing index. TheREBUILDoption rebuilds the index from scratch, which is required to change the compression setting. TheDATA_COMPRESSION = PAGEoption specifies that page compression is applied to the index, which means that both row and prefix compression are used. Page compression can reduce the storage space and improve the query performance by compressing the data at the page level. TheGOcommand ends the batch of statements.

The third part is optional, but it can be useful to verify the compression status of the index. It isSELECT name, index_id, data_compression_desc FROM sys.indexes WHERE object_id = OBJECT_ID('SalesLT.SalesOrderHeader');. This part queries the sys.indexes catalog view, which contains information about the indexes in the database. TheSELECTstatement returns the name, index_id, and data_compression_desc columns for the indexes that belong to the SalesLT.SalesOrderHeader table. TheOBJECT_IDfunction returns the object identification number for the table name. The data_compression_desc column shows the compression type of the index, which should be PAGE for the clustered index after the script is executed.

These are the steps of the script solution for enabling page compression on the clustered index of the SalesLT.SalesOrderHeader table in db1.

Total 338 questions
Go to page: of 34