Limited Time Discount Offer
30% Off - Ends in 02:00:00

X

IBM C2180-278 Dumps

IBM
IBM Worklight V6.0 Mobile Application Development
IBM
IBM Worklight V6.0 Mobile Application Development

Questions & Answers for IBM C2180-278

Showing 1-15 of 52 Questions

Question #1

A mobile application developer has previously installed a compatible version of the Ecplise
IDE. What process does the application developer need to follow to install the Worklight
Studio development environment?

A. Launch Eclipse.Help -> Install New SoftwareClick AddSpecify location of the Woklight Studio plug-in sourceSelect installation options and click NextInstall the required iOS or Android SDKVerify installation was successful.

B. Launch Eclipse.Help -> Install New SoftwareClick AddSpecify location of the Woklight Studio plug-in sourceSelect installation options and click NextVerify installation was successful.

C. Launch Eclipse.Install the required iOS or Android SDKHelp -> Install New SoftwareClick AddSpecify location of the Woklight Studio plug-in sourceSelect installation options and click NextVerify installation was successful.

D. Launch Eclipse.Help -> Install New SoftwareClick AddSpecify location of the Woklight Studio plug-in sourceSelect installation options and click NextBrowse to the required javascript and dojo library locations and click NextVerify installation was successful.

Question #2

A mobile application developer is writing an application that pulls employee ID's from the
empID database and uses those ID's to extract employee address information from the
empAdr database on a different server. Using the Worklight adapter framework, how can
the application developer accomplish this task?

A. Create a single SQL adapter and use database specific XML files.

B. Create a single SQL adapter and use database specific JavaScript files.

C. Create two SQL adapters and call one adapter from another on the client side.

D. Create two SQL adapters and call one adapterfrom another on the server side.

Question #3

A mobile application developer has written a Cordova plug-in for an application. The
developerwould like to now test its functionality. To do so, what must the application
developer configure in the Worklight project? Declare the:

A. plug-in name in config.xml.

B. plug-in name in initOptions.js.

C. plug-in name in the HEAD element of theapplication's .html file.

D. .java class file name in AndroidManifest.xml.

Question #4

A mobile application developer created a Mobile Web app and optimized it using the
Minification feature in Worklight Studio. The developer needs to debug the application
JavaScript in a comfortable manner. Consider the following application structure.

Whichincludes/excludes rules configuration should the application developer use in the
minification process to debug only the application's JavaScript after the application's web
resources have been minified? (choose 2)

A. includes="**/*.js; *.css"

B. includes="**/common/*.css"

C. excludes="**.js; *.css"C.excludes="**.js; *.css"

D. excludes="**https://www.exam-labs.com/js/exampleApp.js"D.excludes="**https://www.exam-labs.com/js/exampleApp.js"

E. excludes="**/jqueryMobile/*.js"E.excludes="**/jqueryMobile/*.js"

Question #5

A mobile application developer needs to add a button to a Worklight application. Using the
Rich Page Editor, the application developer drags a button widget onto the canvas of the
existing page.What should the application developer do to give the button the id
"getContactsButton" and have it invoke the JavaScript function getContacts() when it is
clicked?

A. Right-click on the canvas and bring up the properties dialog, type getContactsButton inthe id field and select getContacts() in theonclick drop down menu.

B. Right-click on the canvas and bring up the properties dialog, type getContactsButton in the id field, locate the onclick property and typegetContacts() for its value.

C. Find the Properties view for the the button and select the All tab. Then type getContactsButton in the id field and select getContacts() inthe onclick drop down menu.

D. Find the Properties view for the the button and select the All tab. Then type getContactsButton in the id field, locate the onclick propertyand type getContacts() for its value.

Question #6

A mobile application developer is considering using the operational analytics or the
Worklight reporting feature to collect device usage statistics for a new application. Which
one of the following statements regarding the operational analytics features is true?

A. The operational analytics feature can not be used when using the reports feature.

