MuleSoft Certified Integration Architect – Level 1 — Question 89
An organization is creating a Mule application that will be deployed to CloudHub. The Mule application has a property named dbPassword that stores a database user’s password.
The organization's security standards indicate that the dbPassword property must be hidden from every Anypoint Platform user after the value is set in the Runtime Manager Properties tab.
What configuration in the Mule application helps hide the dbPassword property value in Runtime Manager?
Answer options
- A. Use secure::dbPassword as the property placeholder name and store the cleartext (unencrypted) value in a secure properties placeholder file
- B. Use secure::dbPassword as the property placeholder name and store the property encrypted value in a secure properties placeholder file
- C. Add the dbPassword property to the secureProperties section of the pom.xml file
- D. Add the dbPassword property to the secureProperties section of the mule-artifact.json file
Correct answer: D
Explanation
The correct answer is D because adding the dbPassword property to the secureProperties section of the mule-artifact.json file ensures that its value is encrypted and not visible to users in Runtime Manager. Option A is incorrect because storing the cleartext value does not meet security standards. Option B might seem valid, but it does not address the specific requirement for the mule-artifact.json configuration. Option C is also incorrect since the pom.xml file is not the right place for this setting to ensure visibility restrictions.