[Dec 17, 2024] Get New Salesforce-MuleSoft-Developer-I Certification – Valid Exam Dumps Questions
100% Passing Guarantee - Brilliant Salesforce-MuleSoft-Developer-I Exam Questions PDF
NEW QUESTION # 20
Refer to the exhibits.
The mule application implements a REST API that accepts GET request from two URL's which are as follows
1) http://acme.com/order/status
2) http://acme.com/customer/status
What path value should be set in HTTP listener configuration so that requests can be accepted for both these URL's using a single HTTP listener event source?
- A. ?[order,customer]/status
- B. *[order,customer]/status
- C. */status
- D. *status
Answer: C
Explanation:
Correct answer is */status as it is the correct way to use wildcards while configuring path value in HTTP listener
NEW QUESTION # 21
A web client submits a request to http://localhost:8081/books/0471767840. The value "0471767840" is captured by a Set Variable transformer to a variable named booklSBN.
What is the DataWeave expression to access booklSBN later in the flow?
- A. flowVars.booklSBN
- B. booklSBN
- C. attributes.booklSBN
- D. vars. booklSBN
Answer: D
NEW QUESTION # 22
A Utlility.dwl is located in a Mule project at src/main/resources/modules. The Utility.dwl file defines a function named encryptString that encrypts a String What is the correct DataWeave to call the encryptString function in a Transform Message component?
- A. 1. %dw 2.0
2. output application/json
3. import modules::Utility
4. ---
5. Utility::encryptString( "John Smith" ) - B. 1. %dw 2.0
2. output application/json
3. import modules.Utility
4. ---
5. Utility.encryptString( "John Smith" ) - C. 1. %dw 2.0
2. output application/json
3. import modules::Utility
4. ---
5. encryptString( "John Smith" ) - D. 1. %dw 2.0
2. output application/json
3. import modules.Utility
4. ---
5. encryptString( "John Smith" )
Answer: C
Explanation:
Correct answer is
%dw 2.0
output application/json
import modules::Utility
---
Utility::encryptString( "John Smith" )
DataWeave 2.0 functions are packaged in modules. Before you begin, note that DataWeave 2.0 is for Mule 4 apps. For Mule 3 apps, refer to DataWeave Operators in the Mule 3.9 documentation. For other Mule versions, you can use the version selector for the Mule Runtime table of contents.
Functions in the Core (dw::Core) module are imported automatically into your DataWeave scripts. To use other 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:
import dw::core::Strings
import camelize, capitalize from dw::core::Strings
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. For example, this import directive does not identify any functions to import from the String module, so it calls the pluralize function like this: Strings::pluralize("box").
Transform
%dw 2.0
import dw::core::Strings
output application/json
---
{ 'plural': Strings::pluralize("box") }
NEW QUESTION # 23
Refer to the exhibits.

A web client submits the request to the HTTP Listener. What response message would be returned to web client?
- A. String is not blank
- B. No response would be sent back to client and request will get errored out in Mule
- C. Start
- D. End
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 creates an 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:
NEW QUESTION # 24
A Mule flow has three Set Variable transformers. What global data structure can be used to access the variables?
- A. Mule event
- B. Mule application properties
- C. Mule event attributes
- D. Mule event message
Answer: A
Explanation:
Mule event is correct answer. Mule event has two parts which are as follows
1) Message (which contains payload and attributes like headers and query/uri parameters
2) Variables
NEW QUESTION # 25
Refer to the exhibits.

A web client submits a request to http://localhQst:8081 /flights. What is the result at the end of the flow?
- A. "string"
- B. "XML"
- C. "object"
- D. "Java"
Answer: A
NEW QUESTION # 26
Which of the below functionality is provided by zip operator in DataWeave?
- A. Minimize the size of long text using encoding.
- B. All of the above
- C. Used for sending attachments
- D. Merges elements of two lists (arrays) into a single list
Answer: D
Explanation:
Correct answer is Merges elements of two lists (arrays) into a single list MuleSoft Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functions-zip
NEW QUESTION # 27
A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?
- A. Batch is retried
- B. Event processing continues to the next batch step.
- C. All processing of the batch job stops.
- D. Error is ignored
Answer: C
Explanation:
In case of an error , batch job completes in flight steps and stops further processing.
MuleSoft Doc Ref : Handling Errors During Batch Job | MuleSoft Documentation The default is all processing will stop but we can change it by Max Failed Record field.
General -> Max Failed Records: Mule has three options for handling a record-level error: Finish processing, Continue processing and Continue processing until the batch job accumulates a maximum number of failed records. This behavior can be controlled by Max Failed Records.
The default value is Zero which corresponds to Finish processing.
The value -1, corresponds to Continue processing.
The value +ve integer, corresponds to Continue processing until the batch job accumulates a maximum number of failed records
NEW QUESTION # 28
Refer to the exhibit.
What is the correct way to create a user?
- A.

