All questions Flashcards
Which authenticators are supported out of the box? (Choose three)
Header authentication
Persistent cookie authentication
Form-based authentication
Kerberos authentication
Header authentication
Persistent cookie authentication
Form-based authentication
Once a Shell developer completes developing her Shell components, what is the proper way to distribute it to inner application developers?
A. Zipping the Worklight project and emailing it to inner application developers
B. Committing the Worklight project to a Source Control Management system and telling inner application developers to use source code from it
C. The Shell developer should not distribute the Shell component to inner application developers. They should send their inner applications to her in order to build them
D. Sending the .wlshell Shell bundle file to inner application developers
Sending the .wlshell Shell bundle file to inner application developers
When should the Shell development approach be considered?
A. There are only two developers
B. The company wants to create a number of mobile applications sharing a common native code base and authentication mechanism
C. The company wants to create a native iOS and Android application, but its resources are limited
D. The company has distributed development teams situated on different continents that must share the source code
The company wants to create a number of mobile applications sharing a common
native code base and authentication mechanism
What is messages.js file used for?
This file contains the texts of application pop-up prompts
This file contains the texts of error messages that application may show
This is an internal framework file. It is used to store system messages for debugging
purposes
This file contains strings that can be used for application elements
This file contains strings that can be used for application elements
Which OS uses an HTML generated tab-bar?
Android
Which of the following is not a client side push API?
WL.Client.Push.isPushSupported()
WL.Client.Push.isSubscribed()
WL.Client.Push.unsubscribe()
WL.Client.Push.poll()
WL.Client.Push.poll()
A Worklight adapter is used to __________.
connect to various back-end systems
Which of these adapter properties is mandatory?
adapter name
display name
description
ip address
adapter name
How can SQL statements can be invoked?
Both by using SQL statement query and SQL stored procedures
Assuming it is not overridden manually, in which case will the isSuccessful property of the procedure invocation result be true?
Worklight server is not accessible
Back end that adapter tries to connect to is not accessible
Internet is not available on a mobile device
Specified procedure does not exist in adapter
Back end that adapter tries to connect to is not accessible
What types of Java methods can be called from Worklight adapter?
Both static and instance methods can be called from adapter
What client side mechanism is used to detect that the server requires authentication for the client s request?
Authenticator.isAuthenticationRequired
Authenticator.isUserAuthenticated
Authenticator.analyzeServerResponse
Authenticator.isLoginFormResponse
Authenticator.isLoginFormResponse
How many JSON objects are in the messages.js file?
1
Which of the following invocationData properties are mandatory? (Choose two)
“invocation”
“adapter”
“procedure”
“parameters”
“adapter”
“procedure”
What is the minimum number of adapter files for a particular adapter?
0
1
2
3
2
In order for a plug-in to be recognized by an iOS application s JavaScript it should be added to
Cordova.plist file
Worklight.plist file
Plugins.plist file
Plug-in will be automatically recognized by JavaScript without adding it to any of above files
Cordova.plist file
Which environments are supported by Worklight? (Choose three)
iOS 3
Blackberry OS 5
Windows Phone
Android 4.0
Blackberry OS 5
Windows Phone
Android 4.0
Which mobile environments use the native implementation of a busy indicator? (Choose three)
iOS
Android
BlackBerry
Windows Phone
iOS
Android
Windows Phone
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
single XML file with adapter settings, single JS file with adapter implementation
Which of the below connections are mandatory for push notifications to work? (Choose three)
Client application should be able to connect to a APNS/C2DM server
Client application should be able to connect to Worklight server
Worklight server should be able to connect to a APNS/C2DM server
More than one OS platform is required
Client application should be able to connect to a APNS/C2DM server
Client application should be able to connect to Worklight server
Worklight server should be able to connect to a APNS/C2DM server
What screen width does Android assume its html file is styled for?
A. 480
B. 160
C. 320
D. 1600
320
Which of the following server-side components cannot be added as a part of Worklight Project?
A. Source code of a custom server-side Java classes
B. Properties that should be used by server
C. JAR files containing server-side Java code
D. JMeter application to test Server s performance
JMeter application to test Servers performance
Pick the login type that is not supported by Worklight.
onStartup
never
onAlarm
onDemand
onAlarm
What type of adapter is not provided by Worklight out-of-the-box?
SQL adapter to connect to a SQL based servers
HTTP adapter to communicate with a web-based service
CastIron adapter
SIP adapter for VoIP communications
SIP adapter for VoIP communications
What is the default project application structure?
A single HTML file and a number of CSS and JS files
What happens when adapter procedure invocation fails due to inability to reach the Worklight
server?
Client side framework will try to invoke the procedure again and again until succeeded
onFailure callback specified in invocation options will be invoked. Developer should use it to treat server connectivity issues
onFailure callback specified in invocation options will be invoked. WL.Events.WORKLIGHT_IS_DISCONNECTED event will be fired. Developer should use either to treat server connectivity issues
Client side framework will show an error message with a retry button
onFailure callback specified in invocation options will be invoked. WL.Events.WORKLIGHT_IS_DISCONNECTED event will be fired. Developer should use either to treat server connectivity issues
Which class should be added to an element in order for it to use a property from messages.js?
A. resource
B. translate
C. localizable
D. externalText
translate
What are the components of a Cordova plug-in?
A. A native class implementing the required functionality: It can be called directly from
application s JavaScript
B. A native class implementing the required functionality and a JavaScript wrapper for
it: The wrapper s functions can be called from JavaScript.
C. A native class implementing the required functionality, a JavaScript wrapper for it
and a declaration in the application-descriptor.xml file
D. A JavaScript wrapper only ; Native classes are already provided by Worklight.
A native class implementing the required functionality and a JavaScript wrapper for it: The wrappers functions can be called from JavaScript.