Microsoft Fabric Data Engineer Associate DP-700 Practice Question
You are designing a Data Factory pipeline in a Microsoft Fabric workspace. One Spark notebook accepts two parameters, sourceTable and targetTable, which are read in the notebook by using dbutils.widgets.get(). Each night the pipeline must run the notebook once for every table name contained in a pipeline array parameter, without duplicating notebook code. Which pipeline design should you implement?
Add a ForEach activity that loops over the array parameter and, inside the loop, invoke a single Notebook activity whose base parameters use dynamic expressions such as @item() to pass the current table names.
Insert a Copy Data activity that uses a parameterized source dataset for each table and calls the notebook indirectly through a linked service.
Create one Notebook activity per table and link them sequentially in the pipeline, setting fixed parameter values in each activity.
Pass the entire array as a single comma-separated string to the Notebook activity and split the string inside the notebook to process all tables in one run.
A ForEach activity is the standard orchestration pattern for running one or more inner activities multiple times. By setting the pipeline's array parameter as the Items collection of a ForEach activity and putting a single Notebook activity inside the loop, the pipeline will execute the notebook once per table. You then bind the notebook's base parameters to dynamic content that references the current loop item (for example, @item()). This re-uses the same notebook and avoids hard-coding multiple activities. Creating separate notebook activities, passing the entire array as one string, or using a Copy Data activity do not satisfy the requirement to reuse the notebook while automatically iterating over each table.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What is a ForEach activity in Microsoft Fabric pipelines?
Open an interactive chat with Bash
How does dbutils.widgets.get() work in Spark notebooks?
Open an interactive chat with Bash
What is the benefit of using dynamic expressions like @item() in pipeline design?
Open an interactive chat with Bash
Microsoft Fabric Data Engineer Associate DP-700
Implement and manage an analytics solution
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .