Which of the below is not the mandatory configurations for HTTP Listener?
Answer : B
Allowed methods is an optional configuration. If nothing is specified then all HTTP methods are supported.
Rest all are mandatory.
Refer to the exhibits.


A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
Answer : C
How are query parameters dynamically passed to an outbound REST request using an HTTP Request operation?
Answer : A
In General > Request > Query Parameters, click the plus icon (+) to add a parameter to a request. Type a name and value for the parameter or use a DataWeave expression to define the name and value.

Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?


Answer : D
* Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in batch scope.
* So payload for each of these will be incremented by 10.
* Aggregator has batch size defined as 2. So it will process in batch of two records.
* Hence option 3 is correct answer.
[20,40]
[60]
Behavior with aggregator configured with fixed size
In this scenario, the batch step sends the processed records to an aggregator, which starts processing the records and buffering them until the configured aggregator's size is reached. After that, the aggregator sends the aggregated records to the stepping queue.

The batch job builds record blocks of the configured block size and sends them to their corresponding batch step for processing. Each batch step receives one or more record blocks and starts processing them in parallel. After the batch step processes a record, the batch step sends the record to the aggregator for further processing. The aggregator continues processing records until the number of aggregated records reaches the configured aggregator's size.
https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept
A web client sends a request to http;//localhost:8081?dept=sales. What is the correct DataWeave expression to access the value of dept?
Answer : A
Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?

A)

B)

C)

D)

Answer : D
What DataWeave expression transforms the example XML input to the CSV output?

A)

B)

C)

D)

Answer : A
Correct answer is as below. Attributes in the incoming xml payload are always accessed using @.Similarly *item is required as we have multiple items in the request
%dw 2.0
output application/csv
---
payload.sale.*item map ((value, index) -> {
index: index,
sale: value.@saleId,
itemName: value.desc,
itemPrice: (value.quantity) * (value.price),
item: value.@itemId
} )