Month End Sale Special Limited Time 75% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: CFsave75

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 5 Topic 1 Discussion

Microsoft Developing AI-Enabled Database Solutions DP-800 Question # 5 Topic 1 Discussion

DP-800 Exam Topic 1 Question 5 Discussion:
Question #: 5
Topic #: 1

You have an Azure SQL database that supports a customer-facing API. The API calls a stored procedure named dbo.GetCustomerOrders thousands of times per hour.

After a deployment that updated indexes and statistics, users report that the API endpoint backed by dbo.Getcustomerorders is slower. In Query Store, the same query now has two persisted execution plans. During the last hour, the newer plan had a significantly higher average duration and CPU time than the older plan.

You need to restore the previous performance quickly, without changing the API code.

Which Transact-SQL command should you run?


A.

EXEC sys.sp_query_store_set_hints


B.

DBCC FREEPROCCACHE


C.

EXEC sp_query_store_force_plan


D.

ALTER DATABASE


Get Premium DP-800 Questions

Contribute your Thoughts:


Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.