IBM C5050-408 - IBM Worklight Foundation V6.2, Mobile Application Development Exam

Page:    1 / 15   
Total 74 questions

Which characteristic(s) of an application map to the respective development approaches?
Characteristics of the Application
-> The application is written for a specific platform and runs on that platform only.
-> The application runs inside the browser of the mobile device, and uses standard technologies such asHTML5, CSS3, and JavaScript.
-> The application runs inside a native container and uses the browser engine to display the applicationinterface.
-> The application is not distributed through an application store.
Development Approach (see exhibit)


  • A. 1-A, 2-B, 3-C, 4-B
  • B. 1-B, 2-C, 3-A, 4-C
  • C. 1-B, 2-B, 3-C, 4-C
  • D. 1-C, 2-A, 3-B, 4-A


Answer : D

What is the purpose of the Application Center?
The Application Center is:

  • A. used to share only Worklight applications among different team members within a company.
  • B. intended for production-ready applications only. Development team members should look for other meansof collaboration.
  • C. IBM's version of a public Application Store that targets usage outside of a company, similar to the AndroidMarket or Apple's public Application Store.
  • D. a means of sharing information among different team members within a company, where some mobileapplications can be targeted to specific groups of users.


Answer : A

Explanation:
IBM Worklight Application Center is an enterprise application store. It allows you to install, configure, and administer a repository of mobile applications for use by individuals and groups within your enterprise or organization. It is built on top of the IBM MobileFirst
Platform and the IBM Worklight mobile application platform that enables you to develop, deploy, and manage mobile applications.
References: http://www.redbooks.ibm.com/abstracts/redp5005.html?Open

An application developer wants to retrieve the client-side logs of an Android application that is malfunctioning in the production environment.
When is the captured log data sent to the server?

  • A. After successful client init sequence.
  • B. When the application crashes.
  • C. When the application invokes the api console.log
  • D. When the application invokes the api Logger.setContext (Context)


Answer : A

Explanation:
All captured log data, if any, is sent to the MobileFirst Server during each successful client network init sequence and invokeProcedure response, with a 60 second minimum interval between sends.
References:
https://www.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/ devref/c_clientside_log_capture.html

An application developer has been given the Geo-location service requirement of most accurate and timely position information for a mobile application.
Which code snippet will enable the application developer to correctly implement this requirement?

  • A. WL.Device.startAcquisition ( { Geo: WL.Device.Geo.Profiles.PowerSaving() } );
  • B. WL.Device.startAcquisition ( { Geo: WL.Device.Geo.Profiles.RoughTracking() } );
  • C. WL.Device.startAcquisition ( { Geo: WL.Device.Geo.Profiles.LiveTracking() } );
  • D. WL.Device.startAcquisition ( { Geo: WL.Device.Geo.Profiles.HighAccuracy() } );


Answer : C

Explanation:
LiveTracking()
Returns a profile to use for accurately tracking devices. The object returned can be freely modified. The object returned is:
{
enableHighAccuracy:true,
highAccuracyOptions: {
iOSBestAccuracy: WL.Device.Geo.IOS_BEST_ACCURACY
},
maximumAge: 0
}
Incorrect:
Not A: PowerSaving()
Returns a profile to use for accurately tracking devices. The object returned can be freely modified. The object returned is:
{
enableHighAccuracy:false, minChangeTime: 300000, //5 minutes minChangeDistance:
1000, // 1Km
maximumAge: 300000 //5 minutes
}
Not B: RoughTracking()
Returns a profile which roughly tracks devices, representing. a trade-off between accuracy and power use.
Not D: There is no GEO function HighAccuracy.
Reference:
https://www.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.apiref.do c/html/refjavascriptclient/html/WL.Device.Geo.Profiles.html

An application developer is testing an adapter that is retrieving data from a remote database. The developer can find no problems with the adapter and seems to be retrieving data from the database as designed. The quality assurance team insists that users are seeing each other's data.
Which adapter configuration setting does the application developer need to set to resolve this issue?

  • A. Set the <authentication> element of the adapter to <basic/>.
  • B. Set the connectAs attribute of the <procedure> element of the adapter XML file to endUser.
  • C. Specify the proper userid in the <connectionPolicy> element of the adapter.
  • D. Specify IGNORE_COOKIES as the cookiePolicy attribute in the <connectionPolicy> element of the adapter.


Answer : B

Explanation:
In order to support stateful backend HTTP adapter procedures can be configured to work in a connectAs=endUser mode. This mode means that a separate instance of HTTP session will be created for each client session.
References:
https://www.ibm.com/developerworks/community/blogs/worklight/entry/ configuring_http_adapters_for_stateless_stateful_backend_connectivity_and_user_identity
_propagation? lang=en

Page:    1 / 15   
Total 74 questions