Cuestiones
ayuda
option
Mi Daypo

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

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

Descripción:
Certificación AEM tanda 4

Autor:
AVATAR

Fecha de Creación:
16/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:
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.
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 { .
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.
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); }.
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.
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);.
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.
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.
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 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.
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 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 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.
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=*” } … }.
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 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.
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.
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.
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 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.
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.
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.
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.
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 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.
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.
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.
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 ...
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. .
Wich attribute must be present in all filter rules in AEM dispatcher configuration? /url. /type. /glob /selectors.
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.
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.
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.
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.
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.
Denunciar test Consentimiento Condiciones de uso