MuleSoft MCD-Level-1 Exam Dumps [2023] Practice Valid Exam Dumps Question
MCD-Level-1 Dumps - Grab Out For [NEW-2023] MuleSoft Exam
NEW QUESTION # 50
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 D
- D. Option B
Answer: C
NEW QUESTION # 51
Refer to the exhibits.
A web client sends sale data in a POST request to the Mule application. The Transform Message component then enrich the payload by prepending a vendor name to the sale data.
What is written to the sales.csv file when the flow executes?
- A. The enriched payload in XML format
- B. The enriched payload in JSON format
- C. An error message
- D. The enriched payload in CSV format
Answer: B
NEW QUESTION # 52
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 C
- B. Option D
- C. Option A
- D. Option B
Answer: D
NEW QUESTION # 53
What is not true about application properties?
- A. Application properties provide easier way to manage configurable values
- B. Application properties can be defined in .yaml file only
- C. Application properties can be overridden with system properties
- D. Application properties can be encrypted
Answer: B
Explanation:
Application properties can be defined in .yaml or in .properties file.
MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/configuring-properties#supported_files
NEW QUESTION # 54
Refer to the exhibit.
All three of the condition for the Choice router are true. What log messages are written?
- A. Route1, Route2, Default
- B. Route 1
- C. Route1, Route2
- D. Route2
Answer: B
NEW QUESTION # 55
Refer to the exhibit. The main flow contains an HTTP Request in the middle of the flow. The HTTP Listeners and HTTP request use default configurations.
What values are accessible to the Logger at the end of the flow after a web client submit request to
http://local:801/order?color=red?
- A. payload
- B. payload quantity var
- C. payload color query param
- D. payload quantity var color query param
Answer: B
NEW QUESTION # 56
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: B
Explanation:
Correct answer is 8 as events are processed in parallel in case of scatter gather router
NEW QUESTION # 57
Refer to the exhibits.


The Batch Job scope contains two Batch Steps scopes with different accept expression.
The input payload is passed to the Batch Job scope.
After the entire payload is processed by the batch job scope , what messages have been logged by the Logger component?
- A. 1. {amount=140}
2. {amount=102}
3. {step2amount=100}
4. {step2amount=140} - B. 1. {amount=140}
2. {amount=102}
3. {step2amount=100}
4. {step2amount=140} - C. 1. {amount=140}
2. {amount=102}
3. {step2amount=100} - D. 1. {amount=140}
2. {amount=102}
3. {step2amount=100}
4. {step2amount=40}
Answer: A
Explanation:
5. {step2amount=102}
Explanation:
Lets understand this solution step by step.
1) Batch Step (Less than 50)
Accept expression for this batch step is less than 50. Hence elements which will go in this batch step are amount value 40 and 2. Hence output of logger in first batch step is
{amount=140}
{amount=102}
2) Batch Step (Greater than 20)
Accept condition for this batch step is greater than 20. Note that input amount values for this batch step are 100 , 140 and 102 (last two values have been updated in batch step less than 50) As all values satisfy this condition out put of second logger is
{step2amount=100}
{step2amount=140}
{step2amount=102}
Hence correct answer to this question is
{amount=140}
{amount=102}
{step2amount=100}
{step2amount=140}
{step2amount=102}
NEW QUESTION # 58
Refer to the exhibit.

The main flow is configured with their error handlers. A web client submit a request to the HTTP Listener and the HTTP Request throws an HTTP:NOT_FOUND error.
What response message is returned?''
What response message is returned?
- A. success - main flow
- B. HTTP: NOT FOUND
- C. other error
- D. APP: API RESOURCE NOT FOUND
Answer: D
NEW QUESTION # 59
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( company = "MuleSoft") ]
- B. #[ if( 'MuleSoff == payload.company) ]
- C. #[ company = "MuleSoft" ]
- D. #['MuleSoft' == paytoad.company]
Answer: D
NEW QUESTION # 60
Refer to the exhibit.
This RAML specification includes a resource and method to retrieve accounts by account_type and industry.
What is the correct URI to get all retail finance accounts?
- A. /accounts?account_type:retail&industry:finance
- B. /accounts/account_type=retail/industry=finance
- C. /accounts?account_type=retail&industry=finance
- D. /accounts/retail/finance
Answer: C
NEW QUESTION # 61
Refer to the payload.

The Set payload transformer sets the payload to an object. The logger component's message attribute is configured with the string "Result #["INFO"++ payload]" What is the output of logger when this flow executes?
- A. Result INFO{"student":{"name":"Anay","age":6}}
- B. Result INFOpayload
- C. Error : You evaluated inline expression # without ++
- D. 1. 1. "You called the function '++' with these arguments:
2. 2. 1: String ("INFO")
3. 3: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age: 6 as Numbe...)
Answer: D
Explanation:
Correct answer is as below as concatenation operation works only with string and not with the objects. In this case payload is object.
"You called the function '++' with these arguments:
1: String ("INFO")
2: Object ({student: {name: "Anay" as String {class: "java.lang.String"},age
NEW QUESTION # 62
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 C
- B. Option D
- C. Option A
- D. Option B
Answer: C
NEW QUESTION # 63
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/1234
- C. /customers/custid=1234
- D. /customers?operation=get&custid=1234
Answer: B
NEW QUESTION # 64
A flow needs to combine and return data from two different data sources. It contains a Database SELECT operation followed by an HTTP Request operation.
What is the method to capture both payloads so the payload from the second request does not overwrite that from the first?
- A. Nothing, previous payloads are combined into the next payload
- B. Put the Database SELECT operation inside a Message Enricher scope
- C. Put the Database SELECT operation inside a Cache scope
- D. Save the payload from the Database SELECT operation to a variable
Answer: D
Explanation:
Correct answer is Save the payload from the Database SELECT operation to a variable Response from HTTP request will override the payload and hence response of database SELECT can be lost. Best way to preserve is to assign payload of first operation to variable using TransformMessage.
NEW QUESTION # 65
How are multiple conditions used in a Choice router to route events?
- A. To find the FIRST true condition, then route the same event to the matched route and ALL FOLLOWING routes
- B. None of these
- 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.
NEW QUESTION # 66
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)
B)
C)
D)
- A. Option C
- B. Option D
- C. Option A
- D. Option B
Answer: C
NEW QUESTION # 67
Refer to the exhibits.
What is the response when a client submits a request to http://localhost:8081?
- A. Before
- B. After
- C. null
- D. Validation error
Answer: D
Explanation:
----------------------------------------------------------------------------------------------------------------------------------- Here's specifically what is happening here:
1) Payload is successfully set to "Before"
2) Is null validation is used which will pass the message only if payload is null. In this case as payload is not null, it creates an Error Object. Flow execution stops
#[error.description] = "Validation error"
3) Because no error handler is defined, the Mule default error handler handles the error
4) "Validation error" is the error message returned to the requestor in the body of the HTTP request with HTTP Status Code: 500 Reference diagram:
NEW QUESTION # 68
A
web client submits a request to http://localhost:8081?flrstName=john. What is the correct DataWeave expression to access the firstName parameter?
- A. #[message.queryParams.hrstName]
- B. #[attributes.queryParams.firstName]
- C. #[attributes.'http.query.params'.firstName]
- D. #[message.inboundProperties.'http.query.params'.firstName]
Answer: B
NEW QUESTION # 69
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 # 70
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
- A. Option C
- B. Option A
- C. Option D
- D. Option B
Answer: C
NEW QUESTION # 71
Refer to the exhibits. In the choice router, the When expression for the domestic shipping route is set to "#[payload= "FR"]".
What is the output of logger after the execution of choice router is completed?
- A. A dataweave syntax error
- B. "Domestic"
- C. "US"
- D. "International"
Answer: A
Explanation:
(Correct)
Explanation:
To compare, DataWeave syntax is #[payload == "FR"]. In this case only one = is used so it will give syntax error.
NEW QUESTION # 72
Refer to the exhibit.
The Mule application Is debugged in Any point Studio and stops at the breakpoint What is the value of the payload displayed In the debugger at this breakpoint?
- A. Complete"
- B. "Processing"
- C. "Start"
- D. 0
Answer: C
NEW QUESTION # 73
......
MuleSoft MCD-Level-1 Certification Exam covers a wide range of topics related to Mule 4, including building, testing, and deploying Mule applications, working with Mule flows, connectors, and APIs, and using Anypoint Platform for managing Mule applications. MCD-Level-1 exam is divided into multiple sections, and candidates are required to pass each section in order to become certified. MuleSoft Certified Developer - Level 1 (Mule 4) certification is highly valued in the industry and is recognized by many leading organizations as a standard for Mule 4 development skills.
MCD-Level-1 Exam Dumps PDF Guaranteed Success with Accurate & Updated Questions: https://www.testpdf.com/MCD-Level-1-exam-braindumps.html