B. The operational analytics feature requires the reports feature to be enabled to function.

C. The operational analytics feature is a superset of the data collected as part of the reports feature.

D. The use of operational analytics feature along with the reports feature will minimize the amount of data storage required.

Question #7

A mobile application developer has been asked to write an application that will work even
when there is no connectivity. When input data is to be saved, the application must
determine whether it should be written to the server or to a cache. How should the
application developer do this?

A. Call WL.Server.isConnected() before every call to the Worklight server, and write to the cache if it returns false.

B. Use the Worklight API call WL.Server.setConnectivity() to register a function to be called whenever the application goes offline or comesback online.

C. Use the Worklight API call WL.Framework.addEventListener to register callbacks when WL.Events.WORKLIGHT_IS_CONNECTED andWL.Events.WORKLIGHT_IS_DISCONNECTED are fired by the Worklightframework.

D. Use the JavaScript API call Document.addEventListener to register callbacks when WL.Events.WORKLIGHT_IS_CONNECTED andWL.Events.WORKLIGHT_IS_DISCONNECTED are fired by the Worklight framework.

Question #8

A mobile application developer has enabled the Operational Analytics report to summarize
application activity and statistics. Which of the following charts is presented in the
Dashboard view of the Operational Analytics?

A. Server log

B. Geolocation data

C. Client crash data

D. Environment Usage

Question #9

A mobile application developer has written a hybrid android app and has enabled Push
Notifications for it. On subscribing to the eventsource with userId "TestUser", the userID
that is persisted in the database is "3266532456798262364265" instead of "TestUser".
What is the cause? A security test is missing from the:

A. adapter methods.

B. adapter methods and the application.

C. application-descriptor.xml.

D. WL.Server.createEventSource function.

Question #10

A mobile application developer intends to use SMS Notifications in a Worklight application.
Which one of the following is a valid entry in SMSConfig.xml if the SMS gateway expects
an HTTP post in the following format to forward SMS messages to a mobile device:
http://myhost:13011/sendsms?to=9876543210&text=message
text&username=user&password=pass

A. Option A

B. Option B

C. Option C

D. Option D

Question #11

A mobile application must handle the security challenge when accessing an entity secured
by a realm. A client-side challenge handler has been created, a request for asecure entity
has been sent to the server and the challenge handler has now received a response from
the server. A challenge handler function was invoked and returns true. Which two functions
does the application developer need to call to process the returned true condition?

A. submitSuccess and submitFailure

B. handleChallenge and submitSuccess

C. isCustomResponse and submitSuccess

D. isCustomResponse and handleChallenge

Question #12

What is the name of the JSON object used to store translated application strings?

A. Strings

B. Messages

C. Languages

D. Translations

Question #13

A mobile application developer has created a Hybrid application for Android phones and
tablets using skins to have a different interface on the phones and the tablets. The
application developer updates one of the HTML resources which is targeted for tablets,
increments theversion number from 1.0 to 2.0 and deploys it to the server. Which correctly
describes the scenario when an Android phone tries to access the application? The
application:

A. does not receive the direct update.

B. gets a direct update prompt and but doesnot get updated with the resource.

C. gets a direct update prompt, gets updated with the changed resource and its version is 1.0.

D. gets a direct update prompt, gets updated with the changed resource and its version is 2.0.

Question #14

A mobile application developer has developed a mobile application that calls native code
as shown:

What Worklight capability would remove the need for this code?

A. Runtime Skins

B. Cordova plugins

C. CSS media queries

D. Environment optimization

Question #15

A mobile application developer needs to invoke a Java class directly from a server side
Worklight adapter. Which one of the following tasks is required to accomplish this?

A. Upload the Java package to the Worklight server.

B. Assign a JavaScript variable as a referenceto the Java class.

C. Ensure the Java package begins with the com, org or net domain.

D. Include the Java class in the <Worklight Project Folder>/server/native directory.

×