Refer to exhibits.
What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?
A. #["The city is" ++ payload.City]
B. The city is + #[payload.City]
C. The city is #[payload.City]
D. #[The city is ${payload.City}
Explanation: Correct answer is The city is #[payload.City] Answer can get confused with the option #["The city is" ++ payload.City] But note that this option will not print the space between is and city name. This will print The city isPune
Refer to the exhibits. The Set Payload transformer in the addltem child flow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payload transformer in the createOrder flow to use the addltem child flow to add a router call with the price of 100 to the order?
A. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
B. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
C. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
D. addltem( { price: "100", item: "router", itemType: "cable" } )
Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?
A. API Notebook
B. Runtime Manager
C. Anypoint Visualizer
D. API Manager
A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "cindy.park@example.com"?
A. Option A
B. Option B
C. Option C
D. Option D
Which of the below functionality is provided by zip operator in DataWeave?
A. Merges elements of two lists (arrays) into a single list
B. Used for sending attachments
C. Minimize the size of long text using encoding.
D. All of the above
Page 8 out of 47 Pages |
Previous |