Exam Details

  • Exam Code
    :C2180-279
  • Exam Name
    :IBM Worklight V6.0 Mobile System Administration
  • Certification
    :IBM Certified Mobile System Administrator
  • Vendor
    :IBM
  • Total Questions
    :126 Q&As
  • Last Updated
    :Apr 12, 2025

IBM IBM Certified Mobile System Administrator C2180-279 Questions & Answers

  • Question 111:

    A developer created an encrypted cache with the WL.EncryptedCache.open function. When the function is triggered, the following status code is returned: WL.EncryptedCache.ERROR_SECURE_RANDOM_GENERATOR_UNAVAILABLE What does this status code mean?

    A. The encrypted cache was created successfully, though it was only secured by a user provided password.

    B. The application failed to create the encrypted cache because the Worklight server was unavailable for some reason.

    C. The encrypted cache already existed with a previously created random key, so it was not possible to create it again with a new key.

    D. The application failed to create the encrypted cache, because there was no parameter provided in the function call to generate the randomkey.

  • Question 112:

    A developer is invoking WL.Client.invokeProcedure(invocationData, options), using the options object and callback functions that are shown below.

    Which two statements describe the outcome of this scenario? (Choose two.)

    A. The invocationContext will be returned to the success and failure handlers.

    B. The function failure will be invoked on client-side errors, however, not invoked on server- side errors.

    C. The data returned by the invoked procedure is saved on response.invocationResult in the case of a successful call.

    D. The data returned by the invoked procedure is saved on response.invocationContext in the case of a successful call.

    E. The data returned by the invoked procedure is saved on response.invocationResult in the case of an unsuccessful call.

  • Question 113:

    A web page in a Worklight mobile application invokes a native page using the following function call: WL.NativePage.show("com.demo.NativePage", parm2, data); What needs to be passed to the native page in the parm2 parameter?

    A. the name of an HTML error page that is displayed in case of error

    B. the function object that is called upon return from the native page

    C. the name of a native error-handler class that is invoked in case of error

    D. the URL of the web page that is displayed upon return from the native page

  • Question 114:

    When displaying native modal controls, the developer creates the following Worklight Common Control implementation:

    Assuming that the functions dialogYes, dialogNo and dialogHelp are properly defined, what is expected to happen when this snippet is executed on a real device?

    A. The snippet will work as expected.

    B. The snippet will fail because it is missing the mandatory options parameter.

    C. The snippet will fail to execute because WL.SimpleDialog does not support 3 or more buttons.

    D. The snippet will work on iOS and BlackBerry, but it will only show buttons Yes and No for Android and Windows Phone 7 (Mango).

  • Question 115:

    Given the following code:

    What will the alert(WL.Client.getUserPref('key1')); show?

    A. The alert will not show since WL.Client.setUserPref cannot be called in the for loop since it is an asynchronous function.

    B. updatedValue1 since WL.Client.setUserPref({'key1' : 'updatedValue1'}); will replace the value of key1 set in the for loop.

    C. value1, updatedValue1 or null since WL.Client.setUserPref is an asynchronous function and there is no guarantee which call, if any,will return first.

    D. value1 since WL.Client.setUserPref('key1', 'updatedValue1'); will fail because WL.Client.deleteUserPref ('key1') was notcalled before setting the new value.

  • Question 116:

    A Worklight mobile application uses a native page to display a real-time graph of the price of a stock symbol. The native page is invoked from a web page using the WL.NativePage.show() method and requires a parameter that contains the value of the stock symbol to display. To pass the value of "IBM" as a parameter to the native page using the parm variable, how should the variable be initialized before passing it to the method?

    A. var parm = "IBM";

    B. var parm = ["IBM"];

    C. var parm = {symbol: "IBM"};

    D. var parm = ["symbol", "IBM"];

  • Question 117:

    As a part of the application design, the developer needs to handle the scenario where the user sends the application to the background and then opens it again. How should the developer do this?

    A. Add an event listener to the foreground event and handle the return to the foreground.

    B. Add an event listener to WL.Events.WORKLIGHT_IS_CONNECTED and handle the callback.

    C. Add an event listener to the background event and handle the return to the background, without forgetting to reconnect to the backend.

    D. Use WL.Device.getNetworkInfo() to check if the application is in the foreground or background and handle the return to the foreground.

  • Question 118:

    Which three actions can be done in the Rich Page Editor? (Choose three.)

    A. Edit element properties.

    B. Compare different skins using the Split view.

    C. Drag from the Palette view to create dojo widgets.

    D. Drag from the Palette view to create HTML form tags.

    E. Preview the layout with all browsers installed in the local machine.

  • Question 119:

    A developer is writing a Worklight mobile application to run on Android and iOS platforms. The developer is using the Apache Cordova device.platform API in the code to identify the device's platform type. Which additional step, if any, should the developer perform before building and deploying the application to successfully use the Apache Cordova API?

    A. Set the element to true in the application's descriptor file to indicate the use of Cordova.

    B. Copy the cordova.jar library file to the project's server folder to make it available to the application at run-time.

    C. No additional step is required since the Cordova framework is automatically added into Worklight iOS and Android projects.

    D. Add a