AD0-E103 Exam QuestionsBrowse all questions from this exam

AD0-E103 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?

Show Answer
Correct Answer: AD

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

4 comments
Sign in to comment
pkg82Option: C
Jun 22, 2020

C is the correct one

heenamadanOption: C
Jun 22, 2020

Answer should be C

AkashDOption: C
Jun 28, 2020

C is correct

VishalCOption: C
Oct 18, 2020

C seems correct to me.