Welcome to download the newest Pass4itsure c4040-221 VCE dumps: http://www.pass4itsure.com/c4040-221.html
Liferay LRP-614 exam sample questions can be used to Killtest help identify new market opportunities and potential collaboration partners. In fact, most Liferay LRP-614 exam sample questions are design specifically for intended Microsoft exams with the help Microsoft experts and professionals.
QUESTION 1
The method to define a column in a layout template is:
A. $layout.createColumn()
B. $layout.defineColumn()
C. $processor.processColumn()
D. $layout.addColumn()
Correct Answer: C
QUESTION 2
The JavaScript method that executes after all the portlets on the page have finished loading is:
A. Liferay.Portlet.ready(fn)
B. AUI().ready(fn)
C. Liferay.on(‘allPortletsReady’,fn)
D. None of the above
Correct Answer: C
QUESTION 3
A JSR-286 standard portlet extends:
A. LiferayPortlet
B. MVCPortlet
C. GenericPortlet
D. StrutsPortlet
E. Any Java class
Correct Answer: C
QUESTION 4
Thecompanyld” is a(n):
A. Portal instance
B. Organization
C. Site
D. Team
Correct Answer: A
QUESTION 5
Site administrators would like to search for web content based on the review date. The review date is not currently indexed when web content is published. The recommended way to add the review date to the search index is to:
A. Create an Ext plugin and overwrite the Journal indexer to index the review date
B. Create a hook plugin and override the Journal service to index the review date
C. Create a hook plugin and override the edit article Struts action to index the review date
D. Create a hook plugin and implement an indexer post processor to index the review date
Correct Answer: D
QUESTION 6
The recommended way to add new functionality in Liferay is to: A. Create Ext plugins
B. Createportlet, theme, layout template or hook plugins
C. Modify Liferay’s source code directly
D. All of the above
Correct Answer: B
QUESTION 7
Instanceable portlets: (Please select all correct answers.)
A. Have unique preferences perportlet
B. Can be added to a page multiple times
C. Share the same data within the same site
D. Can be displayed in the Control Panel
E. Share the same data on the same page
Correct Answer: AB
QUESTION 8
To generate remote services with Service Builder:
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
Correct Answer: B
QUESTION 9
The method to embed the non-instanceable Language portlet with the name “82” in a theme is:
A. $theme.include(“82”)
B. $theme.runtime(“82”)
C. $theme.runtime(“82_INSTANCE_abcl23”)
D. $theme.include(“82_INSTANCE_abcl23”)
Correct Answer: B
QUESTION 10
The method to embed a portlet in a layout template is:
A. $layout.addPortlet()
B. $processor.processPortlet()
C. $layoutembedPortlet()
D. $layout. process PortIet()
Correct Answer: B
QUESTION 11
Portlet events are distributed to portlets on different pages by setting the property:
A. portlet.event.distribution=all-pages
B. event.distribution =all-pages
C. portlet.event.distribution=layout-set
D. No specific property setting is required
Correct Answer: C QUESTION 12
In a JSP that includes the <liferay-theme: defineObjects /> tag, the method to check permissions is:
A. permissionChecker.hasPermissionO
B. portalUtil.getPermissionChecker().hasPermission()
C. permissionUtil.hasPermission()
D. renderRequest.getPermissionChecker().hasPermission()
Correct Answer: A
QUESTION 13
The portlet lifecycle includes the methods: (Please select all correct answers.)
A. destroy ()
B. processEvent()
C. service()
D. render()
E. serveResource()
F. processAction()
Correct Answer: ABDEF
QUESTION 14
The recommended way to turn off portlet borders in a custom theme is to:
A. Modifyportlet.vm to hide theportletborders
B. Set the theme setting “portlet-setup-show-borders” to “false”
C. Create a JSP hook that overrides port!et_wrapper.jsp to hide theportletborders
D. Set the portal property “portlet.setup.show.borders” tofalse”
Correct Answer: B
QUESTION 15
An Ext plugin should be used to:
A. Create aportlet
B. Create a theme
C. Overwrite a portal JSP file
D. Create a servlet filter
E. Modify coreportletdeployment descriptors
F. Create a web service
Correct Answer: E
QUESTION 16
The recommended way to create new methods in a core service is to use a service wrapper hook.
A. True
B. False
Correct Answer: B
QUESTION 17
The recommended way to implement a new SSO solution that captures the SSO header is to:
A. Create an Ext plugin that adds a sen/let filter to capture the SSO header B. Create a hook plugin that implements a servlet filter to capture the SSO header
C. Modify the portal source code and create an SSO servlet filter in the portal to capture the SSO header
D. Create a hook plugin to override the Struts action for the Loginportletto capture the SSO header
Correct Answer: B
QUESTION 18
Service Builder is able to: (Please select all correct answers.)
A. Generate Hibernate configuration files
B. Generate base implementations of models, services, persistence and basic finders
C. Generate struts-config.xml and tiles-defs.xml
D. Generate web services
Correct Answer: ABD
QUESTION 19
A hook plugin can extend and override: (Please select all correct answers.)
A. Core portal Struts actions
B. CoreportletStruts actions
C. Portletplugin Struts actions
D. Layout template Struts actions
Correct Answer: AB
QUESTION 20
Given the service.xml:
<entity name=”AcmeItem” local-service = “true” remote-service=”false”> <column name= “acmeltemld”
type= “long’ primary= “true” /> <column name= groupld” type=”long” />
</entity>
The generated classes include: (Please select all correct answers.)
A. AcmeltemServiceUtil
B. AcmeltemModel
C. AcmeltemLocalServiceUtil
D. AcmeltemJSONSerializer
E. AcmeltemPersistencelmpI
Correct Answer: BCE
QUESTION 21
The hooks that can import classes from the plugin class loader are: (Please select all correct answers.)
A. Auto login hooks
B. JSP hooks
C. Service wrapper hooks
D. Servlet filter hooks
E. Struts action hooks
F. Indexer post processor hooks
Correct Answer: ACDEF
QUESTION 22
When adding new users to Liferay, the form will display the Details, Organizations and Personal Site sections based on the following property in portal.properties:
users.form.add.main =detaiIs,organizations,personal-site
The “users.form.add.main” property is listed in the liferay-hook_6_l_0.dtd as a portal property that can be overridden with a hook. Deploying a hook with the following property in the portal.properties file will remove the Personal Site
section:
users.form.add.main =details,organizations
A. True
B. False
Correct Answer: B QUESTION 23
Hook plugins can only override core JSPs, services, language keys and Struts actions.
A. True
B. False
Correct Answer: B QUESTION 24
An Expando is:
A. A tool for writing newportlets in Liferay
B. A code generator which generates services based on service.xml
C. A service in Liferay which allows you to dynamically define a collection of data
D. A new administrative interface in 6.1
Correct Answer: C QUESTION 25
The recommended way to implement code that only runs once to modify columns in the database is with a (n):
A. GlobalStartupAction
B. ServicePreAction
C. UpgradeProcess
D. ServicePostAction
E. VerifyProcess
F. GlobalShutdownAction
Correct Answer: C QUESTION 26
The bundled property file that contains settings for a development environment is:
A. portal-ext. properties
B. portal-developer, properties
C. developer, properties
D. None of the above
Correct Answer: B QUESTION 27
Only an Ext plugin can: A. Override language keys
B. Modify the initialization parameters of a coreportlet
C. Create a model listener
D. Override a JSP
E. Override Liferay services
Correct Answer: B
QUESTION 28
To customize the User service in a hook plugin, create a class that extends:
A. UserServicelmpI
B. UserServiceBaseImpI
C. UserService
D. UserServiceWrapper
Correct Answer: D
QUESTION 29
The recommended way to override multiple JSPs in the Documents and Media portlet is to:
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
Correct Answer: C
QUESTION 30
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:
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
Correct Answer: C
QUESTION 31
The method to send a redirect response and prevent resubmitting a form when a user refreshes the page is:
A. clearRequ estPara mete rs ()
B. removeDuplicates()
C. removeParameters()
D. send Red irect()
Correct Answer: D
QUESTION 32
If multiple Ext plugins modify struts-config-ext.xml:
A. Liferay merges all of the plugins into one plugin and deploys the combined plugin
B. Liferay only deploys the first plugin that modifies struts-config-ext.xml and does not deploy subsequent plugins
Flydumps Liferay LRP-614 Retail Exam dumps can not only let you pass the exam easily, also can help you learn more knowledge about Liferay LRP-614 exam. Passcert covers all aspects of skills in the exam, by it, you can apparently improve your abilities and use these skills better at work. When you are preparing for IT certification exam and need to improve your skills, Passcert is absolute your best choice. Please believe Passcert can give you a better future
Pass4itsure c4040-221 dumps with PDF + Premium VCE + VCE Simulator: http://www.pass4itsure.com/c4040-221.html