Salesforce-MuleSoft-Developer-I Salesforce Certified MuleSoft Developer (Mule-Dev-201) Questions and Answers
Refer to the exhibits.
A Mule application is being developed to process web client POSTrequests with payloads containing order information including the user name and purchased items The Shipping connector returns a shipping address for the input payloads user name The Shipping connector ' s Shipping Address operation is configured with a target named shippingAddress.
The Set Payload transformer needs to set an item key equal to the items value from the original received payload and a shippinglnfo key equal to the the ShippingAddress operation ' s response
What is a straightforward way to property configure the Set Payload transformer with the required data?
A)
B)
C)
D)
Refer to the exhibits.
A web client submits a request to theHTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits.
The Mule application does NOT define any global error handlers.
The Validation component in the private flowthrows an error
What response message is returned to a web client request to the main flow ' s HTTP Listener?
There are three routes configured for Scatter-Gather and incoming event has a payload is an Array of three objects. How routing will take place in this scenario?
Refer to the exhibit.
What datais expected by the POST /accounts endpoint?
A)
B)
C)
D)
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)
B)
C)
D)
Refer to the exhibits.
The Validation component in the private flow throws an error. What response message is returnedto a client request to the main flow ' s HTTP Listener?
Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next stepto fix this error?
Refer to the exhibits.
This main mule application calls a separate flow called as ShippingAddress which returns the address corresponding to the name of the user sent to it as input. Output of this ShippingAddress is stored in a target variable named address.
Next set of requirement is to have a setPayload transformer which will set below two values
1) orderkey which needs to set to be equal to the order element received in the original request payload.
2) addressKey which needs to be set to be equalto the address received in response of ShippingAddress flow
What is the straightforward way to properly configure the Set Payload transformer with the required data?
A mule application is being developed which will process POST requests coming fromclients containing the name and order information. Sample request is as below
An API has been created in Design Center. What is the next step to make the API discoverable?
Refer to the exhibits.
The Validation component in theTry scope throws an error.
What response message is returned to a client request to the main flow ' s HTTP Listener?
The Validation component in the Try scope throws an error. What response message is returned to a client request to the main flow ' s HTTP Listener?
Refer to the exhibits.
What payload and variable are logged at the end of the main flow?
Refer to the exhibits.
The Mule application implements a RESTAPI that accepts GET requests from web clients on the URLs: http://acme com/order/status and http:Vacme.com/customer/status.
What path value can be set in the HTTP GE~ event source to accept web client requests from both of these URLs?
A flowcontains an HTTP Listener as the event source. What is the DataWeave expression to log the Content-Type header using a Logger component?
Which of the below is used by Mule application to manage dependencies which make sharing the projects lightweight and easier?
Refer to the exhibits.
The < when > expression for the Choice router needs to be written.
What is a valid < when > expression to route Mule events to the non-default flow?
A Mule application ' s HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder ' s value to 9090
The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a logmessage reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application ' s HTTP Listener listens?
Refer to the exhibits.
What is valid text to set the field in the Database connector configuration to the username value specified in the config.yaml file?
What is the default port used by Mule application debugger configuration in AnypointStudio?
Refer tothe 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?
Which file is used to define the interface contract to invoke a web service implemented as a SOAP service
Refer to the exhibits.
The main flow contains anHTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?
Refer to the exhibit.
What DataWeave expression transforms the conductorlds arrayto the XML output?
A)
B)
C)
D)
What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener ' s path attribute?
Refer to the exhibit.
The API needs to beupdated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.
What is a valid RAML specification that reuses the Plan data type?
A)
B)
C)
D)
What statement is a part of MuleSoft ' s description of an application network?
Refer to the exhibit. The input array of stringsis passed to the batch job, which does NOT do any filtering or aggregating. What payload is logged by the Logger component?
Refer to the exhibits.
The main flow contains a Flow Reference component configured to callthe child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?
Refer to theexhibits The Mule application does NOT define any global error handlers.
A web client sends a POST request to the Multi application with this input payload The File Write operation throws a FILECONNECTIVITY error
What response message is returned to the web client?
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?
Refer to the exhibits.
A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?
A)
B)
C)
D)
A mule project contains MySQL database dependency . The project is exported from Anypoint Studio so that it can be deployed to Cloudhub. What export options needs to be selected to create the smallest deployable archive that will successfully deploy to Cloudhub?
Refer to the exhibits.
What is the response when a client submits a request tohttp://localhost:8081?
Refer to the exhibits.
All three of the conditions for the Choice router are true. What messages are written in the application log?
Mule application contains ActiveMQ JMS dependency. Mule application was compiled and run successfully in Anypoint Studio. The mule application must now beexported from Anypoint Studio and shared with other developer. What export options should be selected to create the smallest JAR file that can be imported into other developer ' s Anypoint Studio and run successfully?
Refer to the exhibit.
What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener ' s path attribute?
Refer to the exhibits.
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 transform Flow.
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 the Result.
What is the payload at the Logger component after the HTTP Request?
A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?
Refer to the exhibit.
What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?
Refer to the exhibit.
A Mule event is composed of a hierarchy of objects. Where in the hierarchy are variables stored?
A web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?
Refer to the exhibits.
What payload and quantity are logged at the end of the main flow?
Refer to the exhibit.
All three of thecondition for the Choice router are true. What log messages are written?
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 tohttp://local:801/order?color=red?
Refer to the exhibit.
What expression correctly specifies inputparameters to pass the city and state values to the SQL query?
A)
B)
C)
D)
Refer to theexhibits.
A Mule application contains a Choice router. What is logged when the flow completes?
A Mule application contains aglobal error handler configured to catch any errors.
Where must the global error handler be specified so that the global error handler catches all errors from flows without their own error handlers?
Refer to the exhibits.
Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is thecorrect Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?
How does APIkit determine the number of flows to generate from a RAML specification?
Refer to theexhibits. In the choice router, the When expression for the domestic shipping route is set to " #[payload= " FR " ] " .
What is the output of logger after the execution of choice router is completed?
Refer to the exhibits.
The Set Payload transformer In the addltem subflow uses DataWeave to create an order object.
What is the correct DataWeave code for the Set Payloadtransformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?

Timeline Description automatically generated with medium confidence
Diagram Description automatically generated
Diagram Description automatically generated
Graphical user interface, text, application, email Description automatically generated
Timeline Description automatically generated
Graphical user interface, application Description automatically generated
Diagram Description automatically generated
A picture containing timeline Description automatically generated
Graphical user interface, text, application Description automatically generated
Diagram Description automatically generated
Text Description automatically generated with medium confidence
A picture containing timeline Description automatically generated
Diagram Description automatically generated
Table Description automatically generated with low confidence
Graphical user interface Description automatically generated
Graphical user interface, text, application, chat or text message Description automatically generated
Graphical user interface, text, application, email Description automatically generated