Free Cheat-test Samples and Demo Questions Download
Adobe exams Adobe
Apple exams Apple
Avaya exams Avaya
Check Point exams Check Point
Cisco exams Cisco
Citrix exams Citrix
CIW exams CIW
CompTIA exams CompTIA
CWNP exams CWNP
EC-Council exams EC-Council
EMC exams EMC
Exin exams Exin
Fortinet exams Fortinet
GIAC exams GIAC
Hitachi exams Hitachi
HP exams HP
IBM exams IBM
Isaca exams Isaca
ISC exams ISC
ISEB exams ISEB
Juniper exams Juniper
LPI exams LPI
McAfee exams McAfee
Microsoft exams Microsoft
Oracle exams Oracle
PMI exams PMI
Riverbed exams Riverbed
SNIA exams SAP
Sun exams SAS
Symantec exams Symantec
VMware exams VMware
All certification exams

Microsoft 70-485 Exam - Cheat-Test.com

Free 70-485 Sample Questions:

Q: 1
You need to set the PlayTo source in the LoadFile() method.Which line of code should you insert at line PT30?
A.playToManager.SetSource(stream, contentType);
B.element.SetSource(stream, contentType);
C.element.SetSource(videoFile, contentType);
D.dispatcher.SetSource(stream, contentType);
Answer: B

Q: 2
You are developing a Windows Store app that invokes asynchronous methods to keep the app responsive to user actions.The app must handle exceptions gracefully, so they are never displayed to the user.Which code segment should you use?
A.private async void SearchButton_Click(object sender, RoutedEventArgs e){try{var result = await this.SearchAsync();searchLabel.Text = "Found " + result.Count + " results" +
Environment.NewLine;...}catch (Exception ex){...}}
B.private async void SearchButton_Click(objectsender, RoutedEventArgse){varresult = awaitthis.SearchAsync();try{searchLabel.Text = "Found " + result.Count + " results"+Environment.NewLine;...}catch(Exceptionex){...}}
C.private dynamic SearchButton_Click(object sender, RoutedEventArgs e){try{var result = this.SearchAsync();searchLabel.Text = "Found " + result.Count + " results" + Environment.NewLine;...}catch (Exception ex){...}}
D.private async void SearchButton_Click(objectsender, RoutedEventArgs e){varresult = this.SearchAsync() await;try{searchLabel.Text = "Found "+ result.Count + " results"+ Environment.NewLine;...}catch(AsynchronousExceptionex){...}}
Answer: A

Q: 3
You need to meet the business requirements about downloading and uploading.How should you configure the app? (To answer, select the appropriate options from each drop-down list in the.)
1.User actions
2.Control channel
3.Wide Logo Only
4.Playback status
5.Device availability
6.Badge Logo and Wide Logo
7.Photo file stream
8.Badge and Tile Text
9.Tile
10.Badge Logo and Tile Image
11.Tile Image Only
Answer: A3,B6,C8

Q: 4
You need to ascertain whether the device that the app is running on has a compass.Which line of code should you insert at line CE43?
A.while(Windows.Devices.Sensors == Compass)
B.if (Compass.GetDefault() != null)
C.if (Compass.GetDefault() == Compass.FirstOrDefault)
D.if(Compass.GetCurrentReading() != null)
Answer: B

Q: 5
You are developing a Windows Store app.You need to create and run unit tests for the app.Which three actions should you perform in sequence? (To answer, move the appropriate actions from the list of actions to the and arrange them in the correct order.)
A.Create a new unit test solution.
B.Create a unit test project in the existing solution.
C.Add code to the test classes and run the tests.
D.Modify the Package.appxmanifest file with the appropriate settings.
E.Create a Unittest.appxmanifest file to store the test settings.
F.Modify the production classes to implement the test code.
Answer: BCE

Q: 6
You need to implement downloading of media files and other content.Which code segment should you add to App.xaml.cs?
A.private GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads = awaitBackgroundDownloader.GetCurrentDownloadsAsync();if (downloads.Count > 0){List<Task>
myTasks = new List<Task>();for (int i=0; i < downloads.count; i++){await
HandleMyPendingDownloads(downloads[i], true);}await Task.WhenAll(myTasks);}}
B.private async Task GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads =
awaitBackgroundDownloader.GetCurrentDownloadsAsync();if (downloads.Count > 0){List<Task>
myTasks = new List<Task>();foreach (DownloadOperation download in
downloads){myTasks.Add(HandleDownloadAsync(download, false));}await Task.WhenAll(myTasks);}}
C.private Task GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads
=BackgroundDownloader.CreateDownloadAsync();if (downloads.Count > 0){List<Task> myTasks = new
List<Task>();foreach (DownloadOperation download in downloads){myTasks.Add(HandleDownloadAsync(download, false));}Task.WhenAll(myTasks);}}
D.private async Task GetPendingDownloadsList(){IReadOnlyList<DownloadOperation> downloads = awaitBackgroundDownloader.GetCurrentDownloadsAsync();if (downloads.Count > 0){List<Task>
myTasks = new List<Task>();for (int i=0; i < downloads.count; i++){await
HandleMyPendingDownloads(downloads[i], true);}await Task.WhenAll(myTasks);}}
Answer: B

Q: 7
You need to ascertain whether a camera can support zooming.Which code segment should you insert at line CA28?
A.if (!media.Zoom.Capabilities.Supported)throw new Exception("Device must support zoom");
B.if (video.Zoom.Capabilities.Current == 0)throw new Exception("Device must support zoom");
C.if (!video.Zoom.Capabilities.Supported)throw new Exception("Device must support zoom");
D.if (!media.VideoDeviceController.Zoom)throw new Exception("Device must support zoom");
Answer: C


© 2014 Cheat-Test.com, All Rights Reserved