Refer to the exhibit.
The error occurs when a project is run in Anypoint Studio. The project, which has a
dependency that is not in the MuleSoft Maven repository, was created and successfully run
on a different computer.
What is the next step to fix the error to get the project to run successfully?
A. Edit the dependency in the Mule project's pom.xml file
B. Install the dependency to the computer's local Maven repository
C. Deploy the dependency to MuleSoft's Maven repository
D. Add the dependency to the MULE_HOME/bin folder
Explanation: As dependency is not present in Mulesoft Maven repository, we need to install the dependency on computer's local Maven repository. Option 3 is correct choice.
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
A. 200.1234 as string as format: ".0#"
B. 200.1234 as String {format: ".0#"}
C. 200.1234 as String as format: ".0#"
D. 200.1234 as string {format: ".0#"}
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.
Refer to the exhibits.
A web client submits a request to below flow. What is the output at the end of the flow?
A. String
B. Object
C. Java
D. XML
String is the correct answer as XML is of an Object type String
Refer to the exhibits.
The Batch Job scope contains two Batch Steps scopes with different accept expression. The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been
logged by the Logger component?
A. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
B. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=40}
C. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
D. 1.{amount=140}
2.{amount=102}
3.{step2amount=100}
4.{step2amount=140}
5.{step2amount=102}
Explanation:
Lets understand this solution step by step.
1) Batch Step (Less than 50)
Accept expression for this batch step is less than 50. Hence elements which will go in this
batch step are amount value 40 and 2. Hence output of logger in first batch step is
{amount=140}
{amount=102}
2) Batch Step (Greater than 20)
Accept condition for this batch step is greater than 20. Note that input amount values for
this batch step are 100 , 140 and 102 (last two values have been updated in batch step
less than 50)
As all values satisfy this condition out put of second logger is
{step2amount=100}
{step2amount=140}
{step2amount=102}
Hence correct answer to this question is
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
{step2amount=102}
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
What is the object type returned by the File List operation?
A. Object of String file names
B. Array of String file names
C. Object of Mule event objects
D. Array of Mule event objects
Explanation: The List operation returns an array of messages in which: Each message holds the file’s content in its payload. The file’s attributes section carries the file’s metadata (such as name, creation time, and size). The payload is empty if the element is a folder.
Refer to the exhibits. In the color flow , both the variable named color and payload are set
to "red".
An HTTP POST request is then sent to the decideColor flow's HTTP Listener.
What is the payload value at the Logger component after the HTTP request completes?

A. white
B. red
C. blue
D. Error message
Explanation:
Correct answer is white.
Key thing to note here is that variables are not available to the called flow when it is invoked using HTTP request.
So the flow goes like below:
1) Color variable is set to red
2) Payload is set to red
3) Child flow is called using HTTP request which means variables are not available in
called flow (They would have been if flow reference activity would have been used)
4) Hence set payload activity will set payload to white as color variable is null.
5) Payload returned in main flow is white.
6) So finally output of logger is white.
What of the below is not a feature of API Notebooks?
A. API documentation
B. Creates a client for an API
C. Creates a mock service for an API
D. Perform authenticated live calls on a real server
Explanation:
Correct answer is Creates a mock service for an API
API Notebook is an open source, shareable web application for API documentation,
interactive API tutorial and example generatation, and a client for your API endpoints.
Using API Notebook, you can make requests and quickly transform the responses into
readable format. However it cannot be used to mock service for an API.
| Page 1 out of 29 Pages |