IBM Worklight Foundation V6.2, Mobile Application Development (C5050-408) Free Practice Test
Question 1
The following is part of a HTTP adapter invocation result.
{
"college":{
"class":{
"description": "Class object"
"student": {
"description": "Students marks details",
"title":Top Stories"
},
"studentmarks": [
{
"name": "Mirjana Lucic-Baroni.",
"marks": "90",
"level": "Level one"
}
{
"name": "Rose Way.",
"marks": "87",
"level": "null"
}
]
}
} }
An application developer needs to send only the 'name' and 'marks' information to a mobile
application using the adapter xsl file.
Which xsl file code snippet will enable the application developer to achieve this?
{
"college":{
"class":{
"description": "Class object"
"student": {
"description": "Students marks details",
"title":Top Stories"
},
"studentmarks": [
{
"name": "Mirjana Lucic-Baroni.",
"marks": "90",
"level": "Level one"
}
{
"name": "Rose Way.",
"marks": "87",
"level": "null"
}
]
}
} }
An application developer needs to send only the 'name' and 'marks' information to a mobile
application using the adapter xsl file.
Which xsl file code snippet will enable the application developer to achieve this?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
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?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 3
An application developer needs to send data to an iOS native page that will use the data that the user captured on a new web page. To accomplish this task, the developer needs to verify that the native page is implemented as an Objective-C class that inherits from a specific iOS class.
What is the name of the class the application developer must verify that the native page should inherit from?
What is the name of the class the application developer must verify that the native page should inherit from?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 4
An application developer has determined that Worklight does not provide an authenticator that meets the complex needs of the application being developed. It is decided that the developer must implement a custom authenticator.
Which interface must the application developer implement?
Which interface must the application developer implement?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 5
A client requires to change the default IBM splash image of an Android Worklight application.
How can the application developer implement this requirement?
How can the application developer implement this requirement?
Correct Answer: C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 6
An application developer is migrating a mobile hybrid application to support IBM Worklight Foundation V6.2 to release to the Application Store. The developer wants to reduce logging output to a minimum as the application will be running on mobile devices and no one will be accessing the logs.
How should the application developer minimize the application logging?
How should the application developer minimize the application logging?
Correct Answer: A
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 7
Before deploying the application to production, the application developer wants to test the application on a
physical device.
After connecting the device via a USB cable to the computer where the application will be tested, which of the following required actions must the application developer perform in order to test the application on a device?
Android:
- Android:
-- --
Enable ''USB debugging'' on the device.
Right click on the {Project_Name}{App_Name}Android project and select Run As >
Android StudioProject
iOS:
-
Obtain a developer certificate to sign applications.
Obtain a provisioning profile that identifies the developer certificate, the device,
and the applicationswhich can be run on the device.
Open the Project in Xcode, select the actual device in the Scheme menu, then
click Run
iOS:
physical device.
After connecting the device via a USB cable to the computer where the application will be tested, which of the following required actions must the application developer perform in order to test the application on a device?
Android:
- Android:
-- --
Enable ''USB debugging'' on the device.
Right click on the {Project_Name}{App_Name}Android project and select Run As >
Android StudioProject
iOS:
-
Obtain a developer certificate to sign applications.
Obtain a provisioning profile that identifies the developer certificate, the device,
and the applicationswhich can be run on the device.
Open the Project in Xcode, select the actual device in the Scheme menu, then
click Run
iOS:
Correct Answer: B,C
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).
Question 8
An application developer is attempting to implement device single sign-on (SSO) as
specified in the following example:
<securityTests>
<mobileSecurityTest name="FormTest">
<testDeviceID provisioningType="none"/>
<testUser realm="SampleAppRealm"/>
</mobileSecurityTest>
</securityTests>
<realms>
<realm name="SampleAppRealm" loginModule="MyLoginModule">
<className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
</realm>
</realms>
<loginModules>
<loginModule name="MyLoginModule"
ssoDeviceLoginModule="WLDeviceAutoProvisioningLoginModule">
className>com.worklight.core.auth.exp.NonValidatingLoginModule</className> </loginModule>
</loginModules>
Upon testing the configuration, the developer finds unexpected results, such as the Worklight project failing to start.
What does the application developer need to do to bring the SSO configuration to a consistent state?
specified in the following example:
<securityTests>
<mobileSecurityTest name="FormTest">
<testDeviceID provisioningType="none"/>
<testUser realm="SampleAppRealm"/>
</mobileSecurityTest>
</securityTests>
<realms>
<realm name="SampleAppRealm" loginModule="MyLoginModule">
<className>com.worklight.core.auth.ext.FormBasedAuthenticator</className>
</realm>
</realms>
<loginModules>
<loginModule name="MyLoginModule"
ssoDeviceLoginModule="WLDeviceAutoProvisioningLoginModule">
className>com.worklight.core.auth.exp.NonValidatingLoginModule</className> </loginModule>
</loginModules>
Upon testing the configuration, the developer finds unexpected results, such as the Worklight project failing to start.
What does the application developer need to do to bring the SSO configuration to a consistent state?
Correct Answer: B
Explanation: Only visible for TestSimulate members. You can sign-up / login (it's free).