[May 21, 2026] Lesson Brilliant PDF for the Salesforce-MuleSoft-Developer-I Tests Free Updated Today
Get New 2026 Valid Practice Salesforce MuleSoft Salesforce-MuleSoft-Developer-I Q&A - Testing Engine
Salesforce Salesforce-MuleSoft-Developer-I Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
NEW QUESTION # 139
A
web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?
- A. #[attributes.'http.query.params'.firstName]
- B. #[attributes.queryParams.firstName]
- C. #[message.inboundProperties.'http.query.params'.firstName]
- D. #[message.queryParams.hrstName]
Answer: B
NEW QUESTION # 140
A Mule project contains a DataWeave module like WebStore.dwl that defines a function named loginUser. The module file is located in the project's src/main/resources/libs/etl 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. 1. 1. import * from libs::etl::WebStore
2. 2. ---
3. 3. loginUser("[email protected]") - B. 1. 1. import * from libs::etl
2. 2. ---
3. 3. WebStore::loginUser("[email protected]") - C. 1. 1. import libs.etl
2. 2. ---
3. 3. WebStore.loginUser("[email protected]") - D. 1. 1. import libs.etl.WebStore
2. 2. ---
3. 3. loginUser("[email protected]")
Answer: A
Explanation:
* To use custom modules, you need to import the module or functions you want to use by adding the import directive to the head of your DataWeave script, for example:
1) Does not identify any functions to import from the String module:
import dw::core::Strings
2) To identify a specific function to import from the String module:
import camelize, capitalize from dw::core::Strings
3) To import all functions from the String module:
import * from dw::core::Strings
The way you import a module impacts the way you need to call its functions from a DataWeave script. If the directive does not list specific functions to import or use * from to import all functions from a function module, you need to specify the module when you call the function from your script.
* In given scenario, it's mentioned to import all of the WebStore.dwl
So correct answer is:
NEW QUESTION # 141
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?
- A. {customerlD}
- B. #[customerlD]
- C. ${ customerID}
- D. (customerlD)
Answer: A
NEW QUESTION # 142
Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
- A.

- B.

- C.

- D.

