MuleSoft MCD - Level 1 Practice Test - Questions Answers, Page 11
List of questions
Related questions
Question 101
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)
Explanation:
Scatter-Gather Router
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.
Mule Ref Doc :https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept
Question 102
Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?
Explanation:
As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter
Question 103
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)
B)
C)
D)
Question 104
An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.
What is the payload at the event processor after the HTTP Request?
Question 105
According to MuleSoft. what is the first step to create a Modern API?
Explanation:
First step in creating Modern API is to create an API specification and get feedback from stakeholders so that any future issues can be identified at early stage thereby reducing overall delivery time
Question 106
Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
Question 107
Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
<a target='_blank' href='http://local:801/order?color=red'>What values are accessible to the Logger at the end of the flow after a web client submit request to http://local:801/order?color=red?</a>
Explanation:
In this case as outbound call is made using HTTP: POST /child , all attributes will be replaced by this invocation. Hence query parameter will not be accessible at logger.
Question 108
Refer to the exhibits.
The input array of strings is processed by the batch job that processes, fitters, and aggregates the values.
What is the last message logged by the Logger component after the batch job completes processing?
A)
B)
C)
D)
Question 109
Which of the below functionality is provided by zip operator in DataWeave?
Explanation:
Correct answer is Merges elements of two lists (arrays) into a single list
MuleSoft Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functions-zip
Question 110
Refer to the exhibit. What is the output of logger component?
Explanation:
Database always return rows as an array.
Array is the correct answer
Question