AD0-E123 practice question 8 of 10
A developer is checking an AEM start script on the server and notices the CQ_JVM_OPTS parameter is set to the following: '-agentlib:jdwp=transport=dt_socketladdress=8000,server=y,suspend=n" How will this value affect the start of the AEM instance?
Full set: 50 questionsThe CQ_JVM_OPTS parameter in an AEM start script is used to set options for the Java Virtual Machine (JVM). The setting '-agentlib:jdwp=transport=dt_socket,address=8000,server=y,suspend=n' enables the Java Debug Wire Protocol (JDWP) agent for the JVM, allowing a debugger to attach to it. The suspend=n flag means the JVM will not suspend at the start but will wait for a debugger to connect on port 8000. This effectively runs the AEM instance in debug mode, which is useful for development and troubleshooting.
Option B is incorrect because the suspend=n setting means the JVM does not suspend on start-up.
Option C is incorrect because this parameter is for debug mode, not for specifying the run mode of the AEM instance.
Keep practicing
Take the free AD0-E123 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other AD0-E123 practice questions
- Question 1A developer wants to be able to execute the following query: SELECT * FROM [ntbase] AS s …
- Question 2In an AEM as a Cloud Service environment, a client needs a feature to be able to explicit…
- Question 3A developer needs to extend a complete dialog from the core component, except for one tab…
- Question 4A content author will be using live copies on AEM. Which two factors must the content aut…
- Question 5A developer wants to customize a core component. Which property needs to be set in the ne…
- Question 6A developer is using a Sling Model to apply some business logic to the values stored in t…
