最新的Microsoft Advanced Windows Store App Development using C# - 070-485免費考試真題
問題1
HOTSPOT
You are developing a Windows store app that requires text documents. The documents are loaded from a web service and are often larger than 5 MB. The users of the app travel between offices that are located on different continents.
The app must support thousands of documents and use as little local storage as possible.
You need to store the documents to meet the requirements.
You have the following code:

Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)

HOTSPOT
You are developing a Windows store app that requires text documents. The documents are loaded from a web service and are often larger than 5 MB. The users of the app travel between offices that are located on different continents.
The app must support thousands of documents and use as little local storage as possible.
You need to store the documents to meet the requirements.
You have the following code:

Which code snippets should you insert in Target 1 and Target 2 to complete the code? (To answer, select the correct code snippet from each drop-down list in the answer area.)

正確答案:

問題2
DRAG DROP
You need to allow users to capture video instead of photos.
How should you complete the code segment that will replace lines MP03 through MP11? (To answer, drag the appropriate lines of code to the correct location or 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.)

DRAG DROP
You need to allow users to capture video instead of photos.
How should you complete the code segment that will replace lines MP03 through MP11? (To answer, drag the appropriate lines of code to the correct location or 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.)

正確答案:

問題3
You are developing a Windows Store app.
You need to recommend a solution to handle exceptions thrown by the XAML Framework.
What should you recommend?
You are developing a Windows Store app.
You need to recommend a solution to handle exceptions thrown by the XAML Framework.
What should you recommend?
正確答案: A
問題4
HOTSPOT
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 answer area.)

HOTSPOT
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 answer area.)

正確答案:

問題5
DRAG DROP
You need to allow users to capture video instead of photos. You have the following code:

Which code snippets should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)

DRAG DROP
You need to allow users to capture video instead of photos. You have the following code:

Which code snippets should you include in Target 1 and Target 2 to complete the code? (To answer, drag the appropriate code snippets to the correct targets in the answer area. Each code snippet 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.)

正確答案:

Topic 3, E-reader app
Background
You are developing a Windows Store style e-reader app.
Business Requirements - Users must be able to upload e-books and documents and download them to e-reader devices. - Users must be able to set a password to restrict access to their e-books and documents. - Users must be able to create and store encrypted metadata about their e-books and documents. - The app must replace system-generated error messages with custom-defined messages. These custom messages must come from a list of approved text. - User actions such as printing pages, saving users' current locations in documents, and taking notes should be enabled from buttons on an AppBar control. - The app must provide trial functionality that will expire after 14 days. If the app expires while it is running, the app must display an expiration message to the user and prompt the user to purchase the app.
Technical Requirements
General: - Configuration files must be read-only. All user settings must be stored in the Contoso Settings Service. - The SocialPoller background task must run the code in the DoWork() method to collect content from the Contoso feed. - The UI must always remain responsive to user actions.
Security - Secured e-book and document passwords must to be encrypted so that only the user who created the passwords can retrieve the metadata associated to the e-books and documents.
The system must log all exceptions through the auditing object and notify technicians of the issue.
Storage: - The app must cache the next two chapters to the local device for users to read while disconnected from the network. This cache must be persisted if a reboot is performed. - User state such as the current location in an e-book or document must be stored in the Microsoft SQL Azure database. - User settings such as font sizes and colors must be stored through the Contoso Settings Service.
Network:
Communication between the app and e-book vendors must occur over an
encrypted communication channel.
Communication must use certificates to enable the SSL connection.
Trial Functionality:
--
---
The isPrintEnabled variable must determine if the user can print.
The isMarketEnabled variable must determine if the user can use the marketplace.
The isTrialEnabled variable must determine if the application is still in trial mode.
Printing:
--
The default printing options are portrait orientation and grayscale color mode.
The app must enable the user to select the media size and printing orientation.
SocialPoller.es

Auditor.cs

ContentPage.es

Book.cs Book.cs


SocialPost.es Pagel.xaml.es


App.xaml.cs

問題6
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?
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
問題7
DRAG DROP
You are developing a Windows Store app.
The app will provide users with the ability to play music remotely on another user's device
and then the other users will guess the name of the song.
You need to access the music storage and to retrieve files and folders.
You have the following code:

Which elements should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code? (To answer, drag the appropriate elements to the correct targets in the answer area. Each element 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.)

DRAG DROP
You are developing a Windows Store app.
The app will provide users with the ability to play music remotely on another user's device
and then the other users will guess the name of the song.
You need to access the music storage and to retrieve files and folders.
You have the following code:

Which elements should you include in Target 1, Target 2, Target 3 and Target 4 to complete the code? (To answer, drag the appropriate elements to the correct targets in the answer area. Each element 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.)

正確答案:

問題8
You are developing a Windows Store app for a security monitoring company.
You have been asked to build a module that uploads large video files to a web-based video sharing service.
You have the following requirements:
- The video codex must match the proprietary format developed by the company's internal labs. - When the app runs on a metered network connection, upload operations must be suspended. - When the app is suspended, upload operations must continue.
You need to ensure that the app meets the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
You are developing a Windows Store app for a security monitoring company.
You have been asked to build a module that uploads large video files to a web-based video sharing service.
You have the following requirements:
- The video codex must match the proprietary format developed by the company's internal labs. - When the app runs on a metered network connection, upload operations must be suspended. - When the app is suspended, upload operations must continue.
You need to ensure that the app meets the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
正確答案: A,D
說明:(僅 PDFExamDumps 成員可見)
問題9
DRAG DROP
You are developing a Windows Store app.
The following code is provided as part of an RSS feed reader.

You need to create an asynchronous method that reports progress and allows cancellation.
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.)

DRAG DROP
You are developing a Windows Store app.
The following code is provided as part of an RSS feed reader.

You need to create an asynchronous method that reports progress and allows cancellation.
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.)

正確答案:

問題10
DRAG DROP
You are developing a Windows Store app.
The app will download files from the Internet.
You already have a method that downloads files. The method has the following signature:

Which code segments should you insert at lines 01 and 04? (To answer, drag the appropriate code segments to the correct 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.)

DRAG DROP
You are developing a Windows Store app.
The app will download files from the Internet.
You already have a method that downloads files. The method has the following signature:

Which code segments should you insert at lines 01 and 04? (To answer, drag the appropriate code segments to the correct 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.)

正確答案:
