ExamGecko
Home Home / Microsoft / DP-300

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

Question list
Search
Search

List of questions

Search

Related questions











Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have SQL Server 2019 on an Azure virtual machine.

You are troubleshooting performance issues for a query in a SQL Server instance.

To gather more information, you query sys.dm_exec_requests and discover that the wait type is PAGELATCH_UP and the wait_resource is 2:3:905856.

You need to improve system performance.

Solution: You reduce the use of table variables and temporary tables.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:

Reference:

https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduce-allocation-contention

You have an Azure SQL database named db1 on a server named server1.

You need to modify the MAXDOP settings for db1.

What should you do?

A.
Connect to db1 and run the sp_configure command.
A.
Connect to db1 and run the sp_configure command.
Answers
B.
Connect to the master database of server1 and run the sp_configure command.
B.
Connect to the master database of server1 and run the sp_configure command.
Answers
C.
Configure the extended properties of db1.
C.
Configure the extended properties of db1.
Answers
D.
Modify the database scoped configuration of db1.
D.
Modify the database scoped configuration of db1.
Answers
Suggested answer: D

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/configure-max-degree-of-parallelism

Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have SQL Server 2019 on an Azure virtual machine.

You are troubleshooting performance issues for a query in a SQL Server instance.

To gather more information, you query sys.dm_exec_requests and discover that the wait type is PAGELATCH_UP and the wait_resource is 2:3:905856.

You need to improve system performance.

Solution: You create additional tempdb files.

Does this meet the goal?

A.
Yes
A.
Yes
Answers
B.
No
B.
No
Answers
Suggested answer: A

Explanation:

Reference:

https://docs.microsoft.com/en-US/troubleshoot/sql/performance/recommendations-reduce-allocation-contention

You have SQL Server on an Azure virtual machine.

You need to add a 4-TB volume that meets the following requirements:

Maximizes IOPs

Uses premium solid state drives (SSDs)

What should you do?

A.
Attach two mirrored 4-TB SSDs.
A.
Attach two mirrored 4-TB SSDs.
Answers
B.
Attach a stripe set that contains four 1-TB SSDs.
B.
Attach a stripe set that contains four 1-TB SSDs.
Answers
C.
Attach a RAID-5 array that contains five 1-TB SSDs.
C.
Attach a RAID-5 array that contains five 1-TB SSDs.
Answers
D.
Attach a single 4-TB SSD.
D.
Attach a single 4-TB SSD.
Answers
Suggested answer: B

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/virtual-machines/windows/storage-configuration?tabs=windows2016

You have an Azure SQL database named db1 on a server named server1.

The Intelligent Insights diagnostics log identifies that several tables are missing indexes.

You need to ensure that indexes are created for the tables.

What should you do?

A.
Run the DBCC SQLPERF command.
A.
Run the DBCC SQLPERF command.
Answers
B.
Run the DBCC DBREINDEX command.
B.
Run the DBCC DBREINDEX command.
Answers
C.
Modify the automatic tuning settings for db1.
C.
Modify the automatic tuning settings for db1.
Answers
D.
Modify the Query Store settings for db1.
D.
Modify the Query Store settings for db1.
Answers
Suggested answer: C

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/automatic-tuning-overview

You have an Azure SQL managed instance named SQL1 and two Azure web apps named App1 and App2.

You need to limit the number of IOPs that App2 queries generate on SQL1.

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

NOTE: Each correct selection is worth one point.

A.
Enable query optimizer fixes.
A.
Enable query optimizer fixes.
Answers
B.
Enable Resource Governor.
B.
Enable Resource Governor.
Answers
C.
Enable parameter sniffing.
C.
Enable parameter sniffing.
Answers
D.
Create a workload group.
D.
Create a workload group.
Answers
E.
Configure In-memory OLTP.
E.
Configure In-memory OLTP.
Answers
F.
Run the Database Engine Tuning Advisor.
F.
Run the Database Engine Tuning Advisor.
Answers
G.
Reduce the Max Degree of Parallelism value.
G.
Reduce the Max Degree of Parallelism value.
Answers
Suggested answer: B, D

