Pass4itsure > IBM > IBM Certified Solution Developer > C2040-911 > C2040-911 Online Practice Questions and Answers

C2040-911 Online Practice Questions and Answers

Questions 4

Chris wants to do performance tuning in his mobile theme. What would be the first step he should take to achieve this task?

A. Apply caching rules to the HTTP server.

B. Use a third-party minification tool to compress the JavaScript files.

C. Change dynacache settings.

D. Configure cache manifest file.

Buy Now
Questions 5

What is a processing advantage of public parameters over event operations?

A. No action phase required.

B. No limits to the payload data.

C. No need to distribute events to portlets.

D. Notifications are handled by the browser.

E. No action phase required and no need to distribute events to portlets.

Buy Now
Questions 6

The following section of a portlet deployment descriptor defines the cache setting for a portlet:

300 private

What is the meaning of this cache definition?

A. The content should be cached for 300 seconds and must not be shared across users.

B. The content should be cached for 300 milliseconds and must not be shared across users.

C. The content should be cached for 300 seconds and can be shared across users.

D. The content should be cached for 300 milliseconds and can be shared across users.

Buy Now
Questions 7

Which one of the following statements is valid regarding credential objects?

A. Credential objects are serializable.

B. To create a slot for storing active credentials, set the active parameter of the CredentialVaultService.createSlot method to true.

C. Passive credential objects hide the credential's secret from the portlet.

D. Portlets that use active credential objects need to extract the secret from the credential to authenticate with the backend.

Buy Now
Questions 8

The XYZ company has a custom portlet that provides access to data from the company's mainframe. Twice a day, the mainframe performs a batch process to update the data. During the batch process, the portlet cannot access the data. Which one of the following options allows Sara to hide the portlet during the batch processing times?

A. Use the Policy editor to create a portlet availability policy, then use the Page Layout editor to assign the policy to the portlet.

B. Use the Policy editor to create a portlet availability policy and to assign the policy to the portlet.

C. Use the Personalization editor to create a portlet visibility rule, then use the Page Layout editor to assign the rule to the portlet.

D. Use the Personalization editor to create a portlet visibility rule and to assign the rule to the portlet.

Buy Now
Questions 9

The following code sample uses the PUMA SPI within a standard portlet.

Sunil needs to retrieve attributes on the current user. Which one of the following lines of code, if inserted at line 6, will provide the functions to retrieve attributes from the User object?

A. PumaProfile p = service.getProfile( (javax.portlet.ActionRequest) request);

B. PumaProfile p = service.getProfile( (javax.portlet.PortletRequest) request);

C. PumaController p = service getController( (javax.portlet.ActionRequest) request);

D. PumaController p = service getController( (javax.portlet.PortletRequest) request);

Buy Now
Questions 10

Rafael needs to create a way for non-administrator users to change the look of the Portal 8.0 theme. Which solution will provide the simplest answer?

A. Use multiple custom themes.

B. Create new dynamic content spots to serve multiple CSS files.

C. Use the new module and profile features to define and load different CSS.

D. Create a custom theme style to be deployed in the theme's CSS directory, and modify styles.json to include the style.

Buy Now
Questions 11

Emery is trying to make it so users from a specific geographic location do not have access to a specific metrics application hosted on their IBM WebSphere Portal server. Which of the following options is provided within WebSphere Portal that Emery can use to this purpose?

A. Emery can use the call to ensure the portlet is hidden for thegeography to block.

B. Emery can use Personalization Rules to hide the portlet, leveraging information in the user repository regarding the user's geographiclocation.

C. Emery's users must register as being from a specific geography and Emery can develop workflow methods leveraging thePortalUserIdentityBean (or PUIB) object to ensure the portlet does not generate markup for the user in this geography.

D. None of the above. Emery is going to need to create a page and assign metadata parameters to hide the specific portlet from users fromgeographies that are not allowed to see it.

Buy Now
Questions 12

When writing a custom portlet service, what interface must be implemented to make use of the portlet service life-cycle methods?

A. com.ibm.portal.portlet.service.spi.PortletServiceRegistryService

B. com.ibm.portal.portlet.service.spi.PortletService

C. com.ibm.portal.portlet.service.spi.PortletServiceLifeCycle

D. com.ibm.portal.portlet.service.spi.PortletServiceProvider

Buy Now
Questions 13

Which of the following options is not a valid parameter of the login() method of the Portlet Login service (interface com.ibm.portal.portlet.service.login.LoginService)?

A. char[] password - The password of the user.

B. java.lang.String userID - The user ID of the user.

C. java.net.URL redirectURL - The login redirect URL.

D. javax.security.auth.Subject subject - A security subject to be passed to the WebSphere Application Server login modules that can be null if notneeded.

Buy Now
Exam Code: C2040-911
Exam Name: IBM WebSphere Portal 8.0 Solution Development
Last Update: Mar 21, 2024
Questions: 65
10%OFF Coupon Code: SAVE10

PDF (Q&A)

$45.99

VCE

$49.99

PDF + VCE

$59.99