MoreExam
1. Question Content...
EXPLANATION
Answer: X - EXPLANATION Content.
Question1: What is not available in globel.jsp?
Question2: A developer has a component foobar that consists of the files listed below:script-a.jsscript-b.jsfoobar.htmlWhat is the output when this component is rendered?
Question3: After adding new features, a developer's environment is experiencing slowness before ultimately running out of memory. The initial log analysis points towards a large number of open sessions.Which action should the developer take to further monitor the overall session count on this AEM instance?
Question4: A developer is creating a custom component that shows a list of pages. For each page, the following items must be shown:* Title of the page* Description of the page* A button with fixed text "Read more" that must be translatableAll of the above fields must be wrapped in a <div> tag.The logic for obtaining the list of pages must be reusable for future components.Which snippet should the developer use to meet these requirements?
Question5: A developer is working on a dialog for a contact list component. The dialog has the following requirements:1. The list of contacts must include one or more entries.2. Contact details must include a full name.3. Contact details must include an email address4. Contact details can optionally include a short bio5. Authors need to be able to rearrange the contacts in the listWhich dialog configuration should the developer use to meet all of these requirements?
Question6: How should a developer enable remote debugging of an AEM server without modifying the AEM start script?
Question7: The custom AEM application needs to keep a flat list of all page paths underneath /content/thesite in memory for a real-time integration with high performance requirements.The developer has the following intermediate state of the class:What action should the developer take to meet these requirements?
Question8: 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 across all environments?
Question9: A developer is creating templates and/or components using CRXDE Lite. The developer needs to check the files into source control.Which tool should the developer use to achieve this goal?
Question10: Which log file contains AEM application request and response entries?
Question11: The dependency of an AEM project fails when a developer configures using Apache Maven. Refer to the error information below.INFO] ---------------------------------------[ERROR] COMPILATION ERROR :[INFO] ---------------------------------------[ERROR] /training/core/src/main/java/com/adobe/training/core/listeners/SimpleResourceListener.java:[18,28] package org.apache.sling.api does not exist[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[26,28] package org.apache.sling.api does not exist[ERROR] /training/core/src/main/java/com/adobe/training/core/filters/LoggingFilter.java:[27,31] package org.apache.sling.engine does not exist[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[22,37] package org.apache.sling.api.resource does not exist[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[25,33] package org.apache.sling.api.settings does not exist[ERROR] /training/core/src/main/java/com/adobe/training/core/models/HelloWorldModel.java:[31,13] cannot find symbol symbol: class SlingSettingsService location: class com.adobe.training.core.models.HelloWorldModel What should a developer add to the pom.xml to fix the Maven build?
Question12: 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?
Question13: A developer wants to automatically truncate request log files once they exceed 10 MB.Which OSGi configuration should the developer modify?
Question14: A custom AEM application is using the PageManager API.What should a developer add to make the application compile and run correctly in AEM?
Question15: Which maven plugin is required to install a content package on a local AEM environment using maven?
Question16: Refer to the following four Client Library Folders.A developer uses the following:What is the resulting HTML?
Question17: There are performance, stability, and security issues with an installed AEM instance.What should a developer do to fix these issues?
Question18: A developer needs to upgrade existing components (Proxy Components) based on Core Components Version 1(v1) to Core Components Version 2(v2).How should the developer upgrade to V2 Core Components?
Question19: There is a config file package.myClass.config.factory-myApp.xml - what is true? (Choose two)
Question20: A developer needs to install a content package on an AEM environment. However a content package with the same name is already installed.What would be the safest way for the developer to install the content package to make sure only the changes of the new content package get applied?
Question21: A custom AEM application contains a service component that needs to access the JCR repository within the activate method. The activate method uses ResourceResolverFactory.getServiceResourceResolver(...) without specifying a sub service name.What should a developer do to make sure the user service mapping for the service component is available?
Question22: A developer determines that the dispatcher is NOT refreshing the cached page /content/sampleproject/sample.html after it is updated.The dispatcher.any contains the following entries:/cache{/docroot "/opt/dispatcher/cache"/statfile "/tmp/dispatcher-website.stat"/statfileslevel "2"/rules{/0000 { /glob "*" /type "allow" }}/invalidate{/0000 { /glob "*" /type "deny" }}}Refer to the $DOCROOT directory below:[user@group /opt/dispatcher/cache]$ ls -latotal 2drwxr-xr-x. 5 apache apache 4096 Feb 11 11:41 .drwxr-xr-x. 3 apache apache 4096 Nov 29 16:07 ..drw-r--r--. 4 root root 4096 Feb 7 03:21 content-rw-r--r--. 1 apache apache 0 Feb 7 03:19 .statThe dispatcher needs to cache the page and refresh it after it gets updated.What action should the developer take to meet these requirements?
Question23: A developer creates the following code snippet to implement a simple polling importer to fetch stock prices from an external source:The polling importer needs to fetch stock prices for a specific stock symbol and needs to be triggered every 5 minutes.Which node structure should the developer create in CRX to make sure that the code shown is executed successfully?
Question24: A custom application contains a service component com.proj.ServiceComponent. A developer needs to configure the string value name and integer value intVal. The actual configuration must be deployed using a content package.What should the developer do to meet these requirements?
Question25: 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?
Question26: Which xml tag is used within the vault package definition to add a new path to a content package?
Question27: A developer needs to ensure that the path /content/<proj>/segments exists on all environments with the correct initial content that the developer provides in a package. Content that exists in that path should NOT be affected.Which import mode should the developer use in the filter definition?
Question28: For each CRX node in the hierarchy, which actions can be configured using the user admin interface?
Question29: An application runs specific license checks against certain DAM assets every day. It should send an email to a configured list if it finds warnings, and mark the asset accordingly. A service component that uses the Apache Sling Scheduler Service is created. DAM assets that must NOT be used anymore are hidden using ACLs and the license check must re-check them.How should a developer obtain a resource resolver that can read and update the DAM assets?
Question30: The structure section of an editable template has a locked component.What happens to the content of that component when a developer unlocks it?
Question31: 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?
Question32: A developer is creating a custom component on the page /latestBlogs.html that needs to list all the titles of the blogs pages under /content/blogs.How does this component get the list of child pages?
Question33: Which log file should a developer use to search for exception stacktraces?