HOTSPOT (Drag and Drop is not supported)You have a Fabric tenant.You need to configure OneLake security for users shown in the following table.The solution must follow the principle of least privilege.Which permission should you assign to each user? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
Answer(s): A
Box 1: ReadAllUser1, Read all the Spark dataIf the “Read all Apache Spark” box is checked, users will be given ReadAll. This permission allows users to access data in OneLake. This could be through direct OneLake access, Apache Spark queries, or the lakehouse UX.Box 2: ReadDataUser2, Read all the SQL endpoint dataIf the “Read all SQL endpoint data” is checked, users will be given the ReadData permission. ReadData gives access to all Tables in the item when accessing through the SQL Endpoint. Users will not be able to access OneLake directly.
https://support.fabric.microsoft.com/en-us/blog/building-common-data-architectures-with-onelake-in-microsoft- fabric
DRAG DROP (Drag and Drop is not supported)You are implementing a medallion architecture in a single Fabric workspace.You have a lakehouse that contains the Bronze and Silver layers and a warehouse that contains the Gold layer. You create the items required to populate the layers as shown in the following table.You need to ensure that the layers are populated daily in sequential order such that Silver is populated only after Bronze is complete, and Gold is populated only after Silver is complete. The solution must minimize development effort and complexity.What should you use to execute each set of items? To answer, drag the appropriate options to the correct items. Each option 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.Select and Place:
Box 1: A schedule Orchestration pipelineRun and schedule the data pipeline Box 2: A pipeline Copy activityBronze layer, pipelines with Copy activities (Lakehouse)Configure Lakehouse in a copy activityUse the copy activity in a data pipeline to copy data from and to the Fabric Lakehouse.Box 3: A pipeline Dataflow activity Silver layer, dataflows (Lakehouse)Microsoft Fabric, Data Factory, Use a dataflow in a pipelineA dataflow is a reusable data transformation that can be used in a pipeline.Box 4: A pipeline Stored procedure actvitity Gold layer, stored procedures (warehouse)Azure Data Factory, Transform data by using the SQL Server Stored Procedure activity in Azure Data Factory or Synapse Analytics
https://learn.microsoft.com/en-us/fabric/data-factory/connector-lakehouse-copy-activity https://learn.microsoft.com/en-us/fabric/data-factory/tutorial-dataflows-gen2-pipeline-activity https://learn.microsoft.com/en-us/azure/data-factory/transform-data-using-stored-procedure
DRAG DROP (Drag and Drop is not supported)You are building a solution by using a Fabric notebook.You have a Spark DataFrame assigned to a variable named df. The DataFrame returns four columns.You need to change the data type of a string column named Age to integer. The solution must return a DataFrame that includes all the columns.How should you complete the code? To answer, drag the appropriate values to 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.Select and Place:
Box 1: withColumnIn PySpark, we can use the cast method to change the data type.from pyspark.sql.types import IntegerType from pyspark.sql import functions as F# first methoddf = df.withColumn("Age", df.age.cast("int"))# second methoddf = df.withColumn("Age", df.age.cast(IntegerType()))# third method <-- This onedf = df.withColumn("Age", F.col("Age").cast(IntegerType())) Box 2: colBox 3: cast
https://www.aporia.com/resources/how-to/change-column-data-types-in-dataframe/
HOTSPOT (Drag and Drop is not supported)You have an Azure Data Lake Storage Gen2 account named storage1 that contains a Parquet file named sales.parquet.You have a Fabric tenant that contains a workspace named Workspace1.Using a notebook in Workspace1, you need to load the content of the file to the default lakehouse. The solution must ensure that the content will display automatically as a table named Sales in Lakehouse explorer.How should you complete the code? To answer, select the appropriate options in the answer area.NOTE: Each correct selection is worth one point.Hot Area:
Box 1: deltaUse a notebook to load data into your LakehouseSaving data in the Lakehouse using capabilities such as Load to Tables or methods described in Options to get data into the Fabric Lakehouse, all data is saved in Delta format.# Keep it if you want to save dataframe as a delta lake, parquet table to Tables section of the default Lakehousedf.write.mode("overwrite").format("delta").saveAsTable(delta_table_name)# Keep it if you want to save the dataframe as a delta lake, appending the data to an existing table df.write.mode("append").format("delta").saveAsTable(delta_table_name)
You have a Fabric workspace named Workspace1 that contains a lakehouse named Lakehouse1. In Workspace1, you create a data pipeline named Pipeline1.You have CSV files stored in an Azure Storage account.You need to add an activity to Pipeline1 that will copy data from the CSV files to Lakehouse1. The activity must support Power Query M formula language expressions.Which type of activity should you add?
Power Query activity in Azure Data FactoryThe Power Query activity allows you to build and execute Power Query mash-ups to execute data wrangling at scale in a Data Factory pipeline. You can create a new Power Query mash-up from the New resources menu option or by adding a Power Activity to your pipeline.Translation to data flow scriptTo achieve scale with your Power Query activity, Azure Data Factory translates your M script into a data flow script so that you can execute your Power Query at scale using the Azure Data Factory data flow Spark environment.Example:
https://learn.microsoft.com/en-us/azure/data-factory/control-flow-power-query-activity
Post your Comments and Discuss Microsoft DP-600 exam prep with other Community members:
Our website is free, but we have to fight against AI bots and content theft. We're sorry for the inconvenience caused by these security measures. You can access the rest of the DP-600 content, but please register or login to continue.