A developer is creating a custom component that shows a list of pages. For each page, the following items
must be shown:
Title of the page
Description of the page
A button with fixed text “Read more” that must be translatable
All of the above fields must be wrapped in a
The logic for obtaining the list of pages must be reusable for future components.
Which snippet should the developer use to meet these requirements?
A. Option A
B. Option B
C. Option C
D. Option D
Which log file contains AEM application request and response entries?
A. response.log
B. request.log
C. history.log
D. audit.log
After adding new features, a developer's environment is experiencing slowness before ultimately running out of memory. The initial log analysis points towards a large number of open sessions.
Which action should the developer take to further monitor the overall session count on this AEM instance?
A. Run the following command to generate thread dumps jstack -l
B. Go to Web Console > Status > Threads, verify the overall thread count.
C. Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric.
D. Go to
How should a developer enable remote debugging of an AEM server without modifying the AEM start script?
A. Enable the remote debugging service through the AEM Cloud Services menu.
B. Rename the quickstart jar file to include the additional debug settings.
C. Enable the remote debugging service through the AEM Web Console.
D. Include an additional JVM parameter when starting AEM with java -jar.
After a recent code deployment, an AEM site is experiencing longer than usual query execution time. The deployment package contained some new Lucene index definitions. A developer needs to identify the long running queries and confirm that the new index definitions are getting applied correctly.
Which action should the developer take to investigate this problem?
A. Go to Tools > Operations >Diagnosis > Download Thread Dumps. Analyze the Thread Dumps to identify long running requests.
B. Go to Tools > Operations >Diagnosis > Log Message. Configure DEBUG log level on com.day.cq.search to monitor search queries.
C. Go to Tools > Operations > Diagnosis > Index Manager. Select the new Indexes and run a consistency check.
D. Go to Tools > Operations >Diagnosis > Query Performance > Slow Queries. Select a Query and Click on Explain.
A developer has a component named foobar with the following file:
foobar.html
What is the output when the component is rendered?
A. Option A
B. Option B
C. Option C
D. Option D
The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.
What should a developer add to the pom.xml to fix the Maven build?
A. Option A
B. Option B
C. Option C
D. Option D
A developer needs to upgrade existing components (Proxy Components) based on Core Components Version 1(v1) to Core Components Version 2(v2).
How should the developer upgrade to V2 Core Components?
A. Modify the sling:resourceSuperType property on the proxy component to point to V2 Component.
B. Modify the sling:resourceSuperType property on the proxy component to point to V2 Component.
C. Create a new Proxy Component and set sling:resourceType property to V2 Core Component.
D. Proxy Components will be automatically upgraded to the V2 Core Component on AEM Restart.
The following stack trace is written in the error.log file after installing a custom application package.
What are two different ways that the developer could resolve the OSGi bundle dependency error? (Choose two.)
A. Install the jar in AEM via the curl command `curl -u username:password -F file=@"./ com.example.customlib-3.8.jar" -F name="Dependency" -F force=true -F install=true http:// localhost:4502/crx/packmgr/service.jsp --progress-bar -o upload.txt'.
B. Go to the Dependency Finder in the System Console to find if another bundle is exporting a similar version of the classes and change the project pom.xml to match the same version.
C. Create a folder named "deploy" under @AEM_HOME/crx-quickstart/ and copy com.example.customlib3.8.jar in there so AEM uploads it automatically.
D. Go to the project parent pom.xml file and add the dependency with scope "compile" and instruct the bundle plugin to include the dependency in runtime.
E. Upload the file com.example.customlib-3.8.jar into /apps/
A developer has a component named foobar with the following file: FooBar.java
foobar.html
What is the output when this component is rendered?
A. Option A
B. Option B
C. Option C
D. Option D