exam questions

Exam DP-300 All Questions

View all questions & answers for the DP-300 exam

Exam DP-300 topic 4 question 24 discussion

Actual exam question from Microsoft's DP-300
Question #: 24
Topic #: 4
[All DP-300 Questions]

You have a version-8.0 Azure Database for MySQL database.
You need to identify which database queries consume the most resources.
Which tool should you use?

  • A. Query Store
  • B. Metrics
  • C. Query Performance Insight
  • D. Alerts
Show Suggested Answer Hide Answer
Suggested Answer: A 🗳️
The Query Store feature in Azure Database for MySQL provides a way to track query performance over time. Query Store simplifies performance troubleshooting by helping you quickly find the longest running and most resource-intensive queries. Query Store automatically captures a history of queries and runtime statistics, and it retains them for your review. It separates data by time windows so that you can see database usage patterns. Data for all users, databases, and queries is stored in the mysql schema database in the Azure Database for MySQL instance.
Reference:
https://docs.microsoft.com/en-us/azure/mysql/concepts-query-store

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
cck21
Highly Voted 4 years ago
Answer given is correct. Query performance insight in Azure Database for MySQL only cover long run query and wait statistics. https://docs.microsoft.com/en-us/azure/mysql/concepts-query-performance-insight
upvoted 9 times
...
Oga_DBA
Most Recent 4 months, 2 weeks ago
Selected Answer: C
Use Query Performance Insight if: You're using Azure Database for MySQL. You need a simple, integrated way to identify and analyze inefficient queries based on resource usage.
upvoted 1 times
...
2f5c7cd
5 months, 3 weeks ago
Selected Answer: C
I think C. Query performance insight is the tool to use, which uses the query store feature.
upvoted 1 times
...
xinter12
3 years, 4 months ago
Answer A is correct
upvoted 2 times
...
quermi
3 years, 4 months ago
Answer given is correct. The Query Store in MySQL allows you to track query performance over time and quickly identify the longest running and most expensive queries in your databases. The data for all users, databases, and queries is stored in the mysql schema database in your instance. Like Azure SQL Database, the Azure portal includes a Query Performance Insight dashboard, which highlights expensive queries and wait statistics for your instance. https://docs.microsoft.com/en-us/learn/modules/configure-databases-performance/4-describe-query-store-azure-database-mysql-postgresql
upvoted 2 times
...
Jas_dandiwal
4 years, 1 month ago
it has to be C. this is from MS website. https://docs.microsoft.com/en-us/azure/azure-sql/database/query-performance-insight-use Query Performance Insight provides intelligent query analysis for single and pooled databases. It helps identify the top resource consuming and long-running queries in your workload. This helps you find the queries to optimize to improve overall workload performance and efficiently use the resource that you are paying for.
upvoted 2 times
Jas_dandiwal
4 years, 1 month ago
my bad, answer A is correct as question relates to MYSQL. Query Performance Insight helps you to quickly identify what your longest running queries are, how they change over time, and what waits are affecting them.
upvoted 6 times
...
...
Saurav_Raghuvanshi2000
4 years, 1 month ago
A is correct
upvoted 3 times
...
mrwell
4 years, 1 month ago
The answer is correct : A https://docs.microsoft.com/en-us/azure/mysql/concepts-query-store
upvoted 3 times
...
eezzykel
4 years, 1 month ago
the answer should be C https://docs.microsoft.com/en-us/sql/relational-databases/performance/best-practice-with-the-query-store?view=sql-server-ver15 https://docs.microsoft.com/en-us/azure/azure-sql/database/query-performance-insight-use
upvoted 1 times
...
JohnCrawford
4 years, 3 months ago
Query Performance Insight is based upon Query Store. Maybe that's why the suggested answer is Query Store? I was torn between the two choices. I think this is one of the questions where there is more than one correct answer. Since QPI is based on QS perhaps that's the rationale?
upvoted 4 times
yuck
4 years, 2 months ago
Isn't QPI focused on execution time and waits? QS might have more details about resources.
upvoted 1 times
...
...
ChengKuo
4 years, 4 months ago
why not Query Performance Insight? - Query Performance Insight helps you to quickly identify what your longest running queries are, how they change over time, and what waits are affecting them. https://docs.microsoft.com/en-us/azure/mysql/concepts-query-performance-insight
upvoted 4 times
goodh32
4 years, 3 months ago
given answer is correct as question talk about the resources: Query Store simplifies performance troubleshooting by helping you quickly find the longest running and most resource-intensive queries.
upvoted 4 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 ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago