Advanced Windows Store App Development using HTML5 and JavaScript v8.0

Page:    1 / 12   
Exam contains 182 questions

You need to implement the database polling.
Which code segment should you insert at line BG14?

  • A. var trigger = new Windows.ApplicationModel.Background.TimeTrigger (15, false);
  • B. var trigger = new Windows.ApplicationModel.Background.TimeTrigger(600, false);
  • C. var trigger = new Windows.ApplicationModel.Background.TimeTrigger(900, true);
  • D. var trigger = new Windows.ApplicationModel.Background.TimeTrigger(10, true);


Answer : A

You need to specify the media to be streamed to DLNA-compatible devices.
Which code segment should you insert at line PL21?
A. controller = document.getElementById("aplayer").msPlayToSource;
B. controller = document.getElementById("mediaplayer").msPlayToPrimary;
C. controller = document.getElementBy!d("aplayer").msGetPointerCapture;
D. controller = document.getElementById ( "mediaplayer" ) .msRealTime;



Answer : A Topic 3, Scenario 3 Background A. Datum Corporation manufactures electronic measuring equipment that is sold worldwide. The equipment requires periodic inspection and calibration by a team of inspectors. The equipment supports near field communication (NFC). Inspectors currently receive daily email messages that list the locations they must visit that day and the equipment they must inspect, calibrate, or update. To request schedule changes, inspectors must call, fax, or email a support center. A. Datum plans to develop a Windows Store app that connects to a scheduling application hosted in Windows Azure. The app will allow inspectors to view client information, equipment information, and other documentation. Inspectors will use the app to report inspection results back to the company's Windows Azure application. Business Requirements ? Gather information about each piece of equipment during inspections. ? Update equipment software and firmware during inspections. ? Identify missing and outdated equipment. ? Submit orders for replacement equipment to the customer support team. ? When an inspector signs in to the app, daily schedule and task information must automatically download to the inspector's Windows device. The information must include client locations, equipment inventory at each location, and equipment settings. The files contain sensitive and proprietary information. ? Inspectors must be able to request a list of other clients within a specified search distance who might require equipment inspection. ? Inspectors must be able to refuse a task and remove it from their schedule. Technical Requirements File Download, Storage, and Security ? When an inspector connects the app to a piece of equipment, the current equipment software, firmware, drivers, and updates must be copied to the inspector's Microsoft SkyDrive folder. ? Inspectors must be able to search for equipment software and firmware updates stored in their SkyDriv

You need to ensure that drivers can be updated,
What should you do?

  • A. Implement support for Microsoft DirectDraw Surface files.
  • B. Connect to the Documents library.
  • C. Create a custom driver to connect files to the app.
  • D. Implement the FileOpenPicker control.


Answer : A

You need to ensure that drivers can be updated,
What should you do?

  • A. Connect to SkyDrive.
  • B. Implement the StorageLibrary class.
  • C. Implement the OpenFileDialog class.
  • D. Implement the FileSavePicker control.


Answer : A

You need to implement the secondary schedule functionality for inspectors.
Which two actions should you perform? Each correct answer presents part of the solution.

  • A. Specify the maximum distance of nearby equipment.
  • B. Ascertain the proximity of the nearest piece of client-owned equipment.
  • C. Define a geofence by using the location capabilities of the device.
  • D. Browse through the client database to find all clients with the same postal code.


Answer : AC

Explanation: * From scenario, the secondary scheduling requirement is:
Inspectors must be able to request a list of other clients within a specified search distance who might require equipment inspection.
* Geofence
/ A geo-fence is a virtual perimeter for a real-world geographic areas. A geo-fence could be dynamically generatedas in a radius around a store or point location.
/ Geofence class
Contains the information to define a geofence, an area of interest, to monitor.

You need to enable the loading of the daily schedule when the inspector launches the application.
Which class should you use?

  • A. BackgroundTaskBuilder
  • B. BackgroundExecutionManager
  • C. BackgroundTaskDeferral
  • D. SystemCondition


Answer : B

Reference: http://msdn.microsoft.com/en-
us/library/windows/apps/windows.applicationmodel.background.backgroundexecutionmana ger.requestaccessasync.ASPx

