[Nov 27, 2024] Pass Your MCD-Level-1 Dumps Free Latest MuleSoft Practice Tests
Get Top-Rated MuleSoft MCD-Level-1 Exam Dumps Now
NEW QUESTION # 46
What is the default port used by Mule application debugger configuration in Anypoint Studio?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: D
Explanation:
By default, Debugger listens for incoming TCP connections on localhost port 6666 You can change this in a project's run configuration.
MuleSoft Doc Ref : https://docs.mulesoft.com/studio/7.5/visual-debugger-concept
NEW QUESTION # 47
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: B
NEW QUESTION # 48
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. lookupf "addltem", { payload: { price: "100", item: "router", itemType: "cable" } } )
- B. addltemf { payload: { price: "100", item: "router", itemType: "cable" } > )
- C. lookupf "addltem", { price: "100", item: "router", itemType: "cable" } )
- D. addltemf { price: "100", item: "router", itemType: "cable" })
Answer: A
NEW QUESTION # 49
A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?
- A. examples: #import examples/StudentExample.raml
- B. examples: !include examples/StudentExample.raml
- C. examples: !include StudentExample.raml
- D. examples: #import StudentExample.raml
Answer: B
Explanation:
To include property. To keep the API definition concise, you can include external content, such as documentation, schemas, and frequently used patterns outside the definition itself. The parser interprets !include as if the content of the externally-hosted file or a URL were declared in-line.
To use the fragments in RAML you have to include the exact path(copy the path) of that fragment you want to use as shown below Option 3 is the correct as correct syntax is examples: !include examples/StudentExample.raml
NEW QUESTION # 50
Refer to the exhibits.

A Mule application contains a Choice router. What is logged when the flow completes?
- A. ["US", "EU"]
- B. US
- C. "REGION"
- D. EU
Answer: B
NEW QUESTION # 51
By default, what happens to a file after it is read using an FTP connector Read operation?
- A. The file is deleted from the folder
- B. The file is renamed in the same folder
- C. The file stays in the same folder unchanged
- D. The file is moved to a different folder
Answer: D
NEW QUESTION # 52
A Mule application's HTTP Listener is configured with the HTTP protocol. The HTTP listeners port attribute is configured with a property placeholder named http.port. The mule application sets the http.port property placeholder's value to 9090 The Mule application is deployed to CloudHub without setting any properties in the Runtime manager Properties tab and a log message reports the status of the HTTP listener after the Mule application deployment completes.
After the mule applications is deployed, what information is reported in the worker logs related to the port on which the Mule application's HTTP Listener listens?
- A. The HTTP Listener is listening on port 8081
- B. The HTTP Listener is listening on port 80
- C. The HTTP Listener is listening on port 9090
- D. The HTTP Listener failed to bind to the port and is not listening for connections
Answer: A
Explanation:
Cloudhub expose services on port 8081 and override value in http.port with this one .
Sample log in Runtime Manager is below
21:15:53.148 08/08/2021 Worker-0 ArtifactDeployer.start.01 INFO
Listening for connections on 'http://0.0.0.0:8081'
NEW QUESTION # 53
What is the output type of the DataWeave map operator?
- A. Object
- B. Map
- C. Array
- D. String
Answer: C
NEW QUESTION # 54
To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.
Where does the configuration file's location need to be specified in the Mule application?
- A. The mule-art if act .json file
- B. a flow attribute
- C. The pom.xml file
- D. A global element
Answer: D
Explanation:
Correct answer is A global element
When we create a configuration file , that file needs to added as Global Configuration file in Global element.
A global element is a reusable object containing parameters that any number of elements in a flow can share.
You reference a global element from Anypoint Connectors or components in your Mule application
NEW QUESTION # 55
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. Event processing continues to the next batch step.
- B. Error is ignored
- C. Batch is retried
- D. All processing of the batch job stops.
Answer: D
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 # 56
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 C
- B. Option A
- C. Option B
- D. Option D
Answer: D
NEW QUESTION # 57
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. Error - Try scope
- B. Success - main flow
- C. Validation Error
- D. Error - main flow
Answer: C
NEW QUESTION # 58
Refer to the exhibit.
What is the response to a web client request to http://localhost:8081?
- A. null
- B. Validation Error
- C. After
- D. before
Answer: B
Explanation:
NEW QUESTION # 59
How are multiple conditions used in a Choice router to route events?
- A. None of these
- B. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes
- C. To find the FIRST true condition, then distribute the event to the ONE matched route.
- D. To route the same event to the matched route of EVERY true condition
Answer: C
Explanation:
Choice router finds the FIRST true condition, then distribute the event to the ONE matched route.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/choice-router-concept The Choice router dynamically routes messages through a flow according to a set of DataWeave expressions that evaluate message content. Each expression is associated with a different routing option. The effect is to add conditional processing to a flow, similar to an if/then/else code block in most programming languages.
Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route's execution and the others are not checked. If none of the expressions are true, then the default route executes.
Diagram Description automatically generated
NEW QUESTION # 60
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 database name
- C. Configure the correct table name
- D. Configure the correct JDBC driver
Answer: D
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 # 61
In an application network. If the implementation but not the interface of a product API changes, what needs to be done to the other APIs that consume the product API?
- A. The applications associated with the other APIs must be recoded
- B. The other APIs must be updated to consume the updated product API
- C. Nothing needs to be changed in the other APIs or their associated applications
- D. The applications associated with the other APIs must be restarted
Answer: C
NEW QUESTION # 62
Refer to the exhibits. The Set Payload transformer in the addltem child flow 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 child flow to add a router call with the price of 100 to the order?
- A. lookup( "addltem", { payload: { price: "100", item: "router", itemType: "cable" } > )
- B. lookup( "addltern", { price: "100", item: "router", itemType: "cable" } )
- C. addltem( { payload: { price: "100", item: "router", itemType: "cable" > } )
- D. addltem( { price: "100", item: "router", itemType: "cable" } )
Answer: A
NEW QUESTION # 63
Which out of below is not an asset?
- A. Example
- B. Template
- C. Connector
- 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 # 64
......
Passing Key To Getting MCD-Level-1 Certified Exam Engine PDF: https://pdfexamfiles.actualtestsquiz.com/MCD-Level-1-test-torrent.html

