[2021] MCD-Level-1 Answers MCD-Level-1 Free Demo Are Based On The Real Exam
MCD-Level-1 [Dec-2021 Newly Released] Exam Questions For You To Pass
NEW QUESTION 26
A Mule application contains a global 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?
- A. Nowhere, the global error handler is automatically used
- B. The pom.xml file
- C. A configuration properties file
- D. A global element
Answer: D
Explanation:
Correct answer is A global element
Global error handlers are to be created in global element .
Quick note to remember here is Global error handlers come in to picture only when there are no error handlers specified as flow level.
Steps to create Global error handler
1) Click Global Elements to open Global Configuration Elements. Global Elements is located below the Studio canvas
2) In Global Configuration Elements, click Create to open the Choose Global Type dialog
3) From the dialog, select Global Configuration -> Configuration, and then click OK to open the Configuration dialog.
4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.
NEW QUESTION 27
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 B
- B. Option C
- C. Option A
- D. Option D
Answer: D
Explanation:
Scatter-Gather sends the event to each routes concurrently and returns a collection of all results. Collection is an Object of Objects. Each object contains attributes and payload from each Mule event returned from a flow. Hence option 4 is the correct answer.
NEW QUESTION 28
Refer to the exhibit.
What is the response to a web client request to http://localhost:8081?
- A. null
- B. After
- C. Validation Error
- D. before
Answer: C
Explanation:
NEW QUESTION 29
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 30
Refer to the exhibits.

What payload and quantity are logged at the end of the main flow?
- A. [[1,2,3,4], 10]
- B. [[order1, order2, order3, order4], 14]
- C. [[1,2,3,4], 14]
- D. [orderlorder2order3order4,14]
Answer: C
NEW QUESTION 31
Refer to the exhibits.
A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?
- A. ${training:host}
- B. #[training.host]
- C. #[training:host]
- D. ${training.host}
Answer: D
NEW QUESTION 32
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. "END"
- B. Validation Error
- C. "ERROR1"
- D. "ERROR1"
- E. Validation Error
- F. ''ERROR2"
- G. "END"
- H. ''ERROR2"

Answer: H
NEW QUESTION 33
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: D
Explanation:
URL parameters are always accessed using { } like => {customerID}
NEW QUESTION 34
What is the output type of the DataWeave map operator?
- A. String
- B. Map
- C. Array
- D. Object
Answer: C
NEW QUESTION 35
Which one of them is NOT a flow in Mule?
- A. sync flow
- B. async sub flow
- C. async flow
- D. subflow
Answer: B
Explanation:
Correct answer is async sub flow. Rest are valid flows in Mule.
Sub flow is always synchronous.
NEW QUESTION 36
Refer to the exhibits.
What is written to the records.csv file when the flow executes?
- A. The payload convert to CVS
- B. An error message
- C. Nothing
- D. The JSON payload
Answer: D
NEW QUESTION 37
As a part of requirement , application property defined below needs to be accessed as dataweave expression. What is the correct expression to map it to port value?
- A. Application property cannot be accessed in Dataweave
- B. { port : p('db.port')}
- C. { port : {db:port}}
- D. { port : p['db.port']}
Answer: B
Explanation:
Option 1 is the correct syntax
NEW QUESTION 38
Refer to the exhibits.
The two Mule configuration files belong to the same Mule project. Each HTTP Listener is configured with the same host string and the port number, path, and operation values are shown in the display names.
What is the minimum number of global elements that must be defined to support all these HTTP Listeners?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: D
NEW QUESTION 39
Refer to the exhibit.
What should be changed to fix the 415 error?
- A. set the request Content-Type header to text/plain
- B. Set the request Content-Type header to application/] son
- C. set the response Content-Type header to application/json
- D. set the response Content-Type header to text/plain
Answer: B
NEW QUESTION 40
What is the correct syntax to define and call a function in Database?
A)
B)
C)
D)
- A. Option A
- B. Option B
- C. Option D
- D. Option C
Answer: A
Explanation:
Keyword to ad function in Dataweave transformation is fun. Hence option 2 and 4 are invalid. Also parameters needs to be passed exactly in same order as defined in function definition. Hence correct answer is' fun addKV( object: Object, key: String, value: Any) = object ++ {(key):(value)}
---
addKV ( {"hello': "world"}, "hola", "mundo" )
MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/dataweave-functions DataWeave Function Definition Syntax To define a function in DataWeave use the following syntax:
fun myFunction(param1, param2, ...) = <code to execute>
The fun keyword starts the definition of a function.
myFunction is the name you define for the function.
Function names must be valid identifiers.
(param1, param2, ... , paramn) represents the parameters that your function accepts.
You can specify from zero to any number of parameters, separated by commas (,) and enclosed in parentheses.
The = sign marks the beginning of the code block to execute when the function is called.
<code to execute> represents the actual code that you define for your function.
NEW QUESTION 41
What should this endpoint return? http://dev.acme.com/api/patients?name=John&surname=Bell
- A. Patients with either name as John or surname as Bell
- B. Patient with name as John
- C. Patient with surname as bell
- D. Patients with name as John and surname as Bell
Answer: D
Explanation:
Query parameters are a defined set of parameters attached to the end of a url. They are extensions of the URL that are used to help define specific content or actions based on the data being passed. To append query params to the end of a URL, a '?' Is added followed immediately by a query parameter.
To add multiple parameters, an '&' is added in between each.
Hence coming back to question, endpoint would return Patients with name as John and (and is very important here) surname as Bell
NEW QUESTION 42
Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
- A. Route1, Route2
- B. Route1, Route2, Default
- C. Route 1
- D. Route2
Answer: C
NEW QUESTION 43
Refer to the exhibit.
In the execution of the Scatter-Gather, the "steep 1 sec" Flow Reference takes about 1 second to complete, and the "sleep 5 sees" Row Reference takes about 5 seconds to complete.
About how many seconds does it take from the time the Scatter-Gather is called until the Set Payload transformer is called?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: C
NEW QUESTION 44
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. "File written"
- B. "ORDER:NOT_CREATED"
- C. "OTHER ERROR"
- D. ''FILE:CONNECnvnY'
Answer: B
NEW QUESTION 45
A company has an API to manage purchase orders, with each record identified by a unique purchase order ID.
The API was built with RAML according to MuleSoft best practices.
What URI should a web client use to request order P05555?
- A. /orders/P05555
- B. /orders?order=P05555
- C. /orders/order=P05555
- D. /orders/{P05555}
Answer: A
NEW QUESTION 46
......
Understanding functional and technical aspects of MuleSoft Certified Developer - Level 1 Processing records
The following will be asked from you in the exam:
- Use the Scheduler component to trigger a flow
- Use a Batch Job with Batch Steps and a Batch Aggregator to process records
- Processing records
- Describe the features, benefits, and process to use automatic watermarking vs manual watermarking
- Use connector listeners to trigger flows
- Describe the features, benefits, and process to use watermarking
- Explain how Mule events are processed by the Batch Job scope
- Use connectors with automatic watermarking capabilities
- Persist data between flow executions using the Object Store
New 2021 Realistic Free MuleSoft MCD-Level-1 Exam Dump Questions & Answer: https://www.testsdumps.com/MCD-Level-1_real-exam-dumps.html
