Ensurepass

 

QUESTION 11

A web page in a Worklight mobile application invokes a native page using the following function call: WL.NativePage.show(“com.demo.NativePage”, parm2, data); What needs to be passed to the native page in the parm2 parameter?

 

A.

the name of an HTML error page that is displayed in case of error

B.

the function object that is called upon return from the native page

C.

the name of a native error-handler class that is invoked in case of error

D.

the URL of the web page that is displayed upon return from the native page

 

Correct Answer: B

 

 

QUESTION 12

A developer is preparing a Worklight mobile application for deployment to a production environment where the Worklight Server core database is stored on DB2 and must be accessed using the WorklightDS data source. Which database properly settings must the developer specify in the application’s worklight. properties file to properly configure it for deployment to the production environment?

 

A.

wl.db.type=DB2

wl.dta.url=jdtac:db2:WorklightDS

B.

wl.db.type=DB2

wl. db. j ndi.name=j dbc/WorklightDS

C.

wl.db.driver=com.ibm.db2.jcc.DB2Driver

wl. db. j ndi.neune=jdbc/WorklightDS

D.

wl.db.driver=com.ibm.db2.jcc.DB2Driver

wl.db.url=jdbc:db2:WorklightDS

 

Correct Answer: B

 

QUESTION 13

Which Worklight pre-defined authenticators can be used to secure an application that requires the user to login with a user ID and password?

 

A.

Form-based authenticator or Header-based authenticator

B.

Form-based authenticator or Adapter-based authenticator

C.

Adapter-based authenticator or Header-based authenticator

D.

Form-based authenticator, Adapter-based authenticator or Header-based authenticator

 

Correct Answer: B

 

 

QUESTION 14

How does Worklight handle globalization of application messages?

 

A.

It uses a user-provided JavaScript file.

B.

It uses language-specific XML resources.

C.

It uses a system-provided globalization file.

D.

It uses a native language translation library.

 

Correct Answer: A

 

 

QUESTION 15

An administrator is installing Worklight Server on a stand-alone machine in a QA environment and has alr
eady performed the following steps: 1.Created and initialized the Worklight databases 2.Defined and configured the required application server resources Which additional step must the administrator perform to use the Worklight Console to verify successful installation?

 

A.

Deploy the Worklight Console adapter file.

B.

Install the Worklight sample customization WAR file.

C.

Set the worklight.home JVM custom property to the location of the Worklight Console folder.

D.

Copy the worklight-jee-library.jar file to the application server’s Worklight library folder.

 

Correct Answer: B

 

 

QUESTION 16

What format of data can the HTTP adapter retrieve and automatically parse? (Choose three)

 

A.

Swift

B.

XML

C.

JSON

D.

Plain text

 

Correct Answer: BCD

 

 

QUESTION 17

Each Worklight adapter consists of a _______________.

 

A.

single XML file with adapter settings, single JS file with adapter implementation

B.

single XML file with adapter settings, multiple JS files with adapter implementation

C.

multiple XML files with adapter settings, multiple JS files with adapter implementation

D.

multiple XML files with adapter settings, single JS file with adapter implementation

 

Correct Answer: A

 

 

QUESTION 18

A development team is preparing to install Worklight V5.0 Studio in a multi-platform environment including Mac OS, Linux, and Windows workstations. Which installation method can be used on all three platforms?

 

A.

Eclipse Update Site

B.

IBM Installation Manager

C.

IBM Profile Management Tool

D.

IBM Plug-In Installation Wizard

 

Correct Answer: A

 

 

QUESTION 19

An application’s authenticationConfig.xml file contains the following configuration:

 

clip_image002

 

Which action must the developer perform to support the configuration?

 

A.

Write a custom login module using the NonValidatingLoginModule.

B.

Create a com.worklight.integration.auth.AdapterAuthenticator class for credential verification.

C.

Create the SingleStepAuthAdapter and implement the onAuthRequired and onLogout functions.

D.

Use the WL.Client.createChallengeHandler method in client application to send the credentials to the adapter.

 

Correct Answer: C

 

 

QUESTION 20

Which Worklight pre-defined authentication methods can be used to secure an application that does not require the user to login interactively?

 

A.

Form-based authentication

B.

LDAP-based authentication

C.

Header-based authentication

D.

Adapter-based authentication

 

Correct Answer: C

 

Free VCE & PDF File for IBM C2180-279 Real Exam

Instant Access to Free VCE Files: CompTIA | VMware | SAP …
Instant Access to Free PDF Files: CompTIA | VMware | SAP …

Comments are closed.