[Free] 2017(Jan) EnsurePass Testking IBM C5050-408 Dumps with VCE and PDF 21-30

Ensurepass.com : Ensure you pass the IT Exams
2017 Jan IBM Official New Released C5050-408
100% Free Download! 100% Pass Guaranteed!

IBM Worklight Foundation V6.2, Mobile Application Development

Question No: 21

An application developer is developing a project in Worklight Studio that has one adapter and a hybrid application that has Android and iPhone environments.

When the application developer builds the application using the #39;Build All environments#39; command, what are the complete set of artifacts created?

  1. A .war file, a .adapter file and a .wlapp file for all environments.

  2. A .war file, a .wlapp file for all environments and a .wlapp file for common resources.

  3. A .war file, a .wlapp file for all environments, a .wlapp file for common resources, a

    .wlapp for eachenvironment and a native project for the target platform of each environment.

  4. A .wlapp file for all environments, a .wlapp file for common resources, a .wlapp for each environment and anative project for the target platform of each environment.

Answer: B Explanation:

-> A WAR file is created by Worklight Studio for every Worklight project, regardless of

the number of apps itcontains.

-> If you build an entire app, a file called app-name.wlapp is created, containing the code and resources of allenvironments that are supported by your app. For example: myApp-all.wlapp.

-> If you build an app only for specific environments, a file called app-name-env- version.wlapp is created perenvironment. For example: myApp-android-1.0.wlapp.

References: https://www.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.deploy.d oc/devref/ t_transporting_the_app.html

Question No: 22

A mobile application developer intends to use JSONStore to encrypt local data of an application.

What does the application developer need to do to ensure data is encrypted? When using:

  1. WL.JSONStore.init(), pass a password in the options parameter.

  2. WL.JSONStore.init(), pass what collections will be encrypted in the options parameter.

  3. WL.JSONStore.documentify(), pass parameter encryption set to true.

  4. WL.JSONStore.encrypt(), pass a user name and a password in the options parameter.

Answer: B Explanation:


{Promise} init(collections, options) Starts one or more collections.

Option parameters include options.password Optional – Password that is used to secure

the contents of the store, by default there is no data encryption. References:

https://www.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.apiref.do c/html/refjavascriptclient/html/WL.JSONStore.html#init

Question No: 23

An application developer needs to update the web resources for a deployed application. The developer is exploring the use of Direct Update to deliver the updated web resources directly to the deployed application without uploading a new version of the application to the Apple App Store and Android Market.

The developer has located an explicit call to check for direct updates in the application code as follows:

WL.Client.login(鈥渨l_directUpdateRealm鈥? {onSuccess:…, onFailure:…})

Which security realm configuration allows the application developer to use Direct Update to deliver the updated web resources, only when the explicit call to check for direct updates in the application code is executed?

The application is protected with a:

  1. mobile security test and a Direct Update test is not specified.

  2. mobile security test and a Direct Update test is specified with mode=鈥漝isabled鈥?

  3. custom security test and a Direct Update test is not specified.

  4. custom security test and a Direct Update test is specified with mode=鈥漝isabled鈥?

Answer: C Explanation:

Check for Direct Update on demand

You can configure Direct Update so that the server checks for direct updates only when there is an explicit call to do so. To apply this setting, protect the application with a custom security test that does not contain a test with wl_directUpdateRealm. In the application code, use WL.Client.login(quot;wl_directUpdateRealmquot;,

{onSuccess:.., onFailure:…}), which causes the server to check for direct updates. This configuration does not work if the custom security test that protects the application contains wl_directUpdateRealm with mode=quot;disabledquot;.

References: http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/a dmin/ c_direct_update_as_security_realm.html

Question No: 24

An application developer has created a Worklight Adapter that retrieves data from a remote RSS feed and returns the results. The developer is not seeing the expected results in the browser. The developer decides to add debug logging to the code in order to determine why the expected results are not seen.

Where can the application developer locate the output from the debug logging? In the:

  1. server console of Eclipse.

  2. Worklight DevTools extension for the Chrome browser.

  3. Worklight Server#39;s First Failure Data Capture (FFDC) log.

  4. web browser by setting a breakpoint after the adapter call to inspect the result.

Answer: B Explanation:

Chrome devTools – Remote debugging in Worklight.

In 2012 Chrome implemented an awesome feature called ‘Remote debugging’. It introduced proper remote debugging for WebKit browsers.

References: http://www.optis.be/ibm/worklight/worklight-hybrid-app-debugging-with- chrome-devtools-for-mobile/

Question No: 25

Which one of the following correctly describes the content of the corresponding Worklight Application folder?

  1. services folder – Contains client side services.

  2. server folder – Contains libraries to be placed in external service servers.

  3. bin folder – Contains project artifacts that are deployed to the Worklight Server.

  4. externalServerLibraries folder – Contains references for application development and deployment.

Answer: C Explanation:

The bin folder contains project artifacts that are deployed to MobileFirst Server.


Not D: externalServerLibraries: Contains the libraries to be placed in external service servers and used for access token validation (by the service).


https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-6-3/hello- world/creating-your-firsthybrid-application/

Question No: 26

An application developer has developed a mobile web application that uses a large number of resources. The application developer intends to improve the startup time of the application.

To do so, which technique should the application developer use?

  1. Encryption

  2. Minification

  3. Compression

  4. Concatenation

Answer: D Explanation:

Concatenation of the web resources can be used to improve the start time of the application.


Not B: By using minification on specific web resources, it is possible to reduce the size of JavaScript and CSS files in the application.

References: https://www.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.dev.doc/ devref/ c_optimizing_apps_concatenation.html

Question No: 27

An application developer needs to automate the creation, execution, and analysis of functional tests for a Worklight hybrid application on Android and iOS devices using IBM Mobile Test Workbench for Worklight.

The application developer has successfully installed IBM Mobile Test Workbench for Worklight. What does the application developer need to do next to complete the environment set up?

Install and configure the:

  1. Mobile Test Client for the Android and iOS Simulator.

  2. Mobile specific device development and testing toolkit for Android and iOS.

  3. IBM Worklight Test Analytics Platform for Android and iOS.

  4. Load Test with IBM Rational Performance Tester for Android and iOS mobile simulators.

Answer: A Explanation:

The tools for preparing and testing mobile applications in IBM Worklight Foundation include:

-> Worklight Studio for developing your application, preparing it for test, and

uploading it to the mobile testworkbench for testing by the developer.

-> Application Center for sharing applications when the person who develops the application is different from theperson who tests the application.

-> A mobile test client that runs on Android and iOS devices, as well as Android emulators and iOS simulators.This client is used to record, to run tests, and to view reports. With the Android client, you can also upload apps to the test workbench.

References: https://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.test.doc/t est/ c_wl_mobile_test_ovw.html

Question No: 28

The application developer needs to test the Worklight application on a remote server. In Worklight Studio, the application developer configures the remote server by right clicking on the {app_name} folder and selecting Run As gt; Build Settings and Deploy Target.

Which step does the application developer need to perform to ensure the server configuration changes are reflected in the application?

  1. Run As gt; Run on Server

  2. Run As gt; Build and Deploy

  3. Run As gt; Apply Build Settings

  4. Run As gt; Build All Environments

Answer: D Explanation:

The Build Settings and Deploy Target dialog is used only to specify configurations and settings; clicking OK does not trigger a build. Any time that you make a modification with this dialog, you must rebuild your application and environments for your changes to take

effect, by using the Run As gt; Build All Environments menu command. References:

https://www.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.dev.doc/ dev/ c_building_and_deploying_build_settings_deploy_target.html

Question No: 29

An application developer is developing a hybrid mobile application that works with an Android environment. Before moving the application to real devices, the application developer needs to verify that it runs without errors on different Android API Levels in the Android Virtual Device Manager.

What is the minimum Android API level that the application developer should install which is supported on IBM Worklight Foundation to test the application?

  1. API Level 8 – Android 2.2

  2. API Level 10 – Android 2.3

  3. API Level 15 – Android 4.03

  4. API Level 17 – Android 4.2

Answer: B Explanation:

MobileFirst applications support API Levels 10 (Android 2.3) and above.

In a fresh installation of the Android Development Tools (ADT) plug-in, it is bundled only with the latest available API Level. You might want to use the SDK Manager and add additional API Levels, such as 17, 18, and 19.

References: https://developer.ibm.com/mobilefirstplatform/documentation/getting-started-7- 1/foundation/setting-up-yourdevelopment-environment/setting-up-the-android- development-environment/

Question No: 30

An application developer wants to test the application inside Worklight Studio but with an external Liberty profile. Using the RUN As gt; Build Settings and Deploy Target command, the application developer configured the Worklight Server with the external Liberty profile.

Before the application developer can connect the application in Worklight Studio to an existing Liberty profile, which of the following must the application developer verify?

  1. In the worklight.properties file, the public WorkLightHostname is set to localhost or true public listening IP.

  2. In the worklight.properties file, the public WorkLightHostname is set to * (wildcar symbol) or true public listening IP.

  3. In server.xml of the target server, the host attribute inside the element is set to localhost or true publiclistening IP.

  4. In server.xml of the target server, the host attribute inside the httpEndpoint element is set to * (wildcard symbol) or true public listening IP.

Answer: C Explanation:

To configure WebSphere Application Server Liberty profile for the Worklight Server administration manually, you must modify the server.xml file.

Add the following global JNDI entries in the server.xml file:

lt;jndiEntry jndiName=quot;ibm.worklight.admin.jmx.hostquot; value=quot;localhostquot;/gt;

lt;jndiEntry jndiName=quot;ibm.worklight.admin.jmx.portquot; value=quot;9443quot;/gt;

lt;jndiEntry jndiName=quot;ibm.worklight.admin.jmx.userquot; value=quot;WorklightRESTUserquot;/gt;

lt;jndiEntry jndiName=quot;ibm.worklight.admin.jmx.pwdquot; value=quot;WorklighRESTUserPasswordquot;/gt;

lt;jndiEntry jndiName=quot;ibm.worklight.topology.platformquot; value=quot;Libertyquot;/gt; lt;jndiEntry jndiName=quot;ibm.worklight.topology.clustermodequot; value=quot;Standalonequot;/gt; Where: ibm.worklight.admin.jmx.port is the HTTPS port. You can find its value in the httpEndpoint element of the server.xml file.

References https://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installcon fig.doc/admin/ t_configuring_liberty_profile_for_wladmin_manually.html

100% Ensurepass Free Download!
Download Free Demo:C5050-408 Demo PDF
100% Ensurepass Free Guaranteed!
Download 2017 EnsurePass C5050-408 Full Exam PDF and VCE

EnsurePass ExamCollection Testking
Lowest Price Guarantee Yes No No
Up-to-Dated Yes No No
Real Questions Yes No No
Explanation Yes No No
Free VCE Simulator Yes No No
Instant Download Yes No No

2017 EnsurePass IT Certification PDF and VCE

Leave a Reply