Question 6 of 160

How to import Core (dw::Core) module into your DataWeave scripts?
Answer

Suggested Answer

The suggested answer is B.

The Core (dw::Core) module in DataWeave is automatically imported into all DataWeave scripts and does not need to be explicitly imported. Therefore, no special import statement is required to use its functions.

Community Votes1 vote
BSuggested
100%
Question 7 of 160

What is the value of the stepVar variable after the processing of records in a Batch Job?
Answer

Suggested Answer

The suggested answer is C.

In a Batch Job, variables created during the batch steps are scoped to those steps and do not persist through to the On Complete phase. Therefore, the value of such a variable, stepVar in this case, would be null after the batch steps have completed, as it is not preserved or accessible in the On Complete phase.

Community Votes1 vote
CSuggested
100%
Question 8 of 160

What is the object type returned by the File List operation?
Answer

Suggested Answer

The suggested answer is C.

The object type returned by the File List operation is an object of Mule event objects. This is because the File List operation typically returns structured data that includes properties such as file name, size, timestamp, and type, which are encapsulated within Mule event objects.

Community Votes1 vote
DMost voted
100%
Question 9 of 160

Where are values of query parameters stored in the Mule event by the HTTP Listener?
Answer

Suggested Answer

The suggested answer is B.

Values of query parameters in a Mule event by the HTTP Listener are stored in the attributes. Specifically, in Mule 4, the query parameters can be accessed using expressions like #[attributes.queryParams.{paramaterName}]. This allows you to retrieve the values of the parameters that were part of the HTTP request.

Community Votes1 vote
BSuggested
100%
Question 10 of 160

How can you call a flow from Dataweave?
Answer

Suggested Answer

The suggested answer is C.

To call a flow from Dataweave, you can use the Lookup function. The Lookup function dynamically evaluates and executes a flow by its name and optionally allows passing parameters. It is specifically designed for calling other flows within Dataweave scripts.

Community Votes1 vote
CSuggested
100%