Microsoft certification · Exam DP-700

DP-700 Mock Exam

Implementing Data Engineering Solutions Using Microsoft Fabric

Free DP-700 questions on Topic 2: Litware, Inc, each with the answer and an explanation.

20 questions · 33 minutes · free, no sign-up

Topic 2: Litware, Inc questions

1–2 of 2 free
Question 1
You need to ensure that the authors can see only their respective sales data.
How should you complete the statement? To answer, drag the appropriate values the correct targets. Each value may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content
NOTE: Each correct selection is worth one point.

Show answerHide answer

Explanation


Summary:
This question involves implementing Row-Level Security (RLS) in a Fabric Warehouse or SQL database to restrict data access. The goal is to ensure authors can only see their own sales records. The solution requires creating a security policy that uses an inline table-valued function as a filter predicate. This function compares a column in the table (the author's email) to the current user's context.

Correct Option Explanations

1. SCHEMABINDING
This clause is required in the function creation. It binds the function to the schema of the objects it references, which in this case is the Authorsales table. This prevents the underlying table schema from being altered in a way that would break the security policy, ensuring the integrity of the RLS implementation.

2. USER_NAME()
This is a system function that returns the name of the current database user. In the context of the RLS function, USER_NAME() will return the identity of the author who is executing a query. The WHERE clause @Author = USER_NAME() is the core logic that filters the rows, ensuring that only rows where the AuthorEmail column matches the current user's name are returned.

3. FILTER
In the CREATE SECURITY POLICY statement, you must specify the type of predicate. A FILTER predicate silently filters the rows that can be selected, updated, or deleted from the base table. This is the correct type for this requirement, as it prevents authors from seeing other authors' sales data during SELECT operations.

4. dbo.Authorsales
This is the fully qualified name (schema and table) of the table on which the security policy is being applied. The security policy and its filter predicate must be applied to the correct table containing the sensitive data (Authorsales) and the column used for filtering (AuthorEmail).

Incorrect Option Explanations

BLOCK:
A BLOCK predicate is used to prevent write operations (INSERT, UPDATE, DELETE) that would violate a rule. The requirement is about filtering data that can be seen, which is the purpose of a FILTER predicate, not a BLOCK predicate.

INLINE:
This is not a valid keyword for RLS predicates in T-SQL. Inline table-valued functions are defined differently, and the INLINE clause is not used in this context for creating the security policy.

Authorsales.AuthorEmail:
While this specifies the column, the ADD FILTER PREDICATE syntax requires the function name followed by the column name in parentheses, not the fully qualified table.column name. The correct syntax is dbo.tvf_rlspredicate(AuthorEmail).

Reference:
Microsoft Official Documentation: Row-Level Security
Question 2 Choose 1
You need to resolve the sales data issue. The solution must minimize the amount of data transferred.
What should you do?
Show answerHide answer

Correct answer: E Configure incremental refresh for the dataflow. Set Refresh rows from the past to 1 Month.

Explanation

Summary:
This question addresses a performance issue in a dataflow, specifically related to the volume of data being processed. The core requirement is to minimize the amount of data transferred and processed during each refresh. The most effective way to achieve this is by implementing incremental refresh, which only loads new or changed data instead of the entire dataset every time.

Correct Option:

E. Configure incremental refresh for the dataflow. Set Refresh rows from the past to 1 Month.
Incremental refresh is the feature designed specifically to solve this problem. It significantly reduces data transfer and processing time by first performing a full initial load, and then subsequently loading only data that has changed within a defined period.

The key configuration is "Refresh rows from the past," which determines the range of historical data queried during a refresh. Setting this to 1 Month means the dataflow will only fetch and process data from the last 30 days. This is the most balanced approach, ensuring recent data is updated while minimizing the data volume, as it processes less data than a 1-year window (Option D).

Incorrect Options:

A. Split the dataflow into two dataflows.
While splitting a dataflow can help with organization or manageability, it does not inherently reduce the amount of data being transferred from the source system. Both dataflows would still need to query the source, potentially transferring the same or even a larger total volume of data.

B. Configure scheduled refresh for the dataflow.
Scheduled refresh determines when the dataflow runs (e.g., daily, hourly), but it does not change how much data is processed during each run. A scheduled refresh would still pull the entire dataset unless combined with incremental refresh.

C. Configure incremental refresh for the dataflow. Set Store rows from the past to 1 Month.
istorical data is kept in the destination (e.g., the lakehouse). It does not control the amount of data queried from the source. To minimize data transfer, you must reduce the source query range using "Refresh rows from the past".

D. Configure incremental refresh for the dataflow. Set Refresh rows from the past to 1 Year.
This is on the right track by using incremental refresh. However, setting the refresh period to 1 Year will still transfer a significantly larger amount of data in each refresh cycle compared to a 1-month window. To "minimize the amount of data transferred," the 1-month period is the more optimal and conservative choice.

Reference:
Microsoft Official Documentation: Incremental refresh in Power BI and Fabric Dataflows Gen2

That's the last free question in Topic 2: Litware, Inc

You've seen the free 30% (2 of 7 questions). Full access unlocks every question and full-length DP-700 mock exams (65 questions, 105 minutes), a different mock on every attempt.

Unlock full mock exam
Full mock exam

Sit the DP-700 exam before exam day

Full-length mocks with the same number of questions and the same time limit as the real DP-700 exam. Every attempt draws a new set of questions from the full bank, so you can keep going until you pass comfortably.

Get full DP-700 mock exam
  • 65questions per mock
  • 105 mintime limit
  • 109questions in the bank
  • Newmock on every attempt