Which one of them is NOT a flow in Mule?
A. sync flow
B. subflow
C. async sub flow
D. async flow
Explanation:
Correct answer is async sub flow. Rest are valid flows in Mule.
Sub flow is always synchronous.
Refer to the exhibits.
A. Option A
B. Option B
C. Option C
D. Option D
Explanation: Correct answer is as below. After all processing routes have finished execution, the Scatter- Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.
Refer to the exhibit
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option A
Refer to the exhibits.
The web client sends a POST request to the ACME Order API with an XML payload. An
error is returned.
What should be changed in the request so that a success response code is returned to the
web client?
A. Set a request header with the name Content-Type to a value of applicatron/octet-stream
B. Set a request header with the name Content-Type to a value of application/xml
C. Set a response header with the name Content-Type to a value of applkation/xml
D. Set a response header with the name Content-Type to a value of application/octetstream
The HTTP 415 Unsupported Media Type client error response code indicates that the
server refuses to accept the request because the payload format is in an unsupported
format. The format problem might be due to the request's indicated Content-Type or
Content-Encoding , or as a result of inspecting the data directly. As per RAML input is
expected in application/xml.
Hence correct answer is Set a request header with the name Content-Type to a
Refer to the exhibits.
What is written to the records.csv file when the flow executes?
A. The JSON payload
B. An error message
C. Nothing
D. The payload convert to CVS
Explanation: Transform Message Add write_date is coverting payload in JSON format and same JSON payload is avaialble to file write processor. However, if the payload is a different format (for example, not CSV) , you can place the transformation inside the Write operation to generate content that will be written without producing a side effect on the message in transit. This is not done in this case. By default, the connector writes whatever is in the message payload. Hence JSON payload will be written to file.
Refer to the exhibits.
The Validation component in the private flow throws an error. What response message is
returned to a client request to the main flow's HTTP Listener?
A.
Error - private flow
B.
Error - main flow
C.
Success - main flow
D.
Validation Error
Success - main flow
Which of the below is not a valid category for connector type?
A. Gold
B. Select
C. Premium
D. Community
Gold is not valid category for connector types.
What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?
A. Attributes are replaced with new attributes from the HTTP Request response (which might be null)
B. New attributes may be added from the HTTP response headers, but no headers are ever removed
C. Attributes do not change
D. Previous attributes are passed unchanged
Explanation:
Attributes are replaced with new attributes from the HTTP Request response.
Attributes include everything apart from Payload/body. For ex: Headers, query parameters,
URI parameters.
So, when outbound HTTP request is made, new attributes need to pass the outbound
HTTP request and old attributes are replaced.
I have created below diagram to make it easy for you to understand:
Page 9 out of 29 Pages |
Mulesoft MCD-Level-1 Exam Questions Home | Previous |