Check the Available MCD-Level-1 Exam Dumps with 235 QA's UPDATED 2024
Download MCD-Level-1 Exam Dumps Questions to get 100% Success in MuleSoft
NEW QUESTION # 20
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 # 21
What is the correct syntax for a Logger component to output a message with the contents of a 3SON Object payload?
- A. The payload is: $(payload)
- B. #["The payload is: " + payload]
- C. The payload is: #[payload]
- D. #["The payload is: " ++ payload]
Answer: D
Explanation:
Option 3 is the only corect answer as it concatenates payload with String.
Below option wont work.
#["The payload is " ++ payload]
Concatenation function expects both arguments to be string. As the question says payload is json object , this will throw error while running it. You can try this in Anypoint Studio and you will get the same result which I mentioned.
hence correct answer is
The payload is: #[payload]
NEW QUESTION # 22
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 # 23
A shopping API contains a method to look up store details by department.
To get the information for a particular store, web clients will submit requests with a query parameter named department and uri parameter named storeId What is valid RAML snippet that supports requests from a web client to get a data for a specific storeId and department name?
- A. 1. get:
2. uriParameter:
3. {storeId}:
4. queryParameter:
5. department: - B. 1. /department:
2. get:
3. uriParameter:
4. storeId: - C. 1. /{storeId}:
2. get:
3. queryParameter:
4. department: - D. 1. get:
2. queryParameter:
3. department:
4. uriParameter:
5. {storeId}:
Answer: C
NEW QUESTION # 24
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: B
NEW QUESTION # 25
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
NEW QUESTION # 26
A RAML specification is defined to manage customers with a unique identifier for each customer record.
What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?
- A. /customers?custid=true&custid=1234
- B. /customers/custid=1234
- C. /customers?operation=get&custid=1234
- D. /customers/1234
Answer: D
NEW QUESTION # 27
Refer to the exhibit.
The Database Select operation returns five rows from a database. What is logged by the Logger component?
- A. "LinkedHashMap"
- B. "Array"
- C. "CaselnsensitrveHashMap"
- D. "Object"
Answer: B
NEW QUESTION # 28
Refer to the exhibit. What is the output of logger component?
- A. String
- B. Array
- C. Object
- D. Map
Answer: B
Explanation:
Database always return rows as an array.
Array is the correct answer
NEW QUESTION # 29
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. ${ customerID}
- B. (customerlD)
- C. {customerlD}
- D. #[customerlD]
Answer: C
NEW QUESTION # 30
What payload is returned by a Database SELECT operation that does not match any rows in the database?
- A. null
- B. Exception
- C. Empty Array
- D. false
Answer: C
NEW QUESTION # 31
A Mule project contains a MySQL Database dependency. The project is 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)
- A. Option B
- B. Option A
- C. Option C
- D. Option D
Answer: A
NEW QUESTION # 32
A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key userjd column and an increasing kxjin_date_time column. Neither column allows duplicate values.
How should the listener be configured so it retrieves each row at most one time?
- A. Set the watermark column to the user_Id column
- B. Set the target value to the last retrieved login_date_time value
- C. Set the watermark column to the bgin_date_time column
- D. Set the target value to the last retrieved user_jd value
Answer: C
NEW QUESTION # 33
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 # 34
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 # 35
Which one of them is NOT a flow in Mule?
- A. async flow
- B. sync flow
- C. async sub flow
- D. subflow
Answer: C
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.

In the Choice router, the When expression for the domesticShipping route is set to "#[payload = 'FR']". What is logged after the Choice router completes?
- A. A DataVVeave syntax error
- B. The result of the intemationalShipping flow
- C. A string with value "FR"
- D. The result of the domesticShipoing flow
Answer: A
NEW QUESTION # 37
Refer to the exhibit.
The main flow contains a Flow Reference for the child flow.
What
values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order?
color=red?
- A. payload
color query param - B. payload
- C. payload
quantity var - D. payload
quantity var color query param
Answer: D
NEW QUESTION # 38
Refer to the exhibits.

A Mule application contains a Choice router. What is logged when the flow completes?
- A. ["US", "EU"]
- B. EU
- C. US
- D. "REGION"
Answer: C
NEW QUESTION # 39
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 # 40
Refer
to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.
What is the next step to fix this error?
- A. set a JSON payload before the Consume operation that contains the destination query parameter
- B. set a SOAP payload before the Consume operation that contains the destination query parameter
- C. set a property m the Consume operation equal to the destination query parameter
- D. Set a header In the Consume operation equal to the destination query parameter
Answer: D
NEW QUESTION # 41
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
2. 2. ---
3. 3. WebStore::loginUser("[email protected]") - B. 1. 1. import libs.etl.WebStore
2. 2. ---
3. 3. loginUser("[email protected]") - C. 1. 1. import * from libs::etl::WebStore
2. 2. ---
3. 3. loginUser("[email protected]") - D. 1. 1. import libs.etl
2. 2. ---
3. 3. WebStore.loginUser("[email protected]")
Answer: C
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 # 42
......
MuleSoft MCD-Level-1: MuleSoft Certified Developer - Level 1 (Mule 4) is a globally recognized certification that validates the skills of MuleSoft developers in designing, building, testing, and deploying MuleSoft applications using Mule 4. MCD-Level-1 exam is based on industry standards and best practices, and it helps organizations to identify and hire skilled MuleSoft developers. MuleSoft Certified Developer - Level 1 (Mule 4) certification also provides developers with access to MuleSoft's community of experts, where they can learn and share knowledge with others. Preparing for the exam requires a combination of online courses, training sessions, hands-on exercises, and study materials, and developers can also join MuleSoft's community of experts to get help and support.
Best Value Available! 2024 Realistic Verified Free MCD-Level-1 Exam Questions: https://www.prep4pass.com/MCD-Level-1_exam-braindumps.html
