Skip to main content

C2180-279 Real Exam Questions

IBM Worklight V6.0 Mobile System Administration

126 questions available · Page 1 of 13

Updated Exam DumpsVerified AnswersPass Guarantee

Get Complete Exam Dumps
Question 1 Single choice

Which of the following is not a client side push API?

  1. A

    WL.Client.Push.isPushSupported()

  2. B

    WL.Client.Push.isSubscribed()

  3. C

    WL.Client.Push.unsubscribe()

  4. D

    WL.Client.Push.poll()

Show answer and explanation

Correct answer: D

Question 2 Single choice

A developer wants to create a procedure called getAccountInfo in a Worklight SQL adapter to retrieve account information from a backend database. The procedure should invoke a SQL query that accepts an accountID as parameter and returns the accountNumber, accountName and accountBalance of the corresponding row in the Account table.

What is a correct implementation of the procedure in the adapter's JavaScript file?

  1. A

    Option A

  2. B

    Option B

  3. C

    Option C

  4. D

    Option D

Show answer and explanation

Correct answer: A

Question 3 Single choice

A Worklight application does not need to connect to a server on startup. However, when previewing the application on the device emulator, it is throwing a server connection error on start up. What is the
consequence if the connection error is resolved using the WL.Client.init({connectOnStartup:false}) API to disable the connection to the server on application startup?

  1. A

    The application will not be able to subsequently connect to the server.

  2. B

    Server features other than the Remote Disable or Direct Update will be disabled.

  3. C

    Any server features the application uses will only be available when it connects to the server.

  4. D

    There will be no potential consequences as the runtime will safely disable server connectivity errors.

Show answer and explanation

Correct answer: C

Question 4 Single choice

A developer needs to call a Java class that is packaged in a JAR file from an adapter.

Where should this JAR file be placed in the project's folder structure?

  1. A

    server/java

  2. B

    server/lib

  3. C

    adapters/java

  4. D

    adapters/lib

Show answer and explanation

Correct answer: B

Question 5 Single choice

A hybrid mobile application named App1 is failing to connect to the Worklight Server with the following error code: "Application Error - The connection to the server was unsuccessful" Knowing that the application should be available at "http://srv.ent.com:9099/wl" but without any access to the Worklight Console, how can the support engineer ensure that the application App1 has been properly deployed?

  1. A

    Query the is-alive URL at "http://srv.ent.com:9099/wl/ws/rest/vitality?app=App1"

  2. B

    Query the preview URL at
    "http://srv.ent.com:9099/wl/apps/services/preview/App1/App1.html"

  3. C

    Invoke the Worklight Server Mobile Browser Simulator at"http://srv.ent.com:9099/wl/

    _MobileBrowserSimulator/index.html?app=App1"

  4. D

    Use a remote debugging tool such as Weinre or iWebInspector to inspect the request to the

    application's init resource
    at"http://srv.ent.com:9099/wl/apps/services/api/App1/common/init"

Show answer and explanation

Correct answer: A

Question 6 Single choice

Can an HTTP adapter be used with a non standard HTTP ports?

  1. A

    You must use port 80 for HTTP and port 443 for HTTPS

  2. B

    You can use any port for HTTP but only to port 443 for HTTPS

  3. C

    You must use port 80 for HTTP but can use any port for HTTPS

  4. D

    It is possible to use any port for both HTTP and HTTPS

Show answer and explanation

Correct answer: D

Question 7 Single choice

A developer has deployed a Worklight mobile application to a remote Worklight Server environment using a context root of app1 and wants to update one of the application's server-side components.

Which Worklight console should the developer use to re-deploy the component?

  1. A

    The Worklight console on the remote server accessed through the URL:
    http://remoteServerHostName:portNumber/console.

  2. B

    The Worklight console in the local development environment accessed through the URL:
    http://localHostName:portNumber/console.

  3. C

    The application-specific Worklight console on the remote server accessed through the URL:http://remoteServerHostName:portNumber/app1/console.

  4. D

    The application-specific Worklight console in the local development environment accessed through the
    URL:http://localHostName:portNumber/app1/console.

Show answer and explanation

Correct answer: C

Question 8 Single choice

Which class should be added to an element in order for it to use a property from messages.js?

  1. A

    resource

  2. B

    translate

  3. C

    localizable

  4. D

    externalText

Show answer and explanation

Correct answer: B

Question 9 Single choice

Where in the Worklight project structure do Worklight.properties belong?

  1. A

    server\conf

  2. B

    resources\properties

  3. C

    server\lib

  4. D

    tomcat\worklight

Show answer and explanation

Correct answer: A

Question 10 Multiple choice

Which of the following invocationData properties are mandatory? (Choose two)

  1. A

    "invocation"

  2. B

    "adapter"

  3. C

    "procedure"

  4. D

    "parameters"

Show answer and explanation

Correct answers: B, C