exam questions

Exam C5050-408 All Questions

View all questions & answers for the C5050-408 exam

Exam C5050-408 topic 1 question 35 discussion

Actual exam question from IBM's C5050-408
Question #: 35
Topic #: 1
[All C5050-408 Questions]

A mobile application developer intends to use JSONStore to encrypt local data of an application.
What does the application developer need to do to ensure data is encrypted?
When using:

  • A. WL.JSONStore.init(), pass a password in the options parameter.
  • B. WL.JSONStore.init(), pass what collections will be encrypted in the options parameter.
  • C. WL.JSONStore.documentify(), pass parameter encryption set to true.
  • D. WL.JSONStore.encrypt(), pass a user name and a password in the options parameter.
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️
WL.JSONStore.init -
{Promise} init(collections, options)
Starts one or more collections.
Option parameters include options.password Optional - Password that is used to secure the contents of the store, by default there is no data encryption.
References:
https://www.ibm.com/support/knowledgecenter/SSHS8R_6.3.0/com.ibm.worklight.apiref.doc/html/refjavascript-client/html/WL.JSONStore.html%23init

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
Currently there are no comments in this discussion, be the first to comment!
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...