IBM C5050-408 Exam Practice Questions (P. 1)
- Full Access (74 questions)
- Six months of Premium Access
- Access to one million comments
- Seamless ChatGPT Integration
- Ability to download PDF files
- Anki Flashcard files for revision
- No Captcha & No AdSense
- Advanced Exam Configuration
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 command, the application developer configured the Worklight Server with the external Liberty profile.
Deploy Target -
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?
Deploy Target -
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?
- AIn the worklight.properties file, the public WorkLightHostname is set to localhost or true public listening IP. ) or true public listening IP.
- BIn server.xml of the target server, the host attribute inside the element is set to localhost or true public listening IP. ) or true public listening IP.
Correct Answer:
C
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
C
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
send
light_mode
delete
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?
Which adapter configuration setting does the application developer need to set to resolve this issue?
- ASet the <authentication> element of the adapter to <basic/>.
- BSet the connectAs attribute of the <procedure> element of the adapter XML file to endUser.
- CSpecify the proper userid in the <connectionPolicy> element of the adapter.
- DSpecify IGNORE_COOKIES as the cookiePolicy attribute in the <connectionPolicy> element of the adapter.
Correct Answer:
B
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
B
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
send
light_mode
delete
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?
What can the application developer do to limit the number of requests that an adapter will handle?
- AIn the web server configuration, specify number of requests for MaxClients.
- BIn the application server configuration, specify the number concurrent requests for the servlet engine.
- CIn the loadContraints element of the adapter XML file, specify the number of requests for maxConcurrentConnectionsPerNode.
- DIn the connectionPolicy element of the adapter XML file, specify the number of requests for maxConcurrentConnectionsPerNode.
Correct Answer:
D
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
D
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
send
light_mode
delete
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?
Which components can the application developer update using the direct update feature without having to rebuild and deploy a new binary of the application?
- AHTML, CSS, JavaScript
- BHTML, CSS, JavaScript, Java
- CHTML, CSS, JavaScript, Objective C
- DHTML, CSS, JavaScript, Version number
Correct Answer:
A
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
A
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
send
light_mode
delete
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
.
Which step does the application developer need to perform to ensure the server configuration changes are reflected in the application?
.
Which step does the application developer need to perform to ensure the server configuration changes are reflected in the application?
- ARun As > Run on Server
- BRun As > Build and Deploy
- CRun As > Apply Build Settings
- DRun As > Build All Environments
Correct Answer:
D
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
D
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
send
light_mode
delete
All Pages