Answer: C
NEW QUESTION # 143
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?
- A. #[db:username]
- B. ${db.username>
- C. #[db.username]
- D. ${db:username>
Answer: B
Explanation:
option 3 is the correct syntz to access application properties
NEW QUESTION # 144
How does APIkit determine the number of flows to generate from a RAML specification?
- A. Creates a separate flow for each HTTP method
- B. Creates a separate flow for each resource that contains child resources
- C. Creates a separate flow for each resource
- D. Creates a separate flow for each response status code
Answer: A
Explanation:
APIKIt Creates a separate flow for each HTTP method
NEW QUESTION # 145
A Mule project contains a DataWeave module called MyModule.dwl that defines a function named formatString. The module is located in the project's src/main/resources/modules folder.
What is the correct way in DataWeave code to import MyModule using a wildcard and then call the module's formatString function?
- A.

- B.

- C.

- D.

Answer: C
NEW QUESTION # 146
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?
- A. ["A","B","C"]
- B. Total Records Processed: 3Successful Records: 3Failed Records: 0
- C. Total Records Processed: 3Successful Records: 3Failed Records: 0payload: ["a", "b", "c"]
- D. Total Records Processed: 3Successful Records: 3Failed Records: 0payload: ["A","B","C"]
Answer: B
Explanation:
Correct answer is as below. On complete phase only has access to batch job result statistics and payload is not available.
* TotalRecordsProcessed:3
* SuccessfulRecords:3
* FailedRecords:0
On Complete
During this phase, you can optionally configure the runtime to create a report or summary of the records it processed for the particular batch job instance. This phase exists to give systemadministrators and developers some insight into which records failed to address any issues that might exist with the input data.
Sample output is as below
Mule Ref Doc : https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept#on-complete
NEW QUESTION # 147
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?
- A. payload quantity var
- B. payload
- C. payload color query param
- D. payload quantity var color query param
Answer: A
Explanation:
In this case as outbound call is made using HTTP: POST /child , all attributes will be replacedby this invocation. Hence query parameter will not be accessible at logger.
NEW QUESTION # 148
Which of the below is not a valid category for connector type?
- A. Community
- B. Gold
- C. Premium
- D. Select
Answer: B
Explanation:
Gold is not valid category for connector types.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/3.7/anypoint-connectors#connector-support-categories
NEW QUESTION # 149
Which out of below is not an asset?
- A. Connector
- B. Example
- C. Template
- D. Exchange
Answer: D
Explanation:
Exchange is the odd man out here. Rest all are type of asset
Graphical user interface, application Description automatically generated
NEW QUESTION # 150
Refer to the exhibits.

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?
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?
- A. Validation Error
- B. Error - main flow
- C. Success - main flow
- D. Error - Try scope
Answer: C
Explanation:
Note that private flow has error scope defined as On Error Continue . So when error occurs in private flow , it is handled by this On Error Continue scope which sends success response back to main flow and does not throw back an error. So main continues normally and payload is set to Success - main flow.
Hence correct answer is Success - main flow
1) HTTP listener received request
2) The Flow Reference calls the child flow
3) The Is Number validator creates an Error Object because the payload isn't an integer. Child Flow execution stops
#[error.description] = "payload is not a valid INTEGER value"
#[error.errorType] = VALIDATION:INVALID_NUMBER
4) The On Error Continue handles the errorThe payload is set to "Error - Sub Flow"
5) "Error - Sub Flow" is returned to the main flow as if the child flow was a success. The Set Payload is executed. The payload is reset to "Success - Finished Main Flow"
6) "Success - Main Flow" is returned to the requestor in the body of the HTTP request. HTTP Status Code: 200 As you can see, in the above example, because the error was caught by an On Error Continue scope in the child flow (RED in, GREEN out) when the Mule Message returns to the parent flow, the parent flow knows none-the-different that there was a failure because the on error continue returns a 200 success message. Note that because, to the mainFlow, the childFlow appeared to succeed, the processing of mainFlow resumed after the flow reference.
NEW QUESTION # 151
A Mule project contains a MySQL Database dependency. The projectis exported from Anypoint Studio so it can be deployed to CloudHub.
What export options create the smallest deployable archive that will successfully deploy to CloudHub?
What export option create their smallest deployable archive that will successfully deploy to CloudHub?
- A.

- B.

- C.

- D.

Answer: D
NEW QUESTION # 152
Refer to the exhibits.
As a mulesoft developer, what you would change in Database connector configuration to resolve this error?

