Ensurepass

 

QUESTION 21

An HTTP adapter is deployed on a Worklight server. Which steps need to be taken by the developer to receive data from the adapter in an application?

 

A.

Create an invocationData object that contains the adapter and procedure names and send it through the WL.Server.invokeProcedureAPI with the onSuccess and onFailure callbacks.

B.

Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onTimeout callbacks.

C.

Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onFailure callbacks.

D.

Create an invocationData object that contains the backend URL and procedure name and send it through theWL.Client.invokeProcedure API with the onSuccess and onTimeout callbacks.

 

Correct Answer: C

 

 

QUESTION 22

What is the default project application structure?

 

A.

A single HTML file and a number of CSS and JS files

B.

A number of HTML and JS files and a single CSS file

C.

A number of HTML, JS and CSS files

D.

A single HTML, single CSS and a single JS file

 

Correct Answer: A

 

 

QUESTION 23

Which three components must be implemented when defining an authentication realm? (Choose three.)

 

A.

Authenticator

B.

Login module

C.

Identity validator

D.

Challenge handler

E.

Security certificate

F.

Encryption module

G.

Secure connection

 

Correct Answer: ABD

 

 

QUESTION 24

A connectivity to Worklight server is only required in order to __________.

 

A.

create a new encrypted cache

B.

open an existing encrypted cache

C.

read/write values to encrypted cache

D.

destroy encrypted cache

 

Correct Answer: A

 

 

QUESTION 25

A developer wants to implement an adapter authentication solution. The developer created the following challenge handler:

 

clip_image002

 

What should be placed in the “to be filled” parameter?

 

A.

realm name

B.

module name

C.

procedure name

D.

security test name

 

Correct Answer: A

 

 

QUESTION 26

What are the steps of creating a native page?

 

A.

Create a new Java class, extend Activity

B.

Create a new Java class, extend Activity, add an activity declaration to AndroidManifest.xml

C.

Create a new Java class, extend NativePage

D.

Create a new Java class, extend NativePage, add a native page declaration to AndroidManifest.xml

 

Correct Answer: A

 

 

QUESTION 27

What is the minimum number of adapter files for a particular adapter?

 

A.

0

B.

1

C.

2

D.

3

 

Correct Answer: C

 

 

QUESTION 28

Which of the following invocationData properties are mandatory? (Choose two)

 

A.

“invocation”

B.

“adapter”

C.

“procedure”

D.

“parameters”

 

Correct Answer: BC

QUESTION 29

A user has several devices. He’s using the application from all of them. Is it possible to send a push notification to a specific device?

 

A.

No, once Worklight server submits push notification it will be delivered to all of user’s devices

B.

Yes, userSubscription contains deviceSubscription objects for each device user ever registered for push notifications from. It can be used to send notification to a specific device.

C.

Yes, once Worklight server submits push notification it will be delivered to the last user of the device

D.

No, this is considered a security breach. If the user has more than one device notification will not be sent at all

 

Correct Answer: B

 

 

QUESTION 30

What protects a Worklight entity from unauthorized access?

 

A.

The login page

B.

The AuthorizeAccess web service

C.

An authentication realm

D.

The authentication adapter

 

Correct Answer: D

 

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.