Microsoft Certified:SQL AI Developer Associate
Domain 1Objective 2
Implement Programmability Objects DP-800 Practice Questions (Page 4)
Part of the Design and develop database solutions domain, which accounts for 35–40% of the DP-800 exam. Microsoft does not publish an official question count, but from its 120-minute exam (~50–80 total, ~18–32 in this domain), expect 5–8 from this objective — we provide 32 practice questions to prepare you well beyond it. (estimate)
32questions here
7free pages
5concepts
35–40%of the exam
Questions 16–20
- 16
An inventory system has a stored procedure that inserts new products. The procedure uses a scalar function to generate a product code. You need to add a validation step that ensures the product code is unique before the insert, and if not, the procedure should raise an error. The validation must be performed only when the stored procedure is used, not for direct inserts. What should you do?
Select an answer first - 17
A company has a reporting database where the underlying tables are frequently modified by developers. Analysts need a stable interface that always shows current data and can be used in their own ad-hoc queries. The developers also need to be able to update the underlying tables without breaking the analysts' queries. You need to design a solution that minimizes maintenance and provides the required stability. What should you do?
Select an answer first - 18
A stored procedure calculates order totals and needs to apply a complex discount rule that is also used in several other queries. The rule must be maintainable in one place. However, the stored procedure is performance-critical, and the rule involves a lookup to a discount table. You need to balance maintainability and performance. What should you do?
Select an answer first - 19
A team of data analysts needs to run ad-hoc queries against a set of tables that are frequently restructured. You want to minimize the impact of schema changes on their queries by providing a stable interface. The analysts need to be able to filter and join the data themselves. What should you create?
Select an answer first - 20
A reporting application needs to retrieve data that requires a parameter (e.g., a date range) and must be able to join the result with other tables. The data volume is large, and performance is important. You need to choose between a table-valued function and a view with a filter. Which approach is more appropriate, and why?
Select an answer first
Finished these 5 questions?
Review the revealed explanations, or continue through the curriculum.
Free Basic Practice is a study aid with revealable answers — not a scored exam. Examers.io is independent and not affiliated with or endorsed by Microsoft. “DP-800” is a trademark of its owner, used for identification only.