Salesforce-MuleSoft-Developer-I Exam Questions

Total 234 Questions

Last Updated Exam : 22-Oct-2024

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


A. For Each is single-threaded and Batch Job is multi-threaded


B. Both are single-threaded


C. Both are multi-threaded


D. Batch Job is single-threaded and For Each Is multi-threaded





A.
  For Each is single-threaded and Batch Job is multi-threaded

What is the default port used by Mule application debugger configuration in Anypoint Studio?


A. 8082


B. 8080


C. 7777


D. 6666





D.
  6666

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


A. String


B. Object


C. Array


D. Map





C.
  Array

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}


B. /orders/order=P05555


C. /orders?order=P05555


D. /orders/P05555





D.
  /orders/P05555

How many Mule applications can run on a CloudHub worker?


A. At most one


B. At least one


C. Depends


D. None of these





A.
  At most one

Refer to the exhibits.



The Set Variable transformer is set with value #[ [ first "Max" last "Mule"} ].
What is a valid DataWeave expression to set as the message attribute of the Logger to access the value "Max" from the Mule event?


A. vars "customer first"


B. "customer first"


C. customer first


D. vars "customer" "first"





D.
  vars "customer" "first"

What MuleSoft product enables publishing, sharing, and searching of APIs?


A. Runtime Manager


B. API Notebook


C. API Designer


D. Anypoint Exchange





D.
  Anypoint Exchange

Refer to the exhibits.



A Mule application has an HTTP Request that is configured with hardcoded values. To change this, the Mule application is configured to use a properties file named config.yaml.
what valid expression can the HTTP Request host value be set to so that it is no longer hardcoded?


A. ${training.host}


B. ${training:host}


C. #[training:host]


D. #[training.host]





A.
  ${training.host}

Explanation:
Correct answer is ${training.host}
How to Configure Properties to Mule 4.X Platform?
1) Go to /src/main/resources project directory.
2) Create a configuration file with the name configuration.yaml inside the newly created config folder.
3) Go To Project > Global Element > Create > General >select the configuration.yaml file create in step- 2)
4) To verify develop a simple flow with HTTP listener which has above entries. Put the logger that prints the values on console.
5) Additional info: Similarly, when you want to access this port in DataWeave you need to use p function

According to Semantic Versioning, which version would you change for incompatible API changes?


A. No change


B. MINOR


C. MAJOR


D. PATCH





C.
  MAJOR

Explanation:
Correct answer is MAJOR
MAJOR version when you make incompatible API changes, MINOR version when you add functionality in a backwards compatible manner, and PATCH version when you make backwards compatible bug fixes.

A RAML specification is defined to manage customers with a unique identifier for each customer record. What URI does MuleSoft recommend to uniquely access the customer identified with the unique ID 1234?


A. /customers?custid=true&custid=1234


B. /customers/1234


C. /customers/custid=1234


D. /customers?operation=get&custid=1234





B.
  /customers/1234

Explanation:
URI parameter (Path Param) is basically used to identify a specific resource or resources . For eg : the URL to get employee details on the basis of employeeID will be GET /employees/{employeeID} where employees is resource and {employeeID} is URI parameter. Hence option 1is the correct answer


Page 3 out of 24 Pages
Previous