Black Friday Special Sale Limited Time 70% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: buysanta

Exact2Pass Menu

Question # 4

The recommended way to validate a user against an external system when adding a user through the UI or a web service is to:

A.

Create a hook plug in to add a model listener to the User object

B.

Create a service wrapper hook that modifies the User service

C.

Create a Struts action hook to perform validation when the user form is submitted

D.

Create an Ext plugin to modify the core Spring configuration to override the User service

Full Access
Question # 5

Site administrators would like to search for web content based on the review date. The review date is not currently indexed when web content is published. The recommended way to add the review date to the search index is to:

A.

Create an Ext plugin and overwrite the Journal indexer to index the review date

B.

Create a hook plugin and override the Journal service to index the review date

C.

Create a hook plugin and override the edit article Struts action to index the review date

D.

Create a hook plugin and implement an indexer post processor to index the review date

Full Access
Question # 6

A hook plugin can extend and override: (Please select all correct answers.)

A.

Core portal Struts actions

B.

CoreportletStruts actions

C.

Portletplugin Struts actions

D.

Layout template Struts actions

Full Access
Question # 7

The method to send a redirect response and prevent resubmitting a form when a user refreshes the page is:

A.

clearRequ estPara mete rs ()

B.

removeDuplicates()

C.

removeParameters()

D.

send Red irect()

Full Access
Question # 8

The element that defines a database table in service.xml is:

A.

B.

C.

D.

Full Access
Question # 9

The hooks that can import classes from the plugin class loader are: (Please select all correct answers.)

A.

Auto login hooks

B.

JSP hooks

C.

Service wrapper hooks

D.

Servlet filter hooks

E.

Struts action hooks

F.

Indexer post processor hooks

Full Access
Question # 10

The recommended way to display a web content article in a theme:

A.

Use the AssetEntry service in portal_normal.vm to get the desired article

B.

Embed the Web Content Display portlet, passing in the desired article ID to the portlet URL

C.

Embed the Web Content Display portlet, passing in portlet preferences set to the desired article

D.

Create a JSP hook that gets the desired article from the JournalArticle service

Full Access
Question # 11

Tables are created in the database for a Service Builder entity after:

A.

The Ant "build-service" target has run

B.

The portlet is deployed for the first time

C.

The portlet is added to a page for the first time

D.

Tables must be created manually

Full Access
Question # 12

A Struts action hook cannot define new Struts actions.

A.

True

B.

False

Full Access
Question # 13

The method to embed the non-instanceable Language portlet with the name "82" in a theme is:

A.

$theme.include("82")

B.

$theme.runtime("82")

C.

$theme.runtime("82_INSTANCE_abcl23")

D.

$theme.include("82_INSTANCE_abcl23")

Full Access
Question # 14

The file containing the HTML document for a typical page is:

A.

portal.vm

B.

portal_normal.vm

C.

liferay-portal.vm

D.

init.vm

Full Access
Question # 15

The location of the XML file that determines permissions for a portlet plugin is configured by:

A.

The VM argument "resource-actions-configs"

B.

The portlet property "resource.actions.configs"

C.

The init parameter "resource-actions-configs"

D.

A portal property "plugin.resource.actions.configs"

Full Access
Question # 16

User-specific properties in the Plugins SDK for the user "jsmith'' are configured in:

A.

build.jsmith.properties

B.

pom.xml

C.

pom.jsmith.properties

D.

portal.settings

E.

portal.properties

F.

portal-ext.properties

Full Access
Question # 17

Liferay's core local services: (Please select all correct answers.).

A.

Contain the business logic of the service

B.

Enforce permission checking

C.

Are required if using remote services

D.

Communicate to the database through the persistence layer

Full Access
Question # 18

MVCPortlet directs page flow using:

A.

The controller() method

B.

A render parameter called "mvcPath"

C.

A direct link to the JSP with a relative URL

D.

A public render parameter called "path"

Full Access
Question # 19

The following classes can be imported when overriding a core JSP using a hook plugin: (Please select all correct answers.)

A.

Classes residing in the global class loader

B.

Classes residing in the portal class loader

C.

Classes residing in the portlet plugin class loader

D.

Classes residing in the hook plugin class loader

Full Access
Question # 20

To generate remote services with Service Builder:

A.

Pass the switch "-Dremote-service=true" to the Ant "build-service" target

B.

Set the attribute "remote-service'' to "true" on the "entity" element in service,xml

C.

Set the attribute "remote-service" to "true" on the "service-builder" element in service.xml

D.

All of the above

Full Access
Question # 21

Portlet events are distributed to portlets on different pages by setting the property:

A.

portlet.event.distribution=all-pages

B.

event.distribution =all-pages

C.

portlet.event.distribution=layout-set

D.

No specific property setting is required

Full Access