A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service for other bundles.
Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two.)
AThe bundles consuming the service need to import the fully qualified name of the service interface.
BThe service needs to correctly declare metatype information.
CThe bundle providing the service needs to contain a whitelist of allowed consumer bundles.
DThe bundle providing the service needs to contain an adequate SCR descriptor file.
EThe bundle providing the service needs to export the java package of the service interface.
A developer wants to extend AEM Core Components to create a custom Carousel Component.
How should the developer extend the Core Components?
AMake changes to the original component and assign a component group.
BUse the sling:resourceSuperType property to point to the core component.
CUse the sling:resourceType property to point to the core component.
DCopy the Core Carousel component to /apps/<project> folder.
A developer is installing a content package with the package manager. The developer needs to restrict the approximate number of nodes in a batch that is saved to persistent storage in one transaction.
How should the developer modify the number of transient nodes to be triggered until automatic saving?
AAEM instances automatically modify the number of transient nodes based on the load balancing.
BModify the export package manifest header and copy the content package to AEM installation folder.
CSelect the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box.
DChange the value of Save Threshold in the Install Package dialog-box.
An online insurance company website has user-generated content that must be replicated in all publish instances.
What action should the developer take to achieve this?
AConfigure the dispatcher flush agent in publish instance.
BConfigure reverse replication agents for the author.
CConfigure the replication agent in the publish instances.
DDisable static agent in the author instance.
A developer must create a workflow step that assigns a "˜WorkItem' to the appropriate person based on who has the least amount work to do.
The group that must perform the action is configured into the workflow.
Which non-deprecated interface should the Java implementation class use to perform the assignment?
From which AEM Web Console should a developer access and download full AEM Log Files?
AWeb Console -> System Information
BStatus -> Log files
COSGI -> Sing Log Service
DAEM -> Log files
A developer identifies that some requests for the page /content/sampleproject/page.html take longer that other requests for the same page. Refer to the
$DOCROOT/content/sampleproject directory below.
The dispatcher.log file contains the following lines:
How should the developer make sure that the page is always cached?
A
B
C
D
The structure section of an editable template has a locked component.
What happens to the content of that component when a developer unlocks it?
AThe content stays in the same place but it ignored on pages using the template.
BThe content is moved to the initial section of the editable template.
CThe content is deleted after confirmation from the template author.
DThe content is copied to the initial section of the editable template.
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 <div> tag.
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.
B.
C.
D.
In which two ways can a developer keep simple and maintainable CRX Access Control Lists? (Choose two.)
ADelete the "˜everyone' group.
BUse Deny statements sparingly.
CAssign access rights to user groups rather than users.
DAssign access rights user by user.
EUse Deny statements extensively.
A developer needs to install a content package on AEM environment. However, a content package with the same name is already installed.
What would you be the safest way for the developer to install the content package to make sure only the changes of the new content package get applied?
AUse the "Force Upload option when uploading the new content package.
BUninstall the existing content package before installing the new content package.
CUpload the content package to the CRX Package Share before installing it.
DInstall the content package using the OSGi web console.
A developer running a local AEM instance and working on an AEM project needs to change a large number of files locally in the filesystem. The developer needs to get the changes uploaded to the local AEM instance to verify changes almost immediately in the browser?
What action should the developer take to most efficiency meet these requirements?
AAccess CRXDE and upload the files through the interface.
BMake the changes in CRXDE create a content package, download it, and expand it into the working directory after each change.
CInstall FileVault bundle in the AEM instance and register the local working directory for synchronization.
DBuild a Content Package using maven and deploy it after each change.
Refer to the following Client Library node structure.
The js.txt looks like -
The JavaScript is NOT present in the Client Library when it is loaded.
What should a developer do to resolve this issue?
AAdd #base=js as the first line in the js.txt file.
BChange the js folder to a Client Library node and add the property categories="[clientlibs.example]".
CSplit the js and css into 2 Client Libraries since they can't be in the same Client Library.
DChange the js folder to a Client Library node and embed it on the clientlibs node.
A customer bundle of an application is in state "Installed" after deploying it with Maven.
What should a developer do to change it to state "Active"?
AUse the "Update" action for the bundle in the Apache Felix Web Console.
BUse the "Start" action for the bundle in the Apache Felix Web Console.
CReinstall the content package using the package manager.
DEnsure all OSGi requirements are met and re-deploy using Maven.
A developer creates two custom classes. ClassA has the following code:
The developer creates a custom log custom.log with debug level in OSGi sling log support for the Java package com.aem.abc. The developer adds another class
ClassB with the following code:
Which action must the developer take to see the log message in the same file from both classes?
ACreate separate a log file in the OSGi web console -->Sling --> Log Support for logger com.aem.xyz.
BConfigure custom.log in the OSGi web console --> Sling --> Log Support and replace com.aem.xyz with com.aem.abc.
CConfigure custom.log in the OSGi web console --> Sling --> Log Support and replace logger com.aem.abc with com.aem.
DConfigure custom.log in the OSGi web console --> Sling --> Log Support and replace the package com.aem.abc with com.aem.xyz.
Refer to the following four Client Library Folders.
A developer uses the following:
What is the resulting HTML?
A.
B.
C.
D.
A developer wants to create a Client Library that will only be included on touch enabled devices.
What action should the developer take to achieve this?
AAdd the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder.
BCreate a resource folder called "touch" under the Client Library Folder.
CSet the channels property on the Client Library Folder to "touch".
DPass the parameter user-agent='touch' when referencing the Client Library.
A developer is working on a project locally and needs to install packages manually. The deployments to the localhost must be automated to speed up development. This functionality must be toggled on and off, depending on the needs of the developer.
Which step should the developer take to achieve this?
AConfigure the maven install plugin by defining the target URL, username, and password as maven properties.
BRun maven with the deploy phase. Maven will install the package on all local AEM instances running without further configuration.
CAdd a maven profile and configure the content package maven plugin within this profile.
DWrite a script that does a PUT call to AEM each time maven builds a new package.
A Client-Side Library has the category "library.example".
Which HTL statement should a developer use to reference only the CSS files of this Client-Side Library?
A <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ categories='library.example'}"/>
B <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ category='library.example'}"/>
C <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.all @ categories='library.example.css'}"/>
D <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.all @ type='css', categories='library.example'}"/>