ExamGecko
Home Home / MuleSoft / MCD - Level 1

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

Question list
Search
Search

List of questions

Search

Related questions











Refer to the exhibits.

A web client submits a request to http://localhQst:8081. What is the structure of the payload at the end of the flow?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: D

Explanation:

Scatter-Gather Router

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.

Mule Ref Doc :https://docs.mulesoft.com/mule-runtime/4.3/scatter-gather-concept

Refer to the exhibits. A web client submits a request to http://localhost:8081/fliqhts?destination=SFO and the Web Service Consumer throws a WSC:BAD_REQUEST error.

What is the next step to fix this error?

A.
Set a header In the Consume operation equal to the destination query parameter
A.
Set a header In the Consume operation equal to the destination query parameter
Answers
B.
set a SOAP payload before the Consume operation that contains the destination query parameter
B.
set a SOAP payload before the Consume operation that contains the destination query parameter
Answers
C.
set a property m the Consume operation equal to the destination query parameter
C.
set a property m the Consume operation equal to the destination query parameter
Answers
D.
set a JSON payload before the Consume operation that contains the destination query parameter
D.
set a JSON payload before the Consume operation that contains the destination query parameter
Answers
Suggested answer: B

Explanation:

As can be seen in error message , SOAP service findFlights expects the SOAP paylaod. This can be set using transform message processor which forms SOAP payload before the Consume operation that contains the destination query parameter

What valid RAML retrieves details on a specific by its orderld as a URL parameter?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: A

An HTTP Request operation sends an HTTP request with a non-empty JSON object payload to an external HTTP endpoint. The response from the external HTTP endpoint returns an XML body. The result is stored in a target named the Result.

What is the payload at the event processor after the HTTP Request?

A.
The XML response body
A.
The XML response body
Answers
B.
null
B.
null
Answers
C.
The original JSON request body
C.
The original JSON request body
Answers
D.
A non-empty Java object
D.
A non-empty Java object
Answers
Suggested answer: C

According to MuleSoft. what is the first step to create a Modern API?

A.
Gather a list of requirements to secure the API
A.
Gather a list of requirements to secure the API
Answers
B.
Create an API specification and get feedback from stakeholders
B.
Create an API specification and get feedback from stakeholders
Answers
C.
Performance tune and optimize the backend systems and network
C.
Performance tune and optimize the backend systems and network
Answers
D.
Create a prototype of the API implementation
D.
Create a prototype of the API implementation
Answers
Suggested answer: B

Explanation:

First step in creating Modern API is to create an API specification and get feedback from stakeholders so that any future issues can be identified at early stage thereby reducing overall delivery time

Refer to the exhibit.

All three of the condition for the Choice router are true. What log messages are written?

A.
Route 1
A.
Route 1
Answers
B.
Route2
B.
Route2
Answers
C.
Route1, Route2
C.
Route1, Route2
Answers
D.
Route1, Route2, Default
D.
Route1, Route2, Default
Answers
Suggested answer: A

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>

A.
payload
A.
payload
Answers
B.
payload quantity var
B.
payload quantity var
Answers
C.
payload color query param
C.
payload color query param
Answers
D.
payload quantity var color query param
D.
payload quantity var color query param
Answers
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.

Refer to the exhibits.

The input array of strings is processed by the batch job that processes, fitters, and aggregates the values.

What is the last message logged by the Logger component after the batch job completes processing?

A)

B)

C)

D)

A.
Option A
A.
Option A
Answers
B.
Option B
B.
Option B
Answers
C.
Option C
C.
Option C
Answers
D.
Option D
D.
Option D
Answers
Suggested answer: D

Which of the below functionality is provided by zip operator in DataWeave?

A.
Merges elements of two lists (arrays) into a single list
A.
Merges elements of two lists (arrays) into a single list
Answers
B.
Used for sending attachments
B.
Used for sending attachments
Answers
C.
Minimize the size of long text using encoding.
C.
Minimize the size of long text using encoding.
Answers
D.
All of the above
D.
All of the above
Answers
Suggested answer: A

Explanation:

Correct answer is Merges elements of two lists (arrays) into a single list

MuleSoft Doc Reference : https://docs.mulesoft.com/mule-runtime/4.3/dw-core-functions-zip

Refer to the exhibit. What is the output of logger component?

A.
String
A.
String
Answers
B.
Object
B.
Object
Answers
C.
Array
C.
Array
Answers
D.
Map
D.
Map
Answers
Suggested answer: C

Explanation:

Database always return rows as an array.

Array is the correct answer

Total 235 questions
Go to page: of 24