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

A developer needs to configure sets of values according to the following parameters:

✑ Varies for different staging environments

✑ Varies for different content paths

✑ Differs between author and publish

Which implementation strategy should the developer use to meet these requirements?

    Correct Answer: B

    A context-aware configuration with buckets using an OSGi configuration is the best implementation strategy for handling values that vary according to different staging environments, content paths, and between author and publish instances. Context-aware configurations allow configurations to be related to specific content resources or resource trees, which effectively addresses the variation requirements specified.

Discussion
heenamadanOption: B

Ans is B

chunpinOption: B

Answer is B https://sling.apache.org/documentation/bundles/context-aware-configuration/context-aware-configuration.html Context-aware configurations are configurations that are related to a content resource or a resource tree, e.g. a web site or a tenant site.

chat_cOption: B

Answer seems B. Cannot be C, as OSGI cannot set values based on content paths by itself. Option B say CAC with buckets using OSGI, which is a possibility.

rakayaDOption: C

I think it is C. Context aware is internal to one environment. However, the question is talking about different environments, diff instances etc. I think only runmode is helpful here. (I could be wrong too!)

AkashDOption: B

Ans is B

AkashDOption: B

Answer is B