Download IBM Worklight Foundation V6.2, Mobile Application Development.C5050-408.Pass4Sure.2019-02-19.74q.vcex

Vendor: IBM
Exam Code: C5050-408
Exam Name: IBM Worklight Foundation V6.2, Mobile Application Development
Date: Feb 19, 2019
File Size: 269 KB

How to open VCEX files?

Files with VCEX extension can be opened by ProfExam Simulator.

Demo Questions

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?
  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 public listening 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.
Correct 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:    <jndiEntry jndiName="ibm.worklight.admin.jmx.host" value="localhost"/>     <jndiEntry jndiName="ibm.worklight.admin.jmx.port" value="9443"/>     <jndiEntry jndiName="ibm.worklight.admin.jmx.user" value="WorklightRESTUser"/>     <jndiEntry jndiName="ibm.worklight.admin.jmx.pwd" value="WorklighRESTUserPassword"/>     <jndiEntry jndiName="ibm.worklight.topology.platform" value="Liberty"/>     <jndiEntry jndiName="ibm.worklight.topology.clustermode" value="Standalone"/> 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
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:
    <jndiEntry jndiName="ibm.worklight.admin.jmx.host" value="localhost"/> 
    <jndiEntry jndiName="ibm.worklight.admin.jmx.port" value="9443"/> 
    <jndiEntry jndiName="ibm.worklight.admin.jmx.user" value="WorklightRESTUser"/> 
    <jndiEntry jndiName="ibm.worklight.admin.jmx.pwd" value="WorklighRESTUserPassword"/> 
    <jndiEntry jndiName="ibm.worklight.topology.platform" value="Liberty"/> 
    <jndiEntry jndiName="ibm.worklight.topology.clustermode" value="Standalone"/> 
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?
  1. Set the <authentication> element of the adapter to <basic/>.
  2. Set the connectAs attribute of the <procedure> element of the adapter XML file to endUser.
  3. Specify the proper userid in the <connectionPolicy> element of the adapter.
  4. Specify IGNORE_COOKIES as the cookiePolicy attribute in the <connectionPolicy> element of the adapter.
Correct 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
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
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?
  1. In the web server configuration, specify number of requests for MaxClients.
  2. In the application server configuration, specify the number concurrent requests for the servlet engine.
  3. In the loadContraints element of the adapter XML file, specify the number of requests for maxConcurrentConnectionsPerNode.
  4. In the connectionPolicy element of the adapter XML file, specify the number of requests for maxConcurrentConnectionsPerNode.
Correct 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
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?
  1. HTML, CSS, JavaScript
  2. HTML, CSS, JavaScript, Java
  3. HTML, CSS, JavaScript, Objective C
  4. HTML, CSS, JavaScript, Version number
Correct 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 codeThe 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
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?
  1. Run As > Run on Server
  2. Run As > Build and Deploy
  3. Run As > Apply Build Settings
  4. Run As > Build All Environments
Correct 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
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?
  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.
Correct 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-first-hybrid-application/
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-first-hybrid-application/
Question 7
Which characteristic(s) of an application map to the respective development approaches? 
Characteristics of the Application 
1. The application is written for a specific platform and runs on that platform only. 
2. The application runs inside the browser of the mobile device, and uses standard technologies such as HTML5, CSS3, and JavaScript. 
3. The application runs inside a native container and uses the browser engine to display the application interface. 
4. The application is not distributed through an application store. 
Development Approach (see exhibit) 
  
  1. 1-A, 2-B, 3-C, 4-B
  2. 1-B, 2-C, 3-A, 4-C
  3. 1-B, 2-B, 3-C, 4-C
  4. 1-C, 2-A, 3-B, 4-A
Correct answer: D
Question 8
What is the purpose of the Application Center? 
The Application Center is:
  1. used to share only Worklight applications among different team members within a company.
  2. intended for production-ready applications only. Development team members should look for other means of collaboration.
  3. IBM's version of a public Application Store that targets usage outside of a company, similar to the Android Market or Apple's public Application Store.
  4. a means of sharing information among different team members within a company, where some mobile applications can be targeted to specific groups of users.
Correct 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
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
Question 9
An application developer is developing an Android based Hybrid application but the application is returning an error on the startup process. 
What are two valid initialization failure statuses that the application developer can identify on the startup process?
  1. FAILURE_CHECKSUM 
    FAILURE_EXTERNAL
  2. FAILURE_COMMUNICATION 
    FAILURE_INTERNAL
  3. FAILURE_COMMUNICATION 
    FAILURE_ENCRYPT
  4. FAILURE_UNZIP 
    FAILURE_NOT_ENOUGH_SPACE
Correct answer: D
Explanation:
The initialization status can be:FAILURE_INTERNAL FAILURE_UNZIP FAILURE_CHECKSUM FAILURE_NOT_ENOUGH_SPACE References: http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/dev/c_start_hybrid_app_android_in_webview.html
The initialization status can be:
FAILURE_INTERNAL 
FAILURE_UNZIP 
FAILURE_CHECKSUM 
FAILURE_NOT_ENOUGH_SPACE 
References: 
http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/dev/c_start_hybrid_app_android_in_webview.html
Question 10
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(“wl_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=”disabled”.
  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=”disabled”.
Correct 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("wl_directUpdateRealm", {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="disabled".References: http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/admin/c_direct_update_as_security_realm.html
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("wl_directUpdateRealm", {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="disabled".
References: 
http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/admin/c_direct_update_as_security_realm.html
HOW TO OPEN VCE FILES

Use VCE Exam Simulator to open VCE files
Avanaset

HOW TO OPEN VCEX AND EXAM FILES

Use ProfExam Simulator to open VCEX and EXAM files
ProfExam Screen

ProfExam
ProfExam at a 20% markdown

You have the opportunity to purchase ProfExam at a 20% reduced price

Get Now!