Exam 9A0-384 All QuestionsBrowse all questions from this exam
Question 20

You add "sling.run.modes=publish/f in sling.properties and start the instance using the command "java -jar aem-6-p4502.jar -r author". In which mode will the instance start?

    Correct Answer: C

    AEM instance will start in publish mode because the 'sling.run.modes' property specified in the sling.properties file takes precedence over the -r flag provided in the command line. Hence, 'sling.run.modes=publish' from the sling.properties file will be used to determine the run mode.

Discussion
starcitynews0023Option: D

when "sling.run.modes" is present in the sling.properties file, -r is always ignored from the command line.