Mulesoft MCD-Level 1 MuleSoft Certified Developer – Level 1 (Mule 4) Online Training
Mulesoft MCD-Level 1 Online Training
The questions for MCD-Level 1 were last updated at Dec 24,2024.
- Exam Code: MCD-Level 1
- Exam Name: MuleSoft Certified Developer - Level 1 (Mule 4)
- Certification Provider: Mulesoft
- Latest update: Dec 24,2024
Refer to the exhibit.
What is the correct way to create a user?
A)
B)
C)
D)
- A . Option A
- B . Option B
- C . Option C
- D . Option D
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
- A . Option A
- B . Option B
- C . Option C
- D . Option D
D
Explanation:
This kind of questions are best solved with filtering technique. Key thing to note here is XML attributes are always access by @ notation. So in this example orderId can be accessed as @OrderId which makes option 3 and option 4 false. Now difference in optin and option 2 is in mapping of lineItemPrice. Correct syntax to format a String in Numbse is value.price as Number. Hence option 2 is correct
An On Table Row Database listener retrieves data from a table that contains record_id, an increasing numerical column.
How should the listener be configured so it retrieves new rows at most one time?
- A . Set the target to store the last retrieved record_id value
- B . Set the ObjectStore to store the last retrieved record_id value
- C . Set the target to the record_id column
- D . Set the watermark column to the record id column
Refer to the exhibits.
The main flow contains an HTTP Request. The HTTP Listeners and HTTP Request use default configurations.
What values are accessible in the child flow after a web client submits a request to http://localhost:8081/order? col or = red?
- A . payload
- B . payload quantity var
- C . payload
color query param - D . payload
quantity var color query param
Refer to the exhibit.
What Database expression transforms the input to the output?
A)
B)
C)
D)
- A . Option A
- B . Option B
- C . Option C
- D . Option D
Refer to the exhibits.
A web client submits a request to http://localhQst:8081 /flights.
What is the result at the end of the flow?
- A . "string"
- B . "Java"
- C . "object"
- D . "XML"
What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?
- A . /(*)
- B . /
- C . /()
- D . “/*”
D
Explanation:
Option1 is correct syntax to configure HTTP Listener endpoint
Refer to the exhibits.
A web client submits a request to the HTTP Listener and the HTTP Request throws an error.
What payload and status code are returned to the web client?
- A . Response body: "Error" Default response status code: 200
- B . Response body: "Success – Begin* Default response status code: 200
- C . Error response body: error, description Default error response status code: 500
- D . Response body: "Success – End" Default response status code: 200
A
Explanation:
Correct Answer. Response body: "Error" Default response status code: 200.
——————————————————————————————————————————————-
1) Payload is successfully set to “Success C Started Flow”
2) When HTTP Request throws an error, execution halts
#[error.description] = “ABC"
#[error.errorType] = "XYZ"
3) The On Error Continue scope handles the error. When On Error Continue scope is invoked, all the processors in error block are executed and success response is sent back to the client with payload which is set in error flow. In this case payload is set to "Error" value in error block.
4) “Error” is returned to the requestor in the body of the HTTP request with HTTP Status Code: 200 as On error continue always sends success error code.
Reference Diagram:
An app team is developing a mobile banking app. It took them two months to create their own APIs to access transaction information from a central database. The app team later found out that another team had already built an API that accesses the transaction information they need.
According to MuleSoft, what organization structure could have saved the app team two months of development time?
- A . Center of Excellence
- B . Center for Enablement
- C . MuleSoft Support Center
- D . Central API Review Board
B
Explanation:
Reference: https://blogs.mulesoft.com/biz/connectivity/what-is-a-center-for-enablement-c4e/
Center for Enablement is correct answer. It is a cross-functional team typically staffed with members from central IT, line-of-business departments, and digital innovation teams charged with productizing, publishing, and harvesting reusable assets and best practices. In this case, app team would have checked first with Center for Enablement before developing their own API’s. Hence could have avoided re-work
Refer to the exhibit.
What payload is returned from a request to http//localhost.8081/?
- A . 1
- B . 2
- C . 3
- D . 4
C
Explanation:
The flow can be described as below.
1) First HTTP POST requets is made in which paylaod is set to 1 and it gets returned to our mail flow.
2) Second call is initiated for JMS Publish Consume JMS: num1 which add 1 to the payload which makes it as 2. Note that pubih consume is a synchronous operation. Hence paylaod is returned to main flow.
3) Third call is initiated for JMS Publish JMS: num2 which add 1 to the payload. Note that pubih is asynchronous operation. Hence paylaod is never returned to main flow. So payload in main flow is still 2. 4) Finally Set Payload increments payload by 1 making payload as 3 which is returned by the flow. Hence option 3 is the correct answer.