[2024] Use Real MuleSoft Dumps - 100% Free MCD-Level-1 Exam Dumps
Realistic MCD-Level-1 Dumps Latest MuleSoft Practice Tests Dumps
NEW QUESTION # 96
Correct answer is {customerID}.
- A. fun toUpper(userName) -> upper(userName)
- B. fun toUpper(userName) = upper(userName)
- C. var toUpper(userName) -> upper(userName)
- D. var toUpper(userName) = upper(userName)
Answer: B
NEW QUESTION # 97
Refer to the exhibits.

What payload and quantity are logged at the end of the main flow?
- A. [[order1, order2, order3, order4], 14]
- B. [[1,2,3,4], 10]
- C. [[1,2,3,4], 14]
- D. [orderlorder2order3order4,14]
Answer: C
NEW QUESTION # 98
A company has an API to manage departments, with each department identified by a unique deptld. The API was built with RAML according to MuleSoft best practices.
What is valid RAML to specify a method to update the details for a specific department?
A)
B)
C)
D)
- A. Option D
- B. Option C
- C. Option B
- D. Option A
Answer: A
Explanation:
URI parameter is basically used to identify a specific resource or resources
* Here we want to update details about specific department, so question is asking 'How to use URI parameter' in RAML
* Correct answer is
/departments:
/{deptId}:
patch:
NEW QUESTION # 99
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)
B)
C)
D)
- A. Option A
- B. Option C
- C. Option D
- D. Option B
Answer: A
NEW QUESTION # 100
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. #[ company = "MuleSoft" ]
- B. #['MuleSoft' == paytoad.company]
- C. #[ if( 'MuleSoff == payload.company) ]
- D. #[ if( company = "MuleSoft") ]
Answer: B
NEW QUESTION # 101
Refer to the exhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What
values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or
= red?
- A. payload
quantity var - B. payload
- C. payload
color query param - D. payload
quantity var color query param
Answer: B
NEW QUESTION # 102
Refer to the exhibits.

The main flow contains a Flow Reference component configured to call the child flow What part(s) of a Mule event passed to the Flow Reference component are available in the child flow?
- A. The payload and all variables
- B. The payload
- C. The entire Mule event
- D. The payload and all attributes
Answer: A
NEW QUESTION # 103
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
Explanation:
Logs would look like:
INFO 2021-06-09 19:14:56,039 [[MuleRuntime].uber.06:
[validationtest].batch-job-validationtestBatch_Job-work-manager @6de10f3e] [processor:
validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event:
bfb751e1-9939-11eb-9f69-02053763653a]
org.mule.runtime.core.internal.processor.LoggerMessageProcessor:
[
"\"A\"",
"\"C\"",
"\"D\""
]
--
INFO 2021-06-09 19:15:02,486 [[MuleRuntime].uber.06:
[validationtest].batch-job-validationtestBatch_Job-work-manager @6de10f3e] [processor:
validationtestFlow/processors/1/route/0/route/0/aggregator/processors/0; event:
bfb751e1-9939-11eb-9f69-02053763653a]
org.mule.runtime.core.internal.processor.LoggerMessageProcessor: [
"\"E\""
]
Batch aggregator value is 3. Hence in first time it will print ["A", "C", "D"] and in next iteration it will print [ "E" ]
---------------------------------------------------------------------------------------------------------------------------------------- Correct answer is [ "E" ]
NEW QUESTION # 104
Refer to the exhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What
values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or
= red?
- A. payload
quantity var - B. payload
- C. payload
color query param - D. payload
quantity var color query param
Answer: B
NEW QUESTION # 105
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. lookupC createCustomerObJect( "Alice", "Green- ) )
- B. createCustomerObject( { first: "Alice", last: "Green" > )
- C. createCustomerObject( "Alice", "Green")
- D. lookupf "createCustomerObject", { first: "Alice", last: "Green" > )
Answer: D
NEW QUESTION # 106
What valid RAML retrieves details on a specific by its orderld as a URL parameter?
A)
B)
C)
D)
- A. Option B
- B. Option C
- C. Option D
- D. Option A
Answer: A
NEW QUESTION # 107
Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
- A. Response body: "Success - End" Default response status code: 200
- B. Error response body: error, description Default error response status code: 500
- C. Response body: "Error" Default response status code: 200
- D. Response body: "Success - Begin* Default response status code: 200
Answer: C
NEW QUESTION # 108
Refer to the exhibit.
How many private flows does APIKIT generate from the RAML specification?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: B
NEW QUESTION # 109
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?
- A. 1. /customers:
2. /get:
3. /customerId: - B. 1. /customers:
2. /customerId:
3. get: - C. 1. /customers:
2. get:
3. /{customerId}: - D. 1. /customers:
2. /{customerId}:
3. get:
Answer: D
Explanation:
Correct answer is below as it follows the correct syntax.
/customers:
/{customerId}:
get:
NEW QUESTION # 110
Refer to the exhibits.
The Set Payload transformer's value is set to {'year': '2020'}.
What message value should be added to the Logger component to output the message 'The year is 2020', without hardcoding 2020?
- A. #["The year is "++ payload.year].
- B. '#[The year is " + paytoad.year]'
- C. '#[The year is $(pay load .year)]*
- D. The year is #[payload.year]'
Answer: A
NEW QUESTION # 111
Refer to the exhibits.

A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
Refer to the exhibits. A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
- A. Response body: "Success - End" Default response status code: 200
- B. Error response body: error, description Default error response status code: 500
- C. Response body: "Error" Default response status code: 200
- D. Response body: "Success - Begin* Default response status code: 200
Answer: C
Explanation:
Correct answer: Response body: "Error" Default response status code: 200.
-------------------------------------------------------------------------------------------------------------------------------------------------
1) Payload is successfully set to "Success - Started Flow"
2) When HTTP Request throws an error, execution halts
#[error.description] = "ABC"
#[error.errorType] = "XYZ"
3) The On Error Continue scope handles the error. When On Error Continue scope is invoked, all the processors in error block are executed and success response is sent back to the client with payload which is set in error flow. In this case payload is set to "Error" value in error block.
4) "Error" is returned to the requestor in the body of the HTTP request with HTTP Status Code: 200 as On error continue always sends success error code.
Reference Diagram:
NEW QUESTION # 112
Refer to the exhibit.
What can be added to the flow to persist data across different flow executions?
- A. properties of the Mule runtime app object
- B. Properties of the Mule runtime flow object
- C. session variables
- D. Key/value pairs in the ObjectStore
Answer: D
NEW QUESTION # 113
Refer to the exhibits.

The my-app xml file contains an Error Handier scope named "global-error-handler" The Error Handler scope needs to be set to be the default error handler for every flow in the Mule application Where and how should the value "global-error-handler" be added in the Mule project so that the Error Handler scope is the default error handler of the Mule application?
- A. In the mule-artifact json file, as the value of a key-value pair
- B. In the my-app.xml file, as an attribute of a configuration element
- C. In the Validation folder as the value of a global element in the error-handling yaml file
- D. In the pom.xml file, as the value of a global element
Answer: B
NEW QUESTION # 114
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 D
- B. Option C
- C. Option B
- D. Option A
Answer: A
NEW QUESTION # 115
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. MuleSoft Support Center
- B. Central API Review Board
- C. Center of Excellence
- D. Center for Enablement
Answer: D
Explanation:
Reference:
Center for Enablement is correct answer .It is a cross-functional team typically staffed with members from central IT, line-of-business departments, and digital innovation teams charged with productizing, publishing, and harvesting reusable assets and best practices. In this case , app team would have checked first with Center for Enablement before developing their own API's. Hence could have avoided re-work
NEW QUESTION # 116
......
MCD-Level-1 Dumps PDF - MCD-Level-1 Real Exam Questions Answers: https://www.latestcram.com/MCD-Level-1-exam-cram-questions.html
