Use Free Mule-Dev-201 Exam Questions that Stimulates Actual EXAM
Get 100% Real Mule-Dev-201 Free Online Practice Test
NEW QUESTION # 108
Refer to the exhibit. This RAML fragment defines a Book data type that is used in a RAML API specification.
An API implementation is created for this RAML API specification.
What is valid JSON input for a request from a web client to an implementation of this RAML API specification?
- A.

- B.

- C.

- D.

Answer: A
NEW QUESTION # 109
An organization is beginning to follow Mulesoft's recommendedAPI led connectivity approach to use modern API to support the development and lifecycle of the integration solutions and to close the IT delivery gap.
What distinguishes between how modern API's are organized in a MuleSoft recommended API-led connectivityapproach as compared to other common enterprise integration solutions?
- A. The API interfaces are specified as macroservices with one API representing all the business logic of an existing and proven end to end solution
- B. The APIO implementations are monitoredwith common tools, centralized monitoring and security systems
- C. The API implementation are built with standards using common lifecycle and centralized configuration management tools
- D. The API interfaces are specifiedat a granularity intended for developers to consume specific aspect of integration processes
Answer: D
Explanation:
Correct answer is The API interfaces are specified at a granularity intended for developers to consume specific aspect of integration processes
NEW QUESTION # 110
Refer to the exhibits. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP Requestuse default configurations.
A web client submits a request to the main flow's HTTP Listener that includes query parameters for the pedigree of the piano.
What values are accessible to the Logger component at the end of the main flow?
- A. payloadproducer var
- B. payloadpedigree query params
- C. payload
- D. payloadpedigree query params producer var
Answer: A
Explanation:
In this case as outbound call is made using HTTP: POST /child , all attributes will be replaced by this invocation. Hence query parameter will not be accessible at logger. Hence correct answer is option 2
NEW QUESTION # 111
A
web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?
- A. #[message.inboundProperties.'http.query.params'.firstName]
- B. #[attributes.queryParams.firstName]
- C. #[message.queryParams.hrstName]
- D. #[attributes.'http.query.params'.firstName]
Answer: B
NEW QUESTION # 112
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this error?

- A. Configure the correct table name
- B. Configure the correct database name
- C. Configure the correct host URL
- D. Configure the correct JDBC driver
Answer: D
Explanation:
Correct answer is Configure the correct JDBC driver as error message suggests the same
* Causedby:java.sql.SQLException:Errortrying to load driver:com.mysql.jdbc.Driver:
Cannotloadclass'com.mysql.jdbc.Driver':[
* Class'com.mysql.jdbc.Driver'hasnopackagemappingforregion'domain/default/app/mule_app'.,
* Cannotloadclass'com.mysql.jdbc.Driver':[
NEW QUESTION # 113
Refer to the exhibits.

A web client sends a POST request with the payload {"oid": "1000", "itemid": "AC200", "qty": "4" } to the Mule application. The File Write operation throws a FILE:CONNECTIVITY error.
Whatresponse message is returned to the web client?
- A. "File written"
- B. "ORDER:NOT_CREATED"
- C. "OTHER ERROR"
- D. ''FILE:CONNECnvnY'
Answer: B
NEW QUESTION # 114
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.

Answer: B
Explanation:
As can be seen in RAML, POST expects input in application/json format which eliminates two of the options as two options are in xml format.
Now out of the two remainingoptions, one has id field in request which is only mentioned for get response and not for POST request. Hence id field is not expected in POST request.
Hence correct answer is
{
"name": "GoerdiLa Forge",
"address": "1 Westland CA",
"customer_since":"2014-01-04",
"balance": "4829.29",
"bank_agend_id": "12556"
}
NEW QUESTION # 115
An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.
How should the listener be configured so it retrieves new rows at most one time?
- A. Set the ObjectStore to store the last retrieved record_id value
- B. Set the target to the record_id column
- C. Set the target to store the last retrievedrecord_id value
- D. Set the watermark column to the record id column
Answer: D
NEW QUESTION # 116
What is output of Dataweave flatten function?
- A. Object
- B. LInkedHashMap
- C. Array
- D. Map
Answer: C
Explanation:
Correct answer isArray.
Flatten turns a set of subarrays (such as [ [1,2,3], [4,5,[6]], [], [null] ]) into a single, flattened array (such as [
1, 2, 3, 4, 5, [6], null ]).
This example defines three arrays of numbers, creates another array containing those three arrays, and then uses the flatten function to convert the array of arrays into a single array with all values.
Source
%dw 2.0
output application/json
var array1 = [1,2,3]
var array2 = [4,5,6]
var array3 = [7,8,9]
var arrayOfArrays = [array1, array2, array3]
---
flatten(arrayOfArrays)
Output
[ 1,2,3,4,5,6,7,8,9 ]
NEW QUESTION # 117
Refer to the exhibits.

A web client submits the request to the HTTPListener. What response message would be returned to web client?
- A. String is not blank
- B. End
- C. Start
- D. No response would be sent back to client and request will get errored out in Mule
Answer: A
Explanation:
Correct answer is String is not blank.
---------------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here:
1) Payload is successfully set to "Start"
2) The Is Blank String validator createsan Error Object because the payload is string "Start". Execution stops
#[error.description] = "String is not blank"
3) Because no error handler is defined, the Mule default error handler handles the error. Remember, at its heart, the Mule Default Error handler is an error handling scope with just an on error propagate
4) "String is not blank" is the error message returned to the requestor in the body of the HTTP requestHTTP Status Code: 500 Reference Diagram:
A picture containing diagram Description automatically generated
NEW QUESTION # 118
Which of the below activity doesn't support parallel execution?
- A. Scatter-Gather Router
- B. Batch job
- C. First Successful Router
- D. Parallel For Each
Answer: D
Explanation:
The First Successful router iterates through a list of configured processing routes until one of the routes executessuccessfully. This is sequential execution. In all other options mentioned in the question ,we can achieve parallel execution.
NEW QUESTION # 119
A Mule project contains a DataWeave module file WebStore dvA that defines a function named loginUser The module file is located in the projects src/main/resources/libs/dw folder What is correct DataWeave code to import all of the WebStore.dwl file's functions and then call the loginUser function for the login "[email protected]"?
- A.

