You have a query in Microsoft Power BI Desktop that contains two columns named Order_Date and Shipping_Date.
You need to create a column that will calculate the number of days between Order_Date and Shipping_Date for each row.
Which Power Query function should you use?
A. DateTime.LocalNow
B. Duration.Days
C. Duration.From
D. Date.AddDays
Show Answer
Correct Answer: B
Explanation: Subtracting two date values in Power Query produces a duration. The Duration.Days function returns the number of whole days in that duration, e.g. Duration.Days([Shipping_Date] - [Order_Date]). DateTime.LocalNow returns the current datetime, Duration.From converts a value to a duration, and Date.AddDays adds days to a date.
Question 52
You have a Fabric tenant.
You are creating a Fabric Data Factory pipeline.
You have a stored procedure that returns the number of active customers and their average sales for the current month.
You need to add an activity that will execute the stored procedure in a warehouse. The returned values must be available to the downstream activities of the pipeline.
Which type of activity should you add?
A. Get metadata
B. Switch
C. Lookup
D. Append variable
Show Answer
Correct Answer: C
Explanation: Lookup activity can execute a query or stored procedure against supported sources such as a Fabric warehouse and returns the result as activity output, making it available to downstream pipeline activities. Get Metadata retrieves metadata only, Switch controls flow based on conditions, and Append Variable only appends values to an existing array variable and does not execute stored procedures.
Question 53
HOTSPOT
-
You have a Fabric tenant that contains a PySpark notebook named Notebook1.
You define sas_token as a variable in the first cell of Notebook1 and store a shared access signature (SAS) token in the variable.
In the second cell, you run the following code.
For each of the following statements, select Yes if the statement is true. Otherwise, select No.
NOTE: Each correct selection is worth one point.
Show Answer
Correct Answer: No
No
Yes
Explanation: spark.read.parquet returns a Spark DataFrame, not pandas. saveAsTable with overwrite creates the Delta table if it does not exist or overwrites it if it does. The WASBS URI points to the customers path in the contacts container.
Question 54
DRAG DROP
-
You have a Fabric workspace that contains a Dataflow Gen2 query. The query returns the following data.
You need to filter the results to ensure that only the latest version of each customer’s record is retained. The solution must ensure that no new columns are loaded to the semantic model.
Which four actions should you perform in sequence in Power Query Editor? To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.
Show Answer
Correct Answer: 1. Group by CustomerID, use the All Rows operation, and calculate the max version date per customer ID.
2. Expand the All Rows detail column.
3. Filter the query where the version date value equals the max version date value.
4. Remove the max version date column.
Explanation: Grouping with All Rows preserves the original records while computing the maximum VersionDate per customer. Expanding restores the original columns alongside the max date, filtering keeps only the latest record for each customer, and removing the helper max date column ensures no extra column is loaded.
Question 55
You have a Microsoft Power BI semantic model that contains a measure named TotalSalesAmount. TotalSalesAmount returns a sales revenue amount that is translated into a selected currency.
You need to ensure that the value returned by TotalSalesAmount is formatted to use the correct currency symbol.
What should you include in the solution?
A. a field parameter
B. a linguistic schema
C. a dynamic format string
D. the WINDOW DAX function
Show Answer
Correct Answer: C
Explanation: Dynamic format strings allow a measure to keep its numeric data type while applying a context-dependent format, such as displaying the appropriate currency symbol based on the selected currency. Field parameters switch fields, linguistic schemas support Q&A language understanding, and WINDOW is a DAX windowing function unrelated to formatting.
Question 56
Case study -
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 -
Contoso, Ltd. is a US-based health supplements company. Contoso has two divisions named Sales and Research. The Sales division contains two departments named Online Sales and Retail Sales. The Research division assigns internally developed product lines to individual teams of researchers and analysts.
Existing Environment -
Identity Environment -
Contoso has a Microsoft Entra tenant named contoso.com. The tenant contains two groups named ResearchReviewersGroup1 and ResearchReviewersGroup2.
Data Environment -
Contoso has the following data environment:
• The Sales division uses a Microsoft Power BI Premium capacity.
• The semantic model of the Online Sales department includes a fact table named Orders that uses Import made. In the system of origin, the OrderID value represents the sequence in which orders are created.
• The Research department uses an on-premises, third-party data warehousing product.
• Fabric is enabled for contoso.com.
• An Azure Data Lake Storage Gen2 storage account named storage1 contains Research division data for a product line named Productline1. The data is in the delta format.
• A Data Lake Storage Gen2 storage account named storage2 contains Research division data for a product line named Productline2. The data is in the CSV format.
Requirements -
Planned Changes -
Contoso plans to make the following changes:
• Enable support for Fabric in the Power BI Premium capacity used by the Sales division.
• Make all the data for the Sales division and the Research division available in Fabric.
• For the Research division, create two Fabric workspaces named Productline1ws and Productline2ws.
• In Productline1ws, create a lakehouse named Lakehouse1.
• In Lakehouse1, create a shortcut to storage1 named ResearchProduct.
Data Analytics Requirements -
Contoso identifies the following data analytics requirements:
• All the workspaces for the Sales division and the Research division must support all Fabric experiences.
• The Research division workspaces must use a dedicated, on-demand capacity that has per-minute billing.
• The Research division workspaces must be grouped together logically to support OneLake data hub filtering based on the department name.
• For the Research division workspaces, the members of ResearchReviewersGroup1 must be able to read lakehouse and warehouse data and shortcuts by using SQL endpoints.
• For the Research division workspaces, the members of ResearchReviewersGroup2 must be able to read lakehouse data by using Lakehouse explorer.
• All the semantic models and reports for the Research division must use version control that supports branching.
Data Preparation Requirements -
Contoso identifies the following data preparation requirements:
• The Research division data for Productline1 must be retrieved from Lakehouse1 by using Fabric notebooks.
• All the Research division data in the lakehouses must be presented as managed tables in Lakehouse explorer.
Semantic Model Requirements -
Contoso identifies the following requirements for implementing and managing semantic models:
• The number of rows added to the Orders table during refreshes must be minimized.
• The semantic models in the Research division workspaces must use Direct Lake mode.
General Requirements -
Contoso identifies the following high-level requirements that must be considered for all solutions:
• Follow the principle of least privilege when applicable.
• Minimize implementation and maintenance effort when possible.
Which syntax should you use in a notebook to access the Research division data for Productline1?
A. spark.read.format(“delta”).load(“Tables/ResearchProduct”)
B. spark.read.format(“delta”).load(“Files/ResearchProduct”)
C. spark.sql(“SELECT * FROM Lakehouse1.productline1.ResearchProduct”)
D. spark.read.format(“delta”).load(“Tables/productline1/ResearchProduct”)
Show Answer
Correct Answer: A
Explanation: The shortcut ResearchProduct points to Delta-format data in ADLS Gen2. In a Fabric lakehouse, Delta shortcuts under the Tables area are accessed from Spark notebooks using spark.read.format("delta").load("Tables/<shortcutName>"). This satisfies the requirement to retrieve the Productline1 data from Lakehouse1 by using Fabric notebooks.
Question 57
You have a Fabric tenant that contains the workspaces shown in the following table.
You have a deployment pipeline named Pipeline1 that deploys items from Workspace_DEV to Workspace_TEST. In Pipeline1, all items that have matching names are paired.
You deploy the contents of Workspace_DEV to Workspace_TEST by using Pipeline1.
What will the contents of Workspace_TEST be once the deployment is complete?
B. Lakehouse1 - Notebook1 - Pipeline1 - SemanticModel1
C. Lakehouse2 - Notebook2 - SemanticModel1
D. Lakehouse2 - Notebook2 - Pipeline1 - SemanticModel1
Show Answer
Correct Answer: A
Explanation: In Fabric deployment pipelines, items with matching names are paired and updated during deployment. Unpaired items that exist only in the source workspace are created in the target workspace, while unpaired items already in the target workspace are not deleted. Therefore, after deploying from the DEV workspace to the TEST workspace, the TEST workspace contains both its existing unmatched items (Lakehouse2 and Notebook2) and the deployed items (Lakehouse1, Notebook1, Pipeline1, and SemanticModel1).
Question 58
You have a Fabric tenant that contains a workspace named Workspace1. Workspace1 contains a single semantic model that has two Microsoft Power BI reports.
You have a Microsoft 365 subscription that contains a data loss prevention (DLP) policy named DLP1.
You need to apply DLP1 to the items in Workspace1.
What should you do?
A. Create a workspace identity.
B. Apply a certified endorsement to the semantic model.
C. Apply sensitivity labels to the semantic model and reports.
D. Apply a master data endorsement to the semantic model.
Show Answer
Correct Answer: C
Explanation: Microsoft Purview DLP policies for Fabric and Power BI evaluate items based on sensitivity labels and/or sensitive information types. To have the DLP policy apply to the semantic model and reports in the workspace, you should apply sensitivity labels to those items. Endorsements (certified or master data) and workspace identity do not control DLP policy applicability.
Question 59
HOTSPOT
-
You have a Fabric tenant that contains a workspace named Workspace1. Workspace1 contains a warehouse named DW1. DW1 contains two tables named Employees and Sales. All users have read access to Dw1.
You need to implement access controls to meet the following requirements:
• For the Sales table, ensure that the users can see only the sales data from their respective region.
• For the Employees table, restrict access to all Personally Identifiable Information (PII).
• Maintain access to unrestricted data for all the users.
What should you use for each table? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation: Use column-level security to hide sensitive PII columns while leaving other employee data accessible. Use row-level security to filter Sales rows so users only see data for their own region.
Question 60
HOTSPOT
-
You have a Fabric lakehouse named Lakehouse1 that contains the following data.
You need build a T-SQL statement that will return the total sales amount by OrderDate only for the days that are holidays in Australia. The total sales amount must sum the quantity multiplied by the price on each row in the dbo.sales table.
How should you complete the statement? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Explanation: Use SUM(quantity * unit price) to total sales per date. An INNER JOIN returns only sales dates that match Australian holidays, and GROUP BY OrderDate aggregates by day.
$19
Get all 204 questions with detailed answers and explanations
Instant download HTML + PDF delivered the moment payment clears.
Secure Stripe checkout we never see or store your card details.
7-day refund if files are defective see our refund policy.