AEM-deck Flashcards
Which property should be used to find the repository where the configuration changes made in the Web Console are saved? A. Persistent Identity (PID) B. Reference Repository C. Component.id D. Component.name
A
How do you disable the “Target” context menu item on components in AEM 6.0?
A. Set the property “cq:disable Targeting” to true on the dialog node.
B. Set the property “cq:disable Targeting” to true on the component node.
C. Set the property “cq:disable Targeting” to true on the cq:editConfig node.
D. Set the property “cq:disable Targeting” to true on the cq:editConfig/cq:listeners node.
C
Which statement about the usage of declarative services while creating an OSGi component is true?
A. @Property annotation is used to reference to other services from the component by component runtime
B. @Reference annotation is optional and used to define properties available to the component C. @Component annotation is the only required annotation and missing which will NOT declare the class as component
D. @Service annotation is required and describes which service Interface Is served by the component
C
Which three statements about replicate permissions on a resource are true? (Select three.)
A. The replication rights are evaluated bottom- up in the node tree.
B. The allow replication rights has higher precedence than deny replication rights.
C. To grant replication rights to a user on any resource, user has to have read permissions for /etc/replication, /bin.
D. The allow replication rights has lower precedence than deny replication rights.
A, B, C
What are three causes if Dispatcher stopped updating cache files in the cache directory on the Webserver? (Select three.)
A. The request to the page in question contains query string parameters.
B. The request to the page in question has authorization headers and dispatcher.any does not contain \allowAuthorized.
C. Dispatcher Flush agent is disabled on publish instance.
D. The request URI of the page in question should always start with /content.
A, B, C
In a typical author, publish and dispatcher setup, where is the dispatcher flush configured? A. In the author instance. B. In the publish instance. C. In the dispatcher module. D. At the webserver level.
A
Which jar name cannot be used to install an AEM publish instance? A. aem- publish- p4503.jar B. cq5- publish- 4505.jar C. cq5- publish- 4503.jar D. cq5- publish_4503.jar
D
Which property deprecated while resolving a tempis deprecated while resolving a template (T) that can be used as a template for page (P)?
A. cq:allowedTemplates property of the jcr:content subnode of P or an ancestor of P
B. allowedPaths property of T
C. allowedParents property of T
D. allowedChildren property of the template of P
B
Assume there are multiple publish instances (pub1, pub2 and pub3) serving requests for an online shopping site. The end user is allowed to provide reviews and comments for each product and about their shopping experience. The Dispatcher module is in place to load balance the requests to publish instances and there is only one author instance, named author, where content editors create the pages. When a user, named User A, provides comments and the request being served by publish Instance pub1, in which three ways are these comments replicated to pub2 and pub3? (Select three.) A. Configure the dispatcher flush for the author pointing to a webserver uri on which the Dispatcher is deployed and configured. B. Configure replication agents for the author pointing to pub1, pub2 and pub3. C. Configure reverse replication agents for the author pointing to pub1, pub2 and pub3. D. Configure a static agent for the author.
A, B, C
Which template allowed Paths expression would allow a page to be created with the path /content/main/page1/page2? A. /content/main/? B. /content/main/[^/]+(/.*)? C. /content/main/[A/]+[A/] D. /content/main/*
B
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 parsys component, which two options are valid? (Select two.)
A. Copy the parsys component and all its contents from /libs/foundation/components/parsys to /apps/foundation/components/parsys and modify the applicable JSPs.
B. Copy the only applicable parsys component JSPs from /libs/foundation/components/parsys to /apps/foundation/components/parsys and modify them.
C. Create a new parsys component under/apps//components/content/myparsys and apply the property sling:resourceSuperType=foundation/components/parsy$, modify the JSP as applicable,
D. Create a new parsys component from scratch.
A, C
You are logged in as userA and you are impersonating userB.
How are your activities logged in the access.log?
A. The logged userld is “userB impersonated by userA” B. The logged userld is “userA on behalf of userB”
C. The logged userld is “userB”
D. The logged userld is “userA”
C
Which OSGI bundle should be disabled to restrict web- based log viewing?
A. Adobe CRXDE Support (com.day.crx.crxde- support)
B. Apache Sling OSGiLogService Implementation (org.apache.sling.commons.logservi
C. Granite Requests Logging (com.adobe.granite.requests.logging)
D. Day Commons Library - Input/OutputSupport (day- commons- io)
A
Which Maven plugin allows direct installation of the bundle into AEM? A.maven- sling- plugin B.maven- scr- plugin C.maven- bundle- plugin D.maven- javadoc- plugin
A
When installing Internet Information Services, which Application Development Feature needs to be enabled to work with the AEM Dispatcher? A. ISAPI Filters B. Server- Side Includes C. CGI D. ISAPI Extensions
D
Which should be configured to create a custom log file with a different log level?
A. Apache Sling Log Configuration
B. Apache Sling Logging Reader Configuration
C. Apache Sling Logging Logger Configuration
D. Apache Sling Logging Configuration
C
Which is a valid out- of- the- box sling run mode? A. activate B. production C. loadsamplecontent D. nosamplecontent
D
Which command would you enter in your CQ Component script to get the template path of an AEM page in publish instance? A. Properties.get("cq:template"); B. Page.getTemplate(); C. Page.getTemplate().getPath(); D. Resource.getTemplate.getPath();
A
The same OSGI configuration parameter is present under /libs//config.. AND /apps//config..and modified in both locations as well as via felix Console.
During runtime, what is the reload order?
A. /libs//config, Felix Console and /apps//config
B. Felix Console, /apps//config and /libs//config
C. /libs//config, /apps//config and Felix Console
D. /apps//config, /libs//config and Felix Console
B
How do you delete a property inside a Node object?
A. node.setProperty(“propertyName”,””);
B. node.setProperty(“propertyName”,null);
C. node.delete(“propertyName”);
D. node.removeProperty(“propertyName”);
B
When configuring a custom log file on a production publish instance, which two statements are true? (Select two.)
A. Web Console url http://:/system/console/slinglog provides information about Sling Logging.
B. Always start with the log level DEBUG on the production server to get more information.
C. Create a run mode based on Apache Sling Logging Logger configuration for publish run mode as org.apache.sling.commons.log.LogManager.factory.config- .
D. The physical location of the custom log file is NOT relative to the crx-quickstart folder.
A,C
What does the vlt command ‘resolve’ do?
A. Removes the conflict markers.
B. Semantically resolves conflicts.
C. Removes the conflict- related artifact files.
D. Allows the path to be committed with the conflicts.
C
You add “sling.run.modes=publish” in sling.properties and start the instance using the command “java - jar aem- 6- p4502.jar - author”.
In which mode will the instance start?
A. Both author and publish.
B. Author
C. Publish
D. Due to conflict in the run modes, AEM will not start.
C
Which three best practice statements are true regarding permissions and privileges? (Select three.)
A. Access rights should not be assigned on a user- by- user basis.
B. Use deny statements to specify the access rights of a group of users.
C. After installation, update the passwords for the default users to prevent security breaches.
D. Use a test installation to ensure correct relationships between Users and Groups,
A,C,D
What is the optimal way to check- out content from the JCR repository to the local file system?
A. Use VLT export command.
B. Create and build a package using CQ Package manager. Download and unzip the package in the local file system.
C. Use VLT import command.
D. Download content from the repository as an XML file.
A