- B.

- C.

- D.

Answer: A
NEW QUESTION # 120
Refer to the exhibit.
What is a valid expression for the Choice router's when expression to route events to the documenticShipping flow?
- A. #[ if(payload == "US") ]
- B. #[ if(payload ='US') J
- C. 0#[ payload = 'US' ]
- D. #[ payload == 'US' J
Answer: D
Explanation:
Choice Router
The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routingoption. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers thatroute's execution and the others are not checked. If none of the expressions are true, then the default route executes.
Properties of <when>
PropertyDescription
Expression (expression)
Expression in DataWeave language to evaluate input.If the expressionevaluates to true, this routing option is used:
* <whenexpression="#[vars.language == 'Spanish']">
Mulesoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept With respect to above information , Option 1 is the correct syntax as others are incorrect because of below reasons
* Single = is not the correct syntax to validate the condition. It should be ==
* If keyword is not required in when condition.
NEW QUESTION # 121
An API specification is designed using RAML. What is the next step to create a REST Connector from this APIspecification?
- A. Implement the API specification using flow designer in Design Center
- B. Download the API specification and build the interface using APIkit
- C. Add the specification to a Mule project's src/main/resources/api folder
- D. Publish the API specification to Any point Exchange
Answer: D
Explanation:
API Exchange creates REST conenctor automtaically once API is published. Hence correct answer is Publish the API specification to Any point Exchange
NEW QUESTION # 122
Refer to exhibits.
What message should be added to Logger component so that logger prints "The city is Pune" (Double quote should not be part of logged message)?
- A. The city is #[payload.City]
- B. #[The city is ${payload.City}
- C. #["The city is" ++ payload.City]
- D. The city is + #[payload.City]
Answer: A
Explanation:
Correct answer is The city is #[payload.City]
Answer can get confused with the option #["The city is" ++ payload.City] But note that this option will not print the space between is and city name. This will print The city isPune
NEW QUESTION # 123
Refer to the exhibit.
What is the correct way to create a user?
- A.

- B.

- C.

- D.

Answer: D
NEW QUESTION # 124
What is the correct Syntax to add a customer ID as a URI parameter in the HTTP listener's path attribute?
- A. $[customerID]
- B. #[customerID]
- C. {customerID}
- D. (customerID)
Answer: C
Explanation:
URL parameters are always accessed using { } like => {customerID}
NEW QUESTION # 125
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?
- A. fun newProdCode(itemID: Number, productCategory: String) = "PC-" ++ productCategory ++ (itemID as String)
- B. fun newProdCode{itemID: Number, productCategory: String) -> "PC-" ++ productCategory ++ (itemID as String)
- C. function newProdCode(itemID: Number, productCategory: String) ="PC-" ++ productCategory ++ (itemID as String)
- D. var newProdCode(itemID: Number, productCategory: String) ->"PC-" ++ productCategory ++ (itemID as String)
Answer: A
NEW QUESTION # 126
As a part of project requirement , you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?
- A. WSDL file
- B. RAML file to define SOAP services
- C. plain text file documenting API's
- D. JSON file
Answer: A
Explanation:
Web Services Description Language. WSDL is used to describe SOAP based web services
NEW QUESTION # 127
Refer to the exhibits.

A JSON payload is set in the Set Payload transformer.
What is logged by the Logger?
- A. "Array"
- B. "Object"
- C. "String"
- D. "JSON"
Answer: A
NEW QUESTION # 128
By default, what happens to a file after it is read using an FTP connector Read operation?
- A. The file is renamed in the same folder
- B. The file stays in the same folder unchanged
- C. The file is deleted from the folder
- D. The file is moved to a different folder
Answer: B
Explanation:
File is not updated when FTP read operations is performed.
MuleSoft Doc Ref : https://docs.mulesoft.com/file-connector/1.3/file-read
NEW QUESTION # 129
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?
- A. Error - main flow
- B. Error - private flow
- C. Validation Error
- D. Success - main flow
Answer: A
Explanation:
Error in validation component will get processed by Processer level On Error Propagate block and thenerror will be rethrown which will get processed by flow level error handler which will set payload to "Error- main flow". Hence correct answer is Error - main flow
1) Request is received by HTTP listener
2) Try scope gets executed
3) The validator component in the Try scope creates an Error Object because the payload is not null.
4) The On Error Propagate handles the error. The payload is set to "Error - Try scope"
6) "Error - Try scope" is returned to the 'On Error Continue' block. Main flow execution stops. Payload is set to "Error - main flow"
7) "Error - main flow" is returned to the requestor in the body of the HTTP request. HTTP Status Code: 200
---------------------------------------------------------------------------------------------------------------------------------------- Reference Diagram though not exactly same, conditions are similar. They will help you answer any new question on error handling in real exam:
Timeline Description automatically generated
https://docs.mulesoft.com/mule-runtime/4.3/on-error-scope-concept#on-error-continue
NEW QUESTION # 130
......
BEST Verified Salesforce Mule-Dev-201 Exam Questions (2026) : https://www.actualtorrent.com/Mule-Dev-201-questions-answers.html
The Best Practice Test Preparation for the Mule-Dev-201 Certification Exam: https://drive.google.com/open?id=1k3iytfVLou5eOqPlaO1j3r2uVXYs3Pg-