Free Salesforce Salesforce-MuleSoft-Developer-I Exam Actual Questions

The questions for Salesforce-MuleSoft-Developer-I were last updated On Dec 17, 2024

Question No. 1

Does a root element required when creating a XML response using Dataweave?

Show Answer Hide Answer
Correct Answer: C

Root element is always required while creating XML response in DataWeave transformation


Question No. 2

How does APIkit determine the number of flows to generate from a RAML specification?

Show Answer Hide Answer
Correct Answer: B

APIKIt Creates a separate flow for each HTTP method


Question No. 3

How we can scale deployed Mule application vertically on cloudhub?

Show Answer Hide Answer
Correct Answer: A

Mule applications can be scaled vertically by changing worker size. Mule applications can be scaled horizontally by adding more workers.


Question No. 4

Refer to the exhibits.

The Batch Job scope contains two Batch Step scopes with different accept expressions.

The input payload is passed to the Batch Job scope.

After the entire payload is processed by the Batch Job scope, what messages have been logged by the Logger components?

A)

B)

D)

Show Answer Hide Answer
Correct Answer: C

Question No. 5

A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?

Show Answer Hide Answer
Correct Answer: B

Correct answer isAn Object containing all three Mule event Objects

The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather component then combines the Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully.

The Scatter-Gather component executes each route in parallel, not sequentially. Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing.

Sample output is as below

MuleSoft Documentation reference : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept