If multiple configurations for the same PID are applicable, which configuration is applied?
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. References:https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/configure-runmodes.html?lang=en#configuring-osgi-settings-per-runmode
What is Out of Scope for the Pattern Detector tool, while doing an AEM upgrade?
Backward Compatibility with the previous AEM Version is out of scope for the Pattern Detector tool, while doing an AEM upgrade. The Pattern Detector tool is a tool that scans an existing AEM code base and identifies patterns that are incompatible with AEM as a Cloud Service or newer versions of AEM on-premise. The tool does not check for backward compatibility with older versions of AEM, as this is not a requirement for upgrading. References: https://experienceleague.adobe.com/docs/experience-manager-cloud-service/moving/cloud-migration/pattern-detector.html?lang=en https://experienceleague.adobe.com/docs/experience-manager-cloud-service/moving/cloud-migration/pattern-detector/patterns-detected.html?lang=en
An AEM application wants to set up multi-tenancy using Adobe-recommended best practices and bind multiple configurations to it. Which of the following options is recommended?
The @Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactorylmpl.Config.class,factory=true) option is recommended for creating a multi-tenancy configuration and binding multiple configurations to it. This option uses the OSGi R6 annotations to define a component that provides a service of type ConfigurationFactory and designates a class that contains the configuration properties. The factory=true attribute indicates that multiple configurations can be created for this component. References:https://experienceleague.adobe.com/docs/experience-manager-65/deploying/configuring/osgi-configuration-settings.html?lang=en#creating-factory-configurations
Which option should be used to synchronize user data across publish servers in a publish farm?
Sling Content Distribution is a feature that allows synchronizing user data across publish servers in a publish farm. Sling Content Distribution uses agents to distribute content from one instance to another using a publish-publish topology. Sling Content Distribution can be configured to synchronize user data under /home/users and /home/groups paths, as well as their ACLs. References: https://experienceleague.adobe.com/docs/experience-manager-65/administering/security/sync.html?lang=en https://experienceleague.adobe.com/docs/experience-manager-learn/sites/deploying/sling-content-distribution.html?lang=en