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:
Refer to the exhibits 
What payload and quantity arelogged at the end of the main flow?
A.
[[1,2,3,4], 14]
B.
[[order1, order2, order3, order4], 14]
C.
[[1,2,3,4], 10]
D.
[orderlorder2order3order4,14]
[[1,2,3,4], 14]
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder. What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?

A. Option A
B. Option B
C. Option C
D. Option D
Why would a Muleapplication use the ${http.port} property placeholder for its HTTP
Listener port when it is deployed to CloudHub?
A.
Allows CloudHub to automatically change the HTTP port to allow external clients to
connect to the HTTP Listener
B.
Allows CloudHub to automatically register the application with API Manager
C.
Allows MuleSoft Support to troubleshoot the application by connecting directly to the
HTTP Listener
D.
Allows clients to VPN directly to the application at the Mule application's configured
HTTP port
Allows CloudHub to automatically change the HTTP port to allow external clients to
connect to the HTTP Listener
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now be exported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer's Anypoint Studio and run successfully?
A. Select only Attach Project Sources only
B. Select both Attach Project Sources and Include project modules and dependencies option
C. Select the Include project modules and dependencies option only
D. De-select both Attach Project Sources and Include project modules and dependencies option
Explanation:
Correct answer is Select only Attach Project Sources only.
You must keep the Attach Project Sources option selected to be able to import the
packaged JAR file back into a Studio workspace.
Deselect the Include project modules and dependencies option.
This option skips bundling the actual modules and external dependencies required to run
the Mule application in a Mule runtime engine, creating a lightweight JAR file package that
does not include any dependencies specified in the Mule application’s pom.xml file.
The generated JAR file is not a functional deployable archive and cannot be deployed to a
Mule runtime engine, but instead offers a way to archive only the source files that make up
the Mule application. This is the same as using the -lightWeightPackage flag when
packaging using the Mule Maven Plugin and is useful if you want to distribute your project
to other Studio installations because it only keeps a reference to all its dependencies.
When you import a lightweight package into Studio, all your dependencies are
automatically downloaded.
Refer to the exhibits.
A web client submits a request to the HTTP Listener andthe HTTP Request throws an
error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP
Request throws an error.
What payload and status code are returned to theweb client?
A.
Response body: "Error" Default response status code: 200
B.
Response body: "Success - Begin* Default response status code: 200
C.
Error response body: error, description Default error response status code: 500
D.
Response body: "Success - End" Default response status code: 200
Response body: "Error" Default response status code: 200
Refer to the exhibits.
A web clientsends a GET request to the HTTP Listener.
What response message is returned to the web client?
A.
""
B.
"End"
C.
"Start"
D.
"String is not blank"
"String is not blank"
Which of the following is invalid type of event processor which can be used as a router?
A. Choice
B. Round Robin
C. Pick First
D. First Successful
Pick First is not valid type. Rest all are valid type of event processor.
| Page 5 out of 29 Pages |
| Mulesoft MCD-Level-1 Exam Questions Home | Previous |