Microsoft DP-300 Administering Relational Databases on Azure 1-10

表示モード
画像位置
文字位置
理解度の自動記録
STATUS FILTER

Choose confidence levels to display

Loading...
Q1DP-300
Show answer
Correct answer: C. Connect VM1 and VM2 to separate subnets within the same virtual network

When you configure an FCI for SQL Server on Azure VMs, a single subnet additionally requires a DNN or an Azure Load Balancer to maintain the connection target.
By contrast, placing the nodes in multiple subnets within the same virtual network lets you configure connections to the FCI in a manner close to on-premises, making these additional components unnecessary.
Therefore, C, which connects the nodes to different subnets, is correct.
Proximity placement groups are useful for optimizing latency, but they are not the solution to this requirement.
Prepare virtual machines for an FCI – SQL Server on Azure VMs

Q2DP-300
Show answer
Correct answer: B. Azure SQL Database single database

In this scenario, you need to synchronize data across multiple regions by using Azure SQL Data Sync.
This feature is supported by Azure SQL Database (single database), and because it is a PaaS service, operational management tasks such as patching and backups are automated, minimizing the administrative burden.
Azure SQL Managed Instance, on the other hand, does not support Data Sync, and SQL Server on a virtual machine is IaaS, which increases operational overhead.
Therefore, B, which satisfies both reduced administration and Data Sync support, is correct.
Sync data across multiple databases with SQL Data Sync

Q3DP-300
Show answer
Correct answer: D. A self-hosted integration runtime

An offline migration that uses Azure Data Studio works together with Azure Database Migration Service and requires a self-hosted integration runtime to communicate with the on-premises environment.
This is the component that securely relays data movement between on-premises and Azure.
For a migration to Azure SQL Managed Instance, it is especially important for establishing connectivity from a network-isolated environment.
DMA, by contrast, is used for assessment and schema conversion and is not used to run the actual migration process.
Therefore, D, which is essential for running the migration pipeline, is correct.
Migration overview: SQL Server to Azure SQL Managed Instance

Q4DP-300
Show answer
Correct answer: D. An Azure Automation runbook

To run Transact-SQL centrally against multiple Azure SQL databases, you need an automation platform that can run scripts on a schedule.
An Azure Automation runbook can schedule the execution of PowerShell or T-SQL and centrally manage administrative tasks across multiple databases.
Elastic jobs are also a candidate, but from an exam perspective Automation is preferred as the more general-purpose means of centralized management.
Therefore, an Azure Automation runbook is best for bulk management of multiple databases.
Overview of Azure Automation

Q5DP-300
Show answer
Correct answer: D. BATCH_MODE_ON_ROWSTORE

The goal is to speed up analytical queries, and the target is an ordinary rowstore table.
In this case, the effective option is BATCH_MODE_ON_ROWSTORE.
It allows batch-mode execution even without a columnstore index and improves the CPU efficiency of analytical queries that include aggregations and scans.
Because it directly reduces the response time of analytical workloads, it is optimal.
Memory grant feedback and adaptive joins are useful for improving specific execution plans, but the option that most directly satisfies the central requirement of speeding up analytical queries overall is D.
Intelligent query processing details – SQL Server

Q6DP-300
Show answer
Correct answer: D. Watermark delay

To evaluate the processing capacity of Stream Analytics, it is important to understand the delay in event processing.
Watermark delay indicates the difference between the current time on the processing node and the progress of processed events, allowing you to directly grasp bottlenecks when the load increases.
An increase in this value suggests insufficient processing resources or throughput.
Input errors and early event counts are not performance indicators, and late input events are of limited value.
Therefore, monitoring watermark delay, which is the most suitable metric for assessing scalability, is correct.
Time handling concepts in Azure Stream Analytics

Q7DP-300
The column to specify in the SELECT clause to aggregate by wait type

The dynamic management view to specify after FROM sys. to obtain wait information for currently executing requests

Show answer
Correct answer: wait_type / dm_exec_requests

resource_semaphore is a wait that indicates a query is waiting for the memory grant it needs to execute.
To check for this, you need to select wait_type as the aggregation target and review the total wait time by wait type.
In addition, to obtain wait information for currently executing sessions, you use sys.dm_exec_requests.
By joining this with sys.dm_exec_sessions and aggregating for user processes only, you can determine whether resource_semaphore waits are occurring.
Monitor performance by using DMVs – Azure SQL Database & SQL database in Microsoft Fabric | Microsoft Learn

Q8DP-300
Show answer
Correct answer: A. Complete

In this scenario, you need to output the full window aggregation result each time, every five minutes.
In this case, you use Complete mode.
Because Complete mode re-outputs the entire result table on each trigger, it always keeps the window aggregation result in a complete state.
Append mode outputs only finalized new rows, and Update mode outputs only changed rows, so neither meets the requirement.
Therefore, the Complete output mode, which is suited to processing that fully refreshes the aggregation result each time, is correct.
Choose an output mode for structured streaming

Q9DP-300
The setting to specify in the first ALTER DATABASE

The setting to specify in the second ALTER DATABASE

Show answer
Correct answer: SET AUTOMATIC_TUNING=AUTO / SET AUTOMATIC_TUNING (FORCE_LAST_GOOD_PLAN=ON)

To enable automatic tuning, you first set AUTOMATIC_TUNING=AUTO for the entire database to enable Azure’s recommended automatic optimization behavior.
Then, as an individual feature, turning FORCE_LAST_GOOD_PLAN ON allows the system to automatically revert to a previously good execution plan when performance degrades.
These two-step settings achieve automatic optimization of query performance.
Use automatic tuning in the Azure portal to monitor queries and improve workload performance

Q10DP-300

Drag (or tap) the required number of options from the “Options” on the left to the “Answer area” on the right. You can drag within the answer area to reorder them.

Options
  • Create a job alert
  • Create a job notification
  • Enable Database Mail
  • Enable the email settings of SQL Server Agent
  • Create a job target
Answer area (execution order, top to bottom)
  1. Drag here

Show answer
Correct answer: Correct order: (1) Enable the email settings of SQL Server Agent → (2) Create a job alert → (3) Create a job notification

To send email notifications from SQL Server Agent, you must first enable the mail settings of SQL Server Agent.
This makes the notification feature available.
Next, you create an alert that fires when a job fails.
Finally, you create a job notification that notifies the operator for that alert.
If you do not configure them in this order, notifications will not work.
Database Mail is a prerequisite feature, but among the question’s options this order is the correct answer.
Notify an operator of job status – SQL Server Agent