IBM C2180-279 Online Practice
Questions and Exam Preparation
C2180-279 Exam Details
Exam Code
:C2180-279
Exam Name
:IBM Worklight V6.0 Mobile System Administration
Certification
:IBM Certifications
Vendor
:IBM
Total Questions
:126 Q&As
Last Updated
:
IBM C2180-279 Online Questions &
Answers
Question 1:
A developer has created a Worklight mobile application and wants to use the Android Virtual Device (AVD) emulator to test it. To accomplish this, the developer has installed the ADT plug-in, Android 4.0 SDK platform and created an Android environment for the application. What else does the developer need to do before the AVD emulator can be used to test the application?
A. Export the application's .apk file to AVD Manager. B. Use the AVD Manager to create an AVD for the Android 4.0 SDK platform. C. Set the android:minSdkVersion property to "4.0" in the application's AndroidManifest.xml file. D. No additional action is required. Worklight Studio automatically creates an AVD for the installed Android SDK platform.
B. Use the AVD Manager to create an AVD for the Android 4.0 SDK platform.
Question 2:
What happens when adapter procedure invocation fails due to inability to reach the Worklight server?
A. Client side framework will try to invoke the procedure again and again until succeeded B. onFailure callback specified in invocation options will be invoked. Developer should use it to treat server connectivity issues C. onFailure callback specified in invocation options will be invoked. WL.Events.WORKLIGHT_IS_DISCONNECTED event will be fired. Developer should use either to treat server connectivity issues D. Client side framework will show an error message with a retry button
C. onFailure callback specified in invocation options will be invoked. WL.Events.WORKLIGHT_IS_DISCONNECTED event will be fired. Developer should use either to treat server connectivity issues
Question 3:
Given the following code:
What will the alert(WL.Client.getUserPref('key1')); show?
A. The alert will not show since WL.Client.setUserPref cannot be called in the for loop since it is an asynchronous function. B. updatedValue1 since WL.Client.setUserPref({'key1' : 'updatedValue1'}); will replace the value of key1 set in the for loop. C. value1, updatedValue1 or null since WL.Client.setUserPref is an asynchronous function and there is no guarantee which call, if any,will return first. D. value1 since WL.Client.setUserPref('key1', 'updatedValue1'); will fail because WL.Client.deleteUserPref('key1') was notcalled before setting the new value.
C. value1, updatedValue1 or null since WL.Client.setUserPref is an asynchronous function and there is no guarantee which call, if any,will return first.
Question 4:
A developer is debugging a Worklight Adapter procedure that has been configured with the following securityTest property in the adapter configuration file:
When the adapter procedure getSecureFeed is invoked by the client, the developer has noted that the Worklight Server responds with HTML content rather than the expected JSON content from getSecuredFeed function.
Which assertion is correct?
A. The Worklight Server is returning a dynamically generated HTML form indicating that the request is authenticated. B. The Adapter procedure is protected by either Form-based authenticator or Java-based (using custom Login Module). C. The Adapter procedure is protected by Adapter-based authenticator and the Worklight Server has rejected the authentication. D. The Adapter procedure is protected by Form-based authenticator and the Worklight Server is responding to an unauthenticated request.
D. The Adapter procedure is protected by Form-based authenticator and the Worklight Server is responding to an unauthenticated request.
Question 5:
What are the steps of creating a native page?
A. Create a new Java class, extend Activity B. Create a new Java class, extend Activity, add an activity declaration to AndroidManifest.xml C. Create a new Java class, extend NativePage D. Create a new Java class, extend NativePage, add a native page declaration to AndroidManifest.xml
A. Create a new Java class, extend Activity
Question 6:
An HTTP adapter is deployed on a Worklight server. Which steps need to be taken by the developer to receive data from the adapter in an application?
A. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Server.invokeProcedureAPI with the onSuccess and onFailure callbacks. B. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onTimeout callbacks. C. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onFailure callbacks. D. Create an invocationData object that contains the backend URL and procedure name and send it through theWL.Client.invokeProcedure API with the onSuccess and onTimeout callbacks.
C. Create an invocationData object that contains the adapter and procedure names and send it through the WL.Client.invokeProcedureAPI with the onSuccess and onFailure callbacks.
Question 7:
Which of the following invocationData properties are mandatory? (Choose two)
A. "invocation" B. "adapter" C. "procedure" D. "parameters"
B. "adapter" C. "procedure"
Question 8:
What is the default project application structure?
A. A single HTML file and a number of CSS and JS files B. A number of HTML and JS files and a single CSS file C. A number of HTML, JS and CSS files D. A single HTML, single CSS and a single JS file
A. A single HTML file and a number of CSS and JS files
Question 9:
A developer created an encrypted cache with the WL.EncryptedCache.open function. When the function is triggered, the following status code is returned: WL.EncryptedCache.ERROR_SECURE_RANDOM_GENERATOR_UNAVAILABLE What does this status code mean?
A. The encrypted cache was created successfully, though it was only secured by a user provided password. B. The application failed to create the encrypted cache because the Worklight server was unavailable for some reason. C. The encrypted cache already existed with a previously created random key, so it was not possible to create it again with a new key. D. The application failed to create the encrypted cache, because there was no parameter provided in the function call to generate the randomkey.
B. The application failed to create the encrypted cache because the Worklight server was unavailable for some reason.
Question 10:
When working with a SQL adapter which of the following file should be manually added to project?
A. JDBC connector driver B. Database schema C. Properties file containing SQL server credentials and configuration D. Startup script that will connect Worklight server to a specified SQL database
Nowadays, the certification exams become more and more important and required by more and more
enterprises when applying for a job. But how to prepare for the exam effectively? How to prepare
for the exam in a short time with less efforts? How to get a ideal result and how to find the
most reliable resources? Here on Vcedump.com, you will find all the answers.
Vcedump.com provide not only IBM exam questions,
answers and explanations but also complete assistance on your exam preparation and certification
application. If you are confused on your C2180-279 exam preparations
and IBM certification application, do not hesitate to visit our
Vcedump.com to find your solutions here.