MuleSoft MCD - Level 1 Practice Test - Questions Answers, Page 2
List of questions
Question 11

Refer to the exhibits.
What payload and quantity are logged at the end of the main flow?
Question 12

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?
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
Question 13

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?
Question 14

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?
Question 15

Refer to the exhibit.
What data is expected by the POST /accounts endpoint?
A)
B)
C)
D)
Question 16

An API specification is designed using RAML. What is the next step to create a REST Connector from this API specification?
Explanation:
API Exchange creates REST conenctor automtaically once API is published. Hence correct answer is Publish the API specification to Any point Exchange
Question 17

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)
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'
}
Question 18

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

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?
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
Question 20

Refer to the exhibit.
What is the correct way to create a user?
A)
B)
C)
D)
Question