PL-300 Power BI Exam: Data Sources, Connectors & Querying (Part 6)

PL-300 Power BI Exam: Data Sources, Connectors & Querying (Part 6)

Enhance your PL-300 readiness with this mixed practice set covering key data preparation topics. Test your knowledge on connecting to various data sources, choosing the right connectors, and performing crucial transformations in Power Query.


Question 126:

HOTSPOT – You create a Power BI dataset that contains the table shown in the exhibit. You need to make the table available as an organizational data type in Microsoft Excel. How should you configure the properties of the table?

Note: This question has been adapted for a text-based format. The exhibit would show a table properties dialog in Power BI Desktop. To see the actual exam question with images, please refer to the original source document.

  • Row label: [Option]
  • Key column: [Option]
  • Is featured table: [Option]

Question 127:

You have a custom connector that returns ID, From, To, Subject, Body, and Has Attachments for every email sent during the past year (over 10 million records). You build a report analyzing employee networks. You need to prevent report recipients from reading the analyzed emails. The solution must minimize the model size. What should you do?

  • A. From Model view, set the Subject and Body columns to Hidden.
  • B. Remove the Subject and Body columns during the import.
  • C. Implement row-level security (RLS) so that the report recipients can only see results based on the emails they sent.

Question 128:

You build a report to analyze customer transactions from a database that contains a Customer table (unique CustomerID) and a Transaction table. Which relationship should you use to link the tables?

  • A. one-to-many from Transaction to Customer
  • B. one-to-one between Customer and Transaction
  • C. many-to-many between Customer and Transaction
  • D. one-to-many from Customer to Transaction

Question 129:

You have a Power BI query named Sales. Users only use the date part of the Sales_Date field. Only rows with a Status of “Finished” are used in analysis. You need to reduce the load times of the query without affecting the analysis. Which two actions achieve this goal?

  • A. Remove the rows in which Sales[Status] has a value of Canceled.
  • B. Remove Sales[Sales_Date].
  • C. Change the data type of Sale[Delivery_Time] to Integer.
  • D. Split Sales[Sale_Date] into separate date and time columns.
  • E. Remove Sales[Canceled Date].

Question 130:

You need to provide a user with the ability to add members to a workspace. The solution must use the principle of least privilege. Which role should you assign to the user?

  • A. Viewer
  • B. Admin
  • C. Contributor
  • D. Member

Question 131:

You have a collection of reports for the HR department that use RLS. Each sales region has an HR manager who must see only their region’s data. HR managers must be prevented from changing the report layouts. How should you provision access for the HR managers?

  • A. Publish the reports in an app and grant the HR managers access permission.
  • B. Create a new workspace, copy the datasets and reports, and add the HR managers as members of the workspace.
  • C. Publish the reports to a different workspace other than the one hosting the datasets.
  • D. Add the HR managers as members of the existing workspace that hosts the reports and the datasets.

Question 132:

You are creating a report in Power BI Desktop. You load a data extract that includes a free text field named col1. You need to analyze the frequency distribution of the string lengths in col1. The solution must not affect the size of the model. What should you do?

  • A. In the report, add a DAX calculated column that calculates the length of col1.
  • B. In the report, add a DAX function that calculates the average length of col1.
  • C. From Power Query Editor, add a column that calculates the length of col1.
  • D. From Power Query Editor, change the distribution for the Column profile to group by length for col1.

Topic 2 Questions

Question 1 (T2):

You have a PBIX file that imports data from an Excel file on a local network file share. The Excel file was moved to a new location. You need to update the PBIX file to use the new location. What are three ways to achieve this?

  • A. From the Datasets settings of the Power BI service, configure the data source credentials.
  • B. From the Data source settings in Power BI Desktop, configure the file path.
  • C. From Current File in Power BI Desktop, configure the Data Load settings.
  • D. From Power Query Editor, use the formula bar to configure the file path for the applied step.
  • E. From Advanced Editor in Power Query Editor, configure the file path in the M code.

Question 2 (T2):

