9A0-384 Exam QuestionsBrowse all questions from this exam

9A0-384 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?

Show Answer
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

1 comment
Sign in to comment
starcitynews0023Option: D
May 2, 2020

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