MCD-Level-1 Exam Question 46

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?
  • MCD-Level-1 Exam Question 47

    Refer to the exhibit.


    The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
    What response message is returned?''
    What response message is returned?
  • MCD-Level-1 Exam Question 48

    Refer to the exhibits.



    The Batch Job scope contains two Batch Step scopes with different accept expressions.
    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 components?
  • MCD-Level-1 Exam Question 49

    Refer to the exhibits.

    The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].
    What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?
  • MCD-Level-1 Exam Question 50

    Refer to the exhibit.



    What payload is returned from a request to http//localhost.8081/
    Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?