HOTSPOT – You have a folder that contains 50 JSON files. You need to use Power BI Desktop to make the metadata of the files available as a single dataset. The solution must NOT store the data of the JSON files. Which type of data source should you use, and which transformation should you perform?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • Data source type: [Option]
  • Transformation to perform: [Option]

Question 3 (T2):

You have a CSV file that contains user complaints. The file contains a column named Logged in the format: 2018-12-31 at 08:59. You need to be able to analyze the complaints by the logged date and use a built-in date hierarchy. What should you do?

  • A. Apply a transformation to extract the last 11 characters of the Logged column and set the data type of the new column to Date.
  • B. Change the data type of the Logged column to Date.
  • C. Split the Logged column by using ” at ” as the delimiter.
  • D. Apply the Parse function from the Date transformations options to the Logged column.

Question 4 (T2):

DRAG DROP – You have two Excel workbooks in a OneDrive folder, each containing a table named Sales. You plan to use Power BI to combine both Sales tables and create visuals. The solution must ensure that you can publish a separate report and dataset. Which storage mode should you use for the report file and the dataset file?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • Report file mode: [Option]
  • Dataset file mode: [Option]

Question 5 (T2):

You have data in an Excel worksheet with a discount column that sometimes contains errors. You need to use Power Query to clean the dataset. The solution must meet these requirements: if the discount column returns an error, a discount of 0.05 must be used; all rows must be maintained. What should you do in Power Query Editor?

  • A. Select Replace Errors.
  • B. Edit the query in the Query Errors group.
  • C. Select Remove Errors.
  • D. Select Keep Errors.

Question 6 (T2):

From Power Query Editor, you attempt to execute a query and receive the error message: “Datasource.Error: Could not find file.” What are two possible causes of the error?

  • A. You do not have permissions to the file.
  • B. An incorrect privacy level was used for the data source.
  • C. The file is locked.
  • D. The referenced file was moved to a new location.

Question 7 (T2):

HOTSPOT – You attempt to use Power Query Editor to create a custom column and receive the error message shown in the exhibit. Use the drop-down menus to complete the statement.

Note: The exhibit would show an error message like “Token Eof expected.” This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • The error is caused by a: [Option]
  • To resolve the error, you should: [Option]

Question 8 (T2):

DRAG DROP – You use Power Query Editor to preview data that has error values in the discount column. You need to clean the query so that all rows are maintained and error values are replaced with 0.05. Which three actions should you perform in sequence?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  1. Right-click the header of the discount column.
  2. Select the Replace Errors option from the context menu.
  3. In the Replace Errors dialog box, enter 0.05 and click OK.

Question 9 (T2):

You are creating a query to be used as a Country dimension in a star schema. The source data contains a Country column and a City column. You need to create the dimension, which must contain a list of unique countries. Which two actions should you perform?

  • A. Delete the Country column.
  • B. Remove duplicates from the table.
  • C. Remove duplicates from the City column.
  • D. Delete the City column.
  • E. Remove duplicates from the Country column.

Question 10 (T2):

HOTSPOT – You have three Azure SQL databases for Development, UAT, and Production. You plan to build a single PBIX file that can be pointed to the correct database for each stage of the lifecycle. The solution must minimize administrative effort and not use deployment pipelines. What should you do?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • In Power Query, you should create: [Option]
  • Before publishing to each workspace, you should modify the: [Option]

Question 11 (T2):

HOTSPOT – You are using Power BI Desktop to connect to an Azure SQL database. The connection is configured as shown in the exhibit. Use the drop-down menus to complete the statement.

Note: The exhibit would show the SQL Server connection dialog with “Data Connectivity mode” set to “Import”. This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • Data will be stored: [Option]
  • To see the latest data, you must: [Option]

Question 12 (T2):

You attempt to connect Power BI Desktop to a Cassandra database. From the Get Data connector list, you discover that there is no specific connector for the Cassandra database. You need to select an alternate data connector that will connect to the database. Which type of connector should you choose?

  • A. Microsoft SQL Server database
  • B. ODBC
  • C. OLE DB
  • D. OData

