A company has an API to manage purchaseorders, with each record identified by a unique
purchase order ID. The API was built with RAML according to MuleSoft best practices.
What URI should a web client use to request order P05555?
A.
/orders/{P05555}
B.
/orders/order=P05555
C.
/orders?order=P05555
D.
/orders/P05555
/orders/P05555
A Mule project contains a DataWeave module like WebStore.dwl that defines a function
named loginUser. The module file is located in the project's src/main/resources/libs/etl
folder.
What is correct DataWeave code to import all of the WebStore.dwl file's functions and then
call the loginUser function for the login "Todd.Pal@mulesoft.com"?
A. 1. 1. import libs.etl
2. 2. ---
3. 3. WebStore.loginUser("Todd.Pal@mulesoft.com")
B. 1. 1. import * from libs::etl
2. 2. ---
3. 3. WebStore::loginUser("Todd.Pal@mulesoft.com")
C. 1. 1. import libs.etl.WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")
D. 1. 1. import * from libs::etl::WebStore
2. 2. ---
3. 3. loginUser("Todd.Pal@mulesoft.com")
Explanation:
* To use custom 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:
1) Does not identify any functions to import from the String module:
import dw::core::Strings
2) To identify a specific function to import from the String module:
import camelize, capitalize from dw::core::Strings
3) To import all functions from the String module:
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.
* In given scenario, it's mentioned to import all of the WebStore.dwl
So correct answer is:
Reference: https://docs.mulesoft.com/mule-runtime/4.3/dw-functions
Refer to the exhibits.
The Batch job processes an array of strings.
What information is logged by the logger component after the batch job scope completes
processing of the input payload?
A. Total Records Processed: 3
Successful Records: 3
Failed Records: 0
payload: ["A","B","C"]
B. ["A","B","C"]
C. Total Records Processed: 3
Successful Records: 3
Failed Records: 0
payload: ["a", "b", "c"]
D. Total Records Processed: 3
Successful Records: 3
Failed Records: 0
Explanation:
Correct answer is as below. On complete phase only has access to batch job result
statistics and payload is not available.
Total Records Processed: 3
Successful Records: 3
Failed Records: 0
Refer to the exhibits. A web client sends a POST request to theHTTP Listener and the
Validation component in the Try scope throws an error.
What respo
nse message is returned to the web client?
A.
Validation Error
B.
"END"
C.
"ERROR1"
D.
''ERROR2"
E.
Validation Error
F.
"END"
G.
"ERROR1"
H.
''ERROR2
''ERROR2"
What are the latest specification of RAML available?
A. 1.2
B. 1
C. 0.8
D. 2
Explanation:
The current version of the RAML specification is 1.0
You can check RAML version in RAML definition by referring to first comment. See
highlighted part in below image.
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
What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?

A. #[customerID]
B. $[customerID]
C. {customerID}
D. (customerID)
URL parameters are always accessed using { } like => {customerID}
What valid RAML retrieves details on aspecific by its orderld as a URL parameter?
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option A
| Page 1 out of 29 Pages |