Certificación AEM
![]() |
![]() |
![]() |
Título del Test:![]() Certificación AEM Descripción: Certificación AEM |




Comentarios |
---|
NO HAY REGISTROS |
How can a JSP be included in a sightly template?. <cq:include script=" Include.jsp7>. <div data-sly-include="include.jsp"></div>. <div data-sly-use="include.jsp"></div>. <%@ include file="1nclude.jsp" %>. A developer creates two classes. ClassA has the following code: package com.aem.abc; import org.slf4.Logger: import org slf4.LoggerFactory; public class ClassA{ private static final Logger logger = LoggerFactory.getLogger(this.getClass()); public void classAMethod() { logger.debug("Message from Class A method"); } } 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: package com.aem.xyz; import org.slf4.Logger: import org slf4.LoggerFactory; public class ClassB{ private static final Logger logger = LoggerFactory.getLogger(this.getClass()); public void classBMethod() { logger.debug("Message from Class B method"); } } Which action must the developer take to see the log messages in the same file from both classes?. Configure custom.log in the OSGI web console --> Sling --> Log Support and replace logger com.aem.abc with com.aem. Configure custom.log in OSGI web console --> Sling --> Log Support and replace logger com.aem.xyz with com.aem.abc. Configure custom.log in the OSGI web console --> Sling --> Log Support and replace the package com.aem.abc with com.aem.xyz. Create separate a log file in the OSGI web console --> Sling --> Log Support for logger com.aem.xyz. A developer is installing a content package with the package manager. The developer needs to restrict theapproximate 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?. AEM instances automatically modify the number of transient nodes based on the load balancing. Modify the export package manifest header and copy the content package to AEM installation folder. Select the option MergePreserve for the Access Control Handling drop-down in the Install Package dialog-box. Change the value of Save Threshold in the Install Package dialog-box. A developer needs to change the label "Sites" in the navigation of AEM author to "Websites". Which action should the developer take to achieve this?. Modify the node /libs/cq/core/content/nav/sites by updating the icr:title property value. Change the code of /libs/granite/ui/components/shell/clientlibs/shell/js/globalnav.js to display the new value. Create a new node /apps/cq/core/content/nav/sites and update the property icr:title. Modify the code of /libs/granite/ui/components/shell/globalnav/overlay/overlay.jsp to display the new value. Too many pages are invalidated in the dispatcher cache when a page is published. What is most likely causing this issue in the dispatcher configuration?. Sticky session are NOT configured properly, resulting in requests being delivered to the wrong server. The level of cache invalidation is NOT appropriate for the published content model. File globbing in the dispatcher configuration is NOT correct. The OS file system permissions are NOT properly configured. A company wants to reuse content with several multi-nacional same-language sites and decides to use MSM in AEM. This allows the core content to be re-used, while allowing for nacional variations. What is the recommended MSM design for the wesite?. /content l– we.retail l- live-copy l- en l– we.retail l- us l- en l– we.retail l- gb l- en l– we.retail l- ca l- en. /content l– we.retail l- language-masters l- en l– we.retail l- us l- en l– we.retail l- gb l- en l– we.retail l- ca l- en l– we.retail l- au l- en. /content l– we.retail l- en l- us l- gb l- fr l- fr l- ca. /content l– we.retail1 l- en l– we.retail2 l- en l– we.retail3 l- en l– we.retail4 l- en. An AEM application must be highly available and scalable in distributed geographical scenario. Which approach should be used to meet the requirements?. TarMK Cold Standby. TarMK Farm. Oak Cluster with MongoMK Failover Across Multiple Datacenters. Oak Cluster with MongoMK Failover in a Single Datacenter. A developer wants to change the log level for a custom API. Which OSGi configuration should the developer modify?. Apache Sling Logging Configuration. Apache Sling Log Tracker Service. Apache Sling Logging Writer Configuration. Adobe Granite Log Analysis Service. A client has asked to share an HTML version of test coverage report for the AEM project. What plugin should the AEM developer use to generate test coverage report using latest archetype?. <plugin><groupId>org.codehaus.mojo</groupId><artifactId>selenium-maven-plugin</artifactId>....</plugin>. <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-surefire-plugin</artifactId>....</plugin>. <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-checkstyle-plugin</artifactId>....</plugin>. <plugin><groupId>org.apache.maven.plugins</groupId><artifactId>maven-pmd-plugin</artifactId>....</plugin>. What is the difference between extending a component and component overlay?. There is NO difference. Overlay is to override default component functionality. Extending is to extend the component functionality through the use of Resource Hierarchy and super types. Overlay is to extend the component functionality through the use of Resource Hierarchy and super types. Extending is to override default component functionality. Extending component means extending the behavior of foundation component, Overlay component is overriding the behavior of custom component. An AEM developer is assigned a task to design a workflow. The workflow is supposed to collect data from the participant and then determine the reviwer/approver branch to proceed further Wich workflow step should be used by the developer?. Workflow Initiator Participant Chooser. Form Participant Step. Dynamic Participant Step. Dialog Participant Step. In which maven build phase is the content package assembled?. compile. deploy. package. install. Where should an AEM Developer add a frond end dependency?. settings-xml. config.json. vault.xml. package.json. An AEM application is expected to export a content fragment in JSON format as is without any customization for a headless implementation. What's the recommended approach for same?. Use Sling Exporter framework. Use Core components to export JSON. Write Custom sling Models to export the fragments. Use AEM Assets HTTP API. Which xml tag is used within the vault package definition to add a new path to a content package?. <filter>. <content>. <path>. <rule>. A company is building an AEM application with a third party jar file. The third party APIs connect to an external app and pulls the data. The third party keeps updating with features and fixes. Which method should be used to integrate this jar file?. Convert the jar file into zip and install using a package manager. Install the jar file using a package manager. Create a bundle with the jar embedded as a dependency. Upload the jar file into DAM assets. AEM SPA´s PageModelManager leverages the JSON Model Exporter. Which two meta fields are exposed through that exporter? (Choose Two)). :parent. :length. :children. :resource. :type. Which is avalid way of creating an OSGI service?. class MyServiceImpl extends ServiceRegistry { }. Service classMyServiceImpl extends MyService }. ©Component ©Service class MyServiceImpl extends MyService. /** * * */ classMyServiceImpI extends MyService {. An AEM application must implement user testing using AEM Mocks. Which two services does the Class AemContext provide developers access to? (Choose two). FlushAgent. Session. TagManager. WorkflowSession. ModelFactory. Which has the highest preference during Sling Servlet registration?. sling.servlet.paths. sling.servlet.resourceTypes. sllng.servlet.extension. sling.servlet.selectors. Which statement about client libraries is true?. A client library node type has the jcr:primaryType value nt:folder. The clientlibrary for a project called myappshould be defined under /etc/clientlibs/myapp. To include only CSS files In the header.jsp from the client lib called "myproject.all" use <cqincludeClientLib categories="myproject all"/>. Use the Day CQ HTML Library Manager service in the Felix console to compress and minify the generated CSS for better performance on production systems. Using the default Dispatcher configuration, which type of URL will have a response cached by the Dispatcher?. URL denied by the /cache sections in dispatcher.any file. URL without a file extension. URL with query parameters. URL with an extension in its suffix. A custom AEM application contains Bundle A and Bundle B. Bundle A has a dependency to Bundle B via Import-Package. How can both bundles be deployed most efficiently accross all environments?. Embed both bundles in one content package and use property 'installationOrder' in package properties for correct bundle installation order. Create one content package per bundle and use a package dependency to ensure installation order. Use the Felix Web Console to upload the bundles in the correct order. Embed both bundles in one content package; the dependency via Import-Package is enough to ensure correct installation. An AEM server is overloaded with too many concurrently running workflows. The developer decides to reduce the number of concurrent workflows. What should be configured to reduce the number of concurrent workflows?. The number of threads in Scheluder. Maximum Parallel Jobs in OSGI console. The number of threads in Apache Felix Jetty Http Service. Launchers for each workflow. Which three AEM jar names will start AEM in author mode? (Choose three.). quickstart-4502.jar. cq5-author-p4502.jar. aem-publish.jar. cq5-author-4502.jar. The OSGI configuration is added to a runmode specific configuration "config.author.staging" in AEM as a Cloud Service. The application fails to read the configuration. What is a possible cause of this issue?. AEM as a Cloud service does not support ORGI configuration runmodes. The custom OSGI configuration runmode used (i.e., "config.author.staging") is not supported in AEM as a Cloud service. OSGI configuration runmodes cannot be installed automatically on AEM as a Cloud Service. We need to install them as a package using the Package manager. Only <service> specific OSGI configuration runmodes like "config.author" os "config.publish" are supported in AEM as a Cloud service. A developer needs to implement a service component that should be manually configured by operations to react on operational circumstances. The service component should NOT be active by default. The service has the properties myservice.name (one string value) and myservice.stringValues (a list of the string values) to be configured. The developer needs to use OSGi Metatype annotations to make those properties configurable in the Apache Felix Web Console. Which set of steps should the developer take to meet these requirements?. 1. For the class fields myserviceName and myserviceStringValues, add a @AttributeDefinition annotation each with names set to myservice.name and myservice.stringValues respectively. 2. Use the @Component annotation with configurationFactory = true on the service component class. 3. Use the @Service service component class. 4. Use the activate method of the service component class to get the configuration annotation interface class injected. 1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition. 2. Apply @AttributeDefinition for the methods myservice.name and myservice.stringValues. 3. Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component. 4. Use the @Designate annotation to link the service component to the created configuration annotation interface. 5. Use the activate method of the service component class to get the configuration annotation interface class injected. 1. Create an annotation interface as inner class of the service component and annotate it with @ObjectClassDefinition. 2. Apply @AttributeDefinition for the methods myservice_name and myservice_stringValues. 3. Use the @Component annotation with configurationPolicy = ConfigurationPolicy.REQUIRE on the service component. 4. Use the @Designate annotation to link the service component to the created configuration annotation interface. 5. Use the activate method of the service component class to get the configuration annotation interface class injected. 1. For the class fields myserviceName and myserviceStringValues, add a @Property annotation each with names set to myservice.name and myservice.stringValues respectively. 2. Use the @Component annotation with configurationFactory = true on the service component class. 3. Use the @Service service component class. 4. The configuration is automatically injected into the field by the service component runtime. A developer must create a workflow step that assigns a 'WorkItem' to the appropriate person based on whohas 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?. com.adobe.granite.workflow.exec.ParticipantStepChooser. com.day.cq.workflow.exec.ParticipantChooser. com.day.cq.workflow.exec.WorkItem. com.adobe.granite.workflow.exec.WorkflowData. AEM recommends a team to upgrade AEM servers with In-place Upgrade because the existing versions has reached EOL. What are two disadvantages of perfoming in a In-place Upgrade to the latest version of AEM? (Choose two.). ACLs, users, and groups are lost. Content migration is required. Complex developer setup and automation of the upgrade process. Content revision history is not preserved. Depending on the version difference between the old and new instances, the upgrade can be a long and aduous process. A developer needs guiadance to create mock for unit testing code. Which of the following code snipper would result in a successful test?. @Test public void initialize() throws LoginException { request = new SlingHttpServletRequest(); response = new SlingHttpServletResponse(); } @Test public void postSuccessReturns200() throws LoginException, IOException { // do something when(mockMetadata.httpStatusCode()).thenReturn(200); }. @BeforeClass public void initialize() throws LoginException { request = new MockSlingHttpServletRequest(resolver); response = new MockSlingHttpServletResponse(); } @Test public void postSuccessReturns200() throws LoginException, IOException { // do something when(mockMetadata.httpStatusCode()).thenReturn(200); }. @Before public void initialize() throws LoginException { request = new MockSlingHttpServletRequest(resolver); response = new MockSlingHttpServletResponse(); } @Test public void postSuccessReturns200() throws LoginException, IOException { // do something when(mockMetadata.httpStatusCode()).thenReturn(200); }. @Before public void initialize() throws LoginException { //initialize something } @After public void postSuccessReturns200() throws LoginException, IOException { request = new SlingHttpServletRequest(resolver); response = new SlingHttpServletResponse(); // do something when(mockMetadata.httpStatusCode()).thenReturn(200); }. The requirement for the dialog is that the "Align text" field is shown after the "Title" field. What should the developer do without changing Component B?. Move the align node from Component A to Component B and order them according the requirements. Extend Component B with the functionality of Component A. Add the property sling:orderBefore="description" to the align node. Move all nodes under the item node from Component B to Component A and order them according the requirements. An AEM appication must process a high volumen of content ingestion on the author server. What is a key factor to optimize a design for overall performance gain for implementing workflows?. Use Transient workflows. Allocate more RAM for the content ingestión up front. Run garbage collection every time content ingestión occurs. Use schedulers to run the workflows only on weeked. A Null Pointer Exception occurs if NO charLimit values is set in the component dialog. What should the developer do to resolve this issue?. Replace the defaultValue="0" attribute of the "˜charLimit' field in the dialog with min="0". Add the @Default annotation to the "˜chatLimit' variable in the Sling Model. Replace the defaultValue="0" attribute of the charLimit field in the dialog with defaultValue="{Long}0". Change the defaultInjectionStrategy of the Truncation Sling Model to DefaultInjectionStrategy.REQUIRED. What is Out of Scope for the Pattern Detector Tool, while doing an AEM upgrade?. rep:User nodes compatibility (in context of OAuth configuration). Backward Compatibility with the previous AEM Version. OSGI bundles exports and imports mismatch. Definitions of Oak indices for compatibility. A developed needs to create sling models for two fields name and occupations. The dialog has two fields, name – a single value field, and occupations – a multi value field. The following code is included in sling models inherited from interface com.adobe.aem.guides.wknd.core.models.Byline package com.adobe.aem.guides.wknd.core.models.impl; …… public class BylineImpl implements Byline{ …… @Override public List <String> getOccupations(){ if (occupations!=null){ Collections.sort(occupations); return new ArrayList<String> occupations; }else{ return Collections.emptyList(); } ….. } Which method should be used to represent this model in HTL?. <div data-sly-use-byline=” com.adobe.aem.guides.wknd.core.models.Byline.impl” data-sly-use-placeholderTemplate=”core/wcm/components/commons/v1/templates.html” data-sly-test-hasContent=”${!byline.empty}” class=”cmp-byline”> <h2 class=”cmp-byline__name”>${byline.name}”</h2> <p class= cmp-byline__pccupations”>${byline.occupations @ join=’, ‘}</p> </div>. <div data-sly-use-byline=” com.adobe.aem.guides.wknd.core.models.Byline” data-sly-use-placeholderTemplate=”core/wcm/components/commons/v1/templates.html” data-sly-test-hasContent=”${!byline.empty}” class=”cmp-byline”> <h2 class=”cmp-byline__name”>${byline.name}”</h2> <p class= cmp-byline__occupations”>${byline.occupations @ join=’, ‘}</p> </div>. <div data-sly-use-byline=” com.adobe.aem.guides.wknd.core.models.Byline” data-sly-use-placeholderTemplate=”core/wcm/components/commons/v1/templates.html” data-sly-test-hasContent=”${!byline.empty}” class=”cmp-byline”> <h2 class=”cmp-byline__name”>${byline.name @ join=’, ‘}”</h2> <p class= cmp-byline__occupations”>${byline.occupations @ join=’, ‘}</p> </div>. <div data-sly-use-byline=” com.adobe.aem.guides.wknd.core.models.Byline” data-sly-use-placeholderTemplate=”core/wcm/components/commons/v1/templates.html” data-sly-test-hasContent=”${!byline.empty}” class=”cmp-byline”> <h2 class=”cmp-byline__name”>${byline.name}”</h2> <p class= cmp-byline__occupations”>${byline.occupations }</p> </div>. In which two ways can a developer keep simple and maintainable CRX Access Control Lists? (Choose two.). Delete the 'everyone' group. Use Deny statements sparingly. Assign access rights to user groups rather than users. Assign access rights user by user. How should a developer enable remote debugging of an AEM server without modifying the AEM start script?. Enable the remote debugging service through the AEM Cloud Services menu. Rename the quickstart jar file to include the additional debug settings. Enable the remote debugging service through the AEM Web Console. Include an additional JVM parameter when starting AEM with java -jar. A developer has a component located under the path /apps. This component has a Client Library which isdirectly loaded onto a page. The publish instance loads the page correctly. The dispatcher also loads the page but the Client Library is missing. How should the developer resolve this issue, while taking security into consideration?. Change the ACLs for the Client Library. Move the Client Library under /apps/<project>library. Add the property allowProxy with a boolean value true. Allow the path to the clientlibs on the dispatcher. An AEM application requieres LDAP Service integration to synchonize user/group Which two OSGI configuration are required for LDAP integration in AEM? (Choose Two). Apache Jackrabbit Oak External Login Module. Apache Jackrabbit oak Solr server provider. Apache Jackrabbit Oak Default Sync Handler. Apache Jackrabbit Oak CUG Configuration. Apache Jackrabbit Oak Authorizable-ActionProvider. A banking AEM application contains functionality to calculate a mortgage rate based on user input. A servlet inplace calculates the result in the backend. A call to an internal third-party REST service is required to retrievethe average object value based on a given zip code. The following three service interfaces are used:MortgageCalculationServlet, MortgageCalculationService andObjectValueLookupRestService where MortgageCalculationServlet has a dependency toMortgageCalculationService and MortgageCalculationService has a dependency toObjectValueLookupRestService. The calculation has many combinations of input parameters and edge cases, so the JUnit coverage must beas high as possible. Which two strategies should the developer use to ensure testability of the application code? (Choose two.). Use BundleContext.getServiceReference(…) and BundleContext.getService(…) in application code to look up the required services just before usage. Use static methods to avoid boilerplate in application code. Use a mock framework to be able to create and inject mocks in the test code. Use the standard OSGi @Reference annotation to wire the dependencies in application code. Deploy a third party dependency injection container to wire dependencies more efficiently in application code. A developer needs to create a banner component. This component shows an image across the full width of thepage. A title is shown on top of the image. This text can be aligned to the left, middle, or right. The corecomponents feature a teaser component which matches almost all requirements, but not all. What is the most maintainable way for the developer to implement these requirements?. Use and configure the teaser core component. Create a new custom component from scratch. Overlay the teaser core component. Inherit from the teaser core component. An AEM Developer sets an argument variable “myVariable” to be consumed by workflow process in the same workflow model definition. Which approach should be used?. //Get myVariable directly from MetaDataMap String myVariable = workItem.getMetaDataMap().get(“myVariable”);. //Get myVariable from HistoryItem object List<HistoryItem> history = workflowSession.getHistory(workItem.getWorkflow());. //Get myVariable from WorkflowData String myVariable = workItem.getWorkflowData().getPayload().toString();. //Get myVariable from args String args = metadataMap.get(“PROCESS_ARGS”,String.class);. A developer is working on a complex project with multiple bundles. One bundle provides an OSGi service forother bundles. Which two options are necessary to ensure that the other bundles can reference that OSGi service? (Choose two). The bundles consuming the service need to import the fully qualified name of the service interface. The service needs to correctly declare metatype information. The bundle providing the service needs to contain a whitelist of allowed consumer bundles. The bundle providing the service needs to contain an adequate SCR descriptor file. The bundle providing the service needs to export the java package of the service interface. Which log file should a developer use to search for exception stack traces?. <aem-install>/crx-quickstart/logs/request.log. <aem-install>/crx-quickstart/logs/error.log. <aem-install>/crx-quickstart/logs/access.log. <aem-install>/crx-quickstart/logs/info.log. An AEM application is expected to export a content fragment in JSON format as is without any customization for a headless implementation. What's the recommended approach for same?. Use Sling Exporter framework. Use Core components to export JSON. Write Custom sling Models to export the fragments. Use AEM Assets HTTP API. An AEM application development team is assigned a task to create an Event-Driven Data Layer implementation for a Analytics solution. Which Adobe recommended best practice should the developer choose?. Create an Adobe Cloud Service configuration to use third-party tool´s data layer. Create a custom data layer and add each component, template, and its properties to the data layer. Use Adobe Experience Platform´s data layer to integrate with AEM. Use Adobe Client Data Layer and integrate with Core components. A custom AEM application has a run time dependency to a third party OSGi bundle that is NOT included inout-of-the-box AEM. The third party dependency needs to be available for multiple applications and beupgraded separately from the custom AEM application. How should a developer make sure that the bundle is installed on all environments?. Add the dependency to the third party bundle in the pom.xml of the project bundle. Embed the third party bundle in the bundle that depends on it. Embed the bundle in a content package to have it automatically deployed. Declare the dependency correctly using a link to the OSGi Bundle Repository (OBR). How do you delete a property inside a Node object?. node.setProperty(npropertyName","");. node.setProperty("propertyName",null);. node.delete("propertyName");. node.removeProperty("propertyName");. A developer needs to create a new component called "Component A". Component A must show a list of othercomponents that all have a resource type of existing "Component B". Component A must render this list of tilesfor each Component B where the tile rendering is different from the default one. The list of rendered tiles must be reusable by future new components. How should the developer implement this functionality?. Create a script for tile rendering in Component B and use data-sly-resource attribute with a Sling selector in Component A to render the tile. Component A overlays Component B and overwrites the base renderer to facilitate the tiles. Component A inherits from Component B and overwrites the base renderer to facilitate the tiles. Component A calls the HTL of Component B directly using a data-sly-include attribute. An AEM Developer needs to create a log file for the project. Which next step should the developer take?. Create a log file under /var/system/configuration... specific runmode folder(s). Create a log file under /apps/system/configuration... specific runmode folder(s). Create a log file under /apps/myproject/configuration... specific runmode folder(s). Ask AMS/DevOps for admin access to create a log file via console. While working with Editable Templates, the author reports that the changes that the author makes are lost periodically. What should the AEM Developer fix to prevent losing author updates?. Set mode to be “merge” in the filter.xml. Move the affected Editable template to /etc/templates. Move the affected Editable template to /apps/templates. Set mode to be “update” in the filter.xml. Which statement regarding an AEM instance started with author run-mode is correct?. Author run-mode CANNOT be used to preview a website,. The side-kick does NOT appear in the author mode,. The run-mode can be changed to publish after installation,. The run-mode CANNOT be changed to publish after installation. A developed has multiple LDAP Authentication providers. The user is not required to pass the authentication test of the Authentication provider. - If authentication succeeds, control is returned to the caller; no subsequent Authentication provider down the list is executed. - If authentication fails, authentication continues down the list of providers. What should be the JAAS Control flag value in Apache Jackrabbit Oak External Login Module configuration?. OPTIONAL. SUFFICIENT. REQUIRED. MANDATORY. Which property should be used to find the repository where the configuration changes made in theWeb Console are saved?. Persistent Identity (PID). Reference Repository. Component.id. Component.name. A service component periodically retrieves content from an external REST interface and saves the informationin JCR. The REST endpoint is configured via an OSGi service property. There is one URL for production(runmode prod) and another URL for all other environments. How should a developer configure the OSGi service?. Underneath /apps/<project>/settings, create the sub folders global and prod and node with name <PID>.conf each and configure the properties via node properties. Underneath /config/<project>/settings, create the sub folders config.default and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there. Underneath /apps/<project>, create the sub folders config and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there. Underneath /config/<project>/settings, create the sub folders config and config.prod and a file with the name <PID>.config each and list the properties as key value pairs in there. A developer needs to make template T avaliable as a child page of page P. The developer has determined that: - Template T matches cq:allowedTemplates property on page P. - Template T has no allowedPaths property set. - Template T is not in the same application as page P. - The template of page P has no match on the allowedParents property of template T. - Template T has no match on the allowedTemplates property on the template of page P. What should the developer change?. Make page P match allowedPaths property of template T. Make the allowedParents property of template T match the template of page P. Migrate template T to the same aplicación as page P. Clear the allowedParents property of template T. An application contains an OSGi configuration that contains a password. How should a developer prevent this sensitive information from being stored in plain text in JCR?. 1. Use console at /system/console/crypto to encrypt the value. 2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key. 3. When loading the value in the code, call CryptoSupport.unprotect(…) before using the value. 1. Use console at /system/console/configMgr and tick the checkbox "encrypt" before saving a configuration. 2. Use encrypted values work across all instances. 3. When loading the value in the code, call CryptoSupport.unprotect(…) before using the value. 1. Use console at /system/console/ configMgr and tick the checkbox "encrypt" before saving configuration. 2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key. 3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the value is returned. 1. Use console at /system/console/crypto to encrypt the value. 2. Either create an encrypted value for each AEM instance and use runmodes to apply the different values or make sure relevant instances share the same master key 3. Sensitive information is automatically decrypted using the CryptoSupport OSGi service before the value is returned. Which is a valid out-of-the-box sling run mode?. activate. production. loadsamplecontent. nosamplecontent. What are three causes if Dispatcher stopped updating cache files in the cache directory on theWebserver? (Choose three). The request to the page in question contain query string parameters. The request to the page in question has authorization headers and dispatcher.any does no contain allowAuthorized. Dispatcher Flush agent is disabled on publish instance. The request URI of the page in question should always start with /content. While doing an In-Place AEM upgrade, the developer observes an issue in the server logs where all are active except for the ACS Commons bundle which is incompatible due to old version. What should the developer to do resolve this issue?. Ask for admin credential & install the new bundle in Felix console. Update the plugin in pom.xml. Drop the new package under path crx-quickstart/install and restart. Install the new jar using the package manager on the old environment. Which configuration takes precedence at runtime, when multiple configurations exist in AEM?. Any .config file from <cq-installation-dir>/crq-quickstart/launchpad/config/... . on the local file system. Repository nodes with type sling:OsgiConfig under /libs/*/config... Configurations that exist in the Web Console. Repository nodes under /apps/*/config... What is the default value for AC Handling when creating packages?. MergePerserve. Ignore. Merge. Ovewrite. An AEM developer wants to display localized page names to users of translated content. Rather than having a Spanish-speaking user navigate to: www.mydomain.com/es/home.html, the developer wants the URL to be: www.mydomain.com/es/casa.html. What is the recommended way of achieving this?. Add a property sling:alias = casa to /es/home. Write a Bin Servlet to handle the request - @SlingServlet(paths = "/bin/myApp/myServlet". Modify /etc/map to resolve the URL .../es/casa. Use Vanity URL to redirect .../es/casa to es/home. An AEM Developer wants to display localized page names to users of translated content. Rather than having a Spanish-speaking user navigate to: www.mydomain.com/es/home.html The Developer wants the URL to be: www.mydomain.com/es/casa.html What is the recommended way of achieving this?. Add a property sling:alias = casa to ../es/home. Write a Bin Servlet to handle the request - @SlingServlet(paths = '/bin/myApp/myServlet'... Modify /etc/map to resolve the URL .../es/casa. Use Vanity URL to redirect .../es/casa to .../es/home. Which two unit testing dependencies are generated by AEM archetype? (Choose two.). Mockito. Hobbes. JUnit. Selenium. PowerMock. A developer wants to consume AEM Page Data in a Single Page Application. The Single Page Application is coded to understand JSON format. Only page content should be exposed through JSON. All the existing components are based on foundation components. Which change should the developer make in the existing components to support this requirement?. Implement a Sling Model Exporter for the components. Invoke the page URL with the extension .json to get the values to construct the required output. Create a custom sling event handler to handle JSON requests. Add JSON as the default extension in Apache Sling Servlet/Script Resolver and Error Handler Configuration. An AEM Developer needs to create a new component to help support a new product launch. -The client is on AEM 6.5 on-premise with the latest version of WCM Core Components. -The component must include text, image, and a link. -The component must support multiple designs. Which process should the AEM Developer use to support the launch?. 1. Extend the Teaser Component from Core Components 2. Create style variations to be used in the Style System. 1. Create a new Image with Text component that exposes the Core Components authoring dialogs for those components. 2. Add a policy to define which designs are used. 1. Extend the Text Component from Core Components. 2. Enable image manipulations for the Text Component via policy. 1. Create a new component by extending thE Text Component from Core Components. 2. Add dialog properties and modify HTL to support images. An online insurance company website has user-generated content that must be replicated in all publishinstances. What action should the developer take to achieve this?. Configure the dispatcher flush agent in publish instance. Configure reverse replication agents for the author. Configure the replication agent in the publish instances. Disable static agent in the author instance. A customer needs to store approximately 200 raw data items from REST API and display each item as an AEM Page. A draft page template exists. Which method should be used to meet this requirement?. Build a segment using data from REST API call. Create pages by binding the data for each item using the draft page template and custom data retrieval logic. Create Experience Fragments by bindings the data for each item using the draft page template and custom data retrieval logic. Create Content Fragments by binding the data for each item using the draft page template and custom data retrieval logic. A developer running a local AEM instance and working on an AEM project needs to change a large number offiles locally in the filesystem. The developer needs to get the changes uploaded to the local AEM instance toverify changes almost immediately in the browser? What action should the developer take to most efficiency meet these requirements?. Access CRXDE and upload the files through the interface. Make the changes in CRXDE create a content package, download it, and expand it into the working directory after each change. Install FileVault bundle in the AEM instance and register the local working directory for synchronization. Build a Content Package using maven and deploy it after each change. An application runs specific license checks against certain DAM assets every day. It should send an email to aconfigured list if it finds warnings, and mark the asset accordingly. A service component that uses the ApacheSling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using ACLs andthe license check must re-check them. How should a developer obtain a resource resolver that can read and update the DAM assets?. Set up a cron job with curl calls with the admin user and use request.getResourse ().getResourceResolver(). Create a configuration line in PID com.day.cq.security.ACLSetup for the user that you obtain a session for via ResourceResolverFactory.getResourceResolver(...). Configure the user admin in PID org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl as user.default and make sure the service user exists and has jcr:read and jcr:write permissions. Create a configuration for PID org.apache.sling.serviceusermapping.impl.ServiceUserMapperImpl.amendeddamaccess that references a pre-created service user with r/w permissions and use ResourceResolverFactory.getServiceResourceResolver(...). After adding new features, a developer's environment is experiencing slowness before ultimately running out ofmemory. 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? *. Run the following command to generate thread dumps jstack -l <pid> >> threaddumps.log,analyze thread dumps to find long running sessions. Go to Web Console > Status > Threads, verify the overall thread count. Go to Tools > Operations > Monitoring. Create a new report based on Number of Active Sessions as metric. Go to <aem-install>/crx-qiuckstart/logs/strderr/log, use the following command grep -o 'CRXSessionImpl' strderr.log| wc -l. A developer is having trouble trying to include a new embeddable into the Embed core component. - The Developed is using the versión 1 Embed component from WCM Core components. - The Developed sees the new embeddable component as a normal component that can be added to the page, which is incorrect. - The Developed does not see the new embeddable component as an option in the Embed component. Which approach should be used to define the new component?. <jcr:root xmlns:sling=http://sling.apache.org/jcr/sling/1.0 xmlns:jcr=http://www.jcp.org/jrc/1.0 jcr:primaryType=”cq:Component” jcr:title=”Foo” sling:resourceSuperType=”core/wcm/components/embed/v1/embed/embeddable” componentGroup=” embeddable”/>. <jcr:root xmlns:sling=http://sling.apache.org/jcr/sling/1.0 xmlns:jcr=http://www.jcp.org/jrc/1.0 jcr:primaryType=”cq:Component” jcr:title=”Foo” sling:resourceType=”core/wcm/components/embed/v1/embed” componentGroup=” .hidden”/>. <jcr:root xmlns:sling=http://sling.apache.org/jcr/sling/1.0 xmlns:jcr=http://www.jcp.org/jrc/1.0 jcr:primaryType=”cq:Component” jcr:title=”Foo” sling:resourceType=”core/wcm/components/embed/v1/embed/embeddable” componentGroup=” embeddable”/>. <jcr:root xmlns:sling=http://sling.apache.org/jcr/sling/1.0 xmlns:jcr=http://www.jcp.org/jrc/1.0 jcr:primaryType=”cq:Component” jcr:title=”Foo” sling:resourceSuperType=”core/wcm/components/embed/v1/embed/embeddable” componentGroup=” .hidden”/>. 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?. Go to Tools > Operations >Diagnosis > Download Thread Dumps. Analyze the Thread Dumps to identify long running requests. Go to Tools > Operations >Diagnosis > Log Message. Configure DEBUG log level on com.day.cq.search to monitor search queries. Go to Tools > Operations > Diagnosis > Index Manager. Select the new Indexes and run a consistency check. Go to Tools > Operations >Diagnosis > Query Performance > Slow Queries. Select a Query and Click on Explain. While modifying an OSGi bundle configuration from the Felix Web Console, when are configuration changes applied?. After restarting the CQ instance,. After restarting the bundle. After restarting the service. Immediately as it takes precedence at runtime. A developer creates an AEM editable template that includes a Layout Container. When the developer createsa page using this template, the Layout Container placeholder does NOT appear. What is causing this issue?. The Layout Container does NOT have a policy. The page template has NOT been enabled. The page template has NOT been published. The Layout Container has NOT been unlocked. Which solution should be used to synchronize user permissions across AEM servers?. ACS Commons ACL Packager. Maven Vault plugin. User Sync tool. ACS Commons Authorizable Packager. A developer is working on a project locally and needs to install packages manually. The deployments to thelocalhost 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?. Configure the maven install plugin by defining the target URL, username, and password as maven properties. Run maven with the deploy phase. Maven will install the package on all local AEM instances running without further configuration. Add a maven profile and configure the content package maven plugin within this profile. Write a script that does a PUT call to AEM each time maven builds a new package. A developer needs to retrieve a calculated property from a page in a JobConsumer. The model below has the logic to calculate this property. A first attempt to execute resource.adaptTo(ArticlePage.class) in the JobConsumer fails. @Model(adaptables = SlingHttpServletRequest.class, adapters = {ArticlePage.class, Page.class}, resourceType = ArticlePageImpl.RESOURCETYPE) @Exporter(name = ExporterConstants.SLINGMODELEXPORTERNAME, extensions = ExporterConstants.SLINGMODELEXTENSION) public class ArticlePageImpl implements ArticlePage { @Self protected SlingHttpServletRequest request; @ScriptVariable private Page currentPage; ... @Override public String calculatedProperty() { ... } } What should the developer do?. Create a new model with annotation to @Model(adaptables = Resource.class, adapters = {ArticlePage.class, Page.class}, resourceType = ArticlePageImpl.RESOURCE_TYPE}. Update the model annotation to @Model(adaptables = {Resource.class, SlingHttpServletRequest.class}, adapters = {ArticlePage.class, Page.class}, resourceType = ArticlePageImpl.RESOURCE_TYPE}. Execute resource.adaptto(Page.class) in the JobConsumer class. Create a mock request and execute request.adaptTo(Page.class) in the JobConsumer class. 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?. sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ categories='library.example'}"/>. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.css @ category='library.example'}"/>. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.all @ categories='library.example.css'}"/> categories='library.example.css'}"/>. <sly data-sly-use.clientlib="/libs/granite/sightly/templates/clientlib.html" data-sly-call="${clientlib.all @ type='css', categories='library.example'}"/>. A developer wants to extend AEM Core Components to create a custom Carousel Component. How should the developer extend the Core Components?. Make changes to the original component and assign a component group. Use the sling:resourceSuperType property to point to the core component. Use the sling:resourceType property to point to the core component. Copy the Core Carousel component to /apps/<project> folder. An AEM application wants to set up multi-tenancy using Adobe-recommended best practices and bind multiple configurations to it. Which of the following options is recommended?. import org.osgi.service.metatype.annotations.AttributeDefinition; import org.osgi.service.metatype.annotations.ObjectClassDefinition; @ObjectClassDefinition(name = "My configuration"). import org.osgi.service.metatype.annotations.Component; import org.osgi.service.metatype.annotations.Designate; @Component(service = ConfigurationFactory.class) @Designate(ocd = ConfigurationFactoryImpl.Config.class, factory = true). import org.apache.felix.src.annotations.Component; @Component(label = "My configuration", metatype = true, factory = true). import org.osgi.service.metatype.annotations.Component; @Component(service = ConfigurationFactory.class). A developer is creating a custom component on the page /latestBlogs.html that needs to list all the titlesof the blogs pages under /content/blogs. How does this component get the list of child pages?. Instantiate a node object with session.getNode(/content/blogs) and then iterate through the child nodes and print the title for each. Use PageManager.getPage("/content/blogs") of the static PageManager class to instantiate a Page object and then iterate through the child pages and print the title for each. Use the QueryDebugger to look for all children of /content/blogs and then iterate through the result set and print the title for each. Adapt the resourceResolver to the PageManager service, then use the getPage(/content/blogs) to instantiate a Page object and then iterate through the child pages and print the title for each. A developer is creating templates and/or components using CRXDE Lite. The developer needs to check thefiles into source control. Which tool should the developer use to achieve this goal?. vlt command. Content Explorer. http://localhost:4502/crx/checkout. mvn command. A developer installs the latest Service pack to a local AEM author instance. How should the developer install this package on the publish instance?. Replicate from package manager of publish instance. Use upload/install from OSGI console of publish instance. Use upload/install from OSGI console of author instance. Replicate from package manager of author instance. Two AEM publish feed a single Dispatcher. Which part of the Dispatcher configuration should a developer review to ensure both AEM publish instance areused?. virtualhosts. cache. filter. farms. A developed identifies that some requests for the page /content/sampleproject/page.html take long than other request for the same page. Refer to the $DOCROOT/content/sampleproject directory below. [user@gropu /opt/dispatcher/cache/content/sampleproject ] $ ls –la Total 2 drwxr-xr-x. 5 apache apache 4096 Feb 11 11:41 . drwxr-xr-x. 3 apache apache 4096 Nov 29 16:07 .. drwxr-xr-x. 4 apache apache 4096 Feb 7 03:21 page.html -rw-r—r--. 1 apache apache 0 Feb 7 03:19 .stat The dispatcher.log file contains the following lines: [Wed Feb 13 13:14:04 2012] [D] [1376(1532)] checking [/libs/cq/security/userinfo.json] [Wed Feb 13 13:14:04 2012] [D] [1376(1532)] Caching disabled due to query string: tracking_id=1350373444666 [Wed Feb 13 13:14:04 2012] [D] [1376(1532)] cache-action for [/libs/cq/security/userinfo.json]: NONE How should the developer make sure that the page is always cached?. Modify the dispatcher.any file to contains the following lines: /rules { … /0000 {/glob “*” /type “allow” /params “tracking_id” } … }. Modify the dispatcher.any file to contains the following lines: /filter { … /0023 { /type “allow” /url “/content//.html” /params “tracking_id” } … }. Modify the dispatcher.any file to contains the following lines: /ignoreUrlParams { … /0002 { /glob “tracking_id” /type “allow” } … }. Modify the dispatcher.any file to contains the following lines: /filter { … /0023 { /type “allow” /url “/content//.html?tracking_id=*” } … }. AEM SPA integration provides various design models. In an application the developer chooses to use AEM as a headless CMS without using the SPA Editor SDK framework What would be an advantage for this design model?. The content author can edit the app using AEM's content authoring experience. The front end developer has full control over the app. The SPA is compatible with the template editor. The developer keeps control over the app by only enabling authoring in restricted areas of the app. An AEM Developer needs to remove the pretitle option from within the Core Teaser component´s dialog. They start by: 1. Creating a component with the Core Teaser component as its resourceSuperType 2. Adding a _cq_dialog folder under the component Where are the next correct steps that the AEM Developer needs to take?. 1. Navigate to /apps/core/wcm/components/teaser/v1/teaser/cq:dialog/content/items/tabs/items/text/items/columns/items/column/items in CRX. 2. Delete the pretitle child node. 1. Create a file named .content.xml inside that new folder. 2. Copy only the node structure that will be modified into .content.xml. 3. Add sling:hideChildren[pretitle] to the parent node of the pretitle node. 1. Create a file named dialog.xml inside that new folder. 2. Copy the entire node structure from the Core Teaser component´s dialog.xml. 3. Delete the pretitle node. 1. Navigate to the new components dialog in CRX. 2. Delete the pretitle child node. For each CRX node in the hierarchy, which actions can be configured using the user admin interface?. Read, Modify, Create, Delete, Read ACL, Edit ACL, Replicate. Read, Write, Read ACL, Edit ACL, Replicate. Read, Write, Delete, Edit ACL, Replicate. Read, Modify, Create, Delete, Read ACL, Edit ACL. A developer developed a workflow that makes a copy of every node created or modified under a certain pathto a different one. The workflow launches but the nodes are not copied over. Which two methods should the developer use to resolve this issue? (Choose two.). Go to Workflow Failures screen and check if any instances of the workflow are present. Go to Workflow instances screen and verify that the instance of the workflow is present and check its status. Go to Package Manager screen and reinstall the bundle that contains the workflow so it restarts. Go to Workflow Models screen, then delete and recreate the workflow. Go to Workflow Launchers and create a new launcher for the workflow even if one already exists. A user reports that requests are slow on AEM instance. The infrastructure team vierifies that everything is normal using third-party monitoring solution. Which internal AEM metrics should be checked to find out the issue?. Thread performance. Query performance. Request performance. Queue performance. Which environment variable in the AEM start script should a developer modify to enable remote debugging?. CQ_HOST. CQ_JVM_OPTS. CQ_PORT. CQ_RUNMODE. A developer has as component named 'foobar' with the following file:foobar.html <div data-one='${'foo'}' data-two='${2}' data-three='${true}'></div><div data-one='${''}' data-two='${0}' data-three='${false}'></div> What is the output when the component is rendered?. <div data-one="foo" data-two="2" data-three="true"></div>.<div data-one="" data-two="0" data-three="false"></div>. <div data-one="foo" data-two=2 data-three=""></div><div data-one="" data-two=0 data-three=""></div>. <div data-one="foo" data-two="2" data-three></div><div data-two="0"></div>. <div data-one="foo" data-two=2 data-three=""></div><div data-two=0 data-three=""></div>. After defining a Sling Model, what step is required to enable JSON export on any component?. Use Sling Resource Merger. FCreate an OSGI configuration. Install Jackson library in AEM. Annotate the Sling Model interface. Which three statements are true when an AEM author instance is started in debug mode? (Choose three.). When AEM starts in debug mode, it does not force JVM to fork a separate process. AEMstarts with -Xdebug option (e.g;java -Xdebug -Xnoagent -Djava.compiler=NONE Xmnjdwp:transport=dt_socket,server=y,suspend=n/address=30303–jaraem6~autbor-p4502). AEM starts with an option -debug (e.g; Java -jaraem6-author-p4502 -debug 30303) from command line. When AEM starts in debug mode, it forces JVM to fork a process. Which type of configuration can be created in OSGI Configuration Manager?. Bundles Configuration. Run modes Configuration. Components Configuration. Service Configuration. Which configuration/section should be used to resolver the domain name by dispatcher?. Configuration in httpd.conf. Configuration in filters.any. Configuration in DNS. Configuration in vhost file. A developer needs to install a content package on AEM environment. However, a content package with thesame name is already installed. What would you be the safest way for the developer to install the content package to make sure only thechanges of the new content package get applied?. Use the "Force Upload option when uploading the new content package. Uninstall the existing content package before installing the new content package. Upload the content package to the CRX Package Share before installing it. Install the content package using the OSGi web console. The following anchor tag is not resolving: <a href='${item.path}'>${item.name}</a> Upon further inspection the developer notices that the link has no .html appended to the end of the URL. What could be a potential fix for the issue?. <a href="${item.path} @ context = "html">${item.name}</a>. <a href="${item.path} @ append = "html">${item.name}</a>. <a href="${item.path} @ extenion = "html">${item.name}</a>. <a href="${item.path} @ context = "unsafe,fragment=item.name">${item.name}</a>. Which URI should be used to configure a Flush Agent for a dispatcher listening on port 8080?. http://<dispacherHost>:8080/cache.invalidate. http://<dispacherHost>:8080/dispatcher/cache.invalidate. http://<dispacherHost>:8080/invalidate.cache. http://<dispacherHost>:8080/disptcaher/cache.invalidate. An AEM application is required to create absolute urls for the web domain on which the application is supposed to run. The developer wants to create the absolute urls in the server to facilitate other use cases for SEO and Analytics. Which of the following options would work for the developer?. Configure Day CQ Link Externalizer to remove the author domain. Configure Day CQ Link Externalizer to add a domain mapping to Author Server and Publish the page. Configure Day CQ Link Externalizer to add a domain mapping to Publisher/Web Server. Configure apache rewrite rules to create the absolute urls. A developer is tasked with removing a user from a group on the LDAP server. What is a way to determine if the process was implemented correctly?. The change will also be reflected on the AEM side upon syncronization. The change will also be reflected on the AEM side straight away. The user must be removed in AEM before it is remoeved from LDAP. The group must be syncronized with AEM before the user is removed. What are two limitations of an AEM full SPA implementation with frontend routing? (Choose two). Cannot generate a true 404 response for dynamically generated pages. Cannot generate sitemaps. Metadata must be stored in two locations: app and page. Cannot mix SPA components with AEM components. Cannot extend WCM Core components. A custom AEM application is using the PageManager API. What should a developer add to make the application compile and run correctly in AEM?. a maven dependency to AEM uber-jar to the content package. a maven dependency to bundle cq-wcm-core to the application bundle. a maven dependency to AEM uber-jar to the application bundle. a maven dependency to bundle cq-wcm-api to the content package. Where are ACL node permissions for a node stored in the JCR?. They are stored as ACL permission in the groups under /home/groups. They are stored as ACL permissions in the user node under/home/users. They are stored as rep:policy node under the same node. They are stored inside the template node under/etc/designs. When will a page be cached using ignoreUrlParams configuration in dispatcher?. /0001 { /glob "q" /type "deny" } allows the URL with parameter "q" to be cached. When a request URL contains a suffix to be cached, the page is cached. When a request URL contains one of the parameters is ignored, the page is cached. When a request URL contains parameters that are all ignored, the page is cached. The same OSGI configuration parameter is present under /libs/*/config.. AND /apps/*/config..andmodified in both locations as well as via felix Console. During runtime, what is the reload order?. /libs/*/config, Felix Console and /apps/*/config. Felix Console,/apps/*/config and /llbs/*/config. /llbs/*/config, /apps/*/config and Felix Console. /apps/*/config, /libs/*/config and Felix Console. A developer needs to implement a functionality that requires creating a Custom Workflow Step. Which two steps should the developer take to start developing the custom behavior? (Choose two.). Implement a Java class with this method "public void process(WorkItem item, WorkflowSession wfsession) throws WorkflowException". Implement a Java class extending from class com.adobe.granite.workflow.exec.WorkflowProcess. Create a Workflow component node of the Super Resource Type "cq/workflow/components/model/process" under the folder /apps//components. Implement a Java class implementing the interface com.adobe.granite.workflow.exec.WorkflowProcess. Create a Workflow component node of the Super Resource Type "cq/workflow/components/step" under the folder /etc/workflow/models. An AEM Developer creates a custom OAK Lucene index for /content/mywebsite under /oak:index node. While testing the live site, it is found that the index is not being applied to any query within the website. Default Lucene indexes with high cost are being picked up by the AEM. What is the most likely cause of this issue?. The custom OAK Lucene index is missing evaluatePathRestrictions property and queryPaths property. The custom OAK Lucene index must be replaced with OAK Lucene Property index. The custom OAK Lucene index is missing evaluatePathRestrictions property and includedPaths property. The custom OAK Lucene index must include boost property to rank it higher than default Lucene index. What does the vlt command 'resolve' do?. Removes the conflict markers. Semantically resolves conflicts. Removes the conflict-related artifact files. Allows the path to be committed with the conflicts. An AEM Developer is setting up a new AEM project for a custom SPA that will utilize the SPA Editor. Which command should the developer use?. mvn -B archetype:generate -D archetypeGroupId=com.adobe.granite.archetypes -D archetypeArtifactId=aem-project-arquetype -D archetypeVersion=23 -D frontendModule=angular. mvn -B archetype:generate -D archetypeGroupId=com.adobe.granite.archetypes -D archetypeArtifactId=aem-project-arquetype -D archetypeVersion=23 -D frontendModule=general. mvn -B archetype:generate -D archetypeGroupId=com.adobe.granite.archetypes -D archetypeArtifactId=aem-project-arquetype -D archetypeVersion=23 -D frontendModule=react. mvn -B archetype:generate -D archetypeGroupId=com.adobe.granite.archetypes -D archetypeArtifactId=aem-project-arquetype -D archetypeVersion=23 -D sdkVersion=latest. What would be a good use-case for using AEM to edit your Single Page Application (SPA)?. Allows you to deploy the SPA. Deploy the SPA on native devices. Avoids the service of a front-end developer. Adds the capability for authors to interact with the SPA content. An AEM Developer needs to automate test for the user interface. Which tool is provided in the AEM framework for automated UI testing?. Jasmine. HobbesJS. Sinon. Mocha. An author and publish instance has a shared data store with a very large number of assets. Whichtype of replication is recommended to avoid duplication of data?. Asynchronous replication. Binaryless replication. ClusterDataStore with no replication agents. Replication with no versioning. A developer creates an editable template with a Layout Container. The developer needs to restrict the LayoutContainer to just one column layout. What should the developer do to the editable template to enforce this restriction?. Using Template Editor, set the responsive settings to 1 column for Layout Container Policy. Add responsive column control component to the template and set column type to 1. Overlay wcm.foundation.components.page.responsive Client Library and set @max_col to 1. Using Template Editor, lock the Structure Component for the template. An AEM Developer receives requirements for Sling Models in a human-readable yaml format. A custom application needs to be built. The dependency is as show: <dependency> <groupId>com.fasterxml.jackson.core</groupId> <artifactId>jackson-databind</artifactId> <version>2.8.4</version> <scope>provided</scope> </dependency> <dependency> <groupId>com.fasterxml.jackson.dataformat</groupId> <artifactId>jackson-dataformat-yaml</artifactId> <version>2.8.4</version> <scope>provided</scope> </dependency> After implementing ModelExporter, which method should be used to meet this requirement?. 1. Create OSGI models to export as yalm 2. Configure mime type in Apache Sling MIME Type Service. 1. Create Sling models to export as yaml 2. Configure mime type in Apache Sling MIME Type Service. 1. Create OSGI models to export as yaml 2. Configure mime type in Apache Sling Servlet/Script Resolver and Error Handler. 1. Create Sling models to export as yaml 2. Configure mime type in Apache Sling Referrer Filter. One content package of a custom application contains the following content paths. /apps/muproj/install /apps/myproj/components /apps/myproj/i18n The server also contains the content path /apps/myproj/configuration that must NOT be touched when installing the package. Which two filter definitions should a developer use to always update only the contained paths upon installation in the server? (Choose two.). <filter root="/apps/myproj"> <exclude pattern="configuration.*"/> </filter>. <filter root="/apps/myproj"> <include pattern=".*"/> <exclude pattern="configuration.*"/> </filter>. <filter root="/apps/myproj"> <exclude pattern="apps/myproj/configuration.*"/> </filter>. <filter root="/apps/myproj" mode="merge"> </filter>. <filter root="/apps/myproj"> <include pattern="/apps/myproj/(install|components|i18n).*"/> </filter>. An AEM Developer needs to migrate to AEM as a Cloud Service from AEM version 6.4. The AEM Developer is not able to run the Cloud Readiness Analyzer. What is preventing the Cloud Readiness Analizer from running?. Cloud Readiness Analyzer should run on Publisher instad of Author instance. Cloud Readiness Analyzer is not running on a Stage environment. Cloud Readiness Analyzer is not supported on AEM version 6.4. The AEM Developer is not an admin or does not have administrator rights. A customer is having trouble with some search queries and provides the following information: - The logs show the following warning occurs many times: *WAR* Traversed 1000 nodes with filter Filter(query=select …) - The client has more than 100,000 pages stored in their AEM instance. - The client uses a custom page property to help search for pages of a given type. What should the AEM Developer do to help resolve client´s issue?. Advise the client to reorganize their content by having nodes of no more than 10,000. Create a custom oak index the custom page property. Set the reindex flag to true for node ‘oak:index/cqPageLucene’. Use the Index Manager to validate the ‘cqPageLucene’ index is enabled. Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance?. Properties-get("cq:temp|ate"/-);. Page.getTemplate();. Page.getTemplate().getPath();. resource.getTemplate.getPath();. AEM supports Traditional, Headless and Hybrid delivery capabilities in various ways. Which of the following are the tools enabling Omnichannel experience capability in AEM?. 1. Sling Model Exporter for Content Fragments and Experience Fragments 2. AEM Assets HTTP API 3. Content Services. 1. Sling Model Exporter for Content Fragments and Experience Fragments 2. AEM Assets HTTP API 3. GraphsQL API for Content Fragments and Experience Fragments. 1. AEM Assets HTTP API 2. GraphsQL API for Content Fragments and Experience Fragments 3. Content Services. 1. Sling Model Exporter for Content Fragments and Experience Fragments 2. GraphsQL API for Content Fragments and Experience Fragments 3. Content Services. Wich practice should be used to push a code fox to make it into the current release candidate. Make the fix in CRX where the current release candidate is currently deployed. Cherry-pick the fix commit into the release candidate. Make the fix locally and upload the package to where the release candidate is dpeloyed. Cut a new release candidate from the mas branch. When configuring a custom log file on a production publish instance, which two statements aretrue? (Choose two). Web Console url http://<aemhost>:<port>/system/console/slinglog provides information about Sling Logging. Always start with the log level DEBUG on the production server to get more information. Create a run mode based on Apache Sling Logging Logger configuration for publish run mode as org.apache.sling.commons.log.LogManager.factory.config-<identlfier>. The physical location of the custom log file is NOT relative to the crx-quickstart folder. There are performance, stability, and security issues with an installed AEM instance. What should a developer do to fix these issues?. Delete and reinstall the AEM instance. Install Adobe-provided Apache configuration file. Stop, clear cache files, and restart the AEM instance. Install service pack updates from package share. You are using IIS as the Web server with the dispatcher and your websites root folder path is /content/mycompany. The page /content/mycompany/about us is edited and activated to the AEM publish instance. Assuming the dispatcher flush agent is NOT available and IIS is installed on C:inetpub of the Windows server, what needs to done for the new version of the page to be seen from the IIS Web server?. Delete the subfolders of the directory "C:inetpubwwwroot" to dear the content cache. Delete the directory "C:inetpub empn to clear the content cache. Delete the following directory "C:inetpubwwwrootcontentmycompany" to clear the content cache. You want to invert the order of display of components added to parsys provided out of the box.Recently added components always have to display on top. While implementing the new parsyscomponent, which two options are valid? (Choose two). Copy the parsys component and all its contents from /libs/foundation/components/parsys to /apps/foundation/components/parsys and modify the applicable JSPs. Copy the only applicable parsys component JSPs from /libs/foundation/components/parsys to /apps/foundation/components/parsys and modify them. Create a new parsys component under/apps/<projectid>/components/content/myparsys and apply the property sling:resourceSuperType=foundation/components/parsy$, modify the JSP as applicable. Create a new parsys component from scratch. A developer needs an existing workflow to run only when pages are created under a certain folder What should the developer create to achieve this?. A Launcher with the field exclude that has the value !jcr:nodetype==cq:Page. A Launcher with the field path pointing to the folder and nodetype field have the value cq:Page. A Launcher with the field path pointing to the folder and condition field and have the value jcr:content/jcr:primaryType==cq:Page. A Launcher with the field condition that has the value jcr:content/page. A developer tried to update a content fragment variation using Assets HTTP API but it didn't work as expected: POST /{cfParentPath}/{cfName}. What could be the potential root cause?. The service user doesnt have appropiate WRITE permissions. Assets API doesnt support UPDATE operation. Asset API doesnt support WRITE operations for content fragment variations. The developer needs must use PUT method instead of POST. Per the latest AEM archetype, what are two primary purposes of the it.launcher module? (choose two). Package up Junit tests that will later be executed server-slide. Bundle up the code that deploys ui.test to the server. Hold all mock data user for Junit testing. Trigger remote Junit execution. Bundle all Hobbes tests for automating UI test. What two types of testing are available OOB in AEM Cloud Manager Pipeline? (Choose two). Penetration testing. Integration testing. Code Quality testing. Performance testing. UI testing. A developer creates a custom Client Library named foobar.This Client Library embeds 5 other Client Libraries and contains 10 JavaScript source files. One of these files,called foo.js, has a bug on line 8 which causes an exception. The Client Library is throwing this exception online 1350 when it is included on a webpage. How should a developer find the exact line in foo.js where the exception has been thrown?. 1. Enable JS/CSS minification in OSGi configuration console for HTML Library Manager 2. Check the JavaScript exception log in the OSGi web console. 1. Temporarily remove the embedded Client Libraries of the foobar Client Library. 2. Use the browser JavaScript debugging tools. 1. Add the selector debugClientLibs to the page request. 2. Check the JavaScript exception log in the OSGi web console. 1. Add the query parameter debugClientLibs=true to the request. 2. Use the browser JavaScript debugging tools. Which property is deprecated while resolving a template (T) that can be used as a template forpage (P)?. cq:allowedTemplates property of the jcr:contentsubnode of P or an ancestor of P. allowedPaths property of T. allowedParents property of T. allowedChildren property of the template of P. If multiple configurations for the same PID are applicable, which configuration is applied?. The configuration with the highest number of matching run modes is applied. The one that occurs first in the repository is applied. A configuration factory is created and all configurations are applied. The last modified configuration is applied. Which statement about the usage of declarative services while creating an OSGi component is true?. @Property annotation is used to reference to other services from the component by component runtime. @Reference annotation is optional and used to define properties available to the component. @Component annotation is the only required annotationand missing which will NOT declare the class as component. @Service annotation is required and describes which service Interface Is served by thecomponent. An AEM application requires a service user WRITE access to children nodes but not on the parent node itself. Which console should the developer use to apply appropiate ACL?. User Management console. Group Management console. OAuth Clients console. Permmissions console. You want to restrict the size of a custom log file and enable log file rotation. Which Apache Sling configuration has to be changed in the AEM Web Console?. Apache Sling Composite Health Check. Apache Sling Job Manager. Apache Sling Logging Writer Configuration. Apache Sling Logging Logger Configuration. What is the artifact ID of the maven dependency that contains all core AEM APIs?. core-jar. api-jar. aem-jar. uber-jar. 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?. Both author and publish. Author. Publish. Due to conflict in the run modes, AEM will not start. You are logged in as userA and you are impersonating userB. How are your activities logged inthe access.log?. The logged userld is "userB impersonated by userA". The logged userld is "userA on behalf of userB". The logged userld is "userB". The logged userld is "userA". An application requires custom languages to be supported that are not present in AEM OOB Wich approach is recommended?. Add the custom languages in the website´s content pages. Override /libs/wcm/core/resources/languages and add custom languages. Overlay /libs/wcm/core/resources/languages and add custom languages. Add the custom languages in AEM projects. Which Maven plugin allows direct installation of the bundle into AEM?. maven-sling-plugin. maven-scr-plugin. maven-bundle-plugin. maven-javadoc-plugin. Which option should be used to synchronize user data across publish servers in a publish farm?. Using Vault plugin. Replication Agents. Using CURL. Using Sling Distribution. An AEM site experiences slower page loads. A developer needs to identify the slow running requests. How should a developer analyze the requests with long response times?. Use rlog.jar with the following command $ java -jar ../opt/helpers/rlogs.jar -n 10 requests.log to identify long running requests. Use proxy.jar with the following command java -jar proxy.jar <host> <remoteport> <localport> to debug the webserver and AEM server communication. Download Heapdumps from Tools > Operations > Diagnosis and analyze the Heapdumps using the Memory Analyzer Tool. Embed /libs/foundation/components/timing component in the Page Component and verify the page load time. Which log file in <cq-installation-dir>/crx-quickstrat/logs should you look at to see logging messages indicating events during startup?. Audit.log. Error.log. Stdout.log. Stderr.log. A project has a requierement to extend to WCM Core component consisting of Image. The requirements is also to add Title, Description, Link and display the titles of a few pages by links. How should a developer proceed?. 1. Extend Teaser from Core components. 2. Customized it to add the Titles by tags. 1. Extend Image form Core Components. 2. Add an HTL Template for Title extended Core Components 3. Add an HTL Template for List extended Core Components. 4. Add a reference to Title and List Components Dialog Box. 1. Extend Teaser from Core Components. 2. Add an HTL Template for List extended Core Components. 3. Add a reference to List Component Dialog box. Create a custom component as per the requirements. Which should be configured to create a custom log file with a different log level?. Apache Sling Log Configuration. Apache Sling Logging Reader Configuration. Apache Sling Logging Logger Configuration. Apache Sling Logging Configuration. 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?. Add the line "#base=touch" to the js.txt and css.txt files in the Client Library Folder. Create a resource folder called "touch" under the Client Library Folder. Set the channels property on the Client Library Folder to "touch". Pass the parameter user-agent='touch' when referencing the Client Library. Which property of dispatcher configuration allows some custom HTTP headers to be passed from a client browser to an AEM instance?. /httpheaders. /clientsheaders. /headers. /passthroughheaders. The structure section of an editable template has a locked component. What happens to the content of that component when a developer unlocks it?. The content stays in the same place but it ignored on pages using the template. The content is moved to the initial section of the editable template. The content is deleted after confirmation from the template author. The content is copied to the initial section of the editable template. What is the correct way to use clientlibs with Sightly?. <meta data-sly-template="${clientLib.all@ categories=,your.cllentlib,}"data-sly-unwrap></meta>. <meta data-sly-call="${clientLib.all @ categories-,your.clientlib,}M data-sly-unwrap></meta>. <meta data-sly-use-"${clientLib.all @ categorfes^'your.clientlib'}" data-sly-unwrap></meta>. <meta data-sly-include=n${clientLib.all @ categories='your.cllentlib'}" data-sly-unwrap></meta>. Which log file contains AEM application request and response entries?. response.log. request.log. history.log. audit.log. A developer has built a dropdown containing each of the fifty U.S states as a static option. The dialog node is called states. A new requirement is asking to use that same dropdown in another component´s dialog. Which method would be a more modular approach to the solution?. 1. Extrapolate out the states node to a more generic location. 2. Set that new location as the resourceSuperType. 1. Extrapolate out the states node to a more generic location. 2. Use granite:include in both components bring in only what is needed. Copy and paste the entire state node from the old component to the new one. Copy and paste only the options from the old component to the new one. What is the optimal way to check-out content from the JCR repository to the local file system?. Use VLT export command. Create and build a package using CQ Package manager. Download and unzip the package in the local file system. Use VLT import command. Download content from the repository as an XML file. How does AEM provide the page model to a Single Page Application (SPA). The SPA requests the HTML from AEM usimg HTL or JSP. The SPA requests the structure through the DOM. The SPA requests the page model from the Content Services. The SPA page model is provided in client libraries. A customer adds third-party client libraries to add some features in an existing AEM application, which will significantly reduce performance. What is the best option for the AEM Developed to optimize the site?. Rebuild Client libraries. Debug third-party client lib and fix the code. Embed client libraries to consolidate them into fewer files. Create new AEM application from Scartch. A developer creates Editable Templates based on a custom Page component. The developer wants toleverage the Style System within the Editable Templates to allow authors to switch between the Dark and Light Theme. The Style System dialog is NOT enabled for the site. What should the developer do to resolve this issue? *. Define Style Definitions using Page Policy dialog on Editable Template. Create two new client libraries with a dark and light theme and map them to the Page component. Set the sling:resourceSuperType property to core/wcm/components/page/v2/page on the Page component. Create a new dialog for the custom Page components. Which maven plugin is required to install a content package on a local AEM environment using maven?. Maven Install Plugin. FileVault Package Maven Plugin. Content Package Maven Plugin. Maven Bundle Plugin. The default installation location for AEM 6.0 in an Application Server is ${user.dfr}/crx-quickstart. Which method is used to change this location?. Configure the sling.home parameter in the WEB-INF/web.xml file of the AEM WAR file after deployment. Configure the sling.home parameter in the WEB-INF/web.xml file of the AEM WAR file before deployment. Configure the sling.run.modes parameter in the WEB-INF/web.xml file of the AEM WAR file after deployment,. Configure the sling.run.modes parameter in the WEB-INF/web.xml file of the AEM WAR file before deployment. A custom AEM application contains a service component that needs to access the JCR repository within theactivate method. The activate method usesResourceResolverFactory.getServiceResourceResolver(…) without specifying a sub servicename. What should a developer do to make sure the user service mapping for the service component is available? 1/1. Create a field of type ServiceUserMapped and annotate it with @Reference. Wait for the service ServiceUserMapper via BundleContext.getServiceReference(…). Create a field of type ServiceUserMapped and annotate it with @Reference using ReferencePolicy.DYNAMIC. Create a field of type ServiceUserMapper and annotate it with @Reference using ReferencePolicy.STATIC. An AEM Developer sets up an AEM project using the AEM Archetype. The build fails on its first run of mvn install due to depenrencies not found. What are the two most likely causes?(Choose Two). There is no adobe-public profile configured in settings.xml. The .m2 repository has outdated dependencies. The adobe-public profile dependencies are no present in the .m2 repository. The build command requires at least one profile. The developer did not add the adobe-public profile to the build command. AEM is installed in $AEM_HOME. In which subfolder are the command line startup and shutdown scripts located?. $AEM_HOME/crx-quickstart/bin/. $AEM_HOME/crx-quickstart/scripts/. $AEM_HOME/. $AEM_HOME/crx-quickstart/opt/. A developer creates a template-type for building editable templates. The resulting editable templates and pages must always contain a specific layout container that can NOT bedeleted by the author. How should the developer meet this requirement?. Add the layout container component by including it on the actual page component. Add a content policy to the template-type to disable the removal of the layout container. Add the layout container component to the initial section of the template-type. Add the layout container component to the structure section of the template-type. SPA components are connected to AEM componentes via the MapTo() method. Which code should be used to correctly connect an SPA component called ItemList to its AEM equivalent?. MapTo (ItemList) (‘project/components/content/itemList’,ItemListEditConfig);. MapTo (‘project/components/content/itemList’,ItemListEditConfig);. ItemList.MapTo(‘proyect/components/content/itemList’);. (‘project/components/content/itemList’).MapTo(ItemList, ItemListEditConfig);. A developer wants to automatically truncate request log files once they exceed 10 MB. Which OSGi configuration should the developer modify?. Apache Sling Customizable Request Data Logger. Adobe Granite Log Analysis Service. Apache Sling Logging Writer Configuration. Apache Sling Logging Configuration. 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"?. Use the "Update" action for the bundle in the Apache Felix Web Console. Use the "Start" action for the bundle in the Apache Felix Web Console. Reinstall the content package using the package manager. Ensure all OSGi requirements are met and re-deploy using Maven. A developer is using sling context-aware configuration trying to get the configuration resource using: @Reference Private ConfigurationResourceResolver cfgResourceResolver; confResource = cfgResourceResolver.getResource(resource, BUCKET_NAME, CONFIG_NAME); This Works as intended in autor and in publish when logged in to publish as admin. However this given a null when run as anonymous. Which method is going to fix the issue?. Applying read permissions to anonymous user for /etc directory. Applying read permissions to anonymous user for /config directory. Applying read permissions to anonymous user for /content directory. Applying write permissions to anonymous user for /config directory. An AEM developer is tasked to configure SAML setup in AEM. The integration worked fine in lower environments but not in the PROD environment. What configuration did the developer miss in PROD. Sling Referrer Filter is configured with localhost insted of IDP. Adobe Granite SSO Authentication is not configured. Adobe Granite CSRF Filter is configured with localhost instead of IDP. Adobe Jackrabbit OAK Default Sync Handler is not configured. A developer has a requirement to add a new custom tab to the page properties of a specific page. The sling:resourceType of that page is "foo/components/page" and the sling:resourceSuperType of that page is "core/wcm/components/page/v2/page". What is the best approach?. 1. Copy the cq:dialog from app/core/wcm/components/page/v2/page to app/foo/components/page 2. Remove all the tabs 3. Add the custom tab. 1. Identify the location of the cq:dialog node from app/core/wcm/components/page/v2/page 2. Identify the last entry of the items node 3. Add the custom tab after that node. 1. Copy the cq:dialog from app/core/wcm/components/page/v2/page to app/foo/components/page 2. Identify the last entry of the items node 3. Add the custom tab after that node. 1. Create a new cq:dialog node under app/foo/components/page 2. Add the nodes cq:dialog > content > items 3. Add the custom tab in this node. Which OSGI bundle should be disabled to restrict web-based log viewing?. Adobe CRXDE Support (com.day.crx.crxde-support). Apache Sling OSGiLogService Implementation (org.apache.sling.commons.logservi. Granite Requests Logging (com.adobe.granite.requests.logging). Day Commons Library - Input/OutputSupport (day-commons-io). Which jar name can NOT be used to install an AEM publish instance?. aem-publish-p4503, jar. cq5-publish-4505, jar. cq5-publish-4503, jar. cq5-publish_4503, jar. From which AEM Web Console should a developer access and download full AEM Log Files?. Web Console -> System Information. Status -> Log files. OSGI -> Sing Log Service. AEM -> Log files. When installing Internet Information Services, which Application Development Feature needs to beenabled to work with the AEM Dispatcher?. ISAPI Filters. Server-Side Includes. CGI. ISAPI Extensions. Which three statements about replicate permissions on a resource are true? (Choose three). The replication rights are evaluated bottom-up in the node tree. The allow replication rights has higher precedence than deny replication rights. To grant replication rights to a user on any resource, user has to have read permissions for/etc/replication, /bin. The allow replication rights has lower precedence than deny replication rights. Assume there are multiple publish instances (publ,pub2 and pub3) serving requests for an onlineshopping site. The end user is allowed to provide reviews and comments for each product andabout their shopping experience. The Dispatcher module is in place to load balance the requeststo publish instances and there is only one author instance, named author, where content editorscreate the pages. When a user, named User A, provides comments and the request being servedby publish Instance publ, in which three ways are these comments replicated to pub2 and pub3?(Choose three.). Configure the dispatcher flush for the author pointing to a webserver uri on which the Dispatcheris deployed and configured. Configure replication agents for the author pointing to publ, pub2 and pub3. Configure reverse replication agents for the author pointing to publ, pub2 and pub3. Configure a static agent for the author. You create an nt:unstructured node inside the apps in CRXDE Lite and then you create a folder inside the apps and click save. What is the expected behavior?. The folder and nt:unstructured node, none of them will get saved. The folder will get saved after refreshing the apps. The folder and nt:unstructured node, both will get saved. The folder will get saved. A developer needs to configure sets of values according to the following parameters: Varies for different staging environments Varies for different content paths Differs between author and publish Which implementation strategy should the developer use to meet these requirements?. A custom cloud configuration. A context aware configuration with buckets using an OSGi configuration. One OSGi configuration for the set of values with runmodes. A JCR property at the content root node of the site with inheritedPageProperties. Which three statements about configuring a development environment for a new AEM project called "customer bank", that contains both custom OSGi services and AEM components is true? (Choose three). http://<aemhost>:<aemport>/system/console/depfinderls used to find the dependencies. The repository for AEM dependency jar files can be either http://repo.adobe.com/nexus/content/groups/public/ or the local Apache Archiva with all required dependencies. Create a Maven project with archtypemultimodule-content-package-archetype from the repository http://repo.adobe.com/nexus/content/groups/public/. Create a Maven project with archtype simple-content-package-archetype from repository http://repo.adobe.com/nexu5/content/gmups/public/. An AEM developer is tasked to make an existing AEM website content to be consumable by other channels. What methods would allow for this to occur?. Update the existing Sling Models to expose the fields in the default JSON format. Create an additional replication agent to push the content in an external system that the other channels can query. Migrate the site structure and components to use content fragments and experience fragments. Create additional Sling Models for each component to support the preferred JSON. A developer needs to create a component with the following requirements The component must be configurable, the component shloud be editable, NOT removable an author should be unable to add the component to a packages through design mode Wich node structure should the developer use to meet these requirements?. component - jcr:primaryType="cq:Component" - jcr:title="Component" - componentGroup=".hidden" - cq:dialog ... - cq:editConfig - cq:actions = "[edit]". component - jcr:primaryType="cq:Component" - jcr:title="Component" - hidden="true" - cq:dialog ... - cq:editConfig - cq:actions = "[edit]". component - jcr:primaryType="cq:Component" - jcr:title="Component" - componentGroup=".hidden" - cq:actions = "[edit]" ... - cq:dialog ... component - jcr:primaryType="cq:Component" - jcr:title="Component" - cq:actions = "[edit]" - cq:dialog ... In a typical author, publish and dispatcher setup, where is the dispatcher flush configured?. In the author instance. In the publish instance. In the dispatcher module. At the webserver level. A developer creates a Sling Servlet. The Sling Servlet is bound to a path (/service/sling/sample). Refer to the resulting code below. @Component (inmediate=true,service = {Servlet.class}) @SlingServletPaths(value ? {"/service/sling/sample"}) What should the developer do to make the servlet access controlled using the default ACLs?. Use @SlingServletResourceTypes instead of @SlingServletPaths. Modify @SlingServletPaths(value = {"/bin/sling/sample" }). Add @SlingServletName(servletName = "AccessControlServlet") annotation. Add @SlingServletPrefix(value = "/apps") annotation. Which tool allows assets to be shared with multiple AEM instances as read-only local assets?. Package Manager. Felix Console. Connected Assets. Asset Link Share. Which two URLs will show the server logs? (Choose two.). http://{server}/system/console/status-slinglogs. http://{server}/system/console/slinglog. http://{server}/bin/crxde/logs. http://{server}/system/console/logs. A developer needs to ensure that the path /content/<proj>/segments exists on all environments with thecorrect initial content that the developer provides in a package. Content that exists in that path should NOT beaffected. Which import mode should the developer use in the filter definition?. update. merge. replace. optional. Which template allowed Paths expression would allow a page to be created with the path/ content/ main / page1/ page2?. /content/main/?. /content/main/[^/]+(/,*)?. /content/main/[A/]+[A/]. /content/main/*. You are creating a new OSGi configuration in the repository. When are the configuration changesapplied?. By stopping and starting the bundle that refer the service,. Changes are applied as soon as the node is updated by restarting the service. After restarting the CQ instance. Which three best practice statements are true regarding permissions and privileges? (Choose three). Access rights should not be assigned on a user-by-user basis. Use deny statements to specify the access rights of a group of users. After installation, update the passwords for the default users to prevent security breaches. Use a test installation to ensure correct relationships between Users and Groups. Wich attribute must be present in all filter rules in AEM dispatcher configuration?. /url. /type. /glob. /selectors. A project requires sharing information between SPA components. What is the least complex approach to achieve that objective?. Implement a state library in order to share component states. Centralize the logic and broadcast to the necessary components. Utilize model props to drill down and access or set the state on desired components. Customize and extend the container component to leverage the object hierarchy. |