DP-600 Exam Dumps & Practice Test
Implementing Analytics Solutions Using Microsoft Fabric Questions 86–90 (page: 19)

Updated On: 10-Feb-2026

HOTSPOT (Drag and Drop is not supported)
You have a Fabric workspace that uses the default Spark starter pool and runtime version 1.2.

You plan to read a CSV file named Sales_raw.csv in a lakehouse, select columns, and save the data as a Delta table to the managed area of the lakehouse. Sales_raw.csv contains 12 columns.

You have 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.

Hot Area:

  1. See Explanation section for answer.

Answer(s): A

Explanation:




Box 1: Yes
Yes - The Spark engine will read only the 'SalesOrderNumber','OrderDate','CustomerName','UnitPrice' columns from Sales_raw.csv.

NOTE:
DataFrame.select(*cols: ColumnOrName) → DataFrame[source] Projects a set of expressions and returns a new DataFrame
Parameters
colsstr, Column, or list
column names (string) or expressions (Column). If one of the column names is ‘*’, that column is expanded to include all columns in the current DataFrame.

Box 2: No
No - The Year column replaces the OrderDate column in the table. withColumn adds one extra column
NOTE: pyspark.sql.dataframe.DataFrame[source]
Returns a new DataFrame by adding multiple columns or replacing the existing columns that have the same names.

The colsMap is a map of column name and column, the column must only refer to attributes supplied by this Dataset. It is an error to add columns that refer to some other Dataset.

Box 3: Yes
Yes - Adding inferSchema='true' to the options will increase the execution time of the query.

When you set inferSchema to True, PySpark will make an additional pass over the data to determine the data types of each column. This can be useful when you don't have a predefined schema for your data and want Spark to automatically deduce the types based on the actual data values.


Reference:

https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/pyspark.sql.DataFrame.select.html https://spark.apache.org/docs/latest/api/python/reference/pyspark.sql/api/ pyspark.sql.DataFrame.withColumns.html
https://medium.com/@sujathamudadla1213/what-are-the-considerations-and-implications-of-setting- inferschema-to-true-and-false-in-pyspark-9fc77fa2ad9a



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?

  1. Switch
  2. KQL
  3. Append variable
  4. Lookup

Answer(s): D

Explanation:

Lookup Activity
Lookup Activity can be used to read or look up a record/ table name/ value from any external source. This output can further be referenced by succeeding activities.

NOTE: Lookup activity can retrieve a dataset from any of the data sources supported by data factory and Synapse pipelines. You can use it to dynamically determine which objects to operate on in a subsequent activity, instead of hard coding the object name. Some object examples are files and tables.

Lookup activity reads and returns the content of a configuration file or table. It also returns the result of executing a query or stored procedure. The output can be a singleton value or an array of attributes, which can be consumed in a subsequent copy, transformation, or control flow activities like ForEach activity.

Incorrect:
Append variable
Append Variable activity in Azure Data Factory and Synapse Analytics
Use the Append Variable activity to add a value to an existing array variable defined in a Data Factory or Synapse Analytics pipeline
Copy data
In Data Pipeline, you can use the Copy activity to copy data among data stores located in the cloud.

After you copy the data, you can use other activities to further transform and analyze it. You can also use the Copy activity to publish transformation and analysis results for business intelligence (BI) and application consumption.

KQL
The KQL activity in Data Factory for Microsoft Fabric allows you to run a query in Kusto Query Language (KQL) against an Azure Data Explorer instance.

Switch
The Switch activity in Microsoft Fabric provides the same functionality that a switch statement provides in programming languages. It evaluates a set of activities corresponding to a case that matches the condition evaluation.


Reference:

https://learn.microsoft.com/en-us/azure/data-factory/control-flow-lookup-activity https://learn.microsoft.com/en-us/azure/data-factory/control-flow-append-variable-activity



NOTE: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.

After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.

You have a Fabric tenant that contains a semantic model named Model1. You discover that the following query performs slowly against Model1.



You need to reduce the execution time of the query. Solution: You replace line 4 by using the following code:

NOT ( CALCULATE ( COUNTROWS ( 'Order Item' ) ) < 0)

Does this meet the goal?

  1. Yes
  2. No

Answer(s): B

Explanation:

Correct: You replace line 4 by using the following code:
NOT ISEMPTY ( CALCULATETABLE ( 'Order Item ' ) )
Just check if it is empty or not. NOTE: ISEMPTY
Checks if a table is empty.

Syntax ISEMPTY(<table_expression>)
Parameters
table_expression - A table reference or a DAX expression that returns a table. Return value - True if the table is empty (has no rows), if else, False.

Incorrect:
* CALCULATE ( COUNTROWS ( 'Order Item' ) ) >= 0
* ISEMPTY ( RELATEDTABLE ( 'Order Item' ) )
* NOT ( CALCULATE ( COUNTROWS ( 'Order Item' ) ) < 0)


Reference:

https://learn.microsoft.com/en-us/dax/isempty-function-dax



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?

  1. Get metadata
  2. Copy data
  3. Lookup
  4. Append variable

Answer(s): C

Explanation:

The Lookup activity is specifically designed to execute a query or stored procedure and retrieve data from a data source, such as a warehouse. It allows you to capture the output, which can then be used in subsequent activities in the pipeline.

By using the Lookup activity, you can access the returned values (number of active customers and their average sales) and pass them on to other activities for further processing.



You have an Amazon Web Services (AWS) subscription that contains an Amazon Simple Storage Service (Amazon S3) bucket named bucket1.

You have a Fabric tenant that contains a lakehouse named LH1. In LH1, you plan to create a OneLake shortcut to bucket1.

You need to configure authentication for the connection.

Which two values should you provide? Each correct answer presents part of the solution.

NOTE: Each correct selection is worth one point.

  1. the shared access signature (SAS) token
  2. the secret access key
  3. the access ID
  4. the access key ID
  5. the certificate thumbprint

Answer(s): B,D

Explanation:

the secret access key
The secret access key is used in conjunction with the access key ID to authenticate requests to AWS services, including S3.

the access key ID
The access key ID is a unique identifier associated with the AWS account or IAM user that you will use to authenticate requests to the S3 bucket.



Viewing page 19 of 41
Viewing questions 1 - 0 out of 250 questions


Post your Comments and Discuss Microsoft DP-600 exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!