Pass Exam With Full Sureness - MCD-Level-1 Dumps with 226 Questions
Verified MCD-Level-1 dumps Q&As - 100% Pass from SurePassExams
NEW QUESTION # 105
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. End
- D. Start
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 # 106
Refer to the exhibits. A company has defined this Book data type and Book example to be used in APIs. What is valid RAML for an API that uses this Book data type and Book example?
A)
B)
C)
D)
- A. Option B
- B. Option C
- C. Option D
- D. Option A
Answer: C
NEW QUESTION # 107
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.
What response message is returned to the web client?
- A. "ORDER:NOT_CREATED"
- B. ''FILE:CONNECnvnY'
- C. "OTHER ERROR"
- D. "File written"
Answer: B
NEW QUESTION # 108
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 Payload transformer in the createOrder flow to use the addltem subflow to add a router cable with the price of 100 to the order?
- A. addltemf { payload: { price: "100", item: "router", itemType: "cable" } > )
- B. lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )
- C. addltemf { price: "100", item: "router", itemType: "cable" })
- D. lookupf "addltem", { price: "100", item: "router", itemType: "cable" } )
Answer: B
NEW QUESTION # 109
A web client submits a request to http://localhost:8081?accountType=personal. The query parameter is captured using a Set Variable transformer to a variable named accountType.
What is the correct DataWeave expression to log accountType?
- A. Account Type: #[message.inboundProperties.accountType]
- B. Account Type: #[vars.accountType]
- C. Account Type: #[flowVars.accountType]
- D. Account Type: # [attributes.accountType]
Answer: B
Explanation:
vars: Keyword for accessing a variable, for example, through a DataWeave expression in a Mule component, such as the Logger, or from an Input or Output parameter of an operation. If the name of your variable is myVar, you can access it like this: vars.myVar Hence correct answer is Account Type: #[vars.accountType]
NEW QUESTION # 110
How to import Core (dw::Core) module into your DataWeave scripts?
- A. import core
- B. #include dw::core
- C. Not needed
- D. import dw::core
Answer: C
Explanation:
Correct answer is Not needed as dw::core module is included by default. We don't need to include it explicitly
NEW QUESTION # 111
Refer to the exhibit.
In the execution of the Scatter_Gather, the flow1 route completes after 10 seconds and the flow2 route completes after 20 seconds.
How many seconds does it take for the Scatter_Gather to complete?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: A
NEW QUESTION # 112
Which of the following is invalid type of event processor which can be used as a router ?
- A. Round Robin
- B. First Successful
- C. Pick First
- D. Choice
Answer: C
Explanation:
Pick First is not valid type. Rest all are valid type of event processor.
Choice : https://docs.mulesoft.com/mule-runtime/4.3/choice-router-concept Round Robin : https://docs.mulesoft.com/mule-runtime/4.3/round-robin First Successful : https://docs.mulesoft.com/mule-runtime/4.3/first-successful
NEW QUESTION # 113
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
- A. Option D
- B. Option C
- C. Option A
- D. Option B
Answer: D
NEW QUESTION # 114
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?
- A. Entire event would be sent to each route sequentially
- B. Entire event would be sent to each route in parallel
- C. Incoming array objects would be split into three and each part would be sent to one route each in sequential manner
- D. Incoming array objects would be split into three and each part would be sent to one route each in parallel
Answer: B
Explanation:
Entire event would be sent to each route in parallel.
Scatter-Gather works as follows :
- The Scatter-Gather component receives a Mule event and sends a reference of this Mule event to each processing route.
- Each of the processing routes starts executing in parallel. After all processors inside a route finish processing, the route returns a Mule event, which can be either the same Mule event without modifications or a new Mule event created by the processors in the route as a result of the modifications applied.
- After all processing routes have finished execution, the Scatter-Gather component creates a new Mule event that combines all resulting Mule events from each route, and then passes the new Mule event to the next component in the flow.
NEW QUESTION # 115
Refer to the exhibits.
The input array of strings is processed by the batch job that processes, filters, and aggregates the values. What is the last message logged by the Logger component after the batch job completes processing?
- A. [''D", "E"]
- B. [''E'']
- C. [ ["A", "C", "D" ], ["E"] ]
- D. [ "A", "C, "D", "E" ]
Answer: B
NEW QUESTION # 116
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. #[ if( 'MuleSoff == payload.company) ]
- B. #[ if( company = "MuleSoft") ]
- C. #['MuleSoft' == paytoad'company']
- D. #[ company = "MuleSoft" ]
Answer: A
NEW QUESTION # 117
A Utility.dwl file is located in a Mule project at src/main/resources/modules. The Utility.dwl hie defines a function named pascalize that reformats strings to pascal case.
What is the correct DataWeave to call the pascalize function in a Transform Message component?
A)
B)
C)
D)
- A. Option D
- B. Option C
- C. Option A
- D. Option B
Answer: D
NEW QUESTION # 118
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. Option D
- B. Option B
- C. Option C
- D. Option A
Answer: D
NEW QUESTION # 119
Refer to the exhibits.
What is written to the records.csv file when the flow executes?
- A. The payload convert to CVS
- B. Nothing
- C. The JSON payload
- D. An error message
Answer: C
Explanation:
Transform Message Add write_date is coverting payload in JSON format and same JSON payload is avaialble to file write processor. However, if the payload is a different format (for example, not CSV) , you can place the transformation inside the Write operation to generate content that will be written without producing a side effect on the message in transit. This is not done in this case. By default, the connector writes whatever is in the message payload. Hence JSON payload will be written to file.
NEW QUESTION # 120
Refer to the exhibit.
The error occurs when a project is run in Anypoint Studio. The project, which has a dependency that is not in the MuleSoft Maven repository, was created and successfully run on a different computer.
What is the next step to fix the error to get the project to run successfully?
- A. Edit the dependency in the Mule project's pom.xml file
- B. Deploy the dependency to MuleSoft's Maven repository
- C. Install the dependency to the computer's local Maven repository
- D. Add the dependency to the MULE_HOME/bin folder
Answer: C
Explanation:
As dependency is not present in Mulesoft Maven repository, we need to install the dependency on computer's local Maven repository. Option 3 is correct choice.
NEW QUESTION # 121
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

