exam questions

Exam DP-500 All Questions

View all questions & answers for the DP-500 exam

Exam DP-500 topic 1 question 15 discussion

Actual exam question from Microsoft's DP-500
Question #: 15
Topic #: 1
[All DP-500 Questions]

HOTSPOT -
This is a case study. Case studies are not timed separately. You can use as much exam time as you would like to complete each case. However, there may be additional case studies and sections on this exam. You must manage your time to ensure that you are able to complete all questions included on this exam in the time provided.
To answer the questions included in a case study, you will need to reference information that is provided in the case study. Case studies might contain exhibits and other resources that provide more information about the scenario that is described in the case study. Each question is independent of the other questions in this case study.
At the end of this case study, a review screen will appear. This screen allows you to review your answers and to make changes before you move to the next section of the exam. After you begin a new section, you cannot return to this section.

To start the case study -
To display the first question in this case study, click the Next button. Use the buttons in the left pane to explore the content of the case study before you answer the questions. Clicking these buttons displays information such as business requirements, existing environment, and problem statements. If the case study has an All Information tab, note that the information displayed is identical to the information displayed on the subsequent tabs. When you are ready to answer a question, click the Question button to return to the question.

Overview -

Existing environment -
Litware, Inc. is a retail company that sells outdoor recreational goods and accessories. The company sells goods both online and its stores located in six countries.

Azure Resources -
Litware has the following Azure resources:
An Azure Synapse Analytics workspace named synapseworkspace1
An Azure Data Lake Storage Gen2 account named datalake1 that is associated with synapseworkspace1
A Synapse Analytics dedicated SQL pool named SQLDW

Dedicated SQL Pool -
SQLDW contains a dimensional model that contains the following tables.

SQLDW contains the following additional tables.

SQLDW contains a view named dbo.CustomerPurchases that creates a distinct list of values from dbo.Customer [customerID], dbo.Customer [CustomerEmail], dbo.Product [ProductID] and dbo.Product [ProductName].
The sales data in SQLDW is updated every 30 minutes. Records in dbo.SalesTransactions are updated in SQLDW up to three days after being created. The records do NOT change after three days.

Power BI -
Litware has a new Power BI tenant that contains an empty workspace named Sales Analytics.
All users have Power BI Premium per user licenses.
IT data analytics are workspace administrators. The IT data analysts will create datasets and reports.
A single imported dataset will be created to support the company’s sales analytics goals. The dataset will be refreshed every 30 minutes.

Requirements -

Analytics Goals -
Litware identifies the following analytics goals:
Provide historical reporting of sales by product and channel over time.
Allow sales managers to perform ad hoc sales reporting with minimal effort.
Perform market basket analysis to understand which products are commonly purchased in the same transaction.
Identify which customers should receive promotional emails based on their likelihood of purchasing promoted products.
Litware plans to monitor the adoption of Power BI reports over time. The company wants custom Power BI usage reporting that includes the percent change of users that view reports in the Sales Analytics workspace each month.

Security Requirements -
Litware identifies the following security requirements for the analytics environment:
All the users in the sales department and the marketing department must be able to see Power BI reports that contain market basket analysis and data about which customers are likely to purchase a product.
Customer contact data in SQLDW and the Power BI dataset must be labeled as Sensitive. Records must be kept of any users that use the sensitive data.
Sales associates must be prevented from seeing the CustomerEmail column in Power BI reports.
Sales managers must be prevented from modifying reports created by other users.
Development Process Requirements
Litware identifies the following development process requirements:
SQLDW and datalake1 will act as the development environment. Once feature development is complete, all entities in synapseworkspace1 will be promoted to a test workspace, and then to a production workspace.
Power BI content must be deployed to test and production by using deployment pipelines.
All SQL scripts must be stored in Azure Repos.
The IT data analysts prefer to build Power BI reports in Synapse Studio.
You need to populate the CustomersWithProductScore table.
How should you complete the stored procedure? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.

Show Suggested Answer Hide Answer
Suggested Answer:

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Bob5379
Highly Voted 2 years, 6 months ago
VARBINARY(MAX) CustomPurchases To generate predict with model, the input data should come from customer purchase history. https://learn.microsoft.com/en-us/sql/t-sql/queries/predict-transact-sql?preserve-view=true&view=azure-sqldw-latest
upvoted 27 times
dev2dev
2 years, 1 month ago
Just a typo, its CustomerPurchases (its a view as per the question)
upvoted 1 times
...
DarioReymago
2 years, 3 months ago
I'm agree
upvoted 1 times
...
...
SamuComqi
Highly Voted 1 year, 10 months ago
I took the exam a few days ago (14/8/2023) and I passed the exam with a score of 915. My answer was: - VARBINARY(max) - dbo.CustomerPurchases
upvoted 6 times
...
solref
Most Recent 2 years, 3 months ago
VARBINARY(MAX) : this data type holds variable-length binary data. Use this type when the data is expected to vary in size. CustomPurchases: It is the only with the data required and you can not insert data in a table from the same table, it doesnt have sense https://learn.microsoft.com/en-us/sql/t-sql/queries/predict-transact-sql?view=sql-server-ver16
upvoted 4 times
...
BitwiseLS
2 years, 4 months ago
The column Score is comming from the model, not the SQL View. So the view is CustomPurchases. By the way CustomersWithProductScore is populated in the SQL statement, so better not to read from it as well.
upvoted 4 times
...
eekman
2 years, 5 months ago
VARBINARY(MAX) as models are stored as binary: https://learn.microsoft.com/en-us/sql/t-sql/queries/predict-transact-sql?view=sql-server-ver16#combining-predict-with-an-insert-statement CustomersWithProductScore: the only table that contains all columns listed as 'd'
upvoted 6 times
Cococo
2 years, 1 month ago
there is a view with all these 4 columns under D alias - "SQLDW contains a view named dbo.CustomerPurchases that creates a distinct list of values from dbo.Customer [customerID], dbo.Customer [CustomerEmail], dbo.Product [ProductID] and dbo.Product [ProductName]"
upvoted 4 times
...
...
taza31
2 years, 5 months ago
VARBINARY(MAX) CustomPurchases
upvoted 4 times
...
Saffar
2 years, 5 months ago
I think the answer is correct. The ML Model output is float, and the field listed for customerID,Email, productName and score are listed in the case study under dbo.CustomersWithProductScore
upvoted 3 times
...
AshwinN1992
2 years, 5 months ago
PLease anyone confirm
upvoted 1 times
...
AshwinN1992
2 years, 5 months ago
Please comment
upvoted 1 times
...
AshwinN1992
2 years, 5 months ago
why custompurchases?It should be productscore
upvoted 3 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...