Published: October 18, 2012
Languages: English, Chinese (Simplified), French, German, Japanese, Portuguese (Brazil)
Audiences: Partners, developers
Technology: Visual Studio 2012
Credit toward certification: MCP, MCSD

Skills measured
This exam measures your ability to accomplish the technical tasks listed below. The percentages indicate the relative weight of each major topic area on the exam. The higher the percentage, the more questions you are likely to see on that content area on the exam. View video tutorials about the variety of question types on Microsoft exams.

Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.

Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.

If you have concerns about specific questions on this exam, please submit an exam challenge.

If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.

As of December 2, 2013, this exam includes content covering Windows 8.1 and Visual Studio 2013.

Develop Windows Store apps (15–20%)
Create background tasks
Implement the Windows.applicationmodel.background classes; implement the IBackgroundTask interface
Consume background tasks
Use timing and system triggers; keep communication channels open; request lock screen access; use the BackgroundTransfer class to finish downloads
Create and consume WinMD components
Create a WinMD component in C#; consume a WinMD component; handle WinMD reference types; reference a WinMD component

Preparation resources
Background task sample
Windows Runtime Components in a .NET World

Discover and interact with devices (15–20%)
Capture media with the camera and microphone
Use CameraCaptureUI to capture pictures or video; use MediaCapture to capture pictures, video, or audio; configure camera settings; set media formats; handle media capture events; implement advanced photo capabilities, such as sequence mode, thumbnails, and focus mode
Get data from sensors
Determine the availability of a sensor (Windows.devices.sensors); add sensor requests to the app manifest; handle sensor events; get sensor properties; determine location via GPS; enable geofencing
Enumerate and discover device capabilities
Discover the capabilities of a device (for example, GPS, accelerometer, near field communication, and camera)
Implement device access
USB; Bluetooth; Human Interface Device (HID); 3D printer support; Point of Service (PoS) devices

Preparation resources
CameraCaptureUI Sample
Bluetooth device support
USB device support

Program user interaction (15–20%)
Implement printing by using contracts and charms
Implement the print contract; create a custom print template; construct a print preview; handle print pagination; implement in-app printing; expose printer settings within your app
Implement Play To by using contracts and charms
Register your app for Play To; use PlayToManager to stream media assets; register your app as a PlayToReceiver; programmatically implement Play To functionality
Notify users by using Windows Push Notification Service (WNS)
Authenticate with WNS; request, create, and save a notification channel; call and poll the WNS; configure and implement push notifications by using Azure Mobile Services

Preparation resources
Azure Mobile Services for Windows Store app and Android app developers

Enhance the user interface (15–20%)
Design for and implement UI responsiveness
Choose an asynchronous strategy for your app; implement the Task Parallel library for multi-processor utilization; convert asynchronous operations to tasks
Create animations and transitions
Apply animations from the animation library; create and customize animations and transitions, including XAML transitions; implement storyboards and transformations; utilize built-in animations for controls
Create custom controls
Choose the appropriate base control to create a custom control template; style a control through control templates; design the control template to respond to changes in windowing modes
Design Windows Store apps for globalization and localization
Implement .resw files to translate text; implement collation and grouping to support different reading directions; implement culture-specific formatting for dates and times

Preparation resources
XAML user and custom controls sample
Globalizing your app (Windows Store apps using JavaScript and HTML)

Manage data and security (15–20%)
Design and implement data caching
Choose which types of items (user data, settings, app data) in an app should be persisted to the cache according to requirements; choose when items are cached; choose where items are cached (Microsoft Azure, Azure Mobile Services, remote storage); select the caching mechanism; store data by using LocalStorage and SessionStorage
Save and retrieve files from the file system
Handle file streams; save and retrieve files by using StorageFile and StorageFolder classes; set file extensions and associations; save and retrieve files by using the file picker classes; compress files to save space; access libraries and KnownFolders, for example, pictures, documents, and videos; manage appearance of the file picker; improve searchability by using Windows Index; integrate OneDrive with apps; compare files; manage libraries; secure application data
Secure app data
Encrypt data by using the Windows.Security.Cryptography namespace; enroll and request certificates; encrypt data by using certificates; revoke file permissions

Prepare for a solution deployment (15–20%)
Design and implement monetization features in an app
Set up a timed trial; set up a feature-based trial; set up in-app purchases; transition an app from trial to full; implement in-app purchases
Design for error handling
Design the app so that errors and exceptions never reach the user; application class for global collection; handle device capability errors; handle asynchronous errors
Design and implement a test strategy
Recommend a functional test plan; implement a coded UI test; recommend a reliability test plan (performance testing, stress testing, scalability testing, duration testing); implement unit testing in an app; simulate in-app purchases
Design a diagnostics and monitoring strategy
Design profiling, tracing, performance counters, audit trails (events and information), and usage reporting; decide where to log events (local vs. centralized reporting)
Evaluate and configure for Windows store deployment
Configure app options to submit to store, such as age restrictions, privacy statement, permissions, images, and contact information; create application files, resource files, and application bundles; verify application readiness by using the Windows Application Certification Kit (WACK)

Preparation resources
Testing Windows Store Apps
Debugging and testing


QUESTION 1
You need to implement the requirements for the playback of media.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add the following line of code at line MC02. private void ShowPlayTo()

{
Windows.Media.PlayTo.PlayToManager.ShowPlayToUI();
}

B. Add the following line of code at line MC06. ptMgr.DefauitSourceSelection = false;
C. Add the following line of code at line MC10. ptMgr.PlayRequested += SourceRequestHandler;
D. Add the following line of code at line MC05. ptMgr.SourceRequested += SourceRequestHandler;

Answer: B,D


QUESTION 2
You need to ensure that the VideoProcessor component can be used by the Windows Store app.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add the following attribute to line IP19. [Windows.Foundation.Metadata.DefaultOverload()]
B. Replace line IP01 with the following line of code. Static class VideoProcessor
C. Replace line IP09 with the following line of code. PublicVideoProcessor(string videoName, int ID)
D. Add the following attribute to line IP14. [Windows.Foundation.Metadata.DefaultOverload()]
E. Replace line IP01 with the following line of code. Public sealed class VideoProcessor

Answer: A,C,E


QUESTION 3
You need to implement the requirements for streaming media.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Enable access to the Videos Library.
B. Ensure that the app stays in the foreground while media is being streamed.
C. Enable access to the Pictures Library.
D. Register for the SourceRequested event.
E. Enable access to the Music Library.
F. Register for the PlayRequested event.

Answer: A,D

Explanation: From scenario:
Team members must be able to stream video clips to other devices in the vicinity of the team member’s device. The app will not support the streaming of photographs.
D: You can use Play To to stream the audio or video in your application, as well as images, by implementing the Play To contract. To implement the Play To contract in your application, register for the sourceRequested event.
Note:
To register for the sourceRequested event, get a reference to the current PlayToManager by calling the getForCurrentView method. You can then call addEventHandler on the PlayToManager to associate your event handler with the sourceRequested event. In your event handler, pass the media element from your application to the setSource method of the PlayToSourceRequestedEventArgs object passed to the event handler as shown in the following example.
// Play To Contract
private Windows.Media.PlayTo.PlayToManager ptm = Windows.Media.PlayTo.PlayToManager.GetForCurrentView();
protected override void OnNavigatedTo(NavigationEventArgs e)
{
ptm.SourceRequested += sourceRequestHandler;
}
private void sourceRequestHandler( Etc.


QUESTION 4
You need to implement the behavior requirements for the photo viewer.
Which controls should you create?

A. Create two SemanticZoom controls and one ListView control.
B. Create one SemanticZoom control and one ListView control.
C. Create one ScrollViewer control, one SemanticZoom control, and one GridView control.
D. Create two GridView controls and one SemanticZoom control.

Answer: D


QUESTION 5
You need to implement the photo viewer control to meet the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add the themes\generic.xaml file to the project and reference it from the control.
B. Create a composite control.
C. Create a user control.
D. Create a custom control.
E. In the constructor of the class, set the value of the DefaultStyleKey to the type of the control.

Answer: C,D,E

 

Click here to view complete Q&A of 70-485 exam
Certkingdom Review

MCTS Training, MCITP Trainnig

Best Microsoft MCTS Certification, Microsoft 70-485 Training at certkingdom.com