exam questions

Exam DP-203 All Questions

View all questions & answers for the DP-203 exam

Exam DP-203 topic 2 question 69 discussion

Actual exam question from Microsoft's DP-203
Question #: 69
Topic #: 2
[All DP-203 Questions]

You have an enterprise data warehouse in Azure Synapse Analytics named DW1 on a server named Server1.
You need to determine the size of the transaction log file for each distribution of DW1.
What should you do?

  • A. On DW1, execute a query against the sys.database_files dynamic management view.
  • B. From Azure Monitor in the Azure portal, execute a query against the logs of DW1.
  • C. Execute a query against the logs of DW1 by using the Get-AzOperationalInsightsSearchResult PowerShell cmdlet.
  • D. On the master database, execute a query against the sys.dm_pdw_nodes_os_performance_counters dynamic management view.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Saransundar
Highly Voted 2 years, 12 months ago
The question asks for transaction log size on each distribution. The correct answer is D: Link below: https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor -- Transaction log size SELECT instance_name as distribution_db, cntr_value*1.0/1048576 as log_file_size_used_GB, pdw_node_id FROM sys.dm_pdw_nodes_os_performance_counters WHERE instance_name like 'Distribution_%' AND counter_name = 'Log File(s) Used Size (KB)'
upvoted 24 times
learnwell
11 months, 1 week ago
This is correct. The explanation is given in the link provided above.
upvoted 1 times
...
Davico93
2 years, 11 months ago
but you don't need it from master, just DW1
upvoted 5 times
...
...
Saim8711
Highly Voted 2 years, 11 months ago
Selected Answer: D
D is totally correct. Link has this very clearly mentioned https://docs.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor
upvoted 11 times
...
obeheshti
Most Recent 7 months, 1 week ago
Selected Answer: A
A
upvoted 1 times
...
renan_ineu
8 months, 2 weeks ago
Selected Answer: D
``` SELECT instance_name as distribution_db, pdw_node_id, cntr_value*1.0/1048576 as log_file_size_used_GB FROM sys.dm_pdw_nodes_os_performance_counters WHERE instance_name like 'Distribution_%' AND counter_name = 'Log File(s) Used Size (KB)' ``` https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor#monitor-transaction-log-size
upvoted 1 times
...
ahana1074
8 months, 3 weeks ago
ans-: D because the Reference document from Xam topic i checked
upvoted 1 times
...
e56bb91
11 months ago
Selected Answer: D
ChatGPT 4o The sys.dm_pdw_nodes_os_performance_counters dynamic management view provides performance counter information for each node in your Synapse Analytics instance. This includes metrics related to the transaction log file.
upvoted 1 times
...
e56bb91
11 months, 1 week ago
ChatGPT: SELECT name, type_desc, size * 8 / 1024 AS size_in_MB FROM sys.database_files WHERE type = 1; -- Type 1 corresponds to log files
upvoted 1 times
...
tadenet
1 year, 1 month ago
Selected Answer: A
sys.dm_pdw_nodes_os_performance_counters DMV in Azure Synapse Analytics does not provide information about the size of the transaction log file for each distribution of the data warehouse; it provides CPU utilization, memory usage, disk I/O rates, and network traffic at the node level. To obtain information about the size of transaction log files, we can use sys.dm_db_file_space_usage or sys.database_files.
upvoted 1 times
...
Sachmett
1 year, 5 months ago
Selected Answer: A
Table sys.dm_pdw_nodes_os_performance_counter contains information about current size of file log each distribution. You can use sys.database_files to determine size of file log of DW1 (each distribiution the same).
upvoted 2 times
j888
1 year, 4 months ago
Agreed with A.
upvoted 1 times
...
...
kkk5566
1 year, 9 months ago
Selected Answer: D
Should be D
upvoted 1 times
...
[Removed]
1 year, 10 months ago
Selected Answer: D
A is wrong it applies for SQL server and non distributed non MPP database.. question clearly says per distribution and synapse
upvoted 1 times
...
pavankr
1 year, 11 months ago
the question is about distribution, so D should be answer.
upvoted 1 times
...
vctrhugo
1 year, 11 months ago
-- Transaction log size SELECT instance_name as distribution_db, cntr_value*1.0/1048576 as log_file_size_used_GB, pdw_node_id FROM sys.dm_pdw_nodes_os_performance_counters WHERE instance_name like 'Distribution_%' AND counter_name = 'Log File(s) Used Size (KB)' https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor#monitor-transaction-log-size
upvoted 2 times
vctrhugo
1 year, 11 months ago
This query returns the transaction log size on each distribution.
upvoted 1 times
...
...
auwia
1 year, 11 months ago
Selected Answer: D
Probably A and D are correct, but I would choise D, because it's clearly described as the question: https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor
upvoted 2 times
...
vctrhugo
1 year, 11 months ago
Selected Answer: D
Monitor transaction log size The following query returns the transaction log size on each distribution. If one of the log files is reaching 160 GB, you should consider scaling up your instance or limiting your transaction size. -- Transaction log size SELECT instance_name as distribution_db, cntr_value*1.0/1048576 as log_file_size_used_GB, pdw_node_id FROM sys.dm_pdw_nodes_os_performance_counters WHERE instance_name like 'Distribution_%' AND counter_name = 'Log File(s) Used Size (KB)' https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor#monitor-transaction-log-size
upvoted 1 times
...
TestingCRM
2 years ago
D. See this article https://learn.microsoft.com/en-us/azure/synapse-analytics/sql-data-warehouse/sql-data-warehouse-manage-monitor#monitor-transaction-log-size
upvoted 1 times
...
agold96
2 years, 4 months ago
Selected Answer: A
According to the documentation: "For information about the current log file size, its maximum size, and the autogrow option for the file, you can also use the size, max_size, and growth columns for that log file in sys.database_files." A seems enough, I am not sure it gives the results for each distribution but it seems so.
upvoted 2 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...