Exam AD0-E103 All QuestionsBrowse all questions from this exam
Question 39

A service component periodically retrieves content from an external REST interface and saves the information in JCR. The REST endpoint is configured via an

OSGi service property. There is one URL for production (runmode prod) and another URL for all other environments.

How should a developer configure the OSGi service?

    Correct Answer: D

    The correct practice for configuring OSGi services is to use the /config directory, as it is intended for configuration purposes in AEM. Within /config, configurations specific to run modes can be defined using config and config.prod folders for default and production run modes, respectively. This ensures that the correct configurations are applied based on the environment.

Discussion
pkg82Option: C

C is the correct one

VishalCOption: C

C seems correct to me.

AkashDOption: C

C is correct

heenamadanOption: C

Answer should be C