- A. [10. 20, 30. 40, 50, 60]
- B. [20, 40, 60]
- C. [20. 40] [60]
- D. [10. 20] [30, 40] [50, 60]
Answer: C
Explanation:
* Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in batch scope.
* So payload for each of these will be incremented by 10.
* Aggregator has batch size defined as 2. So it will process in batch of two records.
* Hence option 3 is correct answer.
[20,40]
[60]
NEW QUESTION # 122
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need.
According to MuleSoft, what organization structure could have saved the app team two months of development time?
- A. Central API Review Board
- B. Center of Excellence
- C. Center for Enablement
- D. MuleSoft Support Center
Answer: C
NEW QUESTION # 123
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)
- A. Option B
- B. Option C
- C. Option D
- D. Option A
Answer: C
NEW QUESTION # 124
Refer to the exhibit.
What is the correct DataWeave expression for the Set Payload transformer to call the createCustomerObject flow with values for the first and last names of a new customer?
- A. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )
- B. createCustomerObject( { first: "Alice", last: "Green" > )
- C. createCustomerObject( "Alice", "Green")
- D. lookupC createCustomerObJect( "Alice", "Green- ) )
Answer: A
Explanation:
lookup(String, Any, Number)
This function enables you to execute a flow within a Mule app and retrieve the resulting payload.
It works in Mule apps that are running on Mule Runtime version 4.1.4 and later.
Similar to the Flow Reference component (recommended), the lookup function enables you to execute another flow within your app and to retrieve the resulting payload. It takes the flow's name and an input payload as parameters. For example, lookup("anotherFlow", payload) executes a flow named anotherFlow.
Correct answer is
lookup( "createCustomerObject", {first: "Aice, last: "Green"})
MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-mule-functions-lookup
NEW QUESTION # 125
Refer to the exhibit.
What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?
- A. (employeelD)
- B. # [employeelD]
- C. {employeelD}
- D. ${emp!oyeelD}
Answer: C
Explanation:
While configuring HTTP listener path , URI parameters are always enclosed within curly braces. Hence option 2 is correct choice
NEW QUESTION # 126
Refer to the exhibits.
The Mule application does NOT define any global error handlers.
The Validation component in the private flow throws an error
What response message is returned to a web client request to the main flow's HTTP Listener?
- A. "Validation Error"
- B. "Parent error"
- C. ''Child error"
- D. "Parent completed"
Answer: A
NEW QUESTION # 127
......
MCD-Level-1 Dumps Full Questions - Exam Study Guide: https://www.surepassexams.com/MCD-Level-1-exam-bootcamp.html