Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Microsoft DP-800 Exam - Topic 3 Question 2 Discussion

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 (Pll), secrets, and query result sets with any Al 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?
D) Ask GitHub Copilot Chat to generate the stored procedure by using schema details only.
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.

Microsoft DP-800 Exam - Topic 3 Question 2 Discussion

Actual exam question for Microsoft's DP-800 exam
Question #: 2
Topic #: 3
[All DP-800 Questions]

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 (Pll), secrets, and query result sets with any Al 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?

Show Suggested Answer Hide Answer
Suggested Answer: D

The correct answer is D because the policy explicitly prohibits sharing customer PII, secrets, and query result sets with any AI service. The safe way to use GitHub Copilot Chat here is to provide only schema-level information such as table names, column names, relationships, and the required procedure behavior, without sharing actual table contents or result sets. That lets Copilot help generate and review the Transact-SQL while avoiding disclosure of customer data. This is consistent with Microsoft and GitHub guidance that content provided in prompts is what the AI can use, so avoiding real data in the prompt is the appropriate control.

The other options violate the requirement:

A pastes real rows containing email addresses, which is direct PII disclosure.

B shares actual query result sets, which the policy forbids.

C provides the connection string so Copilot can validate against the database, which is inappropriate because it exposes connection details and could enable access beyond schema-only assistance.

So the correct approach is to ask Copilot to generate the stored procedure using only the schema and requirements, not real customer data.


Contribute your Thoughts:

0/2000 characters
Eliseo
28 days ago
Totally agree, option D is the way to go.
upvoted 0 times
...
Lisha
1 month ago
Just use schema details only, no need to share data!
upvoted 0 times
...
Letha
2 months ago
I’m a bit confused about option C. I don’t think sharing the connection string is safe either, right? It feels risky.
upvoted 0 times
...
Rosenda
2 months ago
This question feels similar to the practice ones we did about data privacy. I think we should focus on schema details, so option D seems right.
upvoted 0 times
...
Brice
2 months ago
I'm not entirely sure, but I think providing actual data like in option A or B would violate the company policy.
upvoted 0 times
...
Rosalind
2 months ago
I remember we discussed the importance of not sharing PII with AI tools, so I think option D makes the most sense.
upvoted 0 times
...

Save Cancel