Q1. DRAG DROP - (Topic 7)
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.)
Answer:
Q2. - (Topic 7)
You are developing a Windows Store text editor app by using HTML5 and JavaScript.
Users must be able to select text within the app and then cut the text.
You need to enable the Cut feature.
Which code segments should you use? (Each correct answer presents part of the solution.
Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A,B
Explanation: UICommand.UICommand constructors (Windows)
Q3. - (Topic 3)
You need to ensure that inspectors can manage tasks that are assigned to them. Which code segment should you insert at line BT22?
A. BackgroundTask.unregisterBackgroundTasks(e.BackgroundTaskName);
B. BackgroundTask.unregisterBackgroundTasks(sender.BackgroundTaskName);
C. BackgroundTask.unregisterBackgroundTasks(BackgroundTask.TaskName);
D. BackgroundTask.unregisterBackgroundTasks(BackgroundTask.BackgroundTaskName);
Answer: D
Q4. - (Topic 7)
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. Printer
B. AudioVideo
C. IrDa
D. PersonalHealthcare
Answer: C,D
Q5. HOTSPOT - (Topic 2)
You need to begin the project development.
Which project template should you choose? To answer, select the appropriate project template type in the answer area.
Answer: 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 Microsoft 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 Microsoft Azure application.
Business Requirements
Inspectors must be able to use the app to perform the following equipment-related tasks:
....
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.
The app must support the following scheduling requirements:
.
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 requirelocation, 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 OneDrive folder. . Inspectors must be able to search for equipment software and firmware updates stored in their OneDrive folders. . Downloaded files must be enrolled in selective wipe and made unavailable eight hours after download. . The app must use background tasks to download files to the users' devices. . All content files downloaded for the inspectors use must be available for searching in the app. . All data transferred by the app between the Windows devices and the Microsoft Azure application must be secured and encrypted.
Equipment Interface and Connections . While the app is connected to a piece of equipment, inspectors must be able to simultaneously display the app and the content of their OneDrive folders. . The user interface must include a slide control that allows the inspector to specify a search range for nearby clients. . Inspectors must connect the app to any piece of equipment by using a tap connection.
File-Geofencing.js
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File- ProtectFile.js
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File- BackgroundTask.js
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
Q6. - (Topic 7)
You are developing a newsreader app that provides users with daily aggregated articles from popular news sites.
You must allow users to share the URI of the articles. The app must allow at least one of the following ways to share the URI:
. With another Windows Store app
. With the user's default web browser
You need to implement the sharing functionality.
Which property of the StandardDataFormats class should you use?
A. ApplicationLink
B. Html
C. ContentSourceWebLink
D. Storageltems
Answer: A
Reference:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.applicationmodel.datatransfer.standarddataformats.appli cationlink.aspx
Q7. - (Topic 7)
You are developing a Windows Store app.
You need to adjust the size of the on-screen text based on the current app window size by using media queries.
What media query feature should you listen for?
A. Device-width
B. Width
C. Resolution
D. Aspect-ratio
Answer: A
Q8. HOTSPOT - (Topic 7)
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.)
Answer:
Q9. - (Topic 1)
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.servicingComplete.true
B. Windows.ApplicationModel.Background.SystemTriggerType.userPresent.true
C. Windows.ApplicationModel.Background.SystemTriggerType.internetAvailable.false
D. Windows.ApplicationModel.Background.SystemTriggerType.userAway.false
Answer: C
Topic 2, Scenario 2
Background
You are developing an app for an automotive manufacturer. The app will display information about the vehicle, the vehicle owner's manual, and the maintenance schedule. The app will be available to install from the Windows Store.
Business Requirements
The app must meet the following business requirements: . Display the company logo on the Main screen, Owner's Manual screen, and Service Record screen of the app. . Allow users to store their vehicle information to identify the correct information to display within the app. . Prominently display a stock image of the user's vehicle on the Main screen at the full height of the app. . Send notifications by using tile updates when a scheduled maintenance is approaching or past due. . Insert service data in the appropriate locations, and update the Service Record screen with data received from a cloud service. . Display related media within the app.
Technical Requirements
The app must meet the following technical requirements.
User Experience
. The app user interface must follow Microsoft design guidelines.
. The user must be able to insert or update service records.
. The user must be able to filter service records by date or service type.
. The user must be able to navigate between various Darts of the app including but
not limited to the Mainscreen, Service Record screen, and Owner's Manual
screen.
. The user cannot switch between categories by using the Back button.
. The data from the cloud service must automatically populate the Service Record
screen.
. The Main screen must have a dark background. All other screens must have a light background with contrasting colored text.
. All multimedia must provide a full-screen mode that can be activated by the end user.
. All media items must start when the user interacts with them and stop immediately when a video ends.
. The app must accept and display tile messages and notification messages from the cloud service.
. The navigational icons must not be displayed if the content of the screen does not require such display.
. Any page of the owner's manual must be able to be pinned to the Windows Start screen.
. When the app is pinned to the Windows Start screen all live tile sizes must be available to the users.
. When a specific app page is pinned to the Windows Start screen, the page tile cannot be wider or taller than the dimensions of a wide tile.
. Short names and display names must not be displayed on square tiles.
Development . The app must use Microsoft Visual Studio preconfigured templates with built-in data structures. . External notifications must be delivered by using Windows Push Notification Services (WNS). . The app must be able to receive push notifications from a Microsoft Azure Mobile Services endpoint. . Each HTML file must be supported by similarly named JavaScript and CSS files (for example, myFile.html, myFile.js myFile.css).
File: main.html
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File: main.js
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File: manual.html
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File: manual.js
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File: service.html
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
File: service.js
Relevant portions of the app files are shown below. Line numbers in the code segments are included for reference only and include a two-character prefix that denotes the specific file to which they belong.
Q10. - (Topic 1)
You need to set the default storage location for the client profiles. Which code segment should you insert at line CD04?
A. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.documents Library;
B. fop.defaultFolder = Windows.Storage.Piekers.PickerLocationId.documents Library;
C. fop.suggestedStartLocation = Windows.Storage.Pickers.PickerLocationId.videosLibrary;
D. fop.suggestedStartLocation = "%AppData%";
Answer: B