Microsoft Certified:SQL AI Developer Associate
Domain 3Objective 3
Design and Implement Retrieval-Augmented Generation (RAG) DP-800 Practice Questions (Page 4)
Part of the Implement AI capabilities in database solutions domain, which accounts for 25–30% of the DP-800 exam. Microsoft does not publish an official question count, but from its 120-minute exam (~50–80 total, ~13–24 in this domain), expect 4–8 from this objective — we provide 33 practice questions to prepare you well beyond it. (estimate)
33questions here
7free pages
5concepts
25–30%of the exam
Questions 16–20
- 16
You need to call an Azure OpenAI endpoint from a T-SQL stored procedure. The endpoint requires a JSON payload with a 'prompt' field. You have a table of FAQs that you want to include in the prompt. What is the correct way to build the payload?
Select an answer first - 17
You need to send a prompt to an Azure OpenAI model from an Azure SQL database. Which statement correctly describes the use of sp_invoke_external_rest_endpoint?
Select an answer first - 18
You have a stored procedure that calls an Azure OpenAI model using sp_invoke_external_rest_endpoint. The response is stored in a variable of type NVARCHAR(MAX). The response contains a JSON object with a 'choices' array, and each choice has a 'text' field. You need to extract the text from the first choice and insert it into a table. Which T-SQL statement should you use?
Select an answer first - 19
A manufacturing company has a SQL database with sensor readings. They want to use an Azure OpenAI model to generate maintenance recommendations. The sensor data is stored in a table with millions of rows. The model has a token limit, and sending all data at once is not possible. You need to design a T-SQL solution that processes the data in batches and stores the recommendations. What should you do?
Select an answer first - 20
You need to send a list of recent orders to a language model for summarization. The orders are stored in a relational table with columns OrderID, CustomerName, OrderDate, and TotalAmount. The model expects a JSON array of objects. What is the most efficient way to prepare the data for the prompt?
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.