• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/43

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

43 Cards in this Set

  • Front
  • Back
QUESTION 8
What is the main purpose of the CQ HTML client library property that is calledcategories?

A. To easily find client libraries when the user searches categories in the authorenvironment.
B. To uniquely name a group of client libraries to be included in templates oromponents and to reference dependencies to other client libraries.
C. To link the categories name with the component name, so that the client librarycan be included automatically into the component.
D. To define the type of files that the client library contains, e.g. JavaScript and/orCSS.
B
QUESTION 9
What is the purpose of the Impersonators tab within the User settings?
A. Add one or more users that are allowed to take over all permissions from thecurrent user.
B. Add one or more users that are inheriting the permissions from the current user.
C. Add one or more users that can act on the behalf of the current user.
D. Add one or more users that the current user can act on their behalf.
C
QUESTION 10

Which OSGi configuration settings take over precedence on start-up?

A. Any .config files from /crx-quickstart/launchpad/config/* onthe local file system.B. Repository nodes with type sling:OsgiConfig under /libs/*/install.
C. Repository nodes with type sling:OsgiConfig under /apps/*/config.
D. Repository nodes with type sling:OsgiConfig under /libs/*/config.
C
QUESTION 11
Which tab in the Apache Felix Web Console displays the list of all the users that arelogged in to the repository?
A. Authenticator tab.
B. CRX Login Tokens tab.
C. Recent Request tab.D. System Information tab.
B
QUESTION 12
How do you define the error message that should be displayed when the regex widgetvalidation results in an error?
A. After the regular expression property in the cq:Widget element, add a newproperty, name it regex andenter the error message in quotes. B. Add a property to the cq:Widget element, name it regexText and enter the errormessage.
C. Create a node under the cq:Widget element, name it options, then create aproperty called errorMessage and enter the error message.

D. Create a node under the cqWidget element and name it errorMessage. Create aproperty called text and enter the error message.
B
QUESTION 13
You have renamed the CQ quickstart file to cq5-author-4502.jar. What is the correctway to install CQ 5.4 as a Windows Service?
A. In Windows open Services > Administrative Tools and then upload cq5-author-4502.jar to the control panel.
B. Use the command line and start CQ with java -Xmx512M -jar cq5-author-4502.jar-service.
C. Unpack cq5-author-4502.jar, navigate to crx-quickstart/opt/helpers and startinstsrv.bat.
D. Open the Apache Felix Web OSGi console, navigate to Services and upload cq5-author-4502.jar.
C
QUESTION 14
You have a CQ instance configured to use LDAP authentication. In the LDAPconfiguration file you see the parameter “com.day.core.CRXLoginModule sufficient;”.What is the purpose of this parameter?
A. It means that if CRX can authenticate a user with the CRXLoginModule, the user isauthenticated successfully; else CRX uses the next login module.
B. It means that if authentication fails with the CRXLoginModule, the completeauthentication fails.
C. It means that after logging in successfully, user credentials will be copiedautomatically to CRX.
D. It means that the authentication will use a callback implementation.
A
QUESTION 15
What is the purpose of a Closed User Group?
A. To define a selected group of authors with special authoring permissions
B. To define one or more Web pages on the publish instance accessible only bymembers of the Closed User Group
C. To define a group of users and assign them admin rights to manage workflows
D. To define a group of users that have special privileges to do system support
B
QUESTION 16
You are installing a content package with the Package Manager. What does the settingSave Threshold in the Install Package dialog mean?A. The time limit in milliseconds to save a batch of nodes to persistent storage in onetransaction.
B. The approximate number of nodes in a batch that is saved to persistent storage inone transaction.
C. The size in kilobytes to save a batch of nodes to persist storage in one transaction.
D. The maximum size in kilobytes of a temporary snapshot.
B
QUESTION 17A change in a JSP is NOT being reflected. How do you enforce a freshparsing/compilation of the JSP file?
A. Search and delete the Java Class file from within /var/classes.
B. Restart the CQ Servlet Engine.
C. Add a query parameter in the page, which is using the JSP file.
D. Restart the bundle Apache Sling Scripting JSP Support.
A
QUESTION 18Which type of Replication Agent do you create to flush the Web server cache for anewly activated page?
A. Create a Reverse Replication Agent on the author instance.
B. Set the Serialization Type property of the Default Agent to Dispatcher Flush.
C. Create a new replication agent and set Transport URI to point to the Web server.
D. Create a Dispatcher Flush Agent.
D
QUESTION 20Which statement correctly describes the OSGi installer service?