Explanation:

Reference:

https://docs.microsoft.com/en-us/sql/relational-databases/resource-governor/resource-governor?view=sql-server-ver15

You have a Microsoft SQL Server 2019 instance in an on-premises datacenter. The instance contains a 4-TB database named DB1.

You plan to migrate DB1 to an Azure SQL Database managed instance.

What should you use to minimize downtime and data loss during the migration?

A.
distributed availability groups
A.
distributed availability groups
Answers
B.
database mirroring
B.
database mirroring
Answers
C.
log shipping
C.
log shipping
Answers
D.
Database Migration Assistant
D.
Database Migration Assistant
Answers
Suggested answer: D

You have 20 Azure SQL databases provisioned by using the vCore purchasing model.

You plan to create an Azure SQL Database elastic pool and add the 20 databases.

Which three metrics should you use to size the elastic pool to meet the demands of your workload? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.

A.
total size of all the databases
A.
total size of all the databases
Answers
B.
geo-replication support
B.
geo-replication support
Answers
C.
number of concurrently peaking databases * peak CPU utilization per database
C.
number of concurrently peaking databases * peak CPU utilization per database
Answers
D.
maximum number of concurrent sessions for all the databases
D.
maximum number of concurrent sessions for all the databases
Answers
E.
total number of databases * average CPU utilization per database
E.
total number of databases * average CPU utilization per database
Answers
Suggested answer: A, C, E

Explanation:

CE: Estimate the vCores needed for the pool as follows:

For vCore-based purchasing model: MAX(<Total number of DBs X average vCore utilization per DB>, <Number of concurrently peaking DBs X Peak vCore utilization per DB)

A: Estimate the storage space needed for the pool by adding the number of bytes needed for all the databases in the pool.

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/elastic-pool-overview

You have an Azure SQL database that contains a table named factSales. FactSales contains the columns shown in the following table.

FactSales has 6 billion rows and is loaded nightly by using a batch process.

Which type of compression provides the greatest space reduction for the database?

A.
page compression
A.
page compression
Answers
B.
row compression
B.
row compression
Answers
C.
columnstore compression
C.
columnstore compression
Answers
D.
columnstore archival compression
D.
columnstore archival compression
Answers
Suggested answer: D

Explanation:

Columnstore tables and indexes are always stored with columnstore compression. You can further reduce the size of columnstore data by configuring an additional compression called archival compression.

Note: Columnstore — The columnstore index is also logically organized as a table with rows and columns, but the data is physically stored in a column-wise data format.

Incorrect Answers:

B: Rowstore — The rowstore index is the traditional style that has been around since the initial release of SQL Server.

For rowstore tables and indexes, use the data compression feature to help reduce the size of the database.

Reference:

https://docs.microsoft.com/en-us/sql/relational-databases/data-compression/data-compression

You have a Microsoft SQL Server 2019 database named DB1 that uses the following database-level and instance-level features.

Clustered columnstore indexes

Automatic tuning

Change tracking

PolyBase

You plan to migrate DB1 to an Azure SQL database.

What feature should be removed or replaced before DB1 can be migrated?

A.
Clustered columnstore indexes
A.
Clustered columnstore indexes
Answers
B.
PolyBase
B.
PolyBase
Answers
C.
Change tracking
C.
Change tracking
Answers
D.
Automatic tuning
D.
Automatic tuning
Answers
Suggested answer: B

Explanation:

This table lists the key features for PolyBase and the products in which they're available.

Incorrect Answers:

C: Change tracking is a lightweight solution that provides an efficient change tracking mechanism for applications. It applies to both Azure SQL Database and SQL Server.

D: Azure SQL Database and Azure SQL Managed Instance automatic tuning provides peak performance and stable workloads through continuous performance tuning based on AI and machine learning.

Reference:

https://docs.microsoft.com/en-us/sql/relational-databases/polybase/polybase-versioned-feature-summary

Total 338 questions
Go to page: of 34