ExamGecko
Ask Question

Salesforce Certified MuleSoft Developer II Practice Test 1

Add to Whishlist
00:00:00
Show Answer
Report Issue   Restart test

Question 1 / 40

The Center for Enablement team published a common application as a reusable module to the central Nexus repository.

How can the common application be included in all API implementations?

Download the common application from Naxus and copy it to the src/main/resources folder in the API
Download the common application from Naxus and copy it to the src/main/resources folder in the API
Copy the common application's source XML file and out it in a new flow file in the src/main/mule folder
Copy the common application's source XML file and out it in a new flow file in the src/main/mule folder
Add a Maven dependency in the PCM file with multiple-plugin as <classifier>
Add a Maven dependency in the PCM file with multiple-plugin as <classifier>
Add a Maven dependency in the POM file with jar as <classifier>
Add a Maven dependency in the POM file with jar as <classifier>
Comment (0)
Suggested answer: D
Explanation:

To include a common application as a reusable module in all API implementations, the developer should add a Maven dependency in the POM file with jar as <classifier>. This way, the developer can reuse Mule code from another application by packaging it as a JAR file and adding it as a dependency in the POM file of the API implementation. The classifier element specifies that it is a JAR file.

Reference: https://docs.mulesoft.com/mule-runtime/4.3/mmp-concept#add-a-maven-dependency-to-the-pom-file

asked 23/09/2024
Amar Lojo
41 questions