- A. Configure the correct host URL
- B. Configure the correct table name
- C. Configure the correct JDBC driver
- D. Configure the correct database name
Answer: C
Explanation:
Correct answer is Configure the correct JDBC driver as error message suggests the same Caused by: java.sql.SQLException: Error trying to load driver: com.mysql.jdbc.Driver : Cannot load class 'com.mysql.jdbc.Driver': [ Class 'com.mysql.jdbc.Driver' has no package mapping for region 'domain/default/app/mule_app'., Cannot load class 'com.mysql.jdbc.Driver': [
NEW QUESTION # 153
Refer to the exhibits.
The web client sends a POST request to the ACME Order API with an XML payload. An error is returned.
What should be changed in the request so that a success response code is returned to the web client?
- A. Set a response header with the name Content-Type to a value of application/octet-stream
- B. Set a request header with the name Content-Type to a value of application/xml
- C. Set a response header with the name Content-Type to a value of applkation/xml
- D. Set a request header with the name Content-Type to a value of applicatron/octet-stream
Answer: B
Explanation:
The HTTP 415 Unsupported Media Type client error response code indicates that the server refuses to accept the request because the payload format is in an unsupported format. The format problem might be due to the request's indicated Content-Type or Content-Encoding , or as a result of inspecting the data directly. As per RAML input is expected in application/xml.
Hence correct answer is Set a request header with the name Content-Type to a
NEW QUESTION # 154
Refer to the exhibit.
What is the output payload in the On Complete phase
- A. summary statistics with NO record data
- B. The records processed by thelast batch step: [StepTwol, StepTwo2, StepTwo3]
- C. The records processed by all batch steps: [StepTwostepOnel, stepTwostepOne2, StepTwoStepOne3]
- D. The original payload: [1,2,31
Answer: A
Explanation:
This is a trcik question. On complete phase pyalod consists of summary of records processed which gives insight on which records failed or passed. Hence option 4 is correct answer MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/batch-processing- concept#on-complete
NEW QUESTION # 155
An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.
What is the payload at the event processor after the HTTP Request?
- A. A non-empty Java object
- B. The original JSON request body
- C. null
- D. The XML response body
Answer: B
NEW QUESTION # 156
What happens to the attributes of a Mule event in a flow after an outbound HTTP Request is made?
- A. Attributes arereplaced with new attributes from the HTTP Request response (which might be null)
- B. Previous attributes are passed unchanged
- C. New attributes may be added from the HTTP response headers, but no headers are ever removed
- D. Attributes do not change
Answer: A
Explanation:
Attributes are replaced with new attributes from the HTTP Request response.
Attributes include everything apart from Payload/body. For ex: Headers, query parameters, URI parameters.
So, when outbound HTTP request is made, new attributes need to passthe outbound HTTP request and old attributes are replaced.
I have created below diagram to make it easy for you to understand:
Diagram Description automatically generated
NEW QUESTION # 157
Refer to the exhibits. APIKit router is used to generate the flow components for RAML specification.
The Mule application must be available to REST clients using the two URL's
http://localhost:8081/internal and http://localhost:8081/external
How many APIKit Router components are generated to handle requests to every endpoint defined in RAML specification?
1. Library.raml
2. /books
3. get:
4. post:
5. /order:
6. get
7. patch
8. /members
9. get:
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
NEW QUESTION # 158
Refer to the exhibit.
How many private flows does APIKIT generate from the RAML specification?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: B
NEW QUESTION # 159
What DataWeave expressiontransforms the array a to the XML output?
- A. 1.1. trains:2.2. a map ((engId, index) ->3.3. train: {4.4. TrainNumber:engId5.5.6.6. }7.7. )
- B. 1.1. trains:2.2. {(3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.9. )}
- C. 1.1. {2.2. trains:3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.}
- D. 1.1. {(2.2. trains:3.3. a map ((engId, index) ->4.4. train: {5.5. TrainNumber: engId6.6.7.7. }8.8. )9.)}
Answer: B
Explanation:
For such questions always look for Syntax:
I call it "Wrap the Map"
trains:
{(
When mapping array elements (JSON or JAVA) to XML, wrap the map operations in {(..)}
-{ } are defining the object
-( ) are transforming eachelement in the array as a key/value pair
NEW QUESTION # 160
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?
- A. success - main flow
- B. APP: API RESOURCE NOT FOUND
- C. other error
- D. HTTP: NOT FOUND
Answer: B
Explanation:
Correct answer is APP: API RESOURCE NOT FOUND
---------------------------------------------------------------------------------------------------------------------------------------------------
1) A web client submits the request to the HTTP Listener.
2) The HTTP Request throws an "HTTP:NOT_FOUND" error, execution halts.
3) The On Error Propagate error Handler handles the error. In this case ,HTTP:NOT_FOUND error is mapped to custom error APP:API_RESOURCE_NOT_FOUND. This error processor sets payload to APP:API_RESOURCE_NOT_FOUND.
4) "APP:API_RESOURCE_NOT_FOUND. " is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500 Reference Diagram:
NEW QUESTION # 161
......
Salesforce-MuleSoft-Developer-I Dumps PDF - 100% Passing Guarantee: https://www.examtorrent.com/Salesforce-MuleSoft-Developer-I-valid-vce-dumps.html
Latest Salesforce-MuleSoft-Developer-I PDF Dumps & Real Tests Free Updated Today: https://drive.google.com/open?id=1CB5nFe_6qbDjicRKq_6Wu0lONF-c9Mtj
