Weekend Sale - Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: mxmas70

Home > Adobe > Adobe Experience Manager > AD0-E137

AD0-E137 Adobe Experience Manager Sites Developer Expert Question and Answers

Question # 4

A customer has the requirement to use SAML authentication on AEM using their SAML 2.0 compatible IDP.

Example:

    AEM: www.wknd.com/content/siteB/index.html

    IDP: https://www.idpB.com

How should an AEM Developer configure their SAML Authentication Handler?

A.

com.adobe.granite.auth.saml.SamlAuthenticationHandler.userIntermediatePath : /content/siteB

com.adobe.granite.auth.saml.SamlAuthenticationHandler.assertionConsumerServiceURL : https://www.idpB.com

B.

com.adobe.granite.auth.saml.SamlAuthenticationHandler.path : /content/siteB

com.adobe.granite.auth.saml.SamlAuthenticationHandler.idpUrl : https://www.idpB.com

C.

com.adobe.granite.auth.saml.SamlAuthenticationHandler.userIntermediatePath : /content/siteB

com.adobe.granite.auth.saml.SamlAuthenticationHandler.serviceProviderEntityId : https://www.idpB.com

Full Access
Question # 5

Given the following error:

[ERROR] org.acme:mybundle:0.0.1-SNAPSHOT: Bundle org.acme:mybundle:0.0.1-SNAPSHOT is exporting package org.acme.foo without a version.

What are the appropriate troubleshooting steps for addressing this error?

A.

Check if all the dependency declarations made in the OSGi bundle are satisfied by the capabilities declarations in other bundles included in the Maven project.

B.

Check if the custom OSGi bundles don’t have the Export-Package declarations that override AEM as a Cloud Service’s bundle dependencies.

C.

Check if the OSGi bundles specify a version with an Export-Package declaration and a version range with an Import-Package declaration.

D.

Check if all the OSGi bundles have their Import-Package declarations satisfied by the Export-Package declaration of other included bundles in the Maven project.

Full Access
Question # 6

Which action is typically performed by a replication agent in AEM?

A.

Transferring content and digital assets from the author instance to the publish instance.

B.

Synchronizing user permissions between the author and publish instances.

C.

Transferring Core components for use in AEM Sites.

Full Access
Question # 7

A developer is adding a reference script to a third-party analytics tool. The script needs to be editable since it is being modified on a schedule outside of the team’s development cycle.

How should the developer complete this task?

A.

Add a new component with the script in the HTL.

B.

Add the script to the page policy on the template.

C.

Add a Generic Analytics Snippet.

Full Access
Question # 8

How would a developer create a new Adobe Experience Manager project version 2.0 for 6.5 using the Adobe Experience Manager Maven Archetype with package com.mysite?

A.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \

-D archetypeGroupld=com.mysite \

-D archetypeArtifactld=aem-project-archetype \

-D archetypeVersion=6.5 \

-D appTitle="My Site" \

-D appld="com.adobe.aem" \

-D version="latest" \

-D aemVersion="2.0"

B.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \

-D archetypeGroupld=com.adobe.aem \

-D archetypeArtifactld=aem-project-archetype \

-D archetypeVersion=50 \

-D appTitle="My Site" \

-D appld="mysite" \

-D groupld="com.mysite" \

-D version="2.0" \

-D aemVersion="6.5"

C.

mvn -B org.apache.maven.plugins:maven-archetype-plugin:3.2.1:generate \

-D archetypeGroupld=com.adobe.aem \

-D archetypeArtifactld=aem-project-archetype \

-D archetypeVersion=${jabebrrl_nmqjiwqo} \

-D appTitle="My Site" \

-D appld="siteld" \

-D groupld="com.mysite" \

-D version="2.0" \

-D aemVersion="latest"

Full Access
Question # 9

While configuring SSO with SAML 2.0 compatible IDP on AEM, a developer notices an infinite loop between the IDP and AEM when trying to log in to AEM using SSO.

Which dispatcher-specific configuration is required to prevent this scenario?

A.

Config File: filters.any

Config: /0100 { /type "allow" /method "POST" /url "*/saml_login" }

B.

Config File: allowed_clients.any

Config: /0100 { /type "allow" /method "PUT" /url "*/samllogin" }

C.

Config File: vhosts.any

Config: /0100 { /type "allow" /method "POST" /url "*/samllogin" }

Full Access
Question # 10

An Adobe Experience Manager project requires to deny all XML and JSON requests under the /path2 and /path3 context paths.

Which configuration will work?

A.

/0001 {/type "deny" extension '(XML|JSON)' /path '(/path2|JSON/*)'}

B.

/0001 {/type "deny" extension [XML|JSON]'/path[/path2|/path3/*]'}

C.

/0001 {/type "deny" extension "[XML|JSON]' /path'[/path2|/path3/*]"}

Full Access
Question # 11

An Adobe Experience Manager team is using an additional DEV environment in Adobe Experience Manager as a Cloud Service as their UAT environment. An AEM architect is asked to configure a dedicated URL endpoint to be used as a preview service for the same environment.

Which configuration will accomplish this task?

A.

/apps//osgiconfig/author.uat/.cfg.json in ui.apps.structure project

B.

/apps//osgiconfig/config.publish.uat/.cfg.json in ui.config project

C.

/apps//osgiconfig/config.uat.author/.cfg.json in ui.config project

Full Access
Question # 12

A university wants to roll out content updates to all the schools affiliated with it. The individual schools have configured their respective homepages with a space allocated to display updated university information. The rest of the homepage is dedicated to school-specific information.

What is the recommended approach to roll out university updates on all the schools' homepages?

A.

Roll out of Experience Fragment

B.

Mark the "Partial" option on the roll out screen

C.

Restore inheritance for certain components on the school homepage

D.

Implement custom logic for page roll out action

Full Access
Question # 13

A developer is creating a set of SPA components, half of which do not require a custom component exporter. The developer needs to override the default exporter for the remaining components.

How can the developer meet this goal?

A.

Implement ImplementationPicker service

B.

Implement ComponentExporter service

C.

Implement FallbackComponentImpl service

Full Access
Question # 14

An AEM engineer is asked to write a single file for the following items:

    Register a custom JCR Namespace

    Create a folder named Tutorials within the DAM assets

    Create a service user with predefined access control rules and permissions

    Create the administrator's group and add the service user as a member

Which feature should the engineer use?

A.

Ensure Authorizable

B.

Repoinit

C.

OnDeploy Scripts

Full Access
Question # 15

A customer added a custom property foo:bar to all assets. Once the property is added, the customer needs to run the following query:

select * from [dam:Asset] where isdescendantnode('/content') and [foo:bar] ="Hello"

How would the customer update the indexes to make sure the query is not a traversal query?

A.

Add foo:bar as a child node of oak:index/damAssetLucene/indexRules/dam:Asset/properties.

B.

Add foo:bar as a child node of oak:index/lucene/indexRules/dam:Asset/properties.

C.

Add "Hello" as a child node of oak:index/ntBaseLucene/indexRules/dam:Asset/properties.

Full Access