The correct place to specify the application's metadata is __________.
A. application-descriptor.xml
B. worklight.properties
C. This setting should be done separately per platform in a dedicated settings file
D. authenticationConfig.xml
正解:A
質問 2:
Which environments are supported by Worklight? (Choose three)
A. Blackberry OS 5
B. iOS 3
C. Windows Phone
D. Android 4.0
正解:A,C,D
質問 3:
Which of the following API can be used across all environments to debug Worklight application?
A. console.log
B. WL.Debugger.log
C. console.debug
D. WL.Logger.debug
正解:D
質問 4:
What is a best way to keep an active server session alive?
A. There is no way to keep session alive from the client. Server is the only entity that can control this
B. Set heartbeat interval to a value lower than session timeout defined on Worklight server
C. Invoke any Worklight adapter procedure in the background ignoring the response
D. Alert user that session is about to expire and ask to perform some action to keep it alive
正解:B
質問 5:
Where in the Worklight project structure do Worklight.properties belong?
A. tomcat\worklight
B. server\lib
C. resources\properties
D. server\conf
正解:D
質問 6:
How can a developer specify which adapter procedures will be protected by an authentication realm?
A. The developer doesn't need to specify it. Authentication credentials should be added on the client side when using WL.Client.invokeProcedure
B. Once the authentication realm is specified in adapter's XML file, all of the adapter's procedures are protected by it
C. An authentication realm does not protect adapter procedures. Protection is for applications only
D. The developer should add a requiresAuthentication="true" property to the procedure definition in adapter's XML
正解:D
質問 7:
What is the dependency between realm, authenticator and login module in the authenticationConfig.xml file?
A. Each authenticator element must specify its realm and its loginModule
B. Each loginModule element must specify a className of its realm and authenticator's name
C. Each authenticator element must specify its className, realm and loginModule
D. Each realm element must specify a className of its authenticator and loginModule's name
正解:D