You need to implement the storage policy for secure documents.
Which code segment should you insert at line PF12?

  • A. Windows.Security.EnterpriseEata.FileRevocationManager.protectAsync
  • B. Windows.Security.EnterpriseData.FileRevocationManager.revoke
  • C. Windows.Security.EnterpriseData.FileRevocationManager.copyProtectAsyrnc
  • D. Windows.Security.EnterpriseData.FileRevocationManager.getStatusAsync


Answer : A

You need to implement the file storage solution for equipment drivers and updates.
What should you do?

  • A. Map the inspector's Documents folder as the default file storage location.
  • B. Map the inspector's SkyDrive folder as the default file storage location.
  • C. Map a KnownFolder as the local default file storage location.
  • D. Use the Live Connect REST API to map a default file storage location.


Answer : B

You need to ensure that inspectors can manage tasks that are assigned to them.
Which code segment should you insert at line BT22?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : A

You need to enable the connection to the equipment.
Which app capability should you declare? To answer, select the appropriate check box in the dialog box in the answer area.




Answer :

Explanation:


C:\Users\Kamran\Desktop\image.jpg

You need to implement the activities that must occur when an inspector signs in.
What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.

  • A. Create a task entry point that uses a BackgroundTaskBuilder object.
  • B. Create a new instance of the Windows Store app.
  • C. Create a new thread by using the System.Thread class.
  • D. Create an AJAX ScriptManager object.


Answer : A

You need to enable the loading of the daily schedule when the inspector launches the application.
Which class should you use?

  • A. BackgroundExecutionManager
  • B. BackgroundWorkCost
  • C. PushNotificationTrigger
  • D. BackgroundTaskBuilder


Answer : A

You need to implement the file security policy.
What should you do?

  • A. Implement the Windows.Security.Cryptography.CryptographicBuffer class.
  • B. Add a certificate server to the network.
  • C. Use SSL for all file transfers.
  • D. Implement a Secure object by using the WinJS.System class.


Answer : A

You need to implement the Search features for the app.
What should you do?
A. Add the app content to the Windows index.
B. Map a KnownFolder property for the search files location.
C. Modify the NeighboringFileQuery property.
D. Implement a default Bing Search control.



Answer : A Topic 4, Scenario 4 Application Information You are developing a Windows Store app by using JavaScript. The app is named Print Near Me. The app will allow mobile users to find printers in their local area that subscribe to the Print Near Me network. The Print Near Me app collects status data from subscribed networks, coordinates this data with the status of printers that are listed in the central Print Near Me service, and displays the closest locations that meet a user's printing requirements. The locations are identified by pinpoints on a map. The app uses a Printer Survey background task to populate the map. The Print Here feature communicates with the central Print Near Me web server and nearby printers, and generates custom printer interfaces based on the available printers. The printer interfaces require complex calculations that involve repeated communications between the app and the central web server, and may result in high memory usage. Printer providers may indicate whether a subscribed printer is available to the network or unavailable at any time. Business Requirements ? Printer providers must have the option to approve users for each printer through instant messaging or email. ? When a user launches the Print Near Me app, the Printer Survey task must initiate communication between the app and the central web server to populate the map. ? If the printer is available and does not require permission to print, display a green pinpoint. ? If the printer is available and requires permission to print, display a yellow pinpoint. ? If there is a printer or network status error, display a red pinpoint. ? Users must be able to initiate printing to a nearby printer by clicking or tapping the printer's pinpoint and then clicking Print Here. Technical Requirements ? The Print Here feature must run in a background process. ? The Printer Support feature must log and dispatch error messages. ? Log error messages locally. ? When t

You need to implement the required event logging.
Which code segment should you insert at line PM38?


  • A. Option A
  • B. Option B
  • C. Option C
  • D. Option D


Answer : B

Page:    1 / 12   
Exam contains 182 questions

Talk to us!


Have any questions or issues ? Please dont hesitate to contact us

Certlibrary.com is owned by MBS Tech Limited: Room 1905 Nam Wo Hong Building, 148 Wing Lok Street, Sheung Wan, Hong Kong. Company registration number: 2310926
Certlibrary doesn't offer Real Microsoft Exam Questions. Certlibrary Materials do not contain actual questions and answers from Cisco's Certification Exams.
CFA Institute does not endorse, promote or warrant the accuracy or quality of Certlibrary. CFA® and Chartered Financial Analyst® are registered trademarks owned by CFA Institute.
Terms & Conditions | Privacy Policy