• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 2 out of 11 pages
Exam (elaborations)

Liferay Developer Certification Exam Practice Questions

Document preview thumbnail
Preview 2 out of 11 pages

Objects stored in the portlet application scope session are available to: 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 - answer-B. Any portlet in the same portlet application To start Liferay with developer properties: A. Set the porta I.developer, mode property in rties to ''true" B. Include rties during Java startup, or in rties C. Navigate to Server Administration in the Control Panel and set the property to "true" D. Copy rties from the portal's classes directory to the Liferay home directory and restart the server - answer-B. Include rties during Java startup, or in rties The method to get the value of a custom field for a User object named "user" is: A. ExpandoLocalServiceUAttribute(user) B. ExpandoBridge().getAttribute() C. Expando() D. PortalUExpando(user) - answer-B. ExpandoBridge().getAttribute() In rties:login,=s.ChannelLoginPostActionA,s.Defaultl_andingPageAction,s.LoginPostActionA hook plugin can insert a new class between DefaultLandingPageAction andLoginPostAction. A. True B. False - answer-B. False The descriptor : 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 - answer-A. Defines Liferay-specific portlet features Not all of the fields in the User object are searchable out of the box. The recommended way to make these fields searchable is to: A. Create a hook plugin that overrides the User service to index the required fields B. Create a hook plugin that overrides the edit user Struts action to index the required fields C. Create an Ext plugin that extends the User indexer to index the required fields D. Create a hook plugin that implements an indexer post processor to index the required fields - answer-D. Create a hook plugin that implements an indexer post processor to index the required fields Events supported by JSR-286 portlets for inter portlet communication are:(Please select all correct answers.) A. Publishing events B. Processing events C. Global events D. Lifecycle events - answer-A. Publishing events B. Processing events The recommended way to display a web content article in a theme: A. Use the AssetEntry service in portal_ 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 - answer-C. Embed the Web Content Display portlet, passing in portlet preferences set to the desired article After removing a customization from an Ext plugin, the recommended way to redeploy in a development environment is to: A. Redeploy the plugin and restart the server B. Undeploy the original plugin and deploy the updated plugin C. Start with a clean instance of the server and deploy all plugins D. Redeploy all plugins and restart the server - answer-C. Start with a clean instance of the server and deploy all plugins The following statements about plugins are true:(Please select all correct answers.) A. All plugins are hot-deployable B. Plugins can be used to modify core portal behavior C. Plugins can be used to modify the layout of a page D. Liferay supports six different types of plugins E. Plugins are the preferred development approach - answer-B. Plugins can be used to modify core portal behavior C. Plugins can be used to modify the layout of a page D. Liferay supports six different types of plugins E. Plugins are the preferred development approach The "companyId" is a(n): A. Portal instance B. Organization C. Site D. Team - answer-A. Portal instance Creating a Struts action hook requires the following elements in :(Please select all correct answers.) A. struts-hook B. struts-action-path C. struts-action-impl D. override-struts-path E. struts-action - answer-B. struts-action-path C. struts-action-impl E. struts-action The Plugins SDK uses: A. B. JAR files from the user's home directory C. D. - answer-A. The descriptor defines the location to override a core JSP using: A. url-pattern B. custom-jsp-global C. custom-jsp-dir D. jsp-override E. include-and-override - answer-C. custom-jsp-dir To map a Service Builder entity to an existing database table in the entity name must match the database table name. A. True B. False - answer-B. False The method to define a column in a layout template is: A. $eColumn() B. $eColumn() C. $ssColumn() D. $Column() - answer-C. $ssColumn() The JavaScript method that executes after all the portlets on the page have finished loading is: A. Liferay.P(fn) B. AUI().ready(fn) C. L('allPortletsReady',fn) D. None of the above - answer-C. L('allPortletsReady',fn) A JSR-286 standard portlet extends: A. Liferay Portlet B. MVC Portlet C. Generic Portlet D. Struts Portlet E. Any Java class - answer-C. Generic Portlet The "companyld" is a(n): A. Portal instance B. Organization C. Site D. T

Content preview

Liferay Developer Certification Exam Practice Questions
Objects stored in the portlet application scope session are available to:
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 - answer-B. Any portlet in the same
portlet application

To start Liferay with developer properties:
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 - answer-B. Include portal-developer.properties during Java
startup, or in portal-ext.properties

The method to get the value of a custom field for a User object named "user" is:
A. ExpandoLocalServiceUtil.getAttribute(user)
B. user.getExpandoBridge().getAttribute()
C. user.getExpando()
D. PortalUtil.getExpando(user) - answer-B. user.getExpandoBridge().getAttribute()

In portal.properties:login,events.post=\com.liferay.portal.events.ChannelLoginPostActionA,\
com.liferay.portal.events.Defaultl_andingPageAction,\
com.liferay.portal.events.LoginPostActionA hook plugin can insert a new class between
DefaultLandingPageAction andLoginPostAction.
A. True
B. False - answer-B. False

The descriptor liferay-portlet.xml:
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 - answer-A. Defines Liferay-specific portlet features

Not all of the fields in the User object are searchable out of the box. The recommended way to
make these fields searchable is to:
A. Create a hook plugin that overrides the User service to index the required fields
B. Create a hook plugin that overrides the edit user Struts action to index the required fields
C. Create an Ext plugin that extends the User indexer to index the required fields

, D. Create a hook plugin that implements an indexer post processor to index the required fields -
answer-D. Create a hook plugin that implements an indexer post processor to index the
required fields

Events supported by JSR-286 portlets for inter portlet communication are:(Please select all
correct answers.)
A. Publishing events
B. Processing events
C. Global events
D. Lifecycle events - answer-A. Publishing events
B. Processing events

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 - answer-C.
Embed the Web Content Display portlet, passing in portlet preferences set to the desired article

After removing a customization from an Ext plugin, the recommended way to redeploy in a
development environment is to:
A. Redeploy the plugin and restart the server
B. Undeploy the original plugin and deploy the updated plugin
C. Start with a clean instance of the server and deploy all plugins
D. Redeploy all plugins and restart the server - answer-C. Start with a clean instance of the
server and deploy all plugins

The following statements about plugins are true:(Please select all correct answers.)
A. All plugins are hot-deployable
B. Plugins can be used to modify core portal behavior
C. Plugins can be used to modify the layout of a page
D. Liferay supports six different types of plugins
E. Plugins are the preferred development approach - answer-B. Plugins can be used to modify
core portal behavior
C. Plugins can be used to modify the layout of a page
D. Liferay supports six different types of plugins
E. Plugins are the preferred development approach

The "companyId" is a(n):
A. Portal instance
B. Organization
C. Site
D. Team - answer-A. Portal instance

Document information

Uploaded on
September 29, 2024
Number of pages
11
Written in
2024/2025
Type
Exam (elaborations)
Contains
Questions & answers
$11.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
TOPDOCTOR
5.0
(1)
Sold
10
Followers
5
Items
3387
Last sold
1 year ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions