New Year Special Limited Time Flat 70% Discount offer - Ends in 0d 00h 00m 00s - Coupon code: 70spcl

Liferay LRP-614 Portal Developer Exam Practice Test

Page: 1 / 14
Total 144 questions

Portal Developer Questions and Answers

Question 1

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

Options:

A.

clearRequ estPara mete rs ()

B.

removeDuplicates()

C.

removeParameters()

D.

send Red irect()

Question 2

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

Options:

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

Question 3

AlloyUI is a framework built on:

Options:

A.

YUI2

B.

jQuery

C.

YUI3

D.

None of the above

Question 4

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

Question 5

The descriptor liferay-display.xml:

Options:

A.

Defines the initial views for the portlet

B.

Defines the categories in the Add Application menu

C.

Provides the ability to use Liferay's permission system

D.

All of the above

Question 6

The Classic theme is built using:

Options:

A.

HTML 4

B.

XHTML

C.

HTML 5

D.

HTML 6

E.

WML

Question 7

The recommended way to implement a service wrapper hook that customizes the authenticateByScreenName() method of the User service using a class called com.sample.MyUserLocalServicelmpI is to: (Please select all correct answers.)

Options:

A.

Add the following to liferay-hook.xml:

com.liferay.portal.service.UserLocalService

com.sample.MyUserLocalServiceImpl

B.

Copy all of the methods from UserLocalServicelmpI to MyUserLocalServicelmpI

C.

Override the authenticateByScreenName() method in MyUserLocalServicelmpI

D.

Add the following to liferay-plugin-package.properties:required -deployment-contexts=UserLocalServ ice

E.

Implement custom logic and call super.authenticateByScreenNameQ if applicable

Question 8

Liferay's core JavaScript framework is:

Options:

A.

jQuery

B.

Dojo

C.

MooTools

D.

AlloyUI

E.

YUI

Question 9

The standard JSR-286 portlet modes are: (Please select all correct answers.)

Options:

A.

Help

B.

Configuration

C.

Print

D.

Edit

E.

View

F.

About

Question 10

AlloyUI is:

Options:

A.

A JavaScript library

B.

A CSS framework

C.

A tag library

D.

All of the above

Question 11

The descriptor liferay-portlet.xml:

Options:

A.

Defines Liferay-specific portlet features

B.

Defines the categories of the Add Application menu

C.

Identifies portlets that only run onLiferay

D.

All of the above

Question 12

The portal properties that a hook plugin can override are defined in:

Options:

A.

portal.properties

B.

portal-ext.properties

C.

Iiferay-hook_6_l_0.dtd

D.

liferay-hook.xml

E.

portal-hook.properties

F.

portal-hook_6_l_0.dtd

Question 13

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

Options:

A.

$theme.include("82")

B.

$theme.runtime("82")

C.

$theme.runtime("82_INSTANCE_abcl23")

D.

$theme.include("82_INSTANCE_abcl23")

Question 14

All render logic must be implemented in the JSP when using MVCPortlet:

Options:

A.

True

B.

False

Question 15

The settings in portal-developer.properties:

Options:

A.

Enable faster deployment of plugins

B.

Disable minification of CSS and JavaScript

C.

Assist deployment from a development to a production environment

D.

Precompile Velocity and FreeMarker templates

Question 16

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

Options:

A.

Core portal Struts actions

B.

CoreportletStruts actions

C.

Portletplugin Struts actions

D.

Layout template Struts actions

Question 17

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

Options:

A.

B.

C.

D.

Question 18

To start Liferay with developer properties:

Options:

A.

Set the porta I.developer, mode property in portal-ext.properties to ''true"

B.

Include portal-developer.properties during Java startup, or in portal-ext.properties

C.

Navigate to Server Administration in the Control Panel and set the portal.developer.mode property to "true"

D.

Copy portal-developer.properties from the portal's classes directory to the Liferay home directory and restart the server

Question 19

The recommended way to make an isolated change to a core JSP is to:

Options:

A.

Create an Ext plugin to create a backup of the original JSP and extend the backup JSP

B.

Create a hook plugin to override the original JSP using the tag to copy the contents of the JSP

C.

Create a hook plugin to override the original JSP using the -override.jsp pattern

D.

Create an Ext plugin to override the original JSP using the tag to copy the contents of the JSP

Question 20

The Ant target that removes compiled class files from the plugin is:

Options:

A.

obliterate

B.

destroy

C.

remove

D.

clean

E.

reset

F.

terminate

Question 21

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

Page: 1 / 14
Total 144 questions