ExamGecko
Home Home / MuleSoft / MCD - Level 1

MuleSoft MCD - Level 1 Practice Test - Questions Answers, Page 15

Question list
Search
Search

Related questions











Does a root element required when creating a XML response using Dataweave?

A.
Depends on requirement
A.
Depends on requirement
Answers
B.
Not required
B.
Not required
Answers
C.
Always required
C.
Always required
Answers
D.
None of these
D.
None of these
Answers
Suggested answer: C

Explanation:

Root element is always required while creating XML response in DataWeave transformation

Which keyword do you use to create a new function in DataWeave?

A.
function
A.
function
Answers
B.
fun
B.
fun
Answers
C.
func
C.
func
Answers
D.
map
D.
map
Answers
Suggested answer: B

Explanation:

You can define your own DataWeave functions using the fun declaration in the header of a DataWeave script. Sample is as below. ----------------------------------------

%dw 2.0

output application/json

fun toUpper(aString) = upper(aString)

---

toUpper('hello')

MuleSoft Doc Ref : https://docs.mulesoft.com/mule-runtime/4.1/dataweave-functions

How many Mule applications can run on a CloudHub worker?

A.
At most one
A.
At most one
Answers
B.
At least one
B.
At least one
Answers
C.
Depends
C.
Depends
Answers
D.
None of these
D.
None of these
Answers
Suggested answer: A

What is the object type returned by the File List operation?

A.
Object of String file names
A.
Object of String file names
Answers
B.
Array of String file names
B.
Array of String file names
Answers
C.
Object of Mule event objects
C.
Object of Mule event objects
Answers
D.
Array of Mule event objects
D.
Array of Mule event objects
Answers
Suggested answer: D

Explanation:

The List operation returns an array of messages in which: Each message holds the file's content in its payload. The file's attributes section carries the file's metadata (such as name, creation time, and size). The payload is empty if the element is a folder.

Which of the module is imported automatically in Dataweave scripts?

A.
dw::core
A.
dw::core
Answers
B.
dw::System
B.
dw::System
Answers
C.
dw::Runtime
C.
dw::Runtime
Answers
D.
dw::Crypto
D.
dw::Crypto
Answers
Suggested answer: A

Explanation:

Core (dw::Core) This module contains core DataWeave functions for data transformations. It is automatically imported into any DataWeave script.

What is the minimum Cloudhub worker size that can be specified while deploying mule application?

A.
0.2 vCores
A.
0.2 vCores
Answers
B.
0.5 vCores
B.
0.5 vCores
Answers
C.
1.0 vCores
C.
1.0 vCores
Answers
D.
0.1 vCores
D.
0.1 vCores
Answers
Suggested answer: D

Explanation:

Correct answer is 0.1 vCores

MuleSoft Doc Ref : https://docs.mulesoft.com/runtime-manager/cloudhub-architecture#cloudhub-workers

CloudHub Workers

Workers are dedicated instances of Mule runtime engine that run your integration applications on CloudHub. The memory capacity and processing power of a worker depends on how you configure it at the application level.

Worker sizes have different compute, memory, and storage capacities. You can scale workers vertically by selecting one of the available worker sizes:

What asset cannot be created using Design Center?

A.
Mule Applications
A.
Mule Applications
Answers
B.
API fragments
B.
API fragments
Answers
C.
API specifications
C.
API specifications
Answers
D.
API portals
D.
API portals
Answers
Suggested answer: D

Explanation:

API portal are created by API Exchange and cannot be created by Design Center

What MuleSoft product enables publishing, sharing, and searching of APIs?

A.
Runtime Manager
A.
Runtime Manager
Answers
B.
API Notebook
B.
API Notebook
Answers
C.
API Designer
C.
API Designer
Answers
D.
Anypoint Exchange
D.
Anypoint Exchange
Answers
Suggested answer: D

Explanation:

Anypoint Exchange provided a way to publish , share and search API's.

MuleSoft Doc Ref : https://docs.mulesoft.com/exchange/

Which Mule component provides a real-time, graphical representation of the APIs and mule applications that are running and discoverable?

A.
API Notebook
A.
API Notebook
Answers
B.
Runtime Manager
B.
Runtime Manager
Answers
C.
Anypoint Visualizer
C.
Anypoint Visualizer
Answers
D.
API Manager
D.
API Manager
Answers
Suggested answer: C

Explanation:

Correct answer is Anypoint Visualizer

MuleSoft Doc Ref : https://docs.mulesoft.com/visualizer/

Anypoint Visualizer provides a real-time, graphical representation of the APIs, and Mule applications that are running and discoverable. It also displays third-party systems that are invoked by a Mule API, proxy, or application within your application network. The data displayed in the graph is dynamically updated and does not require prior configuration. Additionally, the data displayed is secure, as only users with the proper permissions can view the application network graph.

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?

A.
An Array of the three Mule event Objects
A.
An Array of the three Mule event Objects
Answers
B.
An Object containing all three Mule event Objects
B.
An Object containing all three Mule event Objects
Answers
C.
An Array of the three JSON payload Objects
C.
An Array of the three JSON payload Objects
Answers
D.
An Object containing all three JSON payload Objects
D.
An Object containing all three JSON payload Objects
Answers
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 Documentation reference : https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept

Total 235 questions
Go to page: of 24