Microsoft Advanced Windows Store App Dev using HTML5 and JavaScript Sample Questions:
1. You are developing two Windows Store style apps by using JavaScript. A Source app will store sensitive customer information. A Target app will retrieve the stored information for validation and further processing.
The Source app must secure data by using a private-public key pair. Only the Target app must be able to consume data that has been secured by the Source app.
You need to ensure that the security of the data is not compromised.
What should you do?
A) Encode data to and decode data from a Base64 string.
B) Encrypt data by using an asymmetric algorithm. Decrypt data by using a symmetric algorithm.
C) Encrypt and decrypt data by using a symmetric algorithm.
D) Encrypt and decrypt data by using an asymmetric algorithm.
2. You need to generate the required test result files.
What should you do?
A) Design tests to attach VSProfiler.exe to the Print Near Me app.
B) Create a coded UI test project. Record interactions between the user and the Print Near Me app.
C) Design tests to attach VSPerf.exe to the Print Near Me app.
D) Create a unit test project. Record interactions between the user and the Print Near Me app.
3. You need to ensure that the Printer Survey task populates the map pinpoints according to the requirements.
Which code segment should you insert at line PM31?
A) Option B
B) Option D
C) Option A
D) Option C
4. You are developing a Windows Store app by using JavaScript. The app will allow users to customize various features. The customizations will be persisted by using the saveMySettings function.
You need to persist the customizations.
Which code segment should you use?
A) Option B
B) Option D
C) Option A
D) Option C
5. HOTSPOT
You have a Windows Store app. You are reviewing code that caches data.
The code includes the following segment. Line numbers are included for reference only.
01 function setLocaiStorage(value) {
02 var storage = window.localStorage;
03 var value = document.getElement3yId('textToAdd').text;
04 storage.name = 'John';
05 storage.phone = ' 555-555-0100';
06 storage.message = value;
07 }
For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Solutions:
| Question # 1 Answer: D | Question # 2 Answer: C | Question # 3 Answer: D | Question # 4 Answer: C | Question # 5 Answer: Only visible for members |
We're so confident of our products that we provide no hassle product exchange.


By Kim

