If multiple configurations for the same PID are applicable, which configuration is applied?

If multiple configurations for the same PID are applicable, which configuration is applied?
A . The last modified configuration is applied.
B. The configuration with the highest number of matching run modes is applied.
C. The one that occurs first in the repository is applied.
D. A configuration factory is created and all configurations are applied.

Answer: B

Explanation:

When multiple configurations for the same PID are applicable, the configuration with the highest number of matching runmodes is applied. This is because the runmodes act as a filter to select the most specific configuration for a given environment. If there is a tie between two or more configurations with the same number of matching runmodes, the one that occurs first in the repository is applied.

Reference: https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/configure-runmodes.html?lang=en#configuring-osgi-settings-per-runmode

Latest AD0-E134 Practice Questions with 50 Q&As

Updated Study Material | Instant Download | Detailed Answers and Explanations

Subscribe
Notify of
guest
0 Comments