ExamGecko
Home Home / Microsoft / DP-300

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

Question list
Search
Search

List of questions

Search

Related questions











You have an on-premises Microsoft SQL server that uses the FileTables and Filestream features.

You plan to migrate to Azure SQL.

Which service should you use?

A.
Azure SQL Database
A.
Azure SQL Database
Answers
B.
SQL Server on an Azure Virtual Machine
B.
SQL Server on an Azure Virtual Machine
Answers
C.
Azure SQL Managed Instance
C.
Azure SQL Managed Instance
Answers
D.
Azure Database for MySQL
D.
Azure Database for MySQL
Answers
Suggested answer: B

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/migration-guides/database/sql-server-to-sql-database-overview

You need to migrate an on-premises Microsoft SQL Server database to Azure SQL Database. The solution must minimize downtime. What should you do?

A.
Configure Transaction Log Shipping.
A.
Configure Transaction Log Shipping.
Answers
B.
Implement Always On availability groups.
B.
Implement Always On availability groups.
Answers
C.
Configure transactional replication.
C.
Configure transactional replication.
Answers
D.
Import a BACPAC.
D.
Import a BACPAC.
Answers
Suggested answer: C

Explanation:

Reference: https://docs.microsoft.com/en-us/azure/azure-sql/database/migrate-to-database-from-sql-server#method-1-migration-with-downtime-during-the-migration

You have an Azure SQL database named DB1.

You have a table name Table1 that has 20 columns of type CHAR(400). Row compression for Table1 is enabled.

During a database audit, you discover that none of the fields contain more than 150 characters.

You need to ensure that you can apply page compression to Table1.

What should you do?

A.
Configure the columns as sparse.
A.
Configure the columns as sparse.
Answers
B.
Change the column type to NVARCHAR(MAX).
B.
Change the column type to NVARCHAR(MAX).
Answers
C.
Change the column type to VARCHAR(MAX).
C.
Change the column type to VARCHAR(MAX).
Answers
D.
Change the column type to VARCHAR(200).
D.
Change the column type to VARCHAR(200).
Answers
Suggested answer: D

Explanation:

Reference: https://www.sqlshack.com/sql-varchar-data-type-deep-dive/

https://36chambers.wordpress.com/2020/06/18/nvarchar-everywhere-a-thought-experiment/

You have an Azure virtual machine named VM1 on a virtual network named VNet1. Outbound traffic from VM1 to the internet is blocked. You have an Azure SQL database named SqlDb1 on a logical server named SqlSrv1.

You need to implement connectivity between VM1 and SqlDb1 to meet the following requirements:

Ensure that VM1 cannot connect to any Azure SQL Server other than SqlSrv1. Restrict network connectivity to SqlSrv1. What should you create on VNet1?

A.
a VPN gateway
A.
a VPN gateway
Answers
B.
a service endpoint
B.
a service endpoint
Answers
C.
a private endpoint
C.
a private endpoint
Answers
D.
an ExpressRoute gateway
D.
an ExpressRoute gateway
Answers
Suggested answer: B

Explanation:

A private endpoint is a network interface that uses a private IP address from your virtual network. This network interface connects you privately and securely to a service powered by Azure Private Link. By enabling a private endpoint, you're bringing the service into your virtual network.

The service could be an Azure service such as:

Azure Storage

Azure Cosmos DB

Azure SQL Database

Your own service using a Private Link Service.

Reference:

https://docs.microsoft.com/en-us/azure/private-link/private-endpoint-overview

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

The Intelligent Insights diagnostics log identifies queries that cause performance issues due to tempDB contention. You need to resolve the performance issues.

What should you do?

A.
Implement memory-optimized tables.
A.
Implement memory-optimized tables.
Answers
B.
Run the DBCC FLUSHPROCINDB command.
B.
Run the DBCC FLUSHPROCINDB command.
Answers
C.
Replace the sequential index keys with nonsequential keys.
C.
Replace the sequential index keys with nonsequential keys.
Answers
D.
Run the DBCC DBREINDEX command.
D.
Run the DBCC DBREINDEX command.
Answers
Suggested answer: A

Explanation:

Reference: https://docs.microsoft.com/en-us/azure/azure-sql/database/intelligent-insights-troubleshoot-performance#tempdb-contention

You have an instance of SQL Server on Azure Virtual Machines that has a database named DB1.

You plan to implement Azure SQL Data Sync for DB1.

Which isolation level should you configure?

A.
SERIALIZABLE
A.
SERIALIZABLE
Answers
B.
SNAPSHOT
B.
SNAPSHOT
Answers
C.
READ UNCOMMITTED
C.
READ UNCOMMITTED
Answers
D.
READ COMMITTED
D.
READ COMMITTED
Answers
Suggested answer: B

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/sql-data-sync-data-sql-server-sql-database

You have an Azure SQL managed instance.

You need to enable SQL Agent Job email notifications.

What should you do?

A.
Use the Agent XPs option.
A.
Use the Agent XPs option.
Answers
B.
Enable the SQL Server Agent.
B.
Enable the SQL Server Agent.
Answers
C.
Run the sp_configure command.
C.
Run the sp_configure command.
Answers
D.
Run the sp_set_agent_properties command.
D.
Run the sp_set_agent_properties command.
Answers
Suggested answer: C

Explanation:

Reference: https://techcommunity.microsoft.com/t5/azure-sql-blog/sending-emails-in-azure-sql-managed-instance/ba-p/386235

You have four Azure subscriptions. Each subscription contains multiple Azure SQL databases.

You need to update the column and index statistics for the databases.

What should you use?

A.
an Azure Automation runbook
A.
an Azure Automation runbook
Answers
B.
a SQL Agent job
B.
a SQL Agent job
Answers
C.
Azure SQL Analytics
C.
Azure SQL Analytics
Answers
D.
automatic tuning in Azure SQL Database
D.
automatic tuning in Azure SQL Database
Answers
Suggested answer: A

Explanation:

Reference: https://www.sqlshack.com/automate-azure-sql-database-indexes-and-statistics-maintenance/

You have a new Azure subscription.

You create an Azure SQL Database instance named DB1 on an Azure SQL Database server named Server1.

You need to ensure that users can connect to DB1 in the event of an Azure regional outage. In the event of an outage, applications that connect to DB1 must be able to connect without having to update the connection strings. Which two actions should you perform? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

A.
From the properties of DB1, configure geo-replication.
A.
From the properties of DB1, configure geo-replication.
Answers
B.
From the properties of Server1, add a failover group.
B.
From the properties of Server1, add a failover group.
Answers
C.
Create a new Azure SQL Database server named Server2.
C.
Create a new Azure SQL Database server named Server2.
Answers
D.
From the properties of Server1, configure retention for DB1.
D.
From the properties of Server1, configure retention for DB1.
Answers
E.
Create a new Azure SQL Database instance named DB2.
E.
Create a new Azure SQL Database instance named DB2.
Answers
Suggested answer: B, C

Explanation:


HOTSPOT

You have an Azure subscription.

You plan to deploy an Azure SQL database by using an Azure Resource Manager template.

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 200
Correct answer: Question 200

Explanation:

Reference:

https://docs.microsoft.com/en-us/azure/azure-sql/database/single-database-create-arm-template-quickstart

Total 338 questions
Go to page: of 34