Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free Adobe Experience Manager Sites Developer Expert Practice Questions

Question # 11

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

Discussion 0
Question # 12

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?

Options:

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.

Discussion 0
Question # 13

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"

Discussion 0
Question # 14

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!";

}

}

Discussion 0
Question # 15

The customer has a requirement to fetch images from a custom folder (folder1) which were modified on/after 1 January 2024.

How would the Adobe Experience Manager Developer write the query to get the requested data?

Options:

A.  

select [jcr:path] from [nt:base]

where isdescendantnode('/content/dam/folder1')

AND [jcr:content/cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z" AS DATE)

B.  

select [jcr:path] from [dam:Asset]

where isdescendantnode('/content/dam/folder1')

AND [jcr:content/metadata/cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z" AS DATE)

C.  

select [jcr:path] from [cq:image]

where isdescendantnode('/content/dam/folder1')

AND jcr:content.[cq:lastModified] >= CAST("2024-01-01T00:00:00.000Z" AS DATE)

Discussion 0

AD0-E137 PDF

AD0-E137 PDF (Printable)
$54.25
$154.99

AD0-E137 Testing Engine

AD0-E137 PDF (Printable)
$59.5
$169.99

AD0-E137 PDF + Testing Engine

AD0-E137 PDF (Printable)
$74.55
$212.99

Free Exams Sample Questions