A flow contains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
A. #["Content-Type: " ++ attributes.headers.'content-type']
B. #["Content-Type: " + headers.'content-type']
C. #["Content-Type: " + attributes.headers.'content-type']
D. #["Content-Type: " ++ headers.'content-type']
Explanation: Option 1 is the only correct choice due to two reasons. 1) Concatenation is always with ++ sign and not with + sign which makes option 2 and 3 wrong 2) hearders can be accessed with attributes. headers and not with only headers which makes option 4 incorrect.
Refer to the exhibit.
What is the correct syntax to add an employee ID as aURI parameter in an HTTP Listener
path?
A.
(employeelD)
B.
${emp!oyeelD}
C.
{employeelD}
D.
# [employeelD]
{employeelD}
Refer tothe exhibit.
The Mule application Is debugged in Any point Studio and stops at the breakpoint What is
the value of the payload displayed In the debugger at this breakpoint?
A.
0
B.
"Processing"
C.
"Start"
D.
Complete"
"Start"
To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file. Where does the configuration file'slocation need to be specified in the Mule application?
A.
The pom.xml file
B.
A global element
C.
The mule-art if act .json file
D.
a flow attribute
A global element
Which of the below is not the mandatory configurations for HTTP Listener?
A. Path
B. Allowed methods
C. HTTP port in Connector Configuration
D. HTTP host in Connector Configuration
Allowed methods is an optional configuration. If nothing is specified then all HTTP methods are supported. Rest all are mandatory.
How to import Core (dw::Core) module into your DataWeave scripts?
A. #include dw::core
B. Not needed
C. import core
D. import dw::core
Correct answer is Not needed as dw::core module is included by default. We don't need to include it explicitly
Which of the module is imported automatically in Dataweave scripts?
A. dw::core
B. dw::System
C. dw::Runtime
D. dw::Crypto
Core (dw::Core) This module contains core DataWeave functions for data transformations. It is automatically imported into any DataWeave script.
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.
| Page 1 out of 29 Pages |