A function named newProdCode needs to be defined that accepts two input parameters, an integer value for ItemID and a string value for productCategory, and returns a new product code.What is the correct DataWeave code to define the newProdCode function?
Mulesoft Practice Test

Quiz
•
Professional Development, Computers
•
Professional Development
•
Medium
freddy forero
Used 8+ times
FREE Resource
59 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
2.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transformFlow.That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named theResult.What is the payload at the Logger component after the HTTP Request?
A non-empty Java object
The original XML payload
The returned JSON response
null
3.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
What can be added to the flow to persist data across different flow executions?
Properties of the Mule runtime app object
Key/value pairs in the ObjectStore
Session variables
Properties of the Mule runtime flow object
4.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key user_id column and an increasing login_date_time column. Neither column allows duplicate values.How should the listener be configured so it retrieves each row at most one time?
Set the watermark column to the login_date_time column
Set the target value to the last retrieved login_date_time value
Set the target value to the last retrieved user_id value
Set the watermark column to the user_id column
5.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according toMuleSoft best practices.What URI should a web client use to request order PO5555?
/orders/{PO5555}
/orders/order=PO5555
/orders?order=PO5555
/orders/PO5555
6.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.A web client sends a GET request to the main flowג€™s HTTP Listener that includes a modelName query parameter.What values are accessible in the child flow?
payload
payload modelName query param
payload planeModel var
payload modelName query param planeModel var
7.
MULTIPLE CHOICE QUESTION
2 mins • 1 pt
In the execution of the Scatter-Gather, the ג€sleep 1 secג€ Flow Reference takes about 1 second to complete, and the ג€sleep 5 secsג€ Flow Reference takes about 5 seconds to complete.About how many seconds does it take from the time the Scatter-Gather is called until Set Payload transformer is called?
0
1
5
6
Create a free account and access millions of resources
Similar Resources on Quizizz
55 questions
Microsoft Azure Fundamentals AZ-900 ENG #2

Quiz
•
University - Professi...
63 questions
Content Title

Quiz
•
Professional Development
60 questions
Oracle Cloud Infrastructure Foundations

Quiz
•
Professional Development
56 questions
HTML Quiz

Quiz
•
Professional Development
60 questions
SB LONG QUIZ

Quiz
•
Professional Development
58 questions
A+ 1101 Study Quiz 3

Quiz
•
Professional Development
60 questions
AWS Dev

Quiz
•
Professional Development
60 questions
Nokia-Subcontractor 21

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade