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

Liferay LRP-614 Portal Developer Exam Practice Test

Page: 1 / 14
Total 144 questions

Portal Developer Questions and Answers

Testing Engine

  • Product Type: Testing Engine
$37.5  $124.99

PDF Study Guide

  • Product Type: PDF Study Guide
$33  $109.99
Question 1

Developing for Liferay requires:

Options:

A.

IntelliJ

B.

Eclipse

C.

NetBeans

D.

Liferay Developer Studio

E.

None of the above

Question 2

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 3

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

Question 4

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

Options:

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

Question 5

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 6

The business logic for UserLocalServiceUtil is found in:

Options:

A.

Use rLocaIServiceUtil

B.

UserLocalServicelmpI

C.

Use rLocalService

D.

UserServicelmpI

E.

UserServiceUtil

Question 7

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

Question 8

The method to retrieve a list of organizations where a user has direct membership is:

Options:

A.

OrganizationLocalServiceUtil.getUserOrganizations()

B.

UserLocaIServiceUtil.getUserOrganizations()

C.

GroupLocalServiceUtil.getUserOrganizations()

D.

All of the above

Question 9

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 10

The tag defines the variables: (Please select all correct answers.)

Options:

A.

"portletPreferences"

B.

"renderRequest"

C.

"remoteUser"

D.

"portletSession''

Question 11

An administrator would like to add a new travel preferences section in the Miscellaneous section of the user form. The travel preferences are stored as custom fields. The recommended way to implement the solution using a hook plugin is to: (Please select all correct answers.)

Options:

A.

Modify html/portlet/users_admin/edit_user.jsp to add the travel preferences section to theMiscellaneous section

B.

Set the portal property "users.form. my.account, miscellaneous"to "travel-preferences" and add the corresponding JSP

C.

Create a Struts action hook to persist the Expando value to the database

D.

Add the custom fields to the relevant JSP using

Question 12

Default CSS files in a theme are imported by:

Options:

A.

base.css

B.

ma in.css

C.

style.css

D.

import.ess

Question 13

The recommended way to strip content from the outgoing response is to:

Options:

A.

Create a hook plugin that implements a service post action to strip content from the response

B.

Create an Ext plugin that implements a servlet filter to strip content from the response

C.

Create a hook plugin that implements a servlet filter to strip content from the response

D.

Create a hook that implements a request post processor to strip content from the response

Question 14

The "companyId" is a(n):

Options:

A.

Portal instance

B.

Organization

C.

Site

D.

Team

Question 15

To display a success message in a JSP use:

Options:

A.

B.

C.

D.

Question 16

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"

Question 17

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 18

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

Question 19

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

Question 20

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

Question 21

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

Page: 1 / 14
Total 144 questions