- B.

- C.

- D.

Answer: A
NEW QUESTION # 29
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 # 30
What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021
- A. No patients
- B. Patient with id 2021
- C. Patients from year 2021
- D. All patients
Answer: C
Explanation:
Correct answer is Patients from year 2021.
The thing to note here is that year is not a query parameter and not the uri parameter. Hence it will filter all the patients and return the ones for whom year is 2021
NEW QUESTION # 31
Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.
An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flow executes.
What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?
- A. Change the path attribute's value to 7api/partners/fastShopping"
- B. Change the protocol attribute's value to "HTTPS"
- C. Change the method attribute's value to "POSL
- D. Change the method attribute's value to "*"
Answer: C
NEW QUESTION # 32
Which of the below activity doesn't support parallel execution?
- A. First Successful Router
- B. Scatter-Gather Router
- C. Parallel For Each
- D. Batch job
Answer: C
Explanation:
The First Successful router iterates through a list of configured processing routes until one of the routes executes successfully. This is sequential execution. In all other options mentioned in the question ,we can achieve parallel execution.
NEW QUESTION # 33
Correct answer is {customerID}.
- A. var toUpper(userName) = upper(userName)
- B. fun toUpper(userName) = upper(userName)
- C. var toUpper(userName) -> upper(userName)
- D. fun toUpper(userName) -> upper(userName)
Answer: B
Explanation:
Reference:
A function named toUpper needs to be defined that accepts a string named userName and returns the string in uppercase.
What is the correct DW code to define the toUpper function?
NEW QUESTION # 34
Refer to the exhibits 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. "File written"
- B. "ORDER NOT_CREATED"
- C. "FILECONNECTIVITY"
- D. "OTHER ERROR"
Answer: B
NEW QUESTION # 35
An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
- A. Download the API specification and build the interface using APIkit
- B. Implement the API specification using flow designer in Design Center
- 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 # 36
Where are values of query parameters stored in the Mule event by the HTTP Listener?
- A. Payload
- B. Attributes
- C. Inbound Properties
- D. Variables
Answer: B
Explanation:
Correct answer is Attributes.
Query parameters , URI parameters and headers are some of examples which are part of attributes.
Bottom of Form
Top of Form
NEW QUESTION # 37
In the execution of scatter gather, the "sleep 2 sec" Flow Reference takes about 2 sec to complete, and the "sleep 8 sec" Flow Reference takes about 8 sec to complete.
About how many sec does it take from the Scatter-Gather is called until the "Set Payload" transformer is called?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: D
Explanation:
Correct answer is 8 as events are processed in parallel in case of scatter gather router
NEW QUESTION # 38
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
- A. 200.1234 as String {format: ".0#"}
- B. 200.1234 as string {format: ".0#"}
- C. 200.1234 as string as format: ".0#"
- D. 200.1234 as String as format: ".0#"
Answer: A
Explanation:
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.
NEW QUESTION # 39
Refer to the exhibits. A web client sends a POST request to the HTTP Listener and the Validation component in the Try scope throws an error.
What response message is returned to the web client?
A . Validation Error
B . "END"
C . "ERROR1"
D . ''ERROR2"
- A. "ERROR1"
- B. "END"
- C. Validation Error
- D. ''ERROR2"
Answer: D
NEW QUESTION # 40
......
Salesforce Salesforce-MuleSoft-Developer-I Exam Syllabus Topics:
| Topic | Details |
|---|---|
| Topic 1 |
|
| Topic 2 |
|
| Topic 3 |
|
| Topic 4 |
|
| Topic 5 |
|
| Topic 6 |
|
| Topic 7 |
|
| Topic 8 |
|
| Topic 9 |
|
| Topic 10 |
|
Free Salesforce-MuleSoft-Developer-I braindumps download: https://www.dumpsmaterials.com/Salesforce-MuleSoft-Developer-I-real-torrent.html
Salesforce-MuleSoft-Developer-I Dumps 2024 - NewSalesforce Exam Questions: https://drive.google.com/open?id=1r_5VqlSH_IR7fqFTO96ygejRsiiYJoNg
