Refer to the payload.
The Set payload transformer sets the payload to an object. The logger component's
message attribute is configured with the string "Result #["INFO"++ payload]"
What is the output of logger when this flow executes?
A. Result INFOpayload
B. Result INFO{"student":{"name":"Anay","age":6}}
C. 1. 1. "You called the function '++' with these arguments:
2. 2. 1: String ("INFO")
3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as
Numbe...)
D. Error : You evaluated inline expression # without ++
Explanation:
Correct answer is as below as concatenation operation works only with string and not with
the objects. In this case payload is object.
"You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age
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}
Refer to the exhibit.
A Mule event is composed of ahierarchy of objects. Where in the hierarchy are variables
stored?
A.
Mule event
B.
Mule message payload
C.
Mule message
D.
Mule message attributes
Mule message
Refer to the exhibits. 
A.
Option A
B.
Option B
C.
Option C
D.
Option D
Option C
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
What is the purpose of the api:router element in APIkit?
A. Creates native connectors using a 3rd party Java library
B. Serves as an API implementation
C. Validates requests against RAML API specifications and routes them to API implementations
D. Validates responses returned from API requests and routes them back to the caller
Explanation: The APIkit Router is a key message processor that validates requests against the provided definition, enriches messages (for example by adding default values to the messages) and routes requests to a particular flow. Also, the Router raises errors messages if errors occurs while routing, validating or processing the user request.
How many Mule applications can run on a CloudHub worker?
A. At most one
B. At least one
C. Depends
D. None of these
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
| Page 1 out of 29 Pages |