IBM C5050-408 Exam Practice Questions (P. 5)
- 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 #21
An application developer wants to retrieve the client-side logs of an Android application that is malfunctioning in the production environment.
When is the captured log data sent to the server?
When is the captured log data sent to the server?
- AAfter successful client init sequence.
- BWhen the application crashes.
- CWhen the application invokes the api console.log
- DWhen the application invokes the api Logger.setContext (Context)
Correct Answer:
A
All captured log data, if any, is sent to the MobileFirst Server during each successful client network init sequence and invokeProcedure response, with a 60 second minimum interval between sends.
References:
https://www.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/devref/c_client-side_log_capture.html
A
All captured log data, if any, is sent to the MobileFirst Server during each successful client network init sequence and invokeProcedure response, with a 60 second minimum interval between sends.
References:
https://www.ibm.com/support/knowledgecenter/SSHS8R_7.0.0/com.ibm.worklight.dev.doc/devref/c_client-side_log_capture.html
send
light_mode
delete
Question #22
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:
Where can the application developer locate the output from the debug logging?
In the:
- Aserver console of Eclipse.
- BWorklight DevTools extension for the Chrome browser.
- CWorklight Server's First Failure Data Capture (FFDC) log.
- Dweb browser by setting a breakpoint after the adapter call to inspect the result.
Correct Answer:
B
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/
B
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/
send
light_mode
delete
Question #23
An application developer wants to use the IBM Mobile Test Workbench to automate the creation, execution, and analysis of functional tests for a Worklight hybrid application on Android devices. The application developer has successfully installed and configured the IBM Mobile Test Workbench. After creating a test project, the application developer is now ready to generate a test from recording a session on the Android device.
After selecting the application in the list of managed applications available in the Test Workbench Android client view, what must the application developer do to generate the test?
After selecting the application in the list of managed applications available in the Test Workbench Android client view, what must the application developer do to generate the test?
- A1. Click Record in the mobile client on the device 2. Interact with the device as needed 3. Tap the Back button
- B1. Click Record in the mobile client on the device 2. Interact with the device as needed. 3. Click Stop in the mobile client on the device
- C1. Click Install to install the application on the device 2. Click Record in the mobile client on the device 3. Interact with the device as needed 4. Close the application
- D1. Click Install to install the application on the device 2. Click Record in the mobile client on the device 3. Interact with the device as needed
Correct Answer:
D
The goal of mobile testing is to ensure that your mobile application meets the requirements that guided its design and development. To help you meet this goal,
IBM Mobile Test Workbench for Worklight implements the following stages in the testing process:
Configuration: Set up your test environment with IBM Mobile Test Workbench for Worklight and the SDKs for the mobile operating systems. Install the mobile test client on one or several mobile devices. Ensure that the mobile devices have connectivity through WiFi, 3G, or 4G, and add those devices to the test workbench.
* Application preparation: Import the application that you want to test into the test workbench, or use the device to upload the application under test to the test workbench.
* Test recording: Run the app from the mobile test client to start a recording. The recorder records all user interactions, sensor inputs, and application behavior, and uploads the recorded data to the test workbench, where it can be converted into a mobile test.
* Test editing: After recording, you can edit the test in the natural language editor. You can use the mobile data view to display and select UI elements from the recorded applications. You can replace recorded test values with variable test data, or add dynamic data to the test.
* Testing: You can deploy and run automated tests on multiple devices to ensure that the app matches the expected behavior that is defined in verification points.
During the run, each verification point is checked and receives a pass, fail, or inconclusive status and functional data is recorded.
Evaluation of results:
References:
https://www.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.mobtest.doc/topics/c_wl_mobile_test_ovw.html
D
The goal of mobile testing is to ensure that your mobile application meets the requirements that guided its design and development. To help you meet this goal,
IBM Mobile Test Workbench for Worklight implements the following stages in the testing process:
Configuration: Set up your test environment with IBM Mobile Test Workbench for Worklight and the SDKs for the mobile operating systems. Install the mobile test client on one or several mobile devices. Ensure that the mobile devices have connectivity through WiFi, 3G, or 4G, and add those devices to the test workbench.
* Application preparation: Import the application that you want to test into the test workbench, or use the device to upload the application under test to the test workbench.
* Test recording: Run the app from the mobile test client to start a recording. The recorder records all user interactions, sensor inputs, and application behavior, and uploads the recorded data to the test workbench, where it can be converted into a mobile test.
* Test editing: After recording, you can edit the test in the natural language editor. You can use the mobile data view to display and select UI elements from the recorded applications. You can replace recorded test values with variable test data, or add dynamic data to the test.
* Testing: You can deploy and run automated tests on multiple devices to ensure that the app matches the expected behavior that is defined in verification points.
During the run, each verification point is checked and receives a pass, fail, or inconclusive status and functional data is recorded.
Evaluation of results:
References:
https://www.ibm.com/support/knowledgecenter/SSZH4A_6.1.0/com.ibm.worklight.mobtest.doc/topics/c_wl_mobile_test_ovw.html
send
light_mode
delete
Question #24
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?
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?
- AAndroid: 1. Enable ''USB debugging'' on the device. 2. Right click on {Project_Name}/apps/{App_Name}/android folder to select Run As > Android Application
- BAndroid: 1. Enable ''USB debugging'' on the device. 2. Right click on the {Project_Name}{App_Name}Android project and select Run As > Android Studio Project
- CiOS: 1. Obtain a developer certificate to sign applications. 2. Obtain a provisioning profile that identifies the developer certificate, the device, and the applications which can be run on the device. 3. Open the Project in Xcode, select the actual device in the Scheme menu, then click Run
- DiOS: 1. Obtain a developer certificate to sign applications. 2. Obtain a provisioning profile that identifies the developer certificate, the device, and the applications which can be run on the device. 3. Set worklightSettings property to false in the application-descriptor.xml
Correct Answer:
AD
A: On an android device connected to PC with USB debugging and use the Run As > android application command from Eclipse.
D: 1. According to Apple's requirements, your application must be signed with a developer identity in order for it to be installed and run on an iOS device.
2. A development provisioning profile must be created
3. Example of application-descriptor.xml file for IOS use:
<iphone bundleId="com.worklight.MyBankApp" version="1.0">
<worklightSettings include="false"/>
<security>
<encryptWebResources enabled="false"/>
<testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
</security>
</iphone>
4. The Eclipse IDE does not support iOS application development. Therefore, you must transfer the application to Xcode, Apple IDE for iOS development.
If you are running a Mac version of Eclipse, right-click the iPhone or iPad environment folder and select Run As > Xcode project.
References:
http://stackoverflow.com/questions/26499847/worklight-6-2-app-on-android-device-always-thinks-theres-an-update http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/dev/c_ibm_worklight_app_authentication_overview.html
AD
A: On an android device connected to PC with USB debugging and use the Run As > android application command from Eclipse.
D: 1. According to Apple's requirements, your application must be signed with a developer identity in order for it to be installed and run on an iOS device.
2. A development provisioning profile must be created
3. Example of application-descriptor.xml file for IOS use:
<iphone bundleId="com.worklight.MyBankApp" version="1.0">
<worklightSettings include="false"/>
<security>
<encryptWebResources enabled="false"/>
<testWebResourcesChecksum enabled="false" ignoreFileExtensions="png, jpg, jpeg, gif, mp4, mp3"/>
</security>
</iphone>
4. The Eclipse IDE does not support iOS application development. Therefore, you must transfer the application to Xcode, Apple IDE for iOS development.
If you are running a Mac version of Eclipse, right-click the iPhone or iPad environment folder and select Run As > Xcode project.
References:
http://stackoverflow.com/questions/26499847/worklight-6-2-app-on-android-device-always-thinks-theres-an-update http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/dev/c_ibm_worklight_app_authentication_overview.html
send
light_mode
delete
Question #25
The application developer wants to use the Mobile Browser Simulator to preview and test Worklight applications.
Which of the following application environments can the application developer preview on the Mobile Browser Simulator?
Which of the following application environments can the application developer preview on the Mobile Browser Simulator?
- AAndroid, iPhone, iPad, and Adobe Air
- BAndroid, iPhone, iPad, Windows Phone 8 and Desktop Browser web page
- CAndroid, iPhone, iPad, Blackberry 6 and 7, Blackberry 10, Windows Phone 8, and Mobile Web
- DAndroid, iPhone, iPad, Adobe Air, Blackberry 7, Blackberry 10, Windows Phone 8, and Windows 8 desktop and tablets
Correct Answer:
C
You can use the Mobile Browser Simulator to preview Worklight applications on Android, iPhone, iPad, BlackBerry 6 and 7, BlackBerry 10, Windows Phone 8, and mobile web application environments.
References:
http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/wl_studio_tools/topics/cmbswl.html?lang=en
C
You can use the Mobile Browser Simulator to preview Worklight applications on Android, iPhone, iPad, BlackBerry 6 and 7, BlackBerry 10, Windows Phone 8, and mobile web application environments.
References:
http://www.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.dev.doc/wl_studio_tools/topics/cmbswl.html?lang=en
send
light_mode
delete
All Pages