Cuestiones
ayuda
option
Mi Daypo

TEST BORRADO, QUIZÁS LE INTERESECertificación AEM tanda 1

COMENTARIOS ESTADÍSTICAS RÉCORDS
REALIZAR TEST
Título del test:
Certificación AEM tanda 1

Descripción:
Certificación AEM tanda 1

Autor:
AVATAR

Fecha de Creación:
09/04/2024

Categoría:
Informática

Número preguntas: 38
Comparte el test:
Facebook
Twitter
Whatsapp
Comparte el test:
Facebook
Twitter
Whatsapp
Últimos Comentarios
No hay ningún comentario sobre este test.
Temario:
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 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.
Where should an AEM Developer add a frond end dependency? settings-xml config.json vault.xml package.json.
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.
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.
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 .
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.
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 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.
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.
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.
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”/>.
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 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 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 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.
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.
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.
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.
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.
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.
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 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.
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 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.
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);.
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.
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.
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.
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.
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.
Denunciar test Consentimiento Condiciones de uso