Which keyword do you use to create a new function in DataWeave?

Which keyword do you use to create a new function in DataWeave?A . function B. fun C. func D. mapView AnswerAnswer: B Explanation: You can define your own DataWeave functions using the fun declaration in the header of a DataWeave script. Sample is as below. ---------------------------------------- %dw 2.0 output application/json...

November 6, 2022 No Comments READ MORE +

What HTTP method in a RESTful web service is typically used to completely replace an existing resource?

What HTTP method in a RESTful web service is typically used to completely replace an existing resource?A . GET B. PATCH C. PUT D. POSTView AnswerAnswer: C Explanation: PUT replaces the original version of the resource, whereas the PATCH method supplies a set of instructions to modify the resource

November 6, 2022 No Comments READ MORE +

What values are accessible to the Logger component at the end of the main flow?

Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Request use default configurations. A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano. What values...

November 6, 2022 No Comments READ MORE +

What is output of Dataweave flatten function?

What is output of Dataweave flatten function?A . Object B. Map C. Array (Correct) D. LInkedHashMapView AnswerAnswer: C Explanation: Correct answer is Array. Flatten turns a set of subarrays (such as [ [1,2,3], [4,5,[6]], [], [null] ]) into a single, flattened array (such as [ 1, 2, 3, 4, 5,...

November 6, 2022 No Comments READ MORE +

Which of the below is not the mandatory configurations for HTTP Listener?

Which of the below is not the mandatory configurations for HTTP Listener?A . Path B. Allowed methods C. HTTP port in Connector Configuration D. HTTP host in Connector ConfigurationView AnswerAnswer: B Explanation: Allowed methods is an optional configuration. If nothing is specified then all HTTP methods are supported. Rest all...

November 6, 2022 No Comments READ MORE +

What is minimal requirement in a flow for a Mule application to compile?

What is minimal requirement in a flow for a Mule application to compile?A . Event Source B. Event Processors C. Error handlers D. Source and processors bothView AnswerAnswer: B Explanation: Process section is must to get compiles. Process section must have one or more processors Diagram Description automatically generated

November 6, 2022 No Comments READ MORE +

Which of the below is not the mandatory configurations for HTTP Listener?

Which of the below is not the mandatory configurations for HTTP Listener?A . Path B. Allowed methods C. HTTP port in Connector Configuration D. HTTP host in Connector ConfigurationView AnswerAnswer: B Explanation: Allowed methods is an optional configuration. If nothing is specified then all HTTP methods are supported. Rest all...

November 6, 2022 No Comments READ MORE +

What is minimal requirement in a flow for a Mule application to compile?

What is minimal requirement in a flow for a Mule application to compile?A . Event Source B. Event Processors C. Error handlers D. Source and processors bothView AnswerAnswer: B Explanation: Process section is must to get compiles. Process section must have one or more processors Diagram Description automatically generated

November 6, 2022 No Comments READ MORE +

What is the structure of the payload at the end of the flow?

Refer to the exhibits. A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow? A) B) C) D) A . Option A B. Option B C. Option C D. Option DView AnswerAnswer: D Explanation: Scatter-Gather sends the event to...

November 6, 2022 No Comments READ MORE +

Which of the below functionality is provided by zip operator in DataWeave?

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 aboveView AnswerAnswer: A Explanation: Correct answer is Merges elements...

November 6, 2022 No Comments READ MORE +