Directory Image
This website uses cookies to improve user experience. By using our website you consent to all cookies in accordance with our Privacy Policy.

C5050-408 Exams Study Guides

Author: Richard Koons
by Richard Koons
Posted: May 06, 2016

Version: 8.0

Question: 1

An application developer wants to test the application inside Worklight Studio but with an external Liberty profile. Using the RUN As> 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?

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

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

C. In server.xml of the target server, the host attribute inside the element is set to localhost or true public listening IP.

D. 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:

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.installconfig.doc/admin/ t_configuring_liberty_profile_for_wladmin_manually.html

Question: 2

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 element of the adapter to.

B. Set the connectAs attribute of the element of the adapter XML file to endUser.

C. Specify the proper userid in the element of the adapter.

D. Specify IGNORE_COOKIES as the cookiePolicy attribute in the 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_propagationlang=en

Question: 3

An application developer is concerned about how many requests may hit the adapter being created. The developer wants to ensure that the adapter can handle enough requests, but yet not allow requests to overwhelm the system.

What can the application developer do to limit the number of requests that an adapter will handle?

A. In the web server configuration, specify number of requests for MaxClients.

B. In the application server configuration, specify the number concurrent requests for the servlet engine.

C. In the loadContraints element of the adapter XML file, specify the number of requests formaxConcurrentConnectionsPerNode.

D. In the connectionPolicy element of the adapter XML file, specify the number of requests formaxConcurrentConnectionsPerNode.

Answer: D

Explanation:

Tuning Back-end Connections

maxConcurrentConnectionsPerNode – The maximum number of concurrent requests that can be performed on the back-end application from the Worklight server node. The worklight server will create a thread pool with maxConcurrentConnectionsPerNode size for that purpose. This maxConcurrentConnectionsPerNode parameter is set in the adapter.xml in the connectivity entry.

References: https://www.ibm.com/developerworks/community/blogs/worklight/entry/tuning_worklight_server?lang=en

Question: 4

An application developer is attempting to update specific portions of a hybrid application by utilizing the direct update feature.

Which components can the application developer update using the direct update feature without having to rebuild and deploy a new binary of the application?

A. HTML, CSS, JavaScript

B. HTML, CSS, JavaScript, Java

C. HTML, CSS, JavaScript, Objective C

D. HTML, CSS, JavaScript, Version number

Answer: A

Explanation:

When you want to deliver a Worklight hybrid application that consists mainly of HTML5 with CSS and JavaScript, and you must change the hybrid part of the application to provide new features or to fix a defect, you do not have to ask the application users to update it on their devices. You can use the Worklight direct update mechanism to deploy new HTML with CSS and JavaScript for your application without changing the application version on the mobile device.

Incorrect:

Not D: Delivering a new version of native code

The main reason that you would want to deliver a new version of an application is probably because your application uses native code and you want to provide new features or deliver fixes that require changes in the native code. You might also need to provide a new native version of the application, even if your Worklight application is completely written by using web technologies, to accommodate new mobile operating systems supported only in later versions of IBM Worklight. You cannot use the direct update mechanism in either of these cases. You must build and deploy a new version of the application.

Reference: http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/devenv/ c_update_apps_wl_ac.html

Question: 5

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> 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?

A. Run As> Run on Server

B. Run As> Build and Deploy

C. Run As> Apply Build Settings

D. Run As> 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> 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: 6

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

A. services folder – Contains client side services.

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

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

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

Answer: C

Explanation:

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

Incorrect:

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

References:

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

Question: 7

Which characteristic(s) of an application map to the respective development approaches?

Characteristics of the Application

A, The application is written for a specific platform and runs on that platform only.

B, The application runs inside the browser of the mobile device, and uses standard technologies such asHTML5, CSS3, and JavaScript.

C, The application runs inside a native container and uses the browser engine to display the applicationinterface.

D, 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

Question: 8

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

About the Author

Test Information: Total Questions: 188 Test Number: 642-742 Vendor Name: Cisco Cert Name: Ccnp Wireless Test Name: Ccnp Wireless - Iuwvn Official Site: http://www.cert4prep.co.uk For More Details: http://www.cert4prep.co.uk/642-742.html

Rate this Article
Leave a Comment
Author Thumbnail
I Agree:
Comment 
Pictures
Author: Richard Koons

Richard Koons

Member since: Apr 14, 2016
Published articles: 125

Related Articles