Free MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) Exam Questions (page: 7)

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?

  1. "string"
  2. "Java"
  3. "object"
  4. "XML"

Answer(s): A



What path setting is required for an HTTP Listener endpoint to route all requests to an APIkit router?

  1. /(*)
  2. /
  3. /()
  4. "/*"

Answer(s): 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? 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?

  1. Response body: "Error" Default response status code: 200
  2. Response body: "Success - Begin* Default response status code: 200
  3. Error response body: error, description Default error response status code: 500
  4. Response body: "Success - End" Default response status code: 200

Answer(s): A

Explanation:

Answer(s): Response body: "Error" Default response status code: 200.

-------------------------------------------------------------------------------------------------------------------------------------- -----------
1) Payload is successfully set to "Success ­ 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?

  1. Center of Excellence
  2. Center for Enablement
  3. MuleSoft Support Center
  4. Central API Review Board

Answer(s): B


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/ Refer to the exhibits, what payload is returned from a request to http://localhost;8081/?

  1. 1
  2. 2
  3. 3
  4. 4

Answer(s): 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.



Viewing page 7 of 48
Viewing questions 31 - 35 out of 235 questions



Post your Comments and Discuss MuleSoft MuleSoft Certified Developer - Level 1 (Mule 4) exam prep with other Community members:

MuleSoft Certified Developer - Level 1 (Mule 4) Exam Discussions & Posts