Vendor: Microsoft
Exam Code: 70-485
Exam Name: Microsoft Advanced Windows Store App Development using C#
Version: 12.79
QUESTION 41
You need to support remote devices by using the GoosePlayTo class. Which code segment should you use in MainPage.xaml.es?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
QUESTION 42
You need to ascertain whether a camera can support zooming. Which code segment should you insert at line CA28?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: B
QUESTION 43
The app metadata logic must be available to other Windows Store apps. You need to register the reusable WinMD component. What should you do?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A
QUESTION 44
Users report performance issues when getting the location information associated with a photo. You suspect the app is encountering performance issues in the GetLocationAsync() method of the Environment class. You need to enhance the performance of the Getl_ocationAsync() method of the app. What should you do?
A. Remove the Compass initialization from the LoadSensors() method and initialize it within the
GetLocationAsync() method.
B. set the Reportlnterval property of the Compass object to 16.
C. set the Reportlnterval property of the Compass object to 0.
D. Move the locator variable to a class level variable and initialize it in the Environment constructor.
Answer: D
Explanation:
http://msdn.microsoft.com/en-us/library/windows/apps/hh465148.aspx
QUESTION 45
You need to modify the GetWeatherData() method in the WinMD component at line CE38. Which interface should you use for the return type of the method?
A. IVectorView
B. IVector
C. IList
D. IMap
Answer: A
QUESTION 46
You place a breakpoint at line MP31 in the app. When you debug the app, the debugger continuously catches a System.UnauthorizedAccess exception. You need to resolve the exception.
What should you do?
A. Wrap lines CE43 through CE46 in a try-catch statement.
B. At line MP10, change the code segment to the following line of code. read if(cameraUI != null)
C. Move line CE09 to CE16.
D. At line PA25, insert the following line of code. <Capability Name="picturesLibrary"/>
Answer: D
QUESTION 47
You need to create a SupportsBacklightCompensation property to accommodate morning and evening photography. Which line of code should you insert at line CA19?
A. return (video.BacklightCompensation.Capabilities.Min == 0);
B. return video.BacklightCompensation.Capabilities.Supported;
C. return (media.BacklightCompensation.Capabilities.Min == 0);
D. return media.BacklightCompensation.Capabilities.Supported;
Answer: B
QUESTION 48
You need to modify the code at line CE38 to meet the requirements.
Which interface should you use for the return type of the method?\
A. IMap
B. IVector
C. IVectorView
D. IList
Answer: C
QUESTION 49
You need to reference the reusable WinMD project.
What should you do?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Case Study 3: E-reader app (QUESTION 50 – QUESTION 61)
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
QUESTION 50
You need to protect the metadata for the secure documents.
Which protection descriptor should you use for the DataProtectionProvider object?
A. SID
B. WEBCREDENTIALS=userrpassword
C. LOCAL=user
D. USER=current
Answer: C
If you want to pass Microsoft 70-485 exam successfully, donot missing to read latest lead2pass Microsoft 70-485 dumps.
If you can master all lead2pass questions you will able to pass 100% guaranteed.
http://www.lead2pass.com/70-485.html