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

AD0-E137 VCE Exam Download

Page: 3 / 4
Total 50 questions

Adobe Experience Manager Sites Developer Expert Questions and Answers

Question 9

A customer needs to create a user and due to security reasons, that user can only have access to /content/foo and none of the child nodes.

How should the Adobe Experience Manager Developer implement permission restrictions on the /content/foo node to meet this requirement?

Options:

A.

rep:glob = ""

B.

rep:globs = "**"

C.

rep:glob = "child"

Question 10

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?

Options:

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.

Question 11

What is the correct way to implement the OSGi service class for this interface?

public interface SimpleService {

String getMessage();

}

Options:

Options:

A.

@Component(service = SimpleService.class, immediate = true)

public class SimpleServiceImpl extends SimpleService {

@Override

public String getMessage() {

return "Hello from SimpleService!";

}

}

B.

@Component(service = MySimpleService.class, immediate = true)

public class SimpleServiceImpl implements SimpleService {

@Override

public String getMessage() {

}

}

C.

@Component(service = MySimpleService.class, immediate = true)

public class SimpleServiceImpl implements SimpleService {

@Override

public String getMessage() {

return "Hello from SimpleService!";

}

}

D.

@Component(service = SimpleService.class, immediate = true)

public class SimpleServiceImpl implements SimpleService {

@Override

public String getMessage() {

return "Hello from SimpleService!";

}

}

Question 12

A customer is required to fetch only jcr:title property for pages created using the homepage template.

How would the developer write the query using QueryBuilder API?

Options:

A.

type=cq:Page

path=/content

property=jcr:content/cq:template

property.value=/conf/geometrixx/templates/homepage

B.

hits=selective

C.

properties=jcr:title

D.

type=cq:Page

path=/content

property=jcr:title/cq:template

property.value=/var/eventing/geometrixx/templates/homepage

E.

value=full

F.

properties=cq:title

G.

type=cq:Page

path=/content

property=cq:template

property.value=/var/eventing/geometrixx/templates/homepage

Page: 3 / 4
Total 50 questions