Labour Day Special - Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: top65certs

Liferay LRP-614 Dumps

Page: 1 / 5
Total 144 questions

Portal Developer Questions and Answers

Question 1

A portlet application only needs the standard web.xml deployment descriptor to be considered valid.

Options:

A.

True

B.

False

Question 2

Developing for Liferay requires:

Options:

A.

IntelliJ

B.

Eclipse

C.

NetBeans

D.

Liferay Developer Studio

E.

None of the above

Question 3

To display the language key "add-part'' use:

Options:

A.

B.

C.

D.

Question 4

Color schemes are defined in:

Options:

A.

liferay-color-scheme.xml

B.

portal-ext.properties

C.

liferay-look-and-feel.xml

D.

liferay-plugin-package.properties

Question 5

The Plugins SDK uses:

Options:

A.

portal-service.jar

B.

JAR files from the user's home directory

C.

portal-impl.jar

D.

portal-plugin.jar

Question 6

An administrator would like to search for blog entries by the Twitter account of the author. The recommended way to add the Twitter account to the index and add the term to the search query is to:

Options:

A.

Create a hook plugin that overrides the BlogsEntry service to index the Twitter account and add the term to the search query

B.

Create a hook plugin that overrides the Struts actions to index the Twitter account on update and add the term to the search query

C.

Create an Ext plugin that extends the BlogsEntry indexer to index the Twitter account and add the term to the search query

D.

Create a hook plugin that implements an indexer post processor to index the Twitter account and add the term to the search query

Question 7

AlloyUI is:

Options:

A.

A JavaScript library

B.

A CSS framework

C.

A tag library

D.

All of the above

Question 8

Portlets can use interportletcommunication to: (Please select all correct answers.)

Options:

A.

Pass any serializable object as an event payload

B.

Trigger multiple events

C.

Invoke events directly from the render phase

D.

Enforce the processing order of events

Question 9

Creating a Struts action hook requires the following elements in liferay-hook.xml: (Please select all correct answers.)

Options:

A.

B.

C.

D.

E.

Question 10

Default rankings in the Message Boards portlet are set as portlet preferences. To make all new instances of the portlet display custom rankings, it is recommended to:

Options:

A.

Navigate to System Defaults in the Control Panel and update theportletpreferences

B.

Create a hook plugin that modifies the defaultmessage.board.ranks portal property

C.

Create an Ext plugin that contains the desired configuration inportlet-ext.xml

D.

Create a JSP hook that overrides the rankings for all instances of the Message Boardsportlet

Question 11

The descriptor liferay-portlet.xml defines:

Options:

A.

Events

B.

The portlet class

C.

The CSS class wrapper

D.

Resource bundles

Question 12

The JavaScript method that executes after each portlet on the page loads is:

Options:

A.

AUI().ready(fn)

B.

Liferay.Portlet.ready(fn)

C.

Liferay.on(allPortletsReady', fn)

D.

None of the above

Question 13

The recommended way to override multiple JSPs in the Documents and Media portlet is to:

Options:

A.

Create a separate hook plug in for each JSP

B.

Create an Ext plugin

C.

Create a hook plugin that contains all the JSPs

D.

Copy them directly into Liferay

Question 14

The recommended way to share language keys across portlet applications is:

Options:

A.

Create a resource bundle in one portlet and declare a dependency in the other portlets

B.

Create an Ext plugin with the language keys from all of the portlets

C.

Create a symbolic link in the portlets pointing to an external resource bundle

D.

Create a hook plugin containing language keys from all of the portlets

Question 15

When a hook overrides a core JSP named view.jsp:

Options:

A.

The new view.jsp overwrites the original file and the original view.jsp is no longer available

B.

The original view.jsp is moved to a temporary folder

C.

The original view.jsp is renamed to view.portal.jsp

D.

The contents of the original view.jsp and the new view.jsp are merged automatically

Question 16

Language hooks cannot be used to add new language keys.

Options:

A.

True

B.

False

Question 17

To generate remote services with Service Builder:

Options:

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

Question 18

The JavaScript method that executes after all the portlets on the page have finished loading is:

Options:

A.

Liferay.Portlet.ready(fn)

B.

AUI().ready(fn)

C.

Liferay.on('allPortletsReady',fn)

D.

None of the above

Question 19

After a portlet completes the action phase:

Options:

A.

Only that portlet enters the render phase

B.

All portlets on the page enter the render phase

C.

Any portlet whose data has changed enters the render phase

D.

Nothing happens since the render phase occurs before the action phase

Question 20

To define portlet actions in separate classes using MVCPortlet: (Please select all correct answers.)

Options:

A.

Each class must implement the MVCAction interface

B.

Each class must implement the ActionCommand interface

C.

Each class must implement a processCommand() method that returns a boolean to indicate if the action completed

D.

Each class must implement a renderCommand() method

Question 21

Portlets are placed in the Control Panel using:

Options:

A.

portlet.xml

B.

liferay-portlet.xml

C.

liferay-plugin-package.properties

D.

liferay-look-and-feel.xml

Page: 1 / 5
Total 144 questions