Salesforce-MuleSoft-Developer-I PDF Pass Leader, Salesforce-MuleSoft-Developer-I Latest Real Test
Valid Salesforce-MuleSoft-Developer-I Test Answers & Salesforce-MuleSoft-Developer-I Exam PDF
NEW QUESTION # 35
A REST connect module is generated for a RAML specification. and then the rest connect module is imported in mule application in Anypoint Studio. For each method of the RAML specification , what does the REST connect module provide?
- A. A scope
- B. An operation
- C. An event source
- D. A flow
Answer: D
Explanation:
Correct answer is an operation. For each method of the RAML specification , REST connect module provide an operation.
Please refer to the below screenshot.
NEW QUESTION # 36
An API implementation has been deployed to CloudHub and now needs to be governed. IT will not allocate additional vCore for a new Mule application to act as an API proxy.
What is the next step to preseive the current vCore usage, but still allow the Mule application to be managed by API Manager?
- A. Register the same API implementation in Runtime Manager to connect to API Manager
- B. Upload the Mule application's JAR file to the API instance in API Manager
- C. Modify the API implementation to use auto-discovery to register with API Manager
- D. Deploy the same API implementation behind a VPC and configure the VPC to connect to API Manager
Answer: C
Explanation:
Correct answer is Modify the API implementation to use auto-discovery to register with API Manager API Autodiscovery Configuring autodiscovery allows a deployed Mule runtime engine (Mule) application to connect with API Manager to download and manage policies and to generate analytics data. Additionally, with autodiscovery, you can configure your Mule applications to act as their own API proxy.
When autodiscovery is correctly configured in your Mule application, you can say that your application's API is tracked by (green dot) or paired to API Manager. You can associate an API in a Mule setup with only one autodiscovery instance at a given time.
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/2.x/api-auto-discovery-new-concept
NEW QUESTION # 37
Refer to the exhibit.
What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?
- A. {employeelD}
- B. # [employeelD]
- C. ${emp!oyeelD}
- D. (employeelD)
Answer: A
Explanation:
Paths
The path of an HTTP listener can be static, which requires exact matches, or feature placeholders. Placeholders can be wildcards (*), which match against anything they are compared to, or parameters ({param}), which not only match against anything but also capture those values on a URI parameters map.
Take the following example paths for three listeners using a configuration that establishes api/v1 as the base path:
account/mulesoft/main-contact: only match the exact path request http://awesome-company.com/api/v1/account/mulesoft/main-contact account/{accountId}/main-contact: matches all path requests structured similarly, such as http://awesome-company.com/api/v1/account/salesforce/main-contact, and save salesforce as the value of accountId.
account/{accountId}/*: matches all path requests different from main-contact, such as http://awesome-company.com/api/v1/account/mulesoft/users, and save mulesoft as the value of accountId.
Mule Ref Doc : https://docs.mulesoft.com/http-connector/1.6/http-listener-ref#paths
NEW QUESTION # 38
What valid RAML retrieves details on a specific customer by its customerId as a URI parameter?
- A. 1. /customers:
2. /get:
3. /customerId: - B. 1. /customers:
2. /customerId:
3. get: - C. 1. /customers:
2. /{customerId}:
3. get: - D. 1. /customers:
2. get:
3. /{customerId}:
Answer: C
Explanation:
Correct answer is below as it follows the correct syntax.
/customers:
/{customerId}:
get:
NEW QUESTION # 39
According to Mulesoft, how are Modern APIs treated as?
- A. SOAP API's
- B. Products
- C. Rest API's
- D. Code
Answer: B
Explanation:
Correct answer is Products
Modern API has three features 1) Treated as products for easy consumption 2) Discoverable and accessible through self-service 3) Easily managed for security , scalability and performance
NEW QUESTION # 40
A Batch Job scope has five batch steps. An event processor throws an error in the second batch step because the input data is incomplete. What is the default behavior of the batch job after the error is thrown?
- A. Batch is retried
- B. All processing of the batch job stops.
- C. Event processing continues to the next batch step.
- D. Error is ignored
Answer: B
Explanation:
In case of an error , batch job completes in flight steps and stops further processing.
MuleSoft Doc Ref : Handling Errors During Batch Job | MuleSoft Documentation The default is all processing will stop but we can change it by Max Failed Record field.
General -> Max Failed Records: Mule has three options for handling a record-level error: Finish processing, Continue processing and Continue processing until the batch job accumulates a maximum number of failed records. This behavior can be controlled by Max Failed Records.
The default value is Zero which corresponds to Finish processing.
The value -1, corresponds to Continue processing.
The value +ve integer, corresponds to Continue processing until the batch job accumulates a maximum number of failed records
NEW QUESTION # 41
Refer to the exhibit.
How many private flows does APIKIT generate from the RAML specification?
- A. 0
- B. 1
- C. 2
- D. 3
Answer: A
NEW QUESTION # 42
What is the correct way to format the decimal 200.1234 as a string to two decimal places?
- A. 200.1234 as string {format: ".0#"}
- B. 200.1234 as String {format: ".0#"}
- C. 200.1234 as String as format: ".0#"
- D. 200.1234 as string as format: ".0#"
Answer: B
Explanation:
Correct answer is 200.1234 as String {format: ".0#"} . Rest all options are not syntactically correct.
NEW QUESTION # 43
Refer to the exhibits.
What is written to the records.csv file when the flow executes?
- A. The JSON payload
- B. An error message
- C. Nothing
- D. The payload convert to CVS
Answer: A
Explanation:
Transform Message Add write_date is coverting payload in JSON format and same JSON payload is avaialble to file write processor. However, if the payload is a different format (for example, not CSV) , you can place the transformation inside the Write operation to generate content that will be written without producing a side effect on the message in transit. This is not done in this case. By default, the connector writes whatever is in the message payload. Hence JSON payload will be written to file.
NEW QUESTION # 44
What should this endpoint return considering the API is build using standard practices?
http://dev.acme.com/api/patients?year=2021
- A. Patient with id 2021
- B. All patients
- C. No patients
- D. Patients from year 2021
Answer: D
Explanation:
Correct answer is Patients from year 2021.
The thing to note here is that year is not a query parameter and not the uri parameter. Hence it will filter all the patients and return the ones for whom year is 2021
NEW QUESTION # 45
What module and operation will throw an error if a Mule events payload is not number ?
- A. Validation modules Is not Number operation
- B. Validation modules Is Number operation
- C. Filter modules Is Number operation
- D. None of these
Answer: B
Explanation:
Correct answer is Validation modules Is Number operation.
Mule 4 does not use filters anymore. The functionality provided by filters in Mule 3 can be achieved by using the Validation Module.
NEW QUESTION # 46
What execution model is used by For Each and Batch Job scopes?
- A. Both are single-threaded
- B. Both are multi-threaded
- C. Batch Job is single-threaded and For Each Is multi-threaded
- D. For Each is single-threaded and Batch Job is multi-threaded
Answer: D
NEW QUESTION # 47
A RAML example fragment named StudentExample.raml is placed in the examples folder in an API specification project. What is the correct syntax to reference the fragment?
- A. examples: !include examples/StudentExample.raml
- B. examples: #import examples/StudentExample.raml
- C. examples: #import StudentExample.raml
- D. examples: !include StudentExample.raml
Answer: A
Explanation:
To include property. To keep the API definition concise, you can include external content, such as documentation, schemas, and frequently used patterns outside the definition itself. The parser interprets !include as if the content of the externally-hosted file or a URL were declared in-line.
To use the fragments in RAML you have to include the exact path(copy the path) of that fragment you want to use as shown below Option 3 is the correct as correct syntax is examples: !include examples/StudentExample.raml
NEW QUESTION # 48
Refer to the exhibit. The Batch Job processes, filters and aggregates records, What is the expected output from the Logger component?

- A. [20, 40, 60]
- B. [20. 40] [60]
- C. [10. 20] [30, 40] [50, 60]
- D. [10. 20, 30. 40, 50, 60]
Answer: B
Explanation:
* Batch scope has filter criteria which says paylod mod 2 = 0 whch means only 2, 4 and 6 will be in batch scope.
* So payload for each of these will be incremented by 10.
* Aggregator has batch size defined as 2. So it will process in batch of two records.
* Hence option 3 is correct answer.
[20,40]
[60]
Behavior with aggregator configured with fixed size
In this scenario, the batch step sends the processed records to an aggregator, which starts processing the records and buffering them until the configured aggregator's size is reached. After that, the aggregator sends the aggregated records to the stepping queue.
The batch job builds record blocks of the configured block size and sends them to their corresponding batch step for processing. Each batch step receives one or more record blocks and starts processing them in parallel. After the batch step processes a record, the batch step sends the record to the aggregator for further processing. The aggregator continues processing records until the number of aggregated records reaches the configured aggregator's size.
https://docs.mulesoft.com/mule-runtime/4.3/batch-processing-concept
NEW QUESTION # 49
Refer to the exhibits.

Set paylaod transformer is set the firstName and lastName of the customer as shown in below images.
What is the correct Dataweave expression which can be added in message attribute of a Logger activity to access firstName (which in this case is Madhav) from the incoming event?
- A. firstName
- B. customer.firstName
- C. vars."customer"."firstName"
- D. vars."customer.firstName"
Answer: C
Explanation:
Correct answer is vars."customer"."firstName"
Please note that you can also access firstName using this syntax vars.customer.firstName.
Mule Ref Doc : Variables in Mule Apps | MuleSoft Documentation
NEW QUESTION # 50
Refer to the exhibit.
What is the correct syntax to add a customer ID as a URI parameter in an HTTP Listener's path attribute?
- A. #[customerlD]
- B. {customerlD}
- C. (customerlD)
- D. ${ customerID}
Answer: B
NEW QUESTION # 51
To avoid hard-coding values, a flow uses some property placeholders and the corresponding values are stored in a configuration file.
Where does the configuration file's location need to be specified in the Mule application?
- A. The mule-art if act .json file
- B. a flow attribute
- C. A global element
- D. The pom.xml file
Answer: C
Explanation:
Correct answer is A global element
When we create a configuration file , that file needs to added as Global Configuration file in Global element. A global element is a reusable object containing parameters that any number of elements in a flow can share. You reference a global element from Anypoint Connectors or components in your Mule application
NEW QUESTION # 52
What of the below is not a feature of API Notebooks?
- A. Perform authenticated live calls on a real server
- B. Creates a mock service for an API
- C. Creates a client for an API
- D. API documentation
Answer: B
Explanation:
Correct answer is Creates a mock service for an API
API Notebook is an open source, shareable web application for API documentation, interactive API tutorial and example generatation, and a client for your API endpoints. Using API Notebook, you can make requests and quickly transform the responses into readable format. However it cannot be used to mock service for an API.
MuleSoft Doc Ref : https://docs.mulesoft.com/api-manager/1.x/api-notebook-concept
NEW QUESTION # 53
Refer to the exhibits.

A Mule application contains a Choice router. What is logged when the flow completes?
- A. ["US", "EU"]
- B. US
- C. EU
- D. "REGION"
Answer: B
NEW QUESTION # 54
Refer to the exhibits.
In the requestFlow an HTTP Request operation is configured to send an HTTP request with an XML payload. The request is sent to the HTTP Listener in the transform Flow.
That flow transforms the incoming payload into JSON format and returns the response to the HTTP request. The response of the request is stored in a target variable named the Result.
What is the payload at the Logger component after the HTTP Request?
- A. The returned JSON response
- B. A non-empty Java object
- C. The original XML payload
- D. null
Answer: C
NEW QUESTION # 55
......
Salesforce-MuleSoft-Developer-I Dumps Ensure Your Passing: https://www.real4dumps.com/Salesforce-MuleSoft-Developer-I_examcollection.html
Salesforce-MuleSoft-Developer-I exam dumps and online Test Engine: https://drive.google.com/open?id=1n9cgJsZO_vrRZrh8n0cKfILaRjhqfInj