A. It is a provider that searches for nodes of type sling:osgiConfig.
B. It is a service that scans the CRX repository for artifacts and provides them to theJCR installer.
C. It is a central service for handling installs, updates and uninstall of artifacts.
D. It is a service searching the CRX repository for folders named install.
C
QUESTION 21Given the CQ Dispatcher configuration in the /filter section:/filter{/0001 { /glob “*” /type “deny” }/0002 { /glob “* /content/geometrixx[./]*” /type “allow” } /0003 { /glob “*/content/geometrixx/company[./]*” /type “deny” } /0004 { /glob “*” /type “allow” }}Which rule will be applied to the request: /content/geometrixx/company/news.html?
A. Request denied, because of rule 0001. The first rule that matches the request willbe applied.
B. Request served, because of rule 0002. The configuration can only be applied to thesecond level path.
C. Request denied, because of rule 0003. The configuration with the closest matchwill be applied.
D. Request accepted, because of rule 0004. The last configuration that matches therequest will be applied.
D
QUESTION 22Given the configuration in the Apache Web server httpd.conf:SetHandler dispatcher-handlerOptions FollowSymLinks AllowOverride NoneWhat is the purpose of the SetHandler option?
A. Enable the CQ Dispatcher only for requests to the / page.
B. URL rewrite configuration directory for the CQ Dispatcher.
C. Enable the CQ Dispatcher for all requests to the server.
D. Define the name of the CQ Dispatcher configuration file.
C
QUESTION 23You want to create a custom widget. In which type of folder should you create thecustom widget?
A. Create a folder within the component’s folder, then assign nodeType = nt:folderand name it “widgets”
B. Create a folder of nodeType = nt:unstructured within your project folder and CQwill recognize it automatically
C. Create a folder under your /etc/design, nodeType = nt:folder and name it“widgets”
D. Create a folder under your project folder in /apps with the nodeType =cq:ClientLibraryFolder and set property sling:resourceType = widgets/clientlib
D
QUESTION 24Which flag should you set when you configure the mod_rewrite rules of the Apache Web serverwhen you are including the CQ Dispatcher module?
A. ‘G’ flag to force the server to return a 410 Gone status with the response.
B. `PT’ flag to send the original request through to processing pipeline for theDispatcher to respond.
C. ‘R’ flag to force all the requests to be redirected to the location specified in therewrite rule.
D. ‘T’ flag to set the MIME type for all the HTTP responses.
B
QUESTION 25You want the process script to automatically advance the workflow to the next stepafter execution. Which dialog form field of a Process Step must be set to true?
A. Process Arguments.
B. Timeout Handler.
C. Timeout.
D. Handler Advance.
D
QUESTION 26You want to debug a CQ HTML client library in the author instance. You want to avoidcompressing the JavaScript file. What must you do?
A. Add a property called debugClientLibs to the js.txt and set the value to true.
B. Add a property called debug the client library root node and set the value to true.
C. Add a query parameter to the URL called debugClientLibs with the value true.
D. Specify an attribute called debug in the tag and set the
C
QUESTION 27You want to request a JSON representation of the content. What do you have to do with therequest?
A. Add the query parameter ?json=true.
B. Change the extension to .json.
C. Add a selector json.
D. Write custom code.
B
QUESTION 28What is the purpose of the Export Package Manifest header?
A. Stores the defined packages in the CQ installation folder.
B. Define packages that are copied into a .war file.
C. Stores the defined packages as ZIP file for uploading to CRX.
D. Define packages that can be imported by other bundles.
D
QUESTION 29
You are creating a component on the page /hotNews.html that needs to list all the titlesof the news pages under /news. How does this component get the list of child pages?.

A.Use PageManager.getPage(“/content/news”) of the static PageManager class toinstantiate a Pageobject and then iterate through the child pages
B. Use the QueryBuilder to look for all children of /news and then iterate through theresult set
C. Instantiate a Node object with session.getNode(/content/news) and then iteratethrough the child nodes
D. Use Sling’s resourceResolver to adapt the request resource to a PageManagerobject, then use the getPage(/content/news) to instantiate a Page object and theniterate through the child pages
D
QUESTION 30You want to create a new javax.jcr.Node nodeC as a copy of node
A. nodeC should also be a child of nodeB. What should you do?
B. Node nodeC = nodeB.copy(nodeA.getPath(), nodeA.getName());
C. Node nodeC = nodeA.duplicate(nodeB.getPath());
D. Node nodeC = com.day.cq.commons.jcr.JcrUtil.copy(nodeA, nodeB,nodeA.getName());E. Node nodeC = javax.jcr.session.copy(nodeA, nodeB, nodeA.getName());
D
QUESTION 31You want to view request information sent to the server. Which browser-based toolshould you use?
A. Website administration
B. Apache Felix Web console
C. CQ Servlet Engine console
D. JCR Content Explorer
B
QUESTION 32You are configuring a Replication Agent. What does the check box Use for reversereplication in the Agent Settings dialog mean?
A. If checked, this agent will notify the user about a successful replication from theauthor to a publish instance.
B. If checked, this agent will perform a rollback of a failed replication from an authorto a publish instance.
C. If checked, this agent will be used to replicate user generated content from thepublish to the author instance.
D. If checked, this agent will be used to restore a previous version from anotherinstance.
C
QUESTION 33You want to define a Java based CQ workflow process step. Which interface must your classimplement?
A. The com.day.cq.workflow.exec.WorkflowProcess interface.
B. The org.osgi.service.event.EventHandler interface.
C. The com.day.cq.workflow.exec.JavaWorkflow interface.
D. The com.day.cq.workflow.exec.WorkflowData interace
A
You are configuring the dispatcher configuration file dispatcher.any. What does the glob/invalidate {/0001 {/glob “*.html” /type “allow” }} enforce the dispatcher to do whenthe Web page /content/mypage.html gets activated?
A. The complete cache is invalidated
B. All cached .html files are physically deletedC. Only the cached .html files are invalidatedD. Delete the cached file /mypage.html and create a new cached /mypage.html file
C
QUESTION 35How can you configure a CQ component to allow an Author to edit content withoutopening a dialog?
A. Create and configure the /cq:editConfig/cq:inplaceEditing node under thecomponent node.
B. Create and configure the /cq:editConfig/cq:inplaceEditing node under thecomponent’s design dialog node.
C. Create and configure the /cq:editConfig/cq:dropTargets node under the componentnode.
D. Create and configure the /cq:editConfig/cq:inplaceEditing node under thecomponent’s default script node.
A
QUESTION 36You want to extend the foundation Text/Image component by creating a newcomponent. Which is the correct value to add to the property resourceSuperType in thenew component?
A. foundation/components/textimage.
B. libs/foundation/components/textimage.
C. components/textimage.
D. /foundation/components/textimage.
A
QUESTION 37
You have changed the CRX admin password. Which console or tool do you also need to update?
A. CRXDE Lite
B. CQSE Admin Console
C. Apache Felix Web Console
D. CQ User Administration Console
C
QUESTION 38You created a site /project/en and want to add language sites /de and /fr. What is thebest practice to create the additional language sites?
A. Use the WCM console to copy and paste from /en.
B. Use the Language Copy tool.
C. Create a workflow with a custom process step that creates the according languagepages whenever you create a new /en page.
D. Create and download a CQ package containing the /en site. Open the zip file andrename the /en folderto /fr or /de, then reinstall the package.
B
QUESTION 39
You have an active bundle which is configured via CRX repository. What do you have todo after you have saved changes to the configuration to apply them?
A. Go to the Felix Web OSGi Console, stop and then start the bundle.
B. Restart the CQ instance.
C. Go to the Felix Web OSGi Console and re-activate the bundle.
D. Nothing. Changes are automatically applied
D
QUESTION 40
You have a page and want to create a child page. Which property has the highestpriority to determine which templates can be used?
A. cq:allowedParents
B. cq:allowedChildren
C. cq:allowedPaths
D. cq:allowedTemplates
D
QUESTION 41You have successfully installed CRX and crx-launchpad on Websphere ApplicationServer. How do you install CQ5?
A. Upload the cq-quickstart.jar file to the Felix Console and start the Jar file.
B. Start cq-quickstart .jar file within the Application Server.
C. Upload and install cq.war file to the Application Server.
D. Install CQ using content packages.
D
QUESTION 42How does the Configuration Admin service use Persistence IDs (PID)?
A. It stores the date for the last configuration.
B. It stores all the versions of the entire configuration for a service.
C. It generates a new PID every time the configuration of the services changes.
D. It associates the service configuration data with PIDs.
D
QUESTION 43You want to add additional features to a Node. What should you do?
A. Add a new jcr:primaryType value to the Node.
B. Invoke the Node’s addMixin() method passing the name of a mixin.
C. Replace current jcr:primaryType with jcr:mixinType.
D. Add a new nt:base Node type to the Node.
B
QUESTION 44Which is a difference between an OSGI bundle and a Java package?
A. None. You can install and activate any java package in an OSGI container
B. A jar file cannot be inside an OSGI Bundle
C. The bundle contains extra metadata defined in a MANIFEST.MF file
D. The bundle package structure is completely different than the one of a .jar file
C
QUESTION 45
You want to install bundles through CRX only in the author instance. Which folder namecan you use for that purpose?
A. All folders under the install folder.
B. All folders under the install folder that are named author.
C. All folders named install.author.
D. The folder runmodes.author.
C
QUESTION 46
You are logged in as userA and you are impersonating userB. How are your activitieslogged in the access.log?
A. The logged userId is “userA”
B. The logged userId is “userB”
C. The logged userId is “userA on behalf of userB”.
D The logged userId is “userB impersonated by userA”
B
QUESTION 47You have configured the cached properly in the dispatcher module. What is thedifference between:request 1 = /content/mypage/mypic.small.png?? and request 2 =/content/mypage/mypic.png?size=small
A. NO difference. Request 1 and request 2 both get cached
B. request 1 gets cached, request 2 does not get cached
C. request 2 gets cached, request 1 does not get cached
D. NO difference. Neither request 1 nor request 2 get cached
B
QUESTION 48How do you delete a property inside a Node object?
A. node.removeProperty(“propertyName”);
B. String propertyA = “”; node.setProperty(“propertyName”, propertyA);
C. String propertyA = null; node.setProperty(“propertyName”, propertyA);
D. node.delete(“propertyName”);
C
QUESTION 49You have created a bundle with CRXDE. What does the .bnd file contain?
A. The Activator class to notify start and stop events
B. Extra metadata about the bundle used by the CRXDE build process.
C. The list of all classes inside the bundle
D. The compilation and deployment steps of the bundle
B
QUESTION 50When you are saving or updating a configuration in the Configurations tab in theApache Felix Web OSGi Console, where are these configuration settings saved?
A. To the CRX /var/config/ path.
B. Under /crx-quickstart/launchpad/config/.
C. The new configuration is only kept at runtime.
D. In an internal SQLite DB used by the Apache Felix Web OSGi Console
B
QUESTION 51
Which service property does an Event Subscriber need to subscribe to an Event Handler in theOSGi Event Admin service?
A. event.type
B. event.name
C. event.title
D. event.topic
D