Refer to the exhibits.
The mule application implements a REST API that accepts GET request from two URL's
which are as follows
1) http://acme.com/order/status
2) http://acme.com/customer/status
What path value should be set in HTTP listener configuration so that requests can be
accepted for both these URL's using a single HTTP listener event source?
A. *[order,customer]/status
B. ?[order,customer]/status
C. */status
D. *status
A mule project contains MySQL database dependency. The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?
A. Select both the options 1) Attach project sources 2) Include project module and dependencies
B. No need to select any of the below options 1) Attach project sources 2) Include project module and dependencies
C. Select only below option 2) Include project module and dependencies
D. Select only below option 1) Attach project sources
Explanation:
You can choose Attach Project Sources to include metadata that Studio requires to
reimport the deployable file as an open Mule project into your workspace. You must keep the Attach Project Sources option selected to be able to import the packaged JAR file back
into a Studio workspace. But requirement here is to create smallest deployable archive that
will successfully deploy to Cloudhub. Hence we can ignore this option.
We need to select Include project module and dependencies.
As actual modules and external dependencies required to run the Mule application in a
Mule runtime engine.
How many Mule applications can run on a CloudHub worker?
A. At most one
B. At least one
C. Depends
D. None of these
Refer to the exhibits.
What is the response when a client submits a request to http://localhost:8081?
A. After
B. null
C. Before
D. Validation error
Here’s specifically what is happening here:
1) Payload is successfully set to “Before”
2) Is null validation is used which will pass the message only if payload is null. In this case
as payload is not null, it creates an Error Object. Flow execution stops
#[error.description] = “Validation error”
3) Because no error handler is defined, the Mule default error handler handles the error
4) “Validation error” is the error message returned to the requestor in the body of the HTTP
request with HTTP Status Code: 500
Reference diagram:
Refer to the exhibit.
The default scope in choice router recursively calls the color flow.
A web client sends a PUT request to the HTTP listener with payload Blue.
What response is returned to the web client?
A. "Blk"
B. "Green"
C. A timeout error
D. ["Blue", "Red", "Blk"]
Explanation:
Sequence can be described as follows.
* When web client sends the request , it sends payload as Blue (mentioned in question)
* In first iteration this will go to default choice , which sets payload to Red
* Via default route , flow will call itself with payload as Red
* In second iteration , as payload is Red , it will go to first route in choice router which will
set payload to Blk and second iteration will end returning back payload as Blk to first iteration.
* This Blk will be again set to payload and first iteration will end returning back response as Blk
How would you debug Mule applications?
A. By Deploying apps on production
B. Checking RAML specifications
C. Using debugger component
D. Use third party debugger application
Debugger can be used to debug applications to see event data movine from one flow to other.
By default, what happens to a file after it is read using an FTP connector Read operation?
A.
The file is deleted from the folder
B.
The file is moved to a different folder
C.
The file stays in the same folder unchanged
D.
The file is renamed in the same folder
The file stays in the same folder unchanged
Refer to the exhibits.
A. *[order,customer]/status
B. */status
C. ?[order,customer]/status
D. *status
Page 6 out of 29 Pages |
Mulesoft MCD-Level-1 Exam Questions Home | Previous |