A mobile application developer is using a Worklight adapter to retrieve an XML data feed from a remote system. The data obtained from the remote system contains much more data than is needed by the mobile application. What specific Worklight capability should the application developer use to reduce the data being returned from the Worklight adapter?
A. When the data is returned to the mobile application from the Worklight adapter, use for-loops and string comparison to extract the desireddata.
B. Ensure that the XML feed only has the desired information returned.
C. When calling the invoke command that retrieves the remote feed, specify a transformation that uses XSLT to parse the returned data.
D. Utilize a Java JSON library and call Java code from the the Worklight adapter that converts the returned XML data into a JSON object to bereturned from the adapter.
正解:C
質問 2:
A mobile application developer works at a company that requires developers to build and deploy all applications to their test server environment using an automated build process. What does Worklight provide to assist the developer in accomplishing the deployment?
A. Build For Remote Server
B. Apache Ant utility
C. Deployment artifacts in the application's bin folder
D. Build All and Deploy
正解:B
質問 3:
A mobile application developer has added the Android environment to a Worklight project and is preparing to build the APK file for testing in an Android emulator. What must the application developer do before building the APK file in Worklight Studio?
A. Create a Google Play account and install the Android Development Tools for Eclipse.
B. Install the Android SDK and the Android Development Tools for Eclipse.
C. Create a Google Play account and install the Android SDK.
D. Create a Google Play account and download an Android Virtual Device.
正解:B
質問 4:
A mobile application developer is working on an application and wants to ensure that the application captures client analytic data for later analysis using the IBM WebSphere Analytics Platform (IWAP). What Worklight API call will capture the data and properly forward it to the IWAP to achieve the desired goal?
A. LogInstance.log()
B. WL.Client.logActivity()
C. WL.Logger.log()
D. WL.Analytics.log()
正解:D
質問 5:
A mobile application developer needs to create an application for a hospital that will only allow a doctor access to medical records while inside the hospital. How can the mobile application developer accomplish this task using Worklight APIs?
A. Within an adapter, add event listeners WL.Events.GEOFENCE_ENTER and WL.Events.GEOFENCE_EXIT so a callback sets a variable whenevera doctor moves in or out of the geofence. Check the variable when the adapter is called to determine if the doctor is in an authorized location. Ifnot, do not process further.
B. On the device, use a PositionChange trigger to signal when the user moves into a different area, then use WL.Server.setUserRealm() toto allow or restrict access.
C. On the device, use WL.Client.isInsidePolygon() to determine if the doctor is in the hospital, then use WL.Server.setUserRealm() toallow or restrict access.
D. Within an adapter, use WL.Server.getClientDeviceContext() to determine if the doctor is in an authorized location. If not, do not processfurther.
正解:D
小泉** -
完全素人なんだけど、これのおかげて二週間練習して本番試験受けて合格した。素晴らしい。C2180-278本番試験に無事合格いたしました。