IBM C2180-278 Dumps

Exam: IBM Worklight V6.0 Mobile Application Development

Play IBM C2180-278 VCE files with Avanset VCE Simulator
 

IBM C2180-278 Exam Tutorial

Showing 1-20 of 52 Questions   (Page 1 out of 3)


Question No : 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 No : 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 No : 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 No : 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.
IBM C2180-278 question 4
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 No : 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 No : 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 No : 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 No : 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 No : 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 No : 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
IBM C2180-278 question 10

A. Option A
B. Option B
C. Option C
D. Option D


Question No : 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 No : 12

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

A. Strings
B. Messages
C. Languages
D. Translations


Question No : 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 No : 14

A mobile application developer has developed a mobile application that calls native code
as shown:
IBM C2180-278 question 14
What Worklight capability would remove the need for this code?

A. Runtime Skins
B. Cordova plugins
C. CSS media queries
D. Environment optimization


Question No : 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.


Question No : 16

A mobile application developer needs to interface with a backend web service. The web
service accepts and returns XML data using the SOAP protocol. The developer has
decided to use an HTTP adapter to handle the integration. What data formats should the
developer use to create the request on the server side and parse the response on the client
side?

A. Create an XML request on the server side and parse an XML response on the client side.
B. Create an XML request on the server side and parse a JSON response on the client side. Worklight will convert the XML response to JSONautomatically.
C. Create a JSON request on the server side and parse a JSON response on the client side. Worklight will convert the JSON to XMLautomatically.
D. Create a JSON request on the server side and parse an XML response on the client side. Worklight will convert the JSON request to XMLautomatically.


Question No : 17

Thedeveloper chooses to manually add the jQuery Mobile Library instead of using the
wizard provided by Worklight Studio. At a minimum, what does the application developer
need to do? Copy the jQuery Mobile .js and .css files:

A. to the project and reference them in the HTML header element.
B. to the project, reference them in the HTML header element and add to the HTML body element <div data-role="page" id="page"> ...</div> and inside <div data-role="content"> ... </div>.
C. and the images folder to the project, and reference them in the HTML header element.
D. and the images folder to the project, reference them in the HTML header element and add to the HTML body element <divdata-role="page" id="page"> ... </div>.


Question No : 18

A mobile application developer has a business requirement that data be encrypted while
atrest on the mobile device. As data is stored in the encrypted cache, the application
developer starts seeing strange behavior and cannot find this behavior in the
documentation. What is the cause of the strange behavior?

A. The encrypted cache is closed.
B. The encrypted cache has exceeded the 5 Mb limit.
C. The AES 256-bit encryption key is corrupt.
D. The credentials used to open the cache are invalid.


Question No : 19

A mobile application developer is asked to work on amobile project and build Web
resources such as HTML, CSS and JavaScript that will later be packaged to complete the
application by another developer. What application type should be selected by the
application developer in Worklight Studio to accomplish this?

A. Inner Application
B. Shell Component
C. Native Application
D. Hybrid Application


Question No : 20

A mobile application developer isdebugging a new adapter. The developer wants to use
WL.Logger.debug() to output adapter debug messages to the console, but discovers that
the messages are not appearing. What setting should the application developer change to
make the messages appear?

A. In server.xml, set the Console log level to DEBUG.
B. In worklight.properties, set wl.debugTarget=CONSOLE.
C. None, because WL.Logger.debug() only outputs to a log file.
D. None, because WL.Logger.debug() is only a client-side API call.


Showing 1-20 of 52 Questions   (Page 1 out of 3)

Close

Close
LIMITED OFFER: 30% DISCOUNT

Exam-Labs PREMIUM Files

Get 30% Discount on all Exam-Labs.com PREMIUM files!



Enter Your Email Address to Receive Your 30% Discount Code

A Confirmation Link will be sent to this email address to verify your login

We value your privacy.
We will not rent or sell your email address

Close
Download Free Demo of VCE
Exam Simulator

Experience Avanset VCE Exam Simulator for yourself.


Simply submit your e-mail address below to get started with our interactive software demo of your free trial.


Enter Your Email Address

Free Demo Limits: In the demo version you will be able to access only first 5 questions from exam.