Microsoft

DP-800 practice question 15

Developing AI-Enabled Database Solutions · free question 15 of 20

Question

You have a GitHub Codespaces environment that has GitHub Copilot Chat installed and is connected to a SQL database in Microsoft Fabric named DB1. DB1 contains tables named Sales.Orders and Sales.Customers. You use GitHub Copilot Chat in the context of DB1. A company policy prohibits sharing customer Personally Identifiable Information (PII), secrets, and query result sets with any AI service. You need to use GitHub Copilot Chat to write and review Transact-SQL code for a new stored procedure that will join Sales.Orders to Sales.Customers and return customer names and email addresses. The solution must NOT share the actual data in the tables with GitHub Copilot Chat. What should you do?
  • A. From Sales.Customers, paste several rows that include email addresses into a chat, so that GitHub Copilot Chat can infer edge cases.
  • B. Run a SELECT statement that returns customer names and email addresses and provide the result set to GitHub Copilot Chat so that GitHub Copilot Chat can generate the stored procedure.
  • C. Provide the database connection string to GitHub Copilot Chat so that GitHub Copilot Chat can validate the stored procedure.
  • D. Ask GitHub Copilot Chat to generate the stored procedure by using schema details only. Correct

Explanation

Table and column names are metadata, not customer data, so schema details are enough for GitHub Copilot Chat to write and review the procedure without breaking the policy. Pasting rows that include email addresses shares PII. Providing a result set shares both PII and query results, which the policy prohibits. A connection string is a secret and would also open a path to the data.

Practice the whole free set

Answer all 20 free DP-800 questions with instant feedback, or unlock all 55 questions with Learn and Exam modes.