Question 13 (T2):

DRAG DROP – You publish a dataset that contains data from an on-premises Microsoft SQL Server database. The dataset must be refreshed daily. You need to ensure the Power BI service can connect to the database and refresh the dataset. Which four actions should you perform in sequence?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  1. Install an on-premises data gateway on a server on the local network.
  2. In the Power BI service, add a new data source to the gateway for the SQL Server database.
  3. In the dataset settings, map the dataset to the gateway data source.
  4. Configure the scheduled refresh for the dataset.

Question 14 (T2):

A BI developer creates a dataflow in Power BI that uses DirectQuery to an on-premises SQL server, and the Enhanced Compute Engine is on. You need to use this dataflow in a report, minimizing processing operations and render times for visuals, with data from the current year up to yesterday. What should you do?

  • A. Create a dataflows connection that has DirectQuery mode selected.
  • B. Create a dataflows connection that has DirectQuery mode selected and configure a gateway connection for the dataset.
  • C. Create a dataflows connection that has Import mode selected and schedule a daily refresh.
  • D. Create a dataflows connection that has Import mode selected and create a Microsoft Power Automate solution to refresh the data hourly.

Question 15 (T2):

DRAG DROP – You have a folder that contains 100 CSV files. You need to make the file metadata available as a single dataset by using Power BI. The solution must NOT store the data of the CSV files. Which three actions should you perform in sequence?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  1. From Get Data, select the Folder connector and provide the path.
  2. In the Power Query Editor, right-click the header of the Content column and select Remove.
  3. Click the expand button on the Attributes column header and select the desired metadata fields.

Question 16 (T2):

You have an Azure SQL database that contains sales transactions and is updated frequently. You need to generate reports from the data to detect fraudulent transactions. The data must be visible within five minutes of an update. How should you configure the data connection?

  • A. Add a SQL statement.
  • B. Set the Command timeout in minutes setting.
  • C. Set Data Connectivity mode to Import.
  • D. Set Data Connectivity mode to DirectQuery.

Question 17 (T2):

HOTSPOT – You have two CSV files: Products (ProductID, ProductName) and Categories (CategoryID, CategoryName). You import them into Power Query. You need to create a single table named Product that includes all columns from both files. How should you combine the queries, and what should you do on the Categories query?

Note: This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • Combine operation: [Option]
  • Action on Categories query: [Option]

Question 18 (T2):

HOTSPOT – You are profiling data in Power Query Editor. You have a column named State. The distribution and quality metrics are shown in the exhibit. Use the drop-down menus to complete the statements.

Note: The exhibit would show column profiling stats for the ‘State’ column, for example: Count: 1000, Error: 0, Empty: 50, Distinct: 52, Unique: 48. This question has been adapted for a text-based format. To see the actual exam question with images, please refer to the original source document.

  • The percentage of rows that are empty is: [Option]
  • The number of states that appear more than once is: [Option]

Ready for Offline Study?

Get the complete PL-300 question bank with detailed answers as a downloadable PDF to supercharge your exam prep.

Download Complete PDF

Frequently Asked Questions (FAQ) about Data Sources & Connections

1. What is the difference between Import and DirectQuery mode in Power BI?

Import mode copies the data and stores it in-memory within the Power BI file (PBIX). It’s very fast for user interaction but requires a scheduled refresh to see new data. DirectQuery mode leaves the data in the source system and sends live queries to it. It provides near real-time data but can be slower depending on the source database performance.

2. When do I need to use an on-premises data gateway?

You must use an on-premises data gateway whenever the Power BI service (in the cloud) needs to refresh data from a source that is located on a private, on-premises network (e.g., a SQL Server on a local company server or a file on a network share).

3. What is the difference between “Merge” and “Append” in Power Query?

Append stacks tables on top of each other, adding more rows (like a SQL UNION). The tables must have similar column structures. Merge joins tables side-by-side based on a common column, adding more columns (like a SQL JOIN).

Scroll to Top