Refer to exhibits.
What message should be added to Logger component so that logger prints "The city is
Pune" (Double quote should not be part of logged message)?
A. #["The city is" ++ payload.City]
B. The city is + #[payload.City]
C. The city is #[payload.City]
D. #[The city is ${payload.City}
Explanation:
Correct answer is The city is #[payload.City]
Answer can get confused with the option #["The city is" ++ payload.City] But note that this
option will not print the space between is and city name. This will print The city isPune.
An SLA based policy has been enabled in API Manager. What is the next step to configure
the API proxy to enforce the newSLA policy?
A.
Add new property placeholders and redeploy the API proxy
B.
Add new environment variables and restart the API proxy
C.
Restart the API proxy to clear the API policy cache
D.
Add required headers to the RAML specification and redeploy the newAPI proxy
Add required headers to the RAML specification and redeploy the newAPI proxy
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
Install the dependency to the computer's local Maven repository
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.
An API specification is designed using RAML. What is the next step to create a REST
Connector from this API specification?
A.
Download the API specification and build the interface using APIkit
B.
Publish the API specification to Any pointExchange
C.
Implement the API specification using flow designer in Design Center
D.
Add the specification to a Mule project's src/main/resources/api folder
Publish the API specification to Any pointExchange
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the
application log?
A. Route1
B. Route2
C. Route1,Route2
D. Route1,Route2,Default
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route1 execution and the others are not checked. If none of
the expressions are true, then the default route executes. Hence only Route1 will be
executed as it is the first expression. hence output of logger is Route1.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept
The Choice router dynamically routes messages through a flow according to a set of
DataWeave expressions that evaluate message content. Each expression is associated
with a different routing option. The effect is to add conditional processing to a flow, similar
to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that
evaluates to true triggers that route’s execution and the others are not checked. If none of
the expressions are true, then the default route executes.
Refer to the exhibit.
The Database Select operation returns five rows from a database. What is logged by the
Logger component?
A. "Array"
B. "Object"
C. "LinkedHashMap"
D. "CaselnsensitrveHashMap"
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
| Page 1 out of 29 Pages |