Exam Salesforce-MuleSoft-Developer-I Topic 10 Question 42 Discussion

Actual exam question for Salesforce's Salesforce-MuleSoft-Developer-I exam
Question #: 42
Topic #: 10
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?

Suggested Answer: A Vote an answer

Correct answer is ${training.host}
---------------------------------------------------------------------------------------------------------------------------------------- How to Configure Properties to Mule 4.X Platform?
1) Go to /src/main/resources project directory.
2) Create aconfiguration file with the name configuration.yaml inside the newly created config folder.
Graphical user interface, application, Word Description automatically generated

3) Go To Project > Global Element > Create > General >select the configuration.yaml file create in step- 2) Graphical user interface, application Description automatically generated

4) To verify develop a simple flow with HTTP listener which has above entries. Put the logger that prints the values on console.
Graphical user interface, application Description automatically generated

5) Additional info: Similarly, when you want to access this port in DataWeave you need to use p function Graphical user interface, text, application, email Description automatically

generated

by Vita at Oct 05, 2026, 12:45 PM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

0
0
0
10