Certification Practice Test | PDF Questions | Actual Questions | Test Engine | Pass4Sure
LRP-614 : Portal Developer Exam
Liferay LRP-614 Questions & Answers
Full Version: 144 Q&A
LRP-614 Dumps
LRP-614 Braindumps
LRP-614 Real Questions
LRP-614 Practice Test
LRP-614 Actual Questions
Liferay
LRP-614
Portal Developer
https://killexams.com/pass4sure/exam-detail/LRP-614
QUESTION: 125
The method to set the value of a custom field for a BlogsEntry object ("blog") is:
A. PortalUtil.setExpando(blog)
B. blog.getExpandoBridge().setAttribute()
C. ExpandoLocalServiceUtil.setAttribute(blog)
D. blog.setExpandoQ
Answer: B
QUESTION: 126
The default variables in a theme are defined in:
A. portal_normal.vm
B. init.vm
C. main.vm
D. variables.vm
Answer: B
QUESTION: 127
As a best practice, a portlet plugin imports classes from:(Please select all correct
answers.)
A. portal-impl.jar
B. portal-service.jar
C. portlet.jar
D. ext-impl.jar
Answer: B, C
QUESTION: 128
The recommended way to override the updateLastLogin() method and create a new
method called updateLastlmpersonation()for the User service is to:
A. Create a hook plugin and implement a service wrapper that overrides the
updateLastLogin() method and creates the updatel_astImpersonation() method in the
User service
37
B. Create a portlet plugin and implement a service wrapper hook that overrides the
updatel_astLogin() method in the User service and build a new service in the plugin that
references the User service and creates the updatel_astImpersonation() method
C. Create an Ext plugin that modifies portal-spring.xml to replace the User service with a
new service that overrides the updatel_astLogin() method and creates the
updatel_astImpersonation() method
D. Create a hook plugin and implement a service wrapper that overrides the
updatel_astLogin() method and create an Ext plugin that builds a new service to
implement the updateLastImpersonation() method for the User service.
Answer: B
QUESTION: 129
After adding new functionality to an Ext plugin, the recommended way to deploy in a
development environment is to:
A. Stop the server, redeploy the plugin and restart the server
B. Undeploy the original plugin and deploy the updated plugin
C. Undeploy the original plugin, clean the server and deploy the updated plugin
D. Undeploy all plugins and deploy the updated plugin prior to redeploying the other
plugins
Answer: A
QUESTION: 130
When a hook overrides a core JSP named view.jsp:
A. The new view.jsp overwrites the original file and the original view.jsp is no longer
available
B. The original view.jsp is moved to a temporary folder
C. The original view.jsp is renamed to view.portal.jsp
D. The contents of the original view.jsp and the new view.jsp are merged automatically
Answer: C
QUESTION: 131
Liferay's core local services:(Please select all correct answers.).
A. Contain the business logic of the service
B. Enforce permission checking
38
C. Are required if using remote services
D. Communicate to the database through the persistence layer
Answer: A, D
QUESTION: 132
Beta-portlet.war requires services that are in alpha-portlet.war. To guarantee beta-
portlet.war deploys after alpha-portlet.war:
A. Add the following to portletxml in beta-portlet.war:
< init-pa ram>
B. Add the following to liferay-plugin-package.properties in beta-portlet.war:required-
deploy ment-contexts=alpha-portlet
C. Add the following to liferay-portlet.xml in beta-portlet.war:
D. It is not possible to declare this type of dependency
Answer: B
QUESTION: 133
Public render parameters are of the type:
A. List
B. RenderParameter
C. String
D. Object
E. RenderRequest
Answer: C
QUESTION: 134
Service Builder does not generate:
A. SQL statements to create tables
B. Hibernate and Spring configuration files
C. Axis web services
D. The view layer
39
Answer: D
QUESTION: 135
The recommended way to modify theWiki portlet configuration to recognize a new
public render parameter defined in a portlet plugin:
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
Answer: B
QUESTION: 136
The element that defines a database table in service.xml is:
A.
B.
C.
D.