Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?
A. API Notebook
B. Runtime Manager
C. Anypoint Visualizer
D. API Manager
Explanation:
Correct answer is Anypoint Visualizer
MuleSoft Doc Ref : https://docs.mulesoft.com/visualizer/
Anypoint Visualizer provides a real-time, graphical representation of the APIs, and Mule
applications that are running and discoverable. It also displays third-party systems that are
invoked by a Mule API, proxy, or application within your application network. The data
displayed in the graph is dynamically updated and does not require prior configuration.
Additionally, the data displayed is secure, as only users with the proper permissions can
view the application network graph.
A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?
A. 1. %dw 2.0
2. output application/json
3. import modules::Utility
4. ---
5. Utility::encryptString( "John Smith" )
B. 1. %dw 2.0
2. output application/json
3. import modules::Utility
4. ---
5. encryptString( "John Smith" )
C. 1. %dw 2.0
2. output application/json
3. import modules.Utility
4. ---
5. encryptString( "John Smith" )
D. 1. %dw 2.0
2. output application/json
3. import modules.Utility
4. ---
5. Utility.encryptString( "John Smith" )
Explanation:
Correct answer is
%dw 2.0
output application/json
import modules::Utility
---
Utility::encryptString( "John Smith" )
DataWeave 2.0 functions are packaged in modules. Before you begin, note that
DataWeave 2.0 is for Mule 4 apps. For Mule 3 apps, refer to DataWeave Operators in the
Mule 3.9 documentation. For other Mule versions, you can use the version selector for the
Mule Runtime table of contents.
Functions in the Core (dw::Core) module are imported automatically into your DataWeave
scripts. To use other modules, you need to import the module or functions you want to use
by adding the import directive to the head of your DataWeave script, for example:
import dw::core::Strings
import camelize, capitalize from dw::core::Strings
import * from dw::core::Strings
The way you import a module impacts the way you need to call its functions from a
DataWeave script. If the directive does not list specific functions to import or use * from to
import all functions from a function module, you need to specify the module when you call
the function from your script. For example, this import directive does not identify any
functions to import from the String module, so it calls the pluralize function like this:
Strings::pluralize("box").
Transform
%dw 2.0
import dw::core::Strings
output application/json
---
{ 'plural': Strings::pluralize("box") }
A Mule flow has three Set Variable transformers. What global data structure can be used to
access the variables?
A.
Mule event attributes
B.
Mule event message
C.
Mule application properties
D.
Mule event
Mule event
In the Database On Table Row operation, what does the Watermark column enable the On Table Row operation to do?
A. To avoid duplicate processing of records in a database.
B. To delete the most recent records retrieved from a database to enable database caching
C. To enable duplicate processing of records in a database
D. To save the most recent records retrieved from a database to enable database caching
Explanation:
The correct answer is To avoid duplicate processing of records in a database.
If a watermark column is provided, the values taken from that column are used to filter the
contents of the next poll, so that only rows with a greater watermark value are returned. If
an ID column is provided, this component automatically verifies that the same row is not
picked twice by concurrent polls.
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.
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.
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. payload
B. payload quantity var
C. payload color query param
D. payload quantity var color query param
Correct answer is as below. Query parameters are replaced when external HTTP call is
invoked.
payload
producer var
Refer to the exhibit.

What is the response to a web client request tohttp://localhost:8081?
A.
After
B.
before
C.
Validation Error
D.
null
Validation Error
Refer to the exhibits. 
A web client sends a POST request with thepayload {"oid": "1000", "itemid": "AC200", "qty":
"4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.
What response message is returned to the web client?
A.
‘’FILE:CONNECnvnY'
B.
"ORDER:NOT_CREATED"
C.
"OTHER ERROR"
D.
"File written"
‘’FILE:CONNECnvnY'
| Page 1 out of 29 Pages |