Implementing Data Engineering Solutions Using Microsoft Fabric — Question 35
You have a Fabric workspace that contains a lakehouse named Lakehouse1.
You plan to create a data pipeline named Pipeline1 to ingest data into Lakehouse1. You will use a parameter named param1 to pass an external value into Pipeline1. The param1 parameter has a data type of int.
You need to ensure that the pipeline expression returns param1 as an int value.
How should you specify the parameter value?
Answer options
- A. "@pipeline().parameters.param1"
- B. "@{pipeline().parameters.param1}"
- C. "@{pipeline().parameters.[param1]}"
- D. "@@{pipeline().parameters.param1}"
Correct answer: A
Explanation
The correct answer is A because it uses the correct syntax to reference the parameter directly as an integer without additional characters. Option B adds unnecessary curly braces, while C incorrectly uses square brackets, making it invalid. Option D uses double '@' which is not the correct syntax for referencing a parameter.