Microsoft Fabric Data Engineer Associate DP-700 Practice Question
You create a pipeline in a Microsoft Fabric workspace. The pipeline will be started by an event-based trigger that fires whenever a new file is added to the OneLake folder raw/sensor/. The trigger captures the file name and folder path in its event payload. The first activity in the pipeline must execute a PySpark notebook and pass the full relative path of the new file to an input parameter named input_path defined in the notebook.
Which dynamic content expression should you configure for the input_path notebook parameter to meet the requirement?
In Fabric pipelines (built on Azure Data Factory), an event-based trigger surfaces its event message through the trigger() function. The event payload is available under trigger().outputs.body, where properties such as fileName and folderPath are exposed by OneLake Event Grid events. To build the full relative path to the file, you concatenate the folderPath and fileName values:
Using only trigger().outputs.body.fileName omits the folder path, so the notebook would not receive the full path.
Using only trigger().outputs.body.folderPath omits the file name.
pipeline().parameters.input_path references an existing pipeline parameter; it does not extract the dynamic values from the trigger payload.
Therefore, the correct expression is the concatenation of folderPath and fileName from trigger().outputs.body.
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 dynamic content in Microsoft Fabric pipelines?
Open an interactive chat with Bash
What does the `trigger()` function do in Microsoft Fabric pipelines?
Open an interactive chat with Bash
What is the role of concatenation in dynamic expressions?
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 .