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

LRP-614 Portal Developer Questions and Answers

Questions 4

A JSR-286 standard portlet extends:

Options:

A.

LiferayPortlet

B.

MVCPortlet

C.

GenericPortlet

D.

StrutsPortlet

E.

Any Java class

Buy Now
Questions 5

A Struts action hook cannot define new Struts actions.

Options:

A.

True

B.

False

Buy Now
Questions 6

The method to get the value of a custom field for a User object named "user" is:

Options:

A.

ExpandoLocalServiceUtil.getAttribute(user)

B.

user.getExpandoBridge().getAttribute()

C.

user.getExpando()

D.

PortalUtil.getExpando(user)

Buy Now
Questions 7

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

Buy Now
Questions 8

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

Options:

A.

True

B.

False

Buy Now
Questions 9

The descriptor liferay-portlet.xml defines:

Options:

A.

Events

B.

The portlet class

C.

The CSS class wrapper

D.

Resource bundles

Buy Now
Questions 10

A class that extends MVCPortlet must implement:

Options:

A.

init()

B.

doView()

C.

doEdit()

D.

processAction()

E.

All of the above

F.

None of the above

Buy Now
Questions 11

Default RSS feeds are set as portlet preferences. To make all new instances of the RSS poitlet display a single custom RSS feed, it is recommended to:

Options:

A.

Create a hook plugin to add a model listener to the layout to update the portlet preferences of any RSS portlet added to the page

B.

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

C.

Create a JSP hook that overrides the RSS portlet's default configuration settings

D.

Navigate to System Defaults in the Control Panel and update the portlet preferences

Buy Now
Questions 12

The method to retrieve a list of users that have been added directly to a site is:

Options:

A.

SiteLocalServiceUtil.getSiteUsers()

B.

UserLocalServiceUtil.getSiteUsers()

C.

UserLocalServiceUtil.getGroupUsers()

D.

SiteLocalServiceUtil. getGroupUsers ()

Buy Now
Questions 13

The best way to add a new language key to the portal is through:

Options:

A.

The Control Panel

B.

A hook plugin

C.

An Ext plugin

D.

Modifying Liferay's source

Buy Now
Questions 14

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

Options:

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

Buy Now
Questions 15

Liferay's persistence layer: (Please select all correct answers.)

Options:

A.

Relies on Enterprise JavaBeans to ensure compatibility with all major application servers

B.

Uses Hibernate by default to ensure compatibility with all major database servers

C.

Can be invoked directly from the UI layer

D.

Can be configured to use JPA

Buy Now
Questions 16

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 < liferay-util: buffer > tag to copy the contents of the JSP

C.

Create a hook plugin to override the original JSP using the < file-name > -override.jsp pattern

D.

Create an Ext plugin to override the original JSP using the < liferay-util: include > tag to copy the contents of the JSP

Buy Now
Questions 17

Objects stored in the portlet application scope session are available to:

Options:

A.

Any portlet on the same page

B.

Any portlet in the same portlet application

C.

Any portlet within the portal application

D.

Only the portlet that stored the object in the session

Buy Now
Questions 18

Service Builder does not generate:

Options:

A.

SQL statements to create tables

B.

Hibernate and Spring configuration files

C.

Axis web services

D.

The view layer

Buy Now
Questions 19

MVCPortlet directs page flow using:

Options:

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"

Buy Now
Questions 20

The recommended way to customize how the User object indexes information is through a(n):

Options:

A.

Hook plugin

B.

Direct modification of the portal source

C.

Ext plugin

D.

Ext environment

Buy Now
Questions 21

The method to get theme settings in a theme is:

Options:

A.

$portalUtil.getSetting()

B.

$theme.getSetting()

C.

$layout.getSetting()

D.

$themeDisplay.getSetting()

Buy Now
Questions 22

Default CSS files in a theme are imported by:

Options:

A.

base.css

B.

ma in.css

C.

style.css

D.

import.ess

Buy Now
Questions 23

The JavaScript method that executes as soon as the HTML document has finished loading is:

Options:

A.

AUI().ready(fn)

B.

Liferay.Portlet.ready(fn)

C.

Liferay.on(fn)

D.

None of the above

Buy Now
Questions 24

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

Buy Now
Questions 25

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

Options:

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"

Buy Now
Questions 26

Hook plugins can only override core JSPs, services, language keys and Struts actions.

Options:

A.

True

B.

False

Buy Now
Questions 27

The recommended way to add new functionality in Liferay is to:

Options:

A.

Create Ext plugins

B.

Create portlet, theme, layout template or hook plugins

C.

Modify Liferay's source code directly

D.

All of the above

Buy Now
Questions 28

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

Options:

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

Buy Now
Questions 29

Customizations to a theme are made in the folder:

Options:

A.

_unstyled

B.

.styled

C.

themes

D.

_diffs

E.

custom

Buy Now
Questions 30

In portal.properties, the following property lists portlets that can be embedded on any page:

portlet.add(default.resource.check.whitelist=3,56_INSTANCE_0000,5S,S2,S6,87,88/103,113,145,164,

The property is listed in liferay-hook_6_l_0.dtd as a property that can can be overridden with a hook.

The recommended way to prevent embedding the Search portlet ("3") is to create a hook plugin.

Options:

A.

True

B.

False

Buy Now
Questions 31

Only an Ext plugin can:

Options:

A.

Override language keys

B.

Modify the initialization parameters of a core portlet

C.

Create a model listener

D.

Override a JSP

E.

Override Liferay services

Buy Now
Questions 32

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 the portlet preferences

B.

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

C.

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

D.

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

Buy Now
Questions 33

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()

Buy Now
Questions 34

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

Options:

A.

True

B.

False

Buy Now
Questions 35

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

Options:

A.

< struts-hook >

B.

< struts-action-path >

C.

< struts-action-impl >

D.

< override-struts-path >

E.

< struts-action >

Buy Now
Questions 36

The default variables in a theme are defined in:

Options:

A.

portal_normal.vm

B.

init.vm

C.

main.vm

D.

variables.vm

Buy Now
Questions 37

The recommended way to add support for a new locale is to:

Options:

A.

Create an Ext plugin that adds a language properties file for the desired locale

B.

Create an Ext plugin that adds a language properties file for the desired locale and implements a servlet filter mapping using IlSnFilter

C.

Create a hook plugin that adds a language properties file for the desired locale and implements a servlet filter hook to invoke IlSnFilter through PortalClassLoaderFilter

D.

Create a portlet plugin that overrides the core language filter to recognize the desired locale

Buy Now
Questions 38

To map a Service Builder entity to an existing database table in service.xml the entity name must match the database table name.

Options:

A.

True

B.

False

Buy Now
Questions 39

The recommended way to create new methods in a core service is to use a service wrapper hook.

Options:

A.

True

B.

False

Buy Now
Questions 40

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:

< service >

< service-type > com.liferay.portal.service.UserLocalService < /service-type >

< service-impl > com.sample.MyUserLocalServiceImpl < /service-impl >

< /service >

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

Buy Now
Questions 41

The recommended way to modify the Wiki portlet configuration to recognize a new public render parameter defined in a portlet plugin:

Options:

A.

Create a hook plugin and add the public render parameter definition to portlet-custom.xml

B.

Create an Ext plugin and add the public render parameter definition to portlet-ext.xml

C.

Create a portlet plugin and re-implement the logic of the Wiki portlet and define the new public render parameter in portlet.xml

D.

Create an Ext plugin and add the public render parameter definition to portlet-custom.xml

Buy Now
Questions 42

The descriptor liferay-hook.xml defines the location to override a core JSP using:

Options:

A.

< url-pattern >

B.

< custom-jsp-global >

C.

< custom-jsp-dir >

D.

< jsp-override >

E.

< include-and-override >

Buy Now
Questions 43

The method to retrieve an integer submitted as a form field named "widgetCount"' is:

Options:

A.

GetterUtil.getInteger(actionRequest, "widgetCount")

B.

RequestUtiI.getInteger(actionRequest,"widgetCount )

C.

HTMLUtil.getInteger(actionRequest, "widgetCount")

D.

ParamUtil.getInteger(actionRequest, "widgetCount")

E.

FormUtil.getInteger(actionRequest, "widgetCount")

F.

AlloyUtil.getInteger(actionRequest, "widgetCount")

Buy Now
Exam Code: LRP-614
Exam Name: Portal Developer
Last Update: Apr 30, 2026
Questions: 144

PDF + Testing Engine

$63.52  $181.49

Testing Engine

$50.57  $144.49
buy now LRP-614 testing engine

PDF (Q&A)

$43.57  $124.49
buy now LRP-614 pdf