70-482 150 Q&S Advanced Metro style App Development using HTML5 and JavaScript

Which code segment should you use?

You are developing a Windows Store app by using JavaScript.
You need to ensure that the user can capture video with the built-in camera and then process the resulting file.
Which code segment should you use?

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


Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will use an accelerometer to detect user movements that affect the host device. (In the code segments, accelerometer is an instance of the sensor that is connected to the host device.)
The app must report user movement either once every five seconds or at the device’s most frequent polling interval available, whichever is less frequent.
You need to configure the accelerometer to meet the requirements.
Which code segment should you use?

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


Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will use the device’s light sensor.
You need to access the light sensor and register events to handle its output.
How should you complete the relevant code? (To answer, select the appropriate code segment from the drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app.
You plan to use Windows Push Notification Services (WNS) in the app.
You need to identify whether the system has disabled notifications globally.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing 3 Windows Store app that uses a canvas object.
When the page loads, a blue rectangle must move across the canvas from left to right.
The following code calls the function to perform the animation:

You need to create the animateShape function.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
Which three code segments should you use in sequence?

DRAG DROP
You are developing a Windows Store app that will display a list of items. Users should be able to expand any list item to display valid actions for that item.
The JavaScript code includes the following elements:
• elemExpand represents the element to be expanded.
• elemAffected represents the adjacent element.
You need to animate the expansion action when the user clicks a list item.
Which three code segments should you use in sequence? To answer, move the appropriate code segments from the list of code segments to the answer area and arrange them in the correct order. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript. Users can run the app on multiple devices at the same time.
You need to ensure that current user settings are available on any Windows 8 device on which the user runs the app.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app that consumes a file picker object.
You need to reference the object and call it asynchronously.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the target area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app. The app triggers a background task at specific intervals.
The background task must display an on-screen message when the triggering event occurs.
You need to complete the development of the background task.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app that uses the Microsoft in-app purchase functionality.
You need to display a list of features that can be purchased from within the app.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
HOTSPOT

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.
Hot Area:



Answer Clike
What types of devices can you detect?

You are creating a Windows Store app for a retail business. You must enumerate the available human interface devices (HIDs) on the client computer.
You need to use the Windows.Devices.HumanlnterfaceDevice namespace to detect the available devices.
What types of devices can you detect?
A. A wireless router
B. A USB mouse that uses a native Windows 8.1 device driver
C. A built-in accelerometer
D. A game controller that uses a custom manufacturer-supplied device driver


Answer Clike
Which tab meets the requirements?

HOTSPOT
You are developing a Windows Store app by using JavaScript. The app interfaces with a smart card reader device.
The app will authorize user access by using smart card certificates.
You need to identify the Microsoft Visual Studio tab on which you can configure access to the smart card certificates.
Which tab meets the requirements? (To answer, select the appropriate tab in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app that uses the Microsoft in-app purchase functionality.
You need to display a list of features that can be purchased from within the app.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)

Select and Place:


Answer Clike
What is the best approach to achieve the goal?

You develop a Windows Store app.
You need to ensure that the app will pass certification and successfully run on Windows RT devices.
What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.
A. Test the app on an x86 development device in emulated mode by using Windows App Certification Kit for Windows RT.
B. Register the app in the Windows Store and run the Application Verifier for Windows on the uploaded app.
C. Test the app on an x86 development device by using the Windows App Certification Kit.
D. Test the app on a Windows RT device by using the Windows App Certification Kit for Windows RT.


Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will create media files and copy them to a removable storage device.
If the storage device becomes unavailable while files are being copied, the copy operation must resume after the device becomes available.
You need to ensure that the app can subscribe to device updates.
Which code segment should you use?

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


Answer Clike
What should you do?

You are developing a Windows Store app by using JavaScript. The app contains a custom C# Windows Runtime Metadata (WinMD) component.
You receive unexpected results when you run the app.
You need to ensure that you can debug the WinMD component while running the JavaScript app.
What should you do?
A. In the JavaScript project, set the Debug Type to Mixed (Managed and Native).
B. Enable Just-In-Time debugging for all types of code.
C. In the JavaScript project, change the Debug Type to Native with Script.
D. In the C# project, set the Debug Type to Mixed (Managed and Native).


Answer Clike
HOTSPOT

HOTSPOT
You are developing a Windows Store inventory control app for a bicycle distributor. The app includes the following code. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Hot Area:



Answer Clike
HOTSPOT

HOTSPOT
You are developing a Windows Store app that displays all photos from the Pictures library to the user.
The app includes the following JavaScript code segment. Line numbers re included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Hot Area:



Answer Clike
What is the best approach to achieve the goal?

You are developing a Windows Store app that will support the Play To feature.
You need to implement the user interface for the Play To feature.
What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.
A. Enable the user to invoke the Play To feature by swiping to display the Devices charm flyout.
B. Provide an HTML button control in the user interface that programmatically invokes the Devices charm flyout.
C. Provide a standard Play To glyph in the user interface that programmatically invokes the Devices charm flyout.
D. Enable the operating system to handle the Play To feature asynchronously without requiring user interaction.


Answer Clike
Which method should you use?

You are developing a line-of-business Windows Store app that will interact with a magnetic stripe reader. Your company distributes the magnetic stripe reader to an end user.
You need to activate the magnetic stripe reader.
Which method should you use?
A. GetSupportedSymbologiesAsync
B. GetSupportedProfiles
C. GetDefaultAsync
D. CheckHealthAsync


Answer Clike
Which code segment should you insert at line 03?

You are developing a Windows Store app. You are adding print capabilities to the app. The app includes the following JavaScript code segment. Line numbers are included for reference only.

The app must display only the following printer options:
Number of copies
Single-sided or double-sided printing
You need to configure the printing capabilities for the app.
Which code segment should you insert at line 03?

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


Answer Clike
Which type of testing should you use to achieve each objective?

DRAG DROP
You are developing a Windows Store app.
You need to design a testing strategy.
Which type of testing should you use to achieve each objective? To answer, drag the appropriate testing types to the correct targets. Each technology may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using HTML5 and JavaScript. The app will be used in multiple geographic regions.
The default.html file contains the following code segment:

The resources.resjson file contains the English (en-US) resources shown in the following code segment:

The app must access string resources from the resources.resjson file. The data-win-res attribute must be configured in the default.html file to globalize the app.
You need to modify the code segment to ensure that the app can be localized with minimum effort.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app that streams photos to and from any Windows-compliant device on the same network.
You need to configure the Play To receiver.
How should you complete the relevant code? To answer, drag the appropriate code segments to the correct targets. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:



Answer Clike
What should you do?

You are developing a Windows Store app by using JavaScript. The app will be installed on five devices. The app will use certificates to secure communications between the five devices.
Information sent through the app must be decrypted only by the intended recipient device.
You need to complete the certificate enrollment.
What should you do?
A. Create a single certificate enrollment request on one device and import the certificate to the other four devices.
B. Create a single group certificate enrollment request on one device and share the public and private keys with the other four devices.
C. Create a certificate enrollment request on each device and install the respective response on each device.
D. Create a single certificate enrollment request on one device and share only the public key with the other four devices.


Answer Clike
Which two device classes should you include?

You are developing a fitness app for distribution through the Windows Store.
The app must interact with the following USB device classes:
Webcam
Infrared thermometer
Scale
Printer
You need to modify the app manifest file as required to support the devices.
Which two device classes should you include? Each correct answer presents part of the solution.
A. AudioVideo
B. IrDa
C. PersonalHealthcare
D. Printer


Answer Clike
Which three actions should you perform?

You develop a Windows Store app that allows users to share pictures with friends. You submit the app to the Windows Store.
You need to implement a privacy policy for the app.
Which three actions should you perform? Each correct answer presents part of the solution.
A. Post the privacy policy to the Windows Dev Center.
B. Post the privacy policy to your website.
C. Display a link to the privacy policy in the Settings charm for the app.
D. Display a link to the privacy policy in the app description section of the Windows Store.
E. Display a link to the privacy policy in the app bar for the app.


Answer Clike
How should you complete the relevant code?

You are developing a Windows Store app by using JavaScript.
The app contains the following code. (Line numbers are included for reference only).

You need to ensure that the app will handle any possible event for a media connection in a Play To streaming operation. How should you complete the relevant code? (Each correct answer presents part of the solution. Choose all that apply.)

A. Option A
B. Option B
C. Option C
D. Option D
E. Option E
F. Option F


Answer Clike
Which code or markup segment should you use?

You are developing an app that plays one audio file named myAudio.mp3 and two video files named myVideol.mp4 and myVideo2.mp4.
You have the following requirements:
The audio file must NOT have access to the Play To feature.
The video files must be able to use the Play To feature.
You need to configure the app to meet the requirements.
Which code or markup segment should you use?

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


Answer Clike
Which credentials should you provide to WNS?

You are developing a Windows Store style app by using JavaScript.
You plan to use Windows Push Notification Services (WNS).
You need to register the app with WNS to receive push notifications.
Which credentials should you provide to WNS? (Each correct answer presents part of the solution. Choose all that apply.)
A. Package security identifier
B. Package private key
C. Publisher security identifier
D. Client secret
E. Package name


Answer Clike
What is the output value?

You develop a Windows Store app that consumes a WinMD component from Contoso.Class1. Class1 contains an overloaded method named GetValue. The method overloads have the characteristics described in the following table.

The app includes the JavaScript code shown in the following code segment.

You need to correctly evaluate the output of the myOutput.innerHTML attribute.
What is the output value?
A. Hello, World, 21, 15
B. 0, 21, 15.5
C. 0, 21, 15
D. Hello, World, 21, 15.5


Answer Clike
What should you do in the Visual Studio IDE?

You are developing a Windows Store app that will access a device’s webcam.
The app will use a custom control panel to enable camera modifications.
You need to specify that the app will use the custom control panel.
What should you do in the Visual Studio IDE?
A. In the Extension Manager, set a reference to the Windows.Devices.Enumeration.winmd file.
B. On the Capabilities tab of the Manifest Designer, select the Webcam check box.
C. On the Declarations tab of the Manifest Designer, choose Camera Settings.
D. In the Reference Manager, set a reference to the Windows.Devices.Sensors.winmd file.


Answer Clike
What should you do?

You are developing a Windows Store app by using JavaScript. The app will track oil prices, The app must display oil prices on the lock screen and continue to run while dormant.
You plan to use a background task to refresh oil prices in the app.
You need to design the background task to provide up-to-date information and to minimize system resource requirements.
What should you do?
A. Use a ControlChannelTrigger object that has CPU utilization set to Low if the OnBattery condition is true or Normal if the OnCharge condition is true. Persist data to local storage.
B. Use a TimeTrigger object to poll for data at one-minute intervals, and push the most recent available data to the app.
C. Use a TimeTrigger object to poll for data at five-minute intervals, and push the most recent available data to persistent storage.
D. Register the app with a Windows Push Notification Services (WNS) service, and use a Trigger object to deliver the most recent oil quotes to persistent storage.


Answer Clike
Which code segment should you insert at line 05?

You are developing a Windows Store app that uses Windows Push Notification Services (WNS). The app includes the following code:

The app must poll a notification service every 30 minutes and update the app tile with new content. You need to initiate polling.
Which code segment should you insert at line 05?

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


Answer Clike
HOTSPOT

HOTSPOT
You develop a Windows Store app.
Users report that the user interface is sluggish and the data on the main screen of the app does not appear immediately. You run the Microsoft Visual Studio 2013 Performance and Diagnostics hub. The results are shown in the following image.

Select the correct answer from each list based on the information presented in the image. Each correct selection is worth one point.
Hot Area:



Answer Clike
HOTSPOT

HOTSPOT
You develop a Windows Store app that updates the user’s daily calendar. The app includes the following code. Line numbers are included for reference only.

For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Hot Area:



Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript.
You need to ensure that the user can capture a photograph with the built-in camera and then process the resulting file.
Which code segment should you use?

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


Answer Clike
What is the best option to achieve the goal?

You are developing a Windows Store app that will allow users to take photos by using the built-in device camera. The app will immediately open the photo for editing.
You need to programmatically specify the location from which to open the most recent photo taken by the app.
What is the best option to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.
A. KnownFolders.pictureslibrary
B. SkyDrive.Pictures
C. KnownFolders.savedPictures
D. KnownFolders.cameraRoll


Answer Clike
HOTSPOT

HOTSPOT
You are developing an app that provides sports statistics updates to a Windows tile. You are using Windows Push Notification Services (WNS) to provide updates to the app. You must implement the steps to request a notification channel as illustrated in the following image.

You need to ensure that the app implementation follows current Windows Store requirements and guidelines.
Select the correct answer from each list based on the information presented in the screenshot. Each correct selection is worth one point.
Hot Area:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript.
You plan to add an animation to the navigation button. The animation must do the following:
Show motion when tapped.
Move to the next app screen after completing the animation sequence.
You need to add the animation to the button.
How should you complete the relevant code? (To answer, select the correct code segment in each drop-down list in the answer area.)
Hot Area:



Answer Clike
Which features should you install?

HOTSPOT
You are developing a Windows Store app.
You have the following requirements.
Ensure that the app complies with the Windows Store requirements before deploying the app to the Windows Store.
Minimize the number of components that you must install from the Windows Store Software Development Kit (SDK).
You need to install the SDK components.
Which features should you install? To answer, select or clear the appropriate check boxes in the answer area.
Hot Area:



Answer Clike
Where should you configure each deployment option?

HOTSPOT
You are developing a Windows Store app in Microsoft Visual Studio.
You need to configure the app deployment options.
Where should you configure each deployment option? To answer, select the appropriate location from each list in the answer area.
Hot Area:



Answer Clike
Which three actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app.
The app must meet the following requirements:
Be available for a time-limited free trial.
Prompt the user to buy the full version when the trial expires.
You need to ensure that the requirements are met.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:



Answer Clike
Which actions should you perform?

DRAG DROP
You develop a Windows Store app.
You need to implement a testing strategy for the app.
Which actions should you perform? To answer, drag the appropriate actions to the correct targets. Each answer may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:



Answer Clike
What is the best approach to achieve the goal?

You are developing a Windows Store app that creates and prints personal ID badges. When the badge is completed, the app will display an image of the badge.
Users must be able to print completed ID badges. The app must adhere to printing guidelines for Windows Store apps.
You need to implement the printing strategy.
What is the best approach to achieve the goal? More than one answer choice may achieve the goal. Select the BEST answer.
A. Unregister the default Print contract. Call the window.print() function to print directly from the app.
B. Register for the Print contract. Call the window.printQ function to print the page.
C. Register for the Print contract. Add an in-app Print button that invokes the Devices charm below the badge image.
D. Unregister the default Print contract. Add an in-app Print button that invokes the Devices charm below the badge image.


Answer Clike
What should you implement?

You develop a Windows Store app.
The app user interface is slow to load, and occasionally stops responding.
You need to increase the responsiveness of the user interface.
What should you implement?
A. Synchronous calls
B. The Web Worker API
C. The Task.Run method
D. Windows Runtime Metadata (WinMD) components


Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app. The app contains the following HTML markup segment:

The app must stream video to available devices by using the Play to feature.
You need to implement the Play to contract for the app.
How should you complete the relevant code? To answer, select the appropriate code segments from the lists in the answer area.
Hot Area:



Answer Clike
Which code elements should you include?

DRAG DROP
You are developing a Windows Store game that requires access to a Bluetooth-enabled human interface device (HID).
You need to implement access to the HID device.
Which code elements should you include? To answer, drag the appropriate code or markup segments to the correct targets. Each code or markup segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.
Select and Place:



Answer Clike
What should you do?

You develop a Windows Store app that allows users to modify images by using filters and image-processing algorithms.
The app must meet the following requirements:
Use a web worker to initiate the image-processing algorithms on a separate thread.
Clean up the web worker after processing the algorithms.
You need to ensure that the web worker releases memory after processing the algorithms.
What should you do?
A. From the calling page, call the postMessage() command with the terminate parameter.
B. From the calling page, call the postMessage() command with the clean parameter.
C. From the web worker, call the close() command.
D. From the calling page, call the postMessage() command with the close parameter.


Answer Clike
How should you complete the relevant code?

HOTSPOT
You are creating a Windows Store app by using JavaScript.
You need to ensure that the app can receive push notifications from a calling app.
How should you complete the relevant code? (To answer, select the appropriate method from the drop-down list in the answer area.)
Hot Area:



Answer Clike
Which code segment should you insert at line 05?

You are developing a Windows Store app that uses Windows Push Notification Services (WNS). The app includes the following code:

The app must poll a notification service once a day and update the app tile with new content.
You need to initiate polling.
Which code segment should you insert at line 05?

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


Answer Clike
What should you do?

You are writing a Windows Store app by using JavaScript.
You need to authenticate a cloud server as a source for Windows Push Notification Services (WNS).
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Create a code-signing certificate.
B. Register the app with the Dashboard.
C. Create the HTTPS authentication request.
D. Obtain the identity values and credentials for the app.


Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will be used in multiple geographic regions.
You need to ensure that the app displays dates in the region-specific full date format.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a custom date picker control for a Windows Store app.
The control must meet the following requirements:
Inherit from the WinJS DatePicker control.
Provide an additional property to set if the date selection is required.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app will be used in multiple geographic locations. The app implements character grouping.
You need to ensure that the app can access only the first character group.
Which code segment should you use?
A. var item = new Windows.Globalization.Collation.CharacterGroupings ( ) .getAt (1);
B. var item = new Windows.Globalization.Collation.CharacterGroupings( ) .lookup("1");
C. var item = new Windows.Globalization.Collation.CharacterGroupings( ) .first( );
D. var item = new Windows.Globalization.Collation.CharacterGrouping( ) .first;


Answer Clike
How should you complete the relevant code?

HOTSPOT
You develop a Windows Store app by using JavaScript. The app displays a list of video controls. The user can add video controls to the list.
You need to animate the video control list when the user adds a control to the list.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app persists a list of stocks in the app’s settings. The stock list is identified by a key of stockList.
The app must allow users to remove their stock lists from the app’s settings. The following function call removes the stockList setting:
deleteAppSetting("stockList")
You need to remove only stockList from the settings storage without disrupting other settings.
Which code segment should you use?

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


Answer Clike
Which code segment should you use?

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 A
B. Option B
C. Option C
D. Option D


Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will be used to create video blogs. The app uses the device’s internal camera.
The app must meet the following requirements:
Allow the user to record audio and video.
Save files in the .mp4 file format.
Store files in the user’s Videos library.
You need to ensure that the app meets the requirements.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
What is the performance test result for each app?

HOTSPOT
You are preparing four Windows Store apps for deployment.
You test the apps by using the Windows App Certification Kit. The results are as shown in the following table.

You need to identify which apps passed the performance test.
What is the performance test result for each app? (To answer, choose the correct test result from each drop-down list in the answer area.)
Hot Area:



Answer Clike
Which four actions should you perform in sequence?

DRAG DROP
You are preparing a Windows Store app that will be distributed through the Windows Store. You install the app on a test computer that runs Windows 8.
You must run functional test cases by using the Windows App Certification Kit.
You need to test the app before you deploy it to the Windows Store.
Which four actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:



Answer Clike
Which testing strategies should you select?

DRAG DROP
You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3.
You need to use testing strategies that validate for the best performance.
Which testing strategies should you select? (To answer, drag the appropriate actions to the correct locations in the answer area. Each action may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app for an airline. The app will provide current flight status information.
The app will display the flight status on the lock screen if the user grants permission.
You have the following requirements:
Display a dialog box that requests access to the lock screen.
Display a message that indicates whether the user has granted access to the lock screen.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app by using JavaScript. The app will call a WinMD component to convert temperature.
The component exposes the following two members:
A static variable named Fahrenheit
A public method named GetInCelsius( ) that accepts an integer
You need to ensure that the app will display the temperature in Celsius and Fahrenheit.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store style app by using JavaScript. The app will send and receive encoded information and will display the encoded information to the user in a decrypted and recognizable state.
You need to appropriately decrypt the encoded information.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
Which testing strategies should you select?

HOTSPOT
You are designing a testing strategy for a Windows Store app by using HTML5, JavaScript, and CSS3.
You need to use testing strategies that validate for the best performance.
Which testing strategies should you select? (To answer, select the correct action from each drop-down list in the answer area.)
Hot Area:



Answer Clike
Which five actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will use the fileStream object to write text to a file.
You need to write the text to the file and ensure that the file is available to other apps.
Which five actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store style app by using JavaScript. The app will send and receive encoded information and will display the encoded information to the user in a decrypted and recognizable state.
You need to appropriately decrypt the encoded information.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
What should you do?

You are developing a Windows Store app. You configure the app to allow a free trial period.
You need to prompt the user to purchase the full version of the app when the trial period expires.
What should you do?
A. Call the getAppReceiptAsync( ) method of the Windows.ApplicationModel.Store.CurrentApp object.
B. Call the getProductReceiptAsync( ) method of the Windows.ApplicationModel.Store.CurrentApp object and provide the app’s product ID as an argument.
C. Call the requestProductPurchaseAsync( ) method of the Windows.ApplicationModel.Store.CurrentApp object and provide the app’s product ID as an argument.
D. Call the requestAppPurchaseAsync( ) method of the Windows.ApplicationModel.Store.CurrentApp object.


Answer Clike
Which code segment should you insert at line 05?

You are developing a Windows Store app that uses Windows Push Notification Services (WNS).
The app includes the following code:

You need to initiate polling.
Which code segment should you insert at line 05?

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


Answer Clike
Which code segment should you insert at line 05?

You are developing a Windows Store app by using JavaScript. The app will use a custom print template for printing documents. The template will be provided in a file named customTemplate.htm.
The file will be deployed as part of the app package.
The code segment below references two objects:

You need to ensure that the app displays the custom print template while printing the documents.
Which code segment should you insert at line 05?
A. args.setSource(MSApp.getPrintDocumentSource(document, "customTemplate.htm") ) ;
B. args.setSource(MSApp.getPrintDocumentSource(document, "ms-appx://printTemplates/customTemplate.htm"));
C. args.setSource(MSApp.getHtmlPrintDocumentSource(document, "ms-appdata:////customTemplate.htm"));
D. args.setSource(MSApp.getHtmlPrintDocumentSource(document, "ms-appx:////customTemplate.htm”));


Answer Clike
Which code segment should you insert at line 05?

You are creating a Windows Store app by using JavaScript.
The app includes the following code segment:

You need to ensure that the app can receive push notifications from a calling app.
Which code segment should you insert at line 05?
A. .createPushNotificationChannelForSecondaryTileAsync( ) ;
B. .createPuahNotificaticnChannelForApplicationAsync(id);
C. .createPushNotifIcacionChannelForApplicationAsync( );
D. .createPushNotif icationChannelForSecondaryTileAsync (id);


Answer Clike
What will occur when the event fires?

You are debugging a Windows Store app that another developer created by using HTML5 and JavaScript.
The default.js file contains the following code segment:

The app has a screen that plays video files. The HTML5 video control on the screen has an ID of video1.
You need to identify the effect of firing the source requested event. What will occur when the event fires?
A. The app will prompt the user to select a local video file for viewing in the video1 control.
B. The video will play in Windows Media Player on the host device.
C. The application will prompt the user to select a target device for streaming the video by using the video1 control.
D. The selected video file will play in the video1 control on the app screen.


Answer Clike
Which code segment should you use?

You are developing a Windows Store app by using JavaScript. The app persists a list of restaurants in the app’s settings. The restaurant list is identified by a key of city.
The app must allow users to remove their restaurant lists from the app’s settings. The following function call removes the city setting:
deleteListSetting("city")
You need to remove only city from the settings storage without disrupting other settings.
Which code segment should you use?

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


Answer Clike
Which code segment should you use?

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 setAppSetting function.
You need to persist the customizations.
Which code segment should you use?

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


Answer Clike
What should you do?

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. Encrypt and decrypt data by using an asymmetric algorithm.
B. Encrypt and decrypt data by using a symmetric algorithm.
C. Encrypt data by using an asymmetric algorithm. Decrypt data by using a symmetric algorithm.
D. Encode data to and decode data from a Base64 string.


Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will call a WinMD component to convert temperature.
The component exposes the following two members:
A static variable named Fahrenheit
A public method named GetInCelsius( ) that accepts an integer
You need to ensure that the app will display the temperature in Celsius and Fahrenheit.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
Which three actions should you perform in sequence?

DRAG DROP
You are writing a Windows Store app by using JavaScript.
You need to authenticate a cloud server as a source for Windows Push Notification Services (WNS).
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:



Answer Clike
Which code segments should you insert at lines 02 and 05?

You are developing a Window Store app by using JavaScript. The app will allow users to print documents by using a local printer.
The following code segment registers the print contract:

You need to ensure that the app uses the Devices charm to access printers.
Which code segments should you insert at lines 02 and 05?

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


Answer Clike
Which three actions should you perform in sequence?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used to print documents.
You need to ensure that the app allows the user to specify the number of copies to print.
Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the answer area and arrange them in the correct order.)
Select and Place:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You develop a Windows Store app by using JavaScript. The app displays a list of video controls. The user can add video controls to the list.
You need to animate the video control list when the user adds a control to the list.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
Which code segment should you insert at line 01?

You are creating a custom control named Contoso by using the following code segment. (Line numbers are included for reference only.)

You need to define the namespace.
Which code segment should you insert at line 01?
A. WinJS.Namespace.define ("Contoso") ;
B. WinJS.Namespace.defineWithParent ("Contoso") ;
C. WinJS.Class.define ("Contoso") ;
D. WinJS.Class.defineWithParent ("Contoso") ;


Answer Clike
How should you complete the relevant code?

HOTSPOT
You develop a Windows Store app by using JavaScript. The app contains content that must be translated as the screen loads.
You need to ensure that only specific content is translated.
How should you complete the relevant code? (To answer, select the appropriate code segment from the drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used in multiple geographic regions.
You need to ensure that the app displays dates in the region-specific full date format.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app for an airline. The app will provide current flight status information.
The app will display the flight status on the lock screen if the user grants permission.
You have the following requirements:
Display a dialog box that requests access to the lock screen.
Display a message that indicates whether the user has granted access to the lock screen.
You need to ensure that the requirements are met.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
How should you complete the relevant code?

DRAG DROP
You develop a Windows Store app that allows users to record audio notes.
You need to store the notes in the device’s Music library.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
Which function should you use?

You are developing a Windows Store app by using HTML5 and JavaScript. The app has HEADER, NAV, and SECTION elements. The SECTION element displays a list of records.
The app will allow users to sort records multiple times.
The app must meet the following requirements:
Each time the user performs a sort, replace the content in the SECTION element with the sorted records.
Animate the updated content by sliding the sorted records into the SECTION element.
You need to use the WinJS library to apply the animation to the SECTION element.
Which function should you use?
A. enterPage( )
B. enterContent( )
C. createExpandAnimation ( )
D. createPeekAnimation ( )


Answer Clike
How should you complete the relevant code?

HOTSPOT
You are developing a Windows Store app that will include a <div> element.
You are applying animation to the app. The animation must provide visual feedback that the <div> element has been tapped or clicked.
You need to implement the animation by using a JavaScript library.
How should you complete the relevant code? (To answer, select the correct code segment from each drop-down list in the answer area.)
Hot Area:



Answer Clike
Which code segment should you use to call the base method?

You are developing a custom tooltip control that inherits from an existing WinJS tooltip control. The custom control overrides the open ( ) method of the base control to extend the functionality. The following code segment depicts the structure of the method override.
Open: function (type) {
• • •
}
You need to ensure that the base method executes at the start of the override.
Which code segment should you use to call the base method?
A. this.base.open ( ) ;
B. this .super.open ( ) ;
C. base.open( ) ;
D. this.prototype.open( );


Answer Clike
Which code segment should you use?

In the following code segment, three functions return WinJS.Promise objects.

You need to chain the promise operations to optimize error handling.
Which code segment should you use?

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


Answer Clike
Which code segment should you insert at line PM31?

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 A
B. Option B
C. Option C
D. Option D


Answer Clike
How should you complete the relevant code?

DRAG DROP
You are developing a Windows Store app by using JavaScript. The app will be used to create video blogs. The app uses the device’s internal camera.
The app must meet the following requirements:
Allow the user to record audio and video.
Save files in the .mp4 file format.
Store files in the user’s Videos library.
You need to ensure that the app meets the requirements.
How should you complete the relevant code? (To answer, drag the appropriate code segments to the correct locations in the answer area. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
How should you complete the relevant markup?

DRAG DROP
You develop a Windows Store app that uses several new user interface features.
You need to declare capabilities in the application manifest so that you can submit the app to the Windows Store.
How should you complete the relevant markup? (To answer, drag the appropriate markup segments to the correct locations in the answer area. Each markup segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Select and Place:



Answer Clike
Which code segment should you insert at line PS24?

You need to ensure that the Printer Survey task meets the technical requirements.
Which code segment should you insert at line PS24?

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


Answer Clike
Which code segment should you insert at line PM38?

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 Clike
Which code segment should you insert at line PM44?

You need to implement the color coding for the Print Near Me map pinpoints.
Which code segment should you insert at line PM44?

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


Answer Clike
What should you do?

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 unit 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 coded UI test project. Record interactions between the user and the Print Near Me app.


Answer Clike
What should you do?

You need to test connection reliability.
What should you do?
A. Display the status of the tap gesture after the Start event. Test wireless connections by calling the ConnectAsync method.
B. Display the status of the tap gesture after the Start event. Test wireless connections by calling the FindAllPeersAsync method.
C. Display the status of the tap gesture after the TriggeredConnectionStateChanged event. Test wireless connections by calling the ConnectAsync method.
D. Display the status of the tap gesture after the TriggeredConnectionStateChanged event. Test wireless connections by calling the FindAllPeersAsync method.


Answer Clike
Which code segment should you insert at line PM34?

You need to update the status of the map pinpoints for the Print Near Me control.
Which code segment should you insert at line PM34?

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


Answer Clike
Which code segment should you insert at line PS08?

You need to implement the Printer Survey error handling.
Which code segment should you insert at line PS08?
A. WinJS.Promise.onError(this).done(printnearme_errhandler);
B. WinJS.Promise.done(this).then(printersurvey_errhandler);
C. WinJS.Promise.onError(WinJS.Promise.onerror, printersurvey_errhandler);
D. WinJS.Promise.addEventListener("error", printnearme errhandler);


Answer Clike
What code should you insert at line PM31?

HOTSPOT
You need to ensure that the Printer Survey task populates the map pinpoints according to the requirements.
What code should you insert at line PM31? (To answer, select the correct code segment from each dropdown list in the answer area.)
Hot Area:



Answer Clike
Which code segment should you insert at line PM17?

You need to implement the Print Here command.
Which code segment should you insert at line PM17?

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


Answer Clike
Which code segment should you insert at line PS18?

You need to implement the Printer Support error logging.
Which code segment should you insert at line PS18?

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


Answer Clike
What should you do?

You need to ensure that the custom printer interfaces and the Printer Survey task communicate correctly.
What should you do?

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


Answer Clike
Which code segment should you insert at line BT22?

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 Clike
Which class should you use?

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 Clike
Which code segment should you insert at line PM21?

You need to implement the Print Here Mature.
Which code segment should you insert at line PM21?

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


Answer Clike
Which class should you use?

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 Clike
Which app capability should you declare?

HOTSPOT
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.
Hot Area:



Answer Clike
What should you do?

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 Clike
What is the best approach to achieve the goal?

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 Clike
Which code segment should you insert at line PF12?

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 Clike
What should you do?

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 Clike
Which two actions should you perform?

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 Clike
What should you do?

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 Clike
What should you do?

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 Clike
What should you do?

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 Clike
Which code segment should you insert at line L036?

You need to enable the user to save coordinates as specified in the requirements.
Which code segment should you insert at line L036?

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


Answer Clike
Which code segment should you insert at line PL27?

You need to assign the audio stream to the controller declared at line PL20 according to the requirements.
Which code segment should you insert at line PL27?
A. sr.stream = controller.stream;
B. sr.setSource{controller.stream);
C. sr.setSource(controller);
D. sr.setController(controller);


Answer Clike
Which property should you check in the app startup code?

You need to find out whether the app is still in trial mode.
Which property should you check in the app startup code?
A. Windows.ApplicationModel.Store.CurrentApp.licenseInformation.isActive
B. Windows.ApplicationModel.Store.CurrentApp.IicenseInformation.isTrial
C. Windows.ApplicationModel.Store.CurrentApp.licenseInformation.expiration.late
D. Windows.ApplicationModel.Store.CurrentApp.licenseInformation.productLicenses


Answer Clike
Which code segment should you insert in the default.js file?

You need to find out whether the user has purchased the app.
Which code segment should you insert in the default.js file?

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


Answer Clike
Which action should the app perform when the user touches a button?

You need to implement the audit log.
Which action should the app perform when the user touches a button?
A. Add a row to a database log table.
B. Create a custom log file entry.
C. Send the event to a remote web service.
D. Create a Windows Application Log entry.


Answer Clike
Which code segment should you insert at line L032?

You need to turn off tracking.
Which code segment should you insert at line L032?
A. location.removeEventListener("statuschanged", statusChanged);
B. location.removeEventListener.all( ) ;
C. location.endTracking ( ) ;
D. location.removeEventListener("positior.changed", positionChanged);


Answer Clike
Which code segment should you insert at line BG05?

You need to ensure that the lock screen access configuration meets the requirements.
Which code segment should you insert at line BG05?
A. if (result == background.3ackgroundAccessStatus.denied)
B. if (result = = background.backgroundAccessStatus.allowedWithAlwaysOnRealTimeConnectivity)
C. if (result = = background.backgroundAccessStatus.allowedMayUseActiveRealTimeConnectivity)
D. if (result == background.backgroundAccessStatus.unspecified)


Answer Clike
Which code segment should you insert at line PL21?

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 Clike
Which code segment should you insert at line BG14?

You need to implement the database polling.
Which code segment should you insert at line BG14?
A. var trigger = new Windows.ApplicationModel.Background.TimeTrigger(1230, false) ;
B. var trigger = new Windows.ApplicationModel.Background.TimeTrigger(15, false);
C. var trigger = new Windows.ApplicationModel.Background.TimeTrigger (900, true);
D. var trigger = new Windows.ApplicationModel.Background.TimeTrigger(20, true);


Answer Clike
What should you do?

You need to implement the audit log.
What should you do?
A. When the user moves the device, create a Windows Event Log entry.
B. When the user moves the device, create a custom log file entry.
C. When the user touches a button, create a Windows Event Log entry.
D. When the user touches a button, create a custom log file entry.


Answer Clike
Which object should you use?

You need to implement the audit log.
Which object should you use?
A. Windows.Storage.ApplicationData.current.localSettings
B. Windows.Storage.ApplicationData.current.roamingFolder
C. Windows.Storage.ApplicationData.current.temporaryFolder
D. Windows.Storage.AppllcationData.current.temporarySettings


Answer Clike
Which code segment should you insert at line BG05?

You need to ensure that the lock screen access configuration meets the requirements.
Which code segment should you insert at line BG05?
A. if (result = = background.BackgroundAccessStatus.allowedWithAlwaysOnRealTimeConnectivity)
B. if (result = = background.BackgroundAccessStatus.allowedMayUseActiveRealTimeConnectivity)
C. if (result ! = background.backgroundAccessStatus.allowedWithAlwaysOnRealTimeConnectivity)
D. if (result ! = background.backgroundAccessStatus.allowedMayUseActiveRealTimeConnectivity)


Answer Clike
Which code segment should you insert at line BG14?

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 Clike
What should you do?

You need to resolve the issue of unavailable obstacle data.
What should you do?
A. Store the obstacle data in cloud storage.
B. Download the obstacles database when the app is installed, and update the database when the app is updated.
C. Store the obstacle data in indexDB storage.
D. Store the obstacle data in the SessionStorage object.


Answer Clike
What should you do in the video.js file?

You need to prevent the device-specific tilting exception.
What should you do in the video.js file?
A. Insert a try statement immediately after line VD01 and a catch block immediately before line VD08. Handle the VideoNotFound exception.
B. Evaluate the canTilt variable. If true, bypass the code that tilts the camera.
C. Evaluate the canTilt variable. If false, bypass the code that tilts the camera.
D. Insert a try statement immediately after line VD01 and a catch block immediately before line VD08. Handle the MediaNotFound exception.


Answer Clike
Which code segment should you insert at line BG14?

You need to retrieve the background task collection for the iteration loop.
Which code segment should you insert at line BG14?

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


Answer Clike
Which actions should you perform?

You need to separate the business and complex logic into components.
Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)
A. In the JavaScript code, register the handler for the extension/mime-type.
B. In the package.appxmanifest file, create an Extensions section and register the component .dll file.
C. In Windows Explorer, drag the component .dll file to the project bin directory.
D. In Microsoft Visual Studio Solution Explorer, right-click the References folder and then click Scope to This.


Answer Clike
Which JavaScript project properties should you set?

You need to enable debugging on the Personal Trainer app.
Which JavaScript project properties should you set? (Each correct answer presents part of the solution Choose all that apply.)
A. Set Allow Local Network Loopback to No.
B. Set Debugger Type to Script Only.
C. Set Debugger Type to Managed Only.
D. Set Debugger to launch to Local Machine.


Answer Clike
Which code segment should you insert at line PL16?

You need to retrieve and register a DLNA-compatible device.
Which code segment should you insert at line PL16?
A. var player = Windows.Media=Devices.AudioDeviceController ( );
B. var player = Windows.Media.Devices.DLNADeviceController ( );
C. var player = Windows-Media,PlayTo.PlayToManager.getForCurrentView( );
player. addsventListener("sourcerequested", sourceRequestHandler, false);
D. var player = Windows.Media.PlayTo.PlayToManager.showPlayToUI ( );
player-addEventListener("sourcerequested", sourceRequestHandler, false);


Answer Clike
What should you do?

You need to handle the location-detection problem.
What should you do?
A. Insert a try statement immediately after line LO05 and a catch block immediately before line LO09. Handle the exception in the catch block.
B. Insert an else statement immediately before line LO09. In the else statement, display a notification that the device does not support location.
C. At line LO08, change the positionchanged argument to statuschanged.
D. At line LO06, change the Geolocator class to locator.


Answer Clike
Which code segment should you insert at line VD05?

You need to validate whether the additional video recording functionality for the Client app is supported.
Which code segment should you insert at line VD05?
A. var canFocus = videoDev.getEeviceProperty("focus");
B. var car.Zoom = videoDev.getEeviceProperty ("zoom") ;
C. var canPan = videoDev.pan.capabilities.supported;
D. var canPan = mediaCaptureSettings.pan.capabilities .supported;


Answer Clike
Which code segment should you insert at line BG09?

You need to attach the background task.
Which code segment should you insert at line BG09?
A. var task = builder.setTrigger(this);
B. var task = builder.setTrigger( );
C. var task = builder.register ( );
D. var task = builder.register (this);


Answer Clike
Which code segment should you insert at line CD06?

You need to enable trainers to select client profiles.
Which code segment should you insert at line CD06?
A. fop.pickMultipleFileAsync ( ). then(
B. fop.pickFileAsync ( ). then (
C. fop.pickSingleFileAsync ( ) .then{
D. fop.pickSingleFile ( ).then (


Answer Clike
Which code segment should you insert at line VD05?

You need to validate whether the additional video recording functionality for the Client app is supported.
Which code segment should you insert at line VD05?
A. var canPan = mediaCaptureSettings.pan.capabilities.supported;
B. var canPan = videoDev.pan.capabilities.supported;
C. var canTilt = videoDev.getDeviceProperty("tilt");
D. var canTilt = videoEev.getDeviceProperty("tilt supported");


Answer Clike
What should you do?

You need to handle the exception error in the clientData.js file.
What should you do?
A. Modify the display function to handle the error.
B. Insert a try statement immediately after line CD07 and a catch block immediately before line CD14. Handle the error in the catch block.
C. Modify the processError function to handle the error.
D. Insert a try statement immediately after line CD01 and a catch block immediately before line CD15. Handle the error in the catch block.


Answer Clike
Which code segment should you insert at line CD21?

You need to ensure that client profiles can be saved in the required file format.
Which code segment should you insert at line CD21?
A. fop.suggestedSaveFile = "*.txt";
B. sp.fileTypeChoices.insert("Client Files", [".txt"]);
C. sp.fileTypeChoices = new.fileTypeItem("Client Files", [".xml"]);
D. sp.fileTypeChoices.insert("Client Files", ".xml"]);


Answer Clike
What should you do?

You need to debug the error that is displayed in the warning message.
What should you do?
A. In the package.appxmanifest file, set the Webcam property in the Capabilities list.
B. Insert the following code segment at line VD18:
var dialog = new Windows.Media.Capture.CameraCaptureUI( ); dialog.photoSettings.enableCamera( );
C. In the package.appxmanifest file, add Camera Settings to the available declarations.
D. Insert the following code segment at line VD18:
var dialog = new Windows.Media.Capture.CameraCaptureUT( );
dialog.videoSet tings.enableCamera ( );


Answer Clike
Which code segment should you insert at line BG07?

You need to complete the code to start the background task.
Which code segment should you insert at line BG07?
A. Windows.ApplicationModel.Background.SystemTriggerType.connectedStateChange, true
B. Windows.ApplicationModel.Background.SystemTriggerType.networkStateChange, false
C. Windows.ApplicationModel.Background.SystemTriggerType.sessionConnected, true
D. Windows.ApplicationModel.Background.SystemTriggerType.internetAvailable, false


Answer Clike
Which code segment should you insert at line VD06?

You need to identify the required camera specifications.
Which code segment should you insert at line VD06?
A. var maxZoom = videoDev.zoom.capabilities.max;
B. var cameraType = videoDev.extendedZoomProperties("cameraType");
C. var cameraZoom = videoDev.zoom;
D. var minZoom = mediaCaptureSettings.min.millimeters;


Answer Clike
Which code segment should you insert at line BG09?

You need to attach the background task.
Which code segment should you insert at line BG09?
A. var task = builder.register( );
B. var task = Windows. ApplicationModel.Background.BackgroundTaskBuilder.insert (builder);
C. var task: = Windows.ApplicationModel.Background.BackgroundTaskBuilder.insert (builder, this);
D. var task = builder.setTrigger ( );


Answer Clike
Which code segment should you insert at line CD04?

You need to set the default storage location for the client profiles.
Which code segment should you insert at line CD04?
A. fop.defaultFolder = Windows.Storage.Pickers.PickerLocationId.documentsLibrary;
B. fop.defaultFolder = environment.getFolderPath (environment.specialFolder.applicationData);
C. fop.suggestedStartLocation = "%AppData%";
D. fop.suggestedStartLocation =Windows.Storage.Pickers.PickerLocationId.documentsLibrary;


Answer Clike
What should you do?

You need to prevent the exception that is being thrown by the findCamera( ) method.
What should you do?
A. Check the devices collection for multiple devices.
B. Place a try block immediately after line VD12 and a catch block immediately before line VD17. In the catch block, display the message property of the exception object to the user.
C. In line VD10, set the cameraID variable to null.
D. Check the devices collection for null before setting the cameraID variable.


Answer Clike