ExamGecko
Home Home / MuleSoft / MCD - Level 1

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

Question list
Search
Search

List of questions

Search

Related questions











Refer to the exhibits.

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

A.
[[1,2,3,4], 14]
A.
[[1,2,3,4], 14]
Answers
B.
[[order1, order2, order3, order4], 14]
B.
[[order1, order2, order3, order4], 14]
Answers
C.
[[1,2,3,4], 10]
C.
[[1,2,3,4], 10]
Answers
D.
[orderlorder2order3order4,14]
D.
[orderlorder2order3order4,14]
Answers
Suggested answer: A

A Database On Table Row listener retrieves data from a CUSTOMER table that contains a primary key userjd column and an increasing kxjin_date_time column. Neither column allows duplicate values.

How should the listener be configured so it retrieves each row at most one time?

A.
Set the watermark column to the bgin_date_time column
A.
Set the watermark column to the bgin_date_time column
Answers
B.
Set the target value to the last retrieved login_date_time value
B.
Set the target value to the last retrieved login_date_time value
Answers
C.
Set the target value to the last retrieved user_jd value
C.
Set the target value to the last retrieved user_jd value
Answers
D.
Set the watermark column to the user_Id column
D.
Set the watermark column to the user_Id column
Answers
Suggested answer: A

Explanation:

* Watermark allows the poll scope to poll for new resources instead of getting the same resource over and over again.

* The database table must be ordered so that the ''watermark functionality'' can move effectively in the ordered list. Watermark stores the current/last picked up ''record id.''

* If the Mule application is shut down, it will store the last picked up ''record id'' in the Java Object Store and the data will continue to exist in the file. This watermark functionality is valuable and enables developers to have increased transparency.

* Developers do not need to create code to handle caching; it is all configurable!

* There are two columns and both are unique but user_id can't guaranty sequence whereas date_time will always be in increasing order and table content can easily be ordered on the basis of last processed date_time.

So correct answer is: Set the watermark column to the date_time column

A company has an API to manage purchase orders, with each record identified by a unique purchase order ID. The API was built with RAML according to MuleSoft best practices.

What URI should a web client use to request order P05555?

A.
/orders/{P05555}
A.
/orders/{P05555}
Answers
B.
/orders/order=P05555
B.
/orders/order=P05555
Answers
C.
/orders?order=P05555
C.
/orders?order=P05555
Answers
D.
/orders/P05555
D.
/orders/P05555
Answers
Suggested answer: D

Refer to the exhibit.

In the execution of the Scatter-Gather, the 'steep 1 sec' Flow Reference takes about 1 second to complete, and the 'sleep 5 sees' Row Reference takes about 5 seconds to complete.

About how many seconds does it take from the time the Scatter-Gather is called until the Set Payload transformer is called?

A.
0
A.
0
Answers
B.
1
B.
1
Answers
C.
5
C.
5
Answers
D.
6
D.
6
Answers
Suggested answer: C

Refer to the exhibit.

What data is expected by the POST /accounts endpoint?

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

An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?

A.
Download the API specification and build the interface using APIkit
A.
Download the API specification and build the interface using APIkit
Answers
B.
Publish the API specification to Any point Exchange
B.
Publish the API specification to Any point Exchange
Answers
C.
Implement the API specification using flow designer in Design Center
C.
Implement the API specification using flow designer in Design Center
Answers
D.
Add the specification to a Mule project's src/main/resources/api folder
D.
Add the specification to a Mule project's src/main/resources/api folder
Answers
Suggested answer: B

Explanation:

API Exchange creates REST conenctor automtaically once API is published. Hence correct answer is Publish the API specification to Any point Exchange

Refer to the exhibit.

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)

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:

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'

}

What execution model is used by For Each and Batch Job scopes?

A.
For Each is single-threaded and Batch Job is multi-threaded
A.
For Each is single-threaded and Batch Job is multi-threaded
Answers
B.
Both are single-threaded
B.
Both are single-threaded
Answers
C.
Both are multi-threaded
C.
Both are multi-threaded
Answers
D.
Batch Job is single-threaded and For Each Is multi-threaded
D.
Batch Job is single-threaded and For Each Is multi-threaded
Answers
Suggested answer: A

Refer to the exhibit.

The main flow contains a Flow Reference for the child flow.

What values are accessible in the child flow after a web client submits a request to http://localhost:8Q81/order? color=red?

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: D

Explanation:

Flow Reference Component

Flow Reference routes the Mule event to another flow or subflow, executes all processors in the referenced flow, and then routes the event back within the same Mule application. The following diagram shows the order of processing when one flow references another:

When the main flow is triggered, the Mule event travels through and executes the flow until the event reaches the Flow Reference. The event then travels through and executes the referenced flow from beginning to end, and then returns to the main flow.

This process enables you to treat the entire referenced flow like a single component in your current flow.

Mule Ref Doc :https://docs.mulesoft.com/mule-runtime/4.3/flowref-about

Correct answer is

payload

quantity var

color query param

Refer to the exhibit.

What is the correct way to create a user?

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: B
Total 235 questions
Go to page: of 24