Free Salesforce-MuleSoft-Developer-I Exam Braindumps
Salesforce Certified MuleSoft Developer I Questions 51–55 (page: 12)

Updated On: 10-Feb-2026

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?

  1. The pom.xml file
  2. A global element
  3. The mule-art if act .json file
  4. a flow attribute

Answer(s): B

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



Refer to the exhibit.



What is the correct syntax to add an employee ID as a URI parameter in an HTTP Listener path?

  1. (employeelD)
  2. ${emp!oyeelD}
  3. {employeelD}
  4. # [employeelD]

Answer(s): C

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.


Reference:

https://docs.mulesoft.com/http-connector/1.6/http-listener-ref#paths



An SLA based policy has been enabled in API Manager.
What is the next step to configure the API proxy to enforce the new SLA policy?

  1. Add new property placeholders and redeploy the API proxy
  2. Add new environment variables and restart the API proxy
  3. Restart the API proxy to clear the API policy cache
  4. Add required headers to the RAML specification and redeploy the new API proxy

Answer(s): D

Explanation:

Correct answer is Add required headers to RAML specification and redeploy new API proxy Reference:
https://docs.mulesoft.com/api-manager/2.x/tutorial-manage-an-api Steps are as below :
Add the Required RAML Snippet

SLA-based rate limiting requires adding a RAML or OAS snippet to your API. This procedure demonstrates adding a RAML snippet.
Specify the client ID and secret as query parameters.
Add a section called traits: at the RAML root level to define query parameters:
traits:
- client-id-required:
queryParameters:
client_id:
type: string client_secret:
type: string
Add the client-id-required trait to every method that requires these query parameters:

/users:
get:
is: [client-id-required]
description: Gets a list of JSONPlaceholder users.

Step 2 : Add the SLA Tier in API Manager
Step 3 : Apply the policy and redeploy


Reference:

https://docs.mulesoft.com/api-manager/2.x/tutorial-manage-an-api



What payload is returned by a Database SELECT operation that does not match any rows in the database?

  1. false
  2. null
  3. Exception
  4. Empty Array

Answer(s): D

Explanation:

Empty array is returned when no rows are matched.


Reference:

https://docs.mulesoft.com/db-connector/1.9/database-connector-select



What is the correct syntax to define and call a function in Database? A)



B)



C)



D)

  1. Option A
  2. Option B
  3. Option C
  4. Option D

Answer(s): A

Explanation:

Keyword to ad function in Dataweave transformation is fun. Hence option 2 and 4 are invalid. Also parameters needs to be passed exactly in same order as defined in function definition. Hence correct answer is'
fun addKV( object: Object, key: String, value: Any) =
object ++ {(key):(value)}
---
addKV ( {"hello': "world"}, "hola", "mundo" )
MuleSoft Documentation Reference : https://docs.mulesoft.com/mule-runtime/4.3/dataweave- functions

DataWeave Function Definition Syntax
To define a function in DataWeave use the following syntax:
fun myFunction(param1, param2, ...) = <code to execute> The fun keyword starts the definition of a function.
myFunction is the name you define for the function.
Function names must be valid identifiers.
(param1, param2, ... , paramn) represents the parameters that your function accepts. You can specify from zero to any number of parameters, separated by commas (,) and enclosed in parentheses.
The = sign marks the beginning of the code block to execute when the function is called. <code to execute> represents the actual code that you define for your function.



Viewing page 12 of 48
Viewing questions 56 - 60 out of 235 questions


Post your Comments and Discuss Salesforce Salesforce-MuleSoft-Developer-I exam prep with other Community members:

AI Tutor AI Tutor 👋 I’m here to help!