FoMS Experts

News / Exam Questions

QUESTION, ANSWER, EXPLANATION

Exam Question MS-21-014 for MuleSoft Certified Developer (MCD) - Level 1

Exam Question MS-21-014 for MuleSoft Certified Developer (MCD) - Level 1
Share
FacebookGoogle plusLinkedInStumbleuponTwitter
FoMS24.2.2021

This question has been asked by one of our members and a similar question could most likely be on the exam. All answers have been verified by MuleSoft certified FoMS experts.

Question

Refer to the exhibit! 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?

Answer

A) ${training.host}
B) ${training:host}
C) #[training:host]
D) #[training.host]

The correct answer to this question is A.

Explanation

According to the Mulesoft syntax, the answer is A. Remember, when using global configuration properties, always use the syntax with a dot, dollar sign and curly braces.

Register now