Microsoft DP-300 Administering Relational Databases on Microsoft Azure Online Training
Microsoft DP-300 Online Training
The questions for DP-300 were last updated at Nov 23,2024.
- Exam Code: DP-300
- Exam Name: Administering Relational Databases on Microsoft Azure
- Certification Provider: Microsoft
- Latest update: Nov 23,2024
You have several Azure SQL databases on the same Azure SQL Database server in a resource group named ResourceGroup1.
You must be alerted when CPU usage exceeds 80 percent for any database. The solution must apply to any additional databases that are created on the Azure SQL server.
Which resource type should you use to create the alert?
- A . Resource Groups
- B . SQL Servers
- C . SQL Databases
- D . SQL Virtual Machines
You have SQL Server 2019 on an Azure virtual machine that runs Windows Server 2019. The virtual machine has 4 vCPUs and 28 GB of memory.
You scale up the virtual machine to 8 vCPUSs and 64 GB of memory.
You need to provide the lowest latency for tempdb.
What is the total number of data files that tempdb should contain?
- A . 2
- B . 4
- C . 8
- D . 64
You have SQL Server on an Azure virtual machine that contains a database named DB1.
You view a plan summary that shows the duration in milliseconds of each execution of query 1178902 as shown in the following exhibit:
What should you do to ensure that the query uses the execution plan which executes in the least amount of time?
- A . Force the query execution plan for plan 1221065.
- B . Run the DBCC FREEPROCCACHE command.
- C . Force the query execution plan for plan 1220917.
- D . Disable parameter sniffing.
HOTSPOT
You have an Azure SQL database named DB1.
The automatic tuning options for DB1 are configured as shown in the following exhibit.
For each of the following statements, select Yes if the statement is true. Otherwise, select No. NOTE: Each correct selection is worth one point.
You have an Azure SQL database named DB1. You run a query while connected to DB1.
You review the actual execution plan for the query, and you add an index to a table referenced by the query.
You need to compare the previous actual execution plan for the query to the Live Query Statistics.
What should you do first in Microsoft SQL Server Management Studio (SSMS)?
- A . For DB1, set QUERY_CAPTURE_MODE of Query Store to All.
- B . Run the SET SHOWPLAN_ALL Transact-SQL statement.
- C . Save the actual execution plan.
- D . Enable Query Store for DB1.
You have an Azure SQL database.
Users report that the executions of a stored procedure are slower than usual. You suspect that a regressed query is causing the performance issue.
You need to view the query execution plan to verify whether a regressed query is causing the issue.
The solution must minimize effort.
What should you use?
- A . Performance Recommendations in the Azure portal
- B . Extended Events in Microsoft SQL Server Management Studio (SSMS)
- C . Query Store in Microsoft SQL Server Management Studio (SSMS)
- D . Query Performance Insight in the Azure portal
You have an Azure SQL database. The database contains a table that uses a columnstore index and is accessed infrequently.
You enable columnstore archival compression.
What are two possible results of the configuration? Each correct answer presents a complete solution. NOTE: Each correct selection is worth one point.
- A . Queries that use the index will consume more disk I/O.
- B . Queries that use the index will retrieve fewer data pages.
- C . The index will consume more disk space.
- D . The index will consume more memory.
- E . Queries that use the index will consume more CPU resources.
You plan to move two 100-GB databases to Azure.
You need to dynamically scale resources consumption based on workloads. The solution must minimize downtime during scaling operations.
What should you use?
- A . two Azure SQL Databases in an elastic pool
- B . two databases hosted in SQL Server on an Azure virtual machine
- C . two databases in an Azure SQL Managed instance
- D . two single Azure SQL databases
You have an on-premises app named App1 that stores data in an on-premises Microsoft SQL Server 2016 database named DB1.
You plan to deploy additional instances of App1 to separate Azure regions. Each region will have a separate instance of App1 and DB1. The separate instances of DB1 will sync by using Azure SQL Data Sync.
You need to recommend a database service for the deployment. The solution must minimize administrative effort.
What should you include in the recommendation?
- A . Azure SQL Managed instance
- B . Azure SQL Database single database
- C . Azure Database for PostgreSQL
- D . SQL Server on Azure virtual machines
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 two Azure SQL Database servers named Server1 and Server2. Each server contains an Azure SQL database named Database1.
You need to restore Database1 from Server1 to Server2. The solution must replace the existing Database1 on Server2.
Solution: From Microsoft SQL Server Management Studio (SSMS), you rename Database1 on Server2 as Database2. From the Azure portal, you create a new database on Server2 by restoring the backup of Database1 from Server1, and then you delete Database2.
Does this meet the goal?
- A . Yes
- B . No