ExamGecko
Home / MuleSoft / MCD - Level 1
Ask Question

MCD - Level 1: MuleSoft Certified Developer - Level 1 (Mule 4)

Vendor:
Exam Questions:
235
 Learners
  2.370
Last Updated
February - 2025
Language
English
6 Quizzes
PDF | VPLUS

This study guide should help you understand what to expect on the exam and includes a summary of the topics the exam might cover and links to additional resources. The information and materials in this document should help you focus your studies as you prepare for the exam.

Related questions

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.

<a target='_blank' href='http://local:801/order?color=red'>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>

MuleSoft MCD - Level 1 image Question 107 52662 09182024213609000000

payload
payload
payload quantity var
payload quantity var
payload color query param
payload color query param
payload quantity var color query param
payload quantity var color query param
Suggested answer: B
Explanation:

In this case as outbound call is made using HTTP: POST /child , all attributes will be replaced by this invocation. Hence query parameter will not be accessible at logger.

asked 18/09/2024
Rua Tebas
39 questions

As a part of project requirement , you want to build an API for a legacy client. Legacy client can only consume SOAP webservices. Which type the interface documentation can be prepared to meet the requirement?

RAML file to define SOAP services
RAML file to define SOAP services
WSDL file
WSDL file
JSON file
JSON file
plain text file documenting API's
plain text file documenting API's
Suggested answer: B
Explanation:

Web Services Description Language. WSDL is used to describe SOAP based web services

asked 18/09/2024
Miroslav Veselinovic
24 questions

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]'?

Become a Premium Member for full access
  Unlock Premium Member

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 configuration properties file
A configuration properties file
Nowhere, the global error handler is automatically used
Nowhere, the global error handler is automatically used
A global element
A global element
The pom.xml file
The pom.xml file
Suggested answer: C
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

MuleSoft MCD - Level 1 image Question 41 explanation 52596 09182024213609000000

3) From the dialog, select Global Configuration - Configuration, and then click OK to open the Configuration dialog.

MuleSoft MCD - Level 1 image Question 41 explanation 52596 09182024213609000000

4) From the select Configuration dialog, select allErrorHandler for the Default Error Handler field, and click OK.

asked 18/09/2024
mustapha amraui
38 questions

Refer to the exhibits.

MuleSoft MCD - Level 1 image Question 11 52566 09182024213609000000

MuleSoft MCD - Level 1 image Question 11 52566 09182024213609000000

What payload and quantity are logged at the end of the main flow?

[[1,2,3,4], 14]
[[1,2,3,4], 14]
[[order1, order2, order3, order4], 14]
[[order1, order2, order3, order4], 14]
[[1,2,3,4], 10]
[[1,2,3,4], 10]
[orderlorder2order3order4,14]
[orderlorder2order3order4,14]
Suggested answer: A
asked 18/09/2024
Muath Ahmed Saleh AlShuwaer
39 questions

Refer to the exhibits. The webClient flow sends requests to the mockServer Row's HTTP Listener.

An HTTP: METHOD_NOT ALLOWED error is thrown each time the webClient flow executes.

What attribute value must be changed in the webClient flow's HTTP Request operation to prevent this error from being thrown?

Become a Premium Member for full access
  Unlock Premium Member

Refer to the exhibits.

MuleSoft MCD - Level 1 image Question 174 52729 09182024213609000000

MuleSoft MCD - Level 1 image Question 174 52729 09182024213609000000

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?

Become a Premium Member for full access
  Unlock Premium Member

A Scatter-Gather processes three separate HTTP requests. Each request returns a Mule event with a JSON payload. What is the final output of the Scatter-Gather?

An Array of the three Mule event Objects
An Array of the three Mule event Objects
An Object containing all three Mule event Objects
An Object containing all three Mule event Objects
An Array of the three JSON payload Objects
An Array of the three JSON payload Objects
An Object containing all three JSON payload Objects
An Object containing all three JSON payload Objects
Suggested answer: B
Explanation:

Correct answer isAn Object containing all three Mule event Objects

The Scatter-Gather component is a routing event processor that processes a Mule event through different parallel processing routes that contain different event processors. Each route receives a reference to the Mule event and executes a sequence of one or more event processors. Each of these routes uses a separate thread to execute the event processors, and the resulting Mule event can be either the same Mule event without modifications or a new Mule event with its own payload, attributes, and variables. The Scatter-Gather component then combines the Mule events returned by each processing route into a new Mule event that is passed to the next event processor only after every route completes successfully.

The Scatter-Gather component executes each route in parallel, not sequentially. Parallel execution of routes can greatly increase the efficiency of your Mule application and may provide more information than sequential processing.

Sample output is as below

MuleSoft MCD - Level 1 image Question 150 explanation 52705 09182024213609000000

MuleSoft Documentation reference : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept

asked 18/09/2024
Demilson Mantegazine
37 questions

Refer to the exhibits.

MuleSoft MCD - Level 1 image Question 92 52647 09182024213609000000

All three of the conditions for the Choice router are true. What messages are written in the application log?

Route1
Route1
Route2
Route2
Route1,Route2
Route1,Route2
Route1,Route2,Default
Route1,Route2,Default
Suggested answer: A
Explanation:

Only one of the routes in the Choice router executes, meaning that the first expression that evaluates to true triggers that route1 execution and the others are not checked. If none of the expressions are true, then the default route executes. Hence only Route1 will be executed as it is the first expression. hence output of logger is Route1.

MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.3/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.

MuleSoft MCD - Level 1 image Question 92 explanation 52647 09182024213609000000

asked 18/09/2024
Muzammil Mirza
33 questions

Refer to the exhibit.

MuleSoft MCD - Level 1 image Question 17 52572 09182024213609000000

The API needs to be updated using the company-wide standard for the Plan data type. The Object data type has already been published in Anypoint Exchange with the global reference . ACME/DataTypes/PlanDataType.raml.

What is a valid RAML specification that reuses the Plan data type?

A)

MuleSoft MCD - Level 1 image Question 17 52572 09182024213609000000

B)

MuleSoft MCD - Level 1 image Question 17 52572 09182024213609000000

C)

MuleSoft MCD - Level 1 image Question 17 52572 09182024213609000000

D)

MuleSoft MCD - Level 1 image Question 17 52572 09182024213609000000

Option A
Option A
Option B
Option B
Option C
Option C
Option D
Option D
Suggested answer: D
Explanation:

As can be seen in RAML, POST expects input in application/json format which eliminates two of the options as two options are in xml format.

Now out of the two remaining options, one has id field in request which is only mentioned for get response and not for POST request. Hence id field is not expected in POST request.

Hence correct answer is

{

'name': 'GoerdiLa Forge',

'address': '1 Westland CA',

'customer_since': '2014-01-04',

'balance': '4829.29',

'bank_agend_id': '12556'

}

asked 18/09/2024
Jason Kelley
34 questions