The Microsoft 70-485 PDF, 70-485 practice exam and 70-485 questions and answers at Lead2pass are written and prepared by Microsoft affiliated trainers and lecturers with decades of experience in the IT field. This ensures that you are equipped with the latest and most current information to give you a better chance of passing the Microsoft 70-485 exam.
QUESTION 81
Drag and Drop Question
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 answer area and arrange them in the correct order,)
Answer:
QUESTION 82
Drag and Drop Question
You are developing a Windows Store app.
The app allows users to purchase additional features from within the app.
You need to run the EnableExtendedFeatures() method if the user has purchased extended features.
How should you complete the code segment? (To answer, drag the appropriate lines of code to the correct location or locations. Each line of code 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:
QUESTION 83
You are preparing a Windows Store game update for deployment.
Game performance must be analyzed by using a profiling tool.
You need to ensure that you collect the most accurate performance data for the analysis.
Which Visual Studio project configuration options should you use? (Each correct answer presents part of the solution. Choose all that apply.)
A. Choose the Simulator deployment target for the game.
B. Use the Release build of the game.
C. Use the Debug build of the game.
D. Choose the Local Machine deployment target for the game.
Answer: BD
Explanation:
http://msdn.microsoft.com/en-us/library/hh696631.aspx
QUESTION 84
You are preparing to deploy a Windows Store app to the marketplace.
You need to ensure that unhandled errors and exceptions are never displayed to users.
What should you do?
A. In the app object, wrap the call to the Window.Current.Activate() method in a try-catch statement to handle any exceptions that occur.
B. Open the Exceptions window in Visual Studio and clear the check box for unhandled exceptions for the Common Language Runtime.
C. Write a handler for the UnhandledException event and set the Handled property on the UnhandledException EventArgs object to true.
D. Write a handler for the UnhandledException event and set the CancelBubble property on the UnhandledExceptionEventArgs object to true.
Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/system.unhandledexceptioneventargs.aspx
QUESTION 85
Drag and Drop Question
You are collecting metrics from a Windows Store game that has been deployed to the Windows Store for a year.
You need to collect data to analyze the quality and success of the game.
Which metric should you use for each statistic? (To answer, drag the appropriate metrics to the correct location or locations in the answer area. Each metric 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:
QUESTION 86
Hotspot Question
You are developing a Windows Store app that allows users to copy music from their local computers to removable storage. The app displays songs grouped by the month the song was downloaded and allows individual songs to be copied to the removable storage device.
The user interface for selecting and copying songs uses data binding.
You need to load and return songs in a format appropriate for data binding.
How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)
Answer:
QUESTION 87
Drag and Drop Question
You are developing a Windows Store app that caches user application data in the local data store.
The app must create a setting named UserName within a container named UserSettings.
The app must store the user name in the local store.
You need to meet the requirements.
How should you complete the code segment? (To answer, drag the appropriate options to the correct location or locations. Each option 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:
QUESTION 88
Hotspot Question
You are developing a Windows Store app.
You need to encrypt data.
How should you complete the code segment? (To answer, select the appropriate line of code from each drop-down list in the answer area.)
Answer:
QUESTION 89
Drag and Drop Question
You are developing a Windows Store app that downloads large files from the Internet by using background tasks.
The app includes the following:
– TaskInstance is an instance of the IBackgroundTask interface that provides access to a background task instance.
– DownloadFilesAsync() is the asynchronous method that performs the download.
You need to ensure that the app performs the download operation asynchronously in a background task.
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,)
Answer:
QUESTION 90
Drag and Drop Question
You are developing a Windows Store app that must use a background task to retrieve local weather conditions from the Internet.
You need to ensure that the app can update the user interface while it is in a running or suspended state.
How should you complete the code segment? (To answer, drag the appropriate term to the correct location or locations in the answer area. Each term 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:
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh977055.aspx
QUESTION 91
Drag and Drop Question
You are developing a Windows Store app.
The app must send video from a phone to a TV by using the Play To contract.
You need to complete the SourceRequest event of the PlayToManager object.
How should you complete the code segment? (To answer, drag the appropriate lines of code to the correct location or locations. 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.)
Answer:
QUESTION 92
You are developing a Windows Store app.
The app has the following requirements:
– Files must be stored on a device’s file system so other Windows Store apps can access them.
– Additional configuration must be performed to make the location of the files available to other Windows Store apps.
You need to meet the requirements.
Where should you store the files? (Each correct answer presents a complete solution. Choose all that apply.)
A. removable devices
B. app data locations
C. user’s download folder
D. documents library
E. app install directory
Answer: AD
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.knownfolders.aspx
QUESTION 93
Hotspot Question
You are developing a Windows Store app that displays and prints information.
You have the following code.
You need to enable printing.
How should you complete the initialization of the print functionality? (To answer, select the appropriate element from the drop-down list in the answer area.)
Answer:
QUESTION 94
Drag and Drop Question
You are developing a Windows Store app that prints documents.
You need to ensure that the app enables the user to specify the paper size.
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.)
Answer:
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/windows.graphics.printing.printtask
QUESTION 95
You are developing a Windows Store app that prints documents.
An object named printManager manages the print flow.
An object named printDocument sends output to the printer.
You need to ensure that the app allows the user to preview the print layout of the entire document.
Which event should you handle to construct the print preview of the entire document?
A. printDocument.GetPreviewPage
B. printManager.PrintTaskRequested
C. printDocument.Paginate
D. printDocument.AddPages
Answer: C
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/windows.ui.xaml.printing.printdocument.paginate
QUESTION 96
Drag and Drop Question
You are developing your first Windows Store app and submitting it to the Windows Store.
The app uses a cloud server to send notifications by using Windows Push Notification Service (WNS).
You need to authenticate the cloud server with WNS.
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.)
Answer:
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465407.aspx
QUESTION 97
Drag and Drop Question
You are developing a Windows Store app that uses the Windows Push Notification Service (WNS) to provide real-time updates to users.
The app uses an HTTP request to authenticate a cloud service to interact with WNS.
The Package Security Identifier (SID) prefix is app://.
Parameter values must be URL encoded.
You need to ensure that the authentication request provides the required parameters.
Which parameters should you use? (To answer, drag the appropriate parameters to the correct location or locations. Each parameter 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:
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465435.aspx#pncodes_auth
QUESTION 98
You are developing a Windows Store app that displays notifications on the lock screen.
The app must execute a background task when the notification arrives.
In addition, the app must receive push notifications from Windows Push Notification Service (WNS).
You need to use a push notification mechanism that meets the requirements.
Which push notification mechanism should you use?
A. Toast notification
B. Raw notification
C. Tile update
D. Badge update
Answer: B
Explantion:
http://msdn.microsoft.com/en-us/library/windows/apps/xaml/hh868256.aspx
QUESTION 99
You are designing a Windows Store app to manage image and video files.
The app must meet the following requirements:
– Video files must be stored locally on each device.
– The app must use local storage for data caching.
– User settings must be shared across multiple devices.
– Image files must be available across multiple devices.
– Metadata for images must be stored in a central database.
– Image files, video files, and their associated metadata must load as quickly as possible.
You need to identify which data must be cached based on the app requirements.
Which two types of data should you identify? (Each correct answer presents part of the solution. Choose two.)
A. User settings
B. Video files
C. Image files
D. Metadata
Answer: CD
QUESTION 100
You need to choose the appropriate data binding strategy for the image list box. Which method should you use?
A. Systern.Drawing.ImageConverter.ConvertTo(value, typeof(Image))
B. System.Drawing.ImageConverter.ConvertFrom(value, typeof(Image), CultureInfo.CurrentUICulture)
C. IValueConverter.ConvertBack ()
D. IValueConverter.Convert ()
Answer: A
QUESTION 101
You need to ensure that launching the app displays the required information. From which ApplicationExecutionState enumeration should you configure the user interface state?
A. NotRunning
B. Terminated
C. Suspended
D. Running
E. ClosedByUser
Answer: B
If you want to get more 70-485 exam preparation material,you can download the free demos in PDF files on Lead2pass.It would be great help for you exam.Wish you pass the exam successfully.