An application developer is ready to deploy a hybrid application to a production server. The Worklight administrator notifies the developer that the application needs to report statistics to the Operational Analytics server.
What must the application developer do to ensure analytics data is sent to the Operational Analytics server?
A. Rewrite all log calls in the application to be of the format WL.Analytics.log( object, message );
B. Add the following entry to the js/initOptions.js file of the application analytics : { enabled: true, url : <analytics server url> }
C. Define the url of the Operational Analytics server in the worklight.properties file using the propertywl.analytics.url.
D. Set the value of wl.analytics.logs.forward to true in the application-descriptor.xml file.
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 2:
A mobile application developer completed a successful installation of the Worklight-CLI (Command Line Interface) on their local environment.
What does the application developer need to do to ensure that the worklight and wl commands are in the system path?
A. Run the wl start command
B. Run the wl command
C. Run the worklight command
D. Log out and then log back in
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
質問 3:
An application developer has built a hybrid application using Worklight Studio and has added an Android environment to the application. The application developer has now built and deployed the Android environment to the Worklight Server.
In the application developer has correctly set up and configured their Android development environment, which of the following steps would they need to complete in order to the run the application on the Android emulator?
Choose Run As -> Preview
A. Right-click the automatically generated Android Project ({Project_Name}{App_Name}Android Folder)Choose Run As -> Android Application
B. Right-click the apps/{Application_Name}/android folderChoose Run As -> Preview
C. Right-click the apps/{Application_Name}/android folderChoose Run As -> Android Application
D. Right-click the automatically generated Android Project ({Project_Name}{App_Name}Android Folder)
正解:A
解説: (Pass4Test メンバーにのみ表示されます)
質問 4:
An application developer is developing a native iOS application. The application developer needs to call a web service to retrieve application data. In order to do that, the application developer will call an existing Worklight adapter that retrieves this data.
A. WLAdapterDelegate
B. MyInvokeListener
C. WLProcedureInvocationData
D. WLAdapterInvocationData
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 5:
An application developer is creating a WorkLight project that contains a Native API application. When creating the Native API application, the developer has provided the Project name as well as the native API name. The developer is now presented with an option to choose which specific environment they would like to create the Native API for.
Which environment types are the supported options for a valid Native API application that the application developer can choose from?
A. Android, AdopeAir, iOS, WindowsPhone8
B. Android, BlackBerry10, iOS, WindowsPhone8
C. Android, iOS, JavaME, WindowsPhone8
D. Android, BlackBerry10, iOS, JavaME
正解:C
解説: (Pass4Test メンバーにのみ表示されます)
質問 6:
While developing an Android-based hybrid application, the application developer is required to use a pure Native Activity before navigating to a Web view.
Which interface should the application developer implement for the Activity that has the Web view?
A. Activity
B. WLInitWebFrameworkListener
C. CordovaActivity
D. NativeCustomActivity
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 7:
An application developer intends to deliver a notification to a particular user with ID 'TestUser".
Which server call should the application developer use to deliver the notification?
A. var notification = {}notification.target = {}
notification.target.userlds = ['TestUser']; sendMessage('TestApplication',notification);
B. var notification = {}notification.message = {} notification.message.alert = "notification
text"; notification.target = {}
notification.target.userlds = ['TestUser']; sendMessage('TestApplication',notification);
C. var notification = {}notification.message.alert = "notification text";
notification.target.userlds = ['TestUser']; sendMessage('TestApplication',notification);
D. var notification.target.userlds = ['TestUser'];sendMessage('TestApplication',notification);
正解:B
解説: (Pass4Test メンバーにのみ表示されます)
質問 8:
An application developer needs to access Worklight server properties that are defined in the worklight.properties file.
Which of the following method definitions will enable the application developer to access the local.IPAddress property?
A. WL.Server.invokeConfiguration("local.IPAddress")
B. WL.Server.configuration.local.IPAddress
C. WL.Server.getConfiguration("local.IPAddress")
D. WL.Server.Configuration["local.IPAddress"]
正解:D
解説: (Pass4Test メンバーにのみ表示されます)
椎名** -
Pass4TestのC5050-408は所詮基本情報の縮小版かと思いきや、基本情報と同じくらいいろいろな側面の知識が必要なのですね。