70-599 微軟Windows Phone 7開發人員證書考試真題
微軟的Windows Phone 7的開發人認證7月份已經發布,上周我去考過了70-599的考試,這篇文章總結一下微軟對于Windows Phone開發人員的能力要求,認證要求以及提供考試的一些指導信息。關于Windows Phone開發的Overview介紹,請見我之前為諾基亞培訓總結的那篇文章。
微軟的WP7開發人員認證全稱為MCPD: Windows Phone Developer,包含以下三門考試
|
MCPD: Windows Phone Developer certification requirements* |
Exam number |
|
MCTS prerequisite: TS: Silverlight 4, Development |
|
|
MCTS prerequisite: TS: Accessing Data with Microsoft .NET Framework 4 |
|
|
MCPD requirement: PRO: Designing and Developing Windows Phone Applications |
可以看見,除了基礎的C#能力之外,開發Windows Phone微軟主要要求三方面的能力:Silverlight、Data Access和Phone API。個人理解如果你目前已經對Silverlight了解,那基本上直接就可以熟練開發WP7應用程序,因為Phone相關的原理和API一周基本上就可以掌握。下面這張圖也基本上涵蓋了主要的API,如果不考慮XNA,從下往上看,BCL我相信大家都比較熟練,之后再掌握Silverlight,然后再學習Phone API。

MCTS prerequisite: TS: Silverlight 4, Development
以我個人的經驗,其實對于沒有接觸過Silverlight的朋友,其實進行WP7開發的主要瓶頸還是Silverlight而不是Phone的API。核心我覺得需要理解以下幾點Silverlight的知識點。
- XAML(用XML的方式定義對象和對象樹)
- Resource & Style (一個能夠存放任何對象的Dictionary,通過x:Key來獲取這個對象)
- Dependency Property/Attached Property/ Routed Event / Attached Event
- Control Template (Silverlight用來定義和修改控件Render的Layout)
- Data Binding(將兩個對象值自動相互傳遞的機制)

強烈推薦考試準備材料
Getting ready for Microsoft Silverlight Exam 70-506
MCTS prerequisite: TS: Accessing Data with Microsoft .NET Framework 4
這個主要測試關于ADO.net,Linq to SQL以及Linq to Entities的內容,這門考試是很多MCPD的基礎課程,例如Azure Developer。內容以后有機會再解釋。
MCPD requirement: PRO: Designing and Developing Windows Phone Applications
這門課是真正關于Windows Phone的考試,主要考試內容包括:
· Designing Data Access Strategies (19%) (this article)
· Designing and Implementing Notification Strategies (17%)
· Working with Platform APIs, Tasks, and Choosers (21%)
· Designing the Application Architecture (21%)
· Designing the User Interface and User Experience (23%)
根據回憶來講,考試主要考了Push Notification(Notification Header), Back Key, IsolateStorage, Input Scope, WebClient, BindTileToShell(Uris), Toast, Accelometer,
NetworkChange, Binary Serialization, Manipulation, storyboard-driven animations, DeviceExtendedProperties, XAP file size, GeoLocation.TimeStamp, TouchPanelCapabilities,
MVVM View Model Unit Test, Setting.EnableRedrawRegions等
在考試之前,強烈推薦以下這個系列的文章,基本上很詳細的介紹關于Windows Phone各個方面的知識和考試內容:
Getting ready for the Windows Phone 7 Exam 70-599
http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-1.aspx
http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-2.aspx
http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-3.aspx
http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-4.aspx
http://www.silverlightshow.net/items/Getting-ready-for-the-Windows-Phone-7-Exam-70-599-Part-5.aspx
Getting ready for Exam 70-599: Designing and Developing Windows Phone 7 Applications. Helpful Links and Resources
http://www.maxpaulousky.com/blog/archive/2011/05/04/exam-70-599-designing-and-developing-windows-phone-7-applications-links-resources.aspx
70-599 Sample
最后在這里貼幾道考試的Sample題目供大家參考。
Question
You are designing a Windows Phone 7 application. The application must use a dynamic application key to access a companys web services. You need to recommend a way to help keep the application secure. What should you recommend?
A. Create a proxy web service to retrieve the application key.
B. Store the application key in a resource file associated to the application project.
C. Encrypt the application key and store it in the Application.Resources section of the App.xaml.cs file.
D. Use a custom class in the same assembly as the WebClient object that contains a string property holding the application key.
Answer: A
Question
You are designing a Windows Phone 7 application. You need to store data so that it will be available if the application is resumed. What should you recommend?
A. In the application Deactivated event handler, save data to the PhoneApplicationService.State dictionary. In the application Launching event handler, read the data from the PhoneApplicationService.State dictionary.
B. In the application Deactivated event handler, save the data to the PhoneApplicationService.State dictionary. In the application Activated event handler, read the data from the PhoneApplicationService.State dictionary.
C. In the application Closing event handler, save the data to the PhoneApplicationService.State dictionary. In the application Activated event handler, read the data from the PhoneApplicationService.State dictionary.
D. In application Closing event handler, save the data to the PhoneApplicationService.State dictionary.
E. In application Launching event handler, read the data from the PhoneApplicationService.State dictionary.
Answer: B
Question
You are designing a Windows Phone 7 application that uses multiple pages for the entry of user data. A user can freely navigate among the pages in the application at any time. The user can also perform actions that use a launcher or chooser object to select data to populate data entry fields. You need to recommend a way for page data to persist when the user navigates through the application. What should you recommend?
A. Add a button to the page with a Click event that persists the page data to IsolatedStorage when the button is clicked.
B. Add NavigatedTo and NavigatedFrom events that retrieve and store page data by using the State property of the PhoneApplicationService object when the events are executed.
C. Add logic to the Application_Launching and Application_Closing events that retrieve and store page data to IsolatedStorage when the events are executed.
D. Add logic to the Application_Deactivated and Application_Activated events that retrieve and store page data by using the State property of the PhoneApplicationService object when the events are executed.
Answer: B
Question
You are designing a Windows Phone 7 application.
The application will provide a button that launches the default camera application when the button is pressed. After a photo is taken, the application will display the captured photo to the user.
You need to ensure that after the photo is taken and the application is reactivated, the photo is retrieved.
What should you declare in the code (Each correct answer presents part of the solution. Choose all that apply.)
A. an instance of CameraCaptureTask at the end of the constructor of the PhoneApplicationPage class
B. an instance of CameraCaptureTask with a global scope within the PhoneApplicationPage class
C. an instance of PhotoChooserTask with a global scope within the PhoneApplicationPage class
D. an event handler for the completion of CameraCaptureTask within the constructor of the PhoneApplicationPage class
E. an event handler for the completion of CameraCaptureTask within the event handler of the Click event of the button
F. an event handler for the completion of PhotoChooserTask within the constructor of the PhoneApplicationPage class
Answer : A B D
Questions
If you want to pass the Windows Phone 7 application certification pass, you need to ensure your application does not exceed the max memory size, which API should you use to determine it?
A. Use DeviceExtendedProperties to check ApplicationPeakMemoryUsage is less than 90 MB when DeviceTotalMemory is larger than 256 MB.
B. Use DeviceExtendedProperties to check ApplicationPeakMemoryUsage is less than 90 MB when DeviceTotalMemory is less than or equal to 256 MB.
C. Use DeviceExtendedProperties to check DeviceTotalMemory is less than 90 MB when ApplicationPeakMemoryUsage is less than or equal to 256 MB.
D. Use DeviceExtendedProperties to check ApplicationPeakMemoryUsageis less than 90 MB when DeviceTotalMemory is less than or equal to 256 MB.
Answer: B
Question
Your push notification server wants to push a message which requires to be delay delivered to the device. Which HTTP header should you set for the notification request?
A. Date
B. X-NotificationStatus
C. X-NotificationClass
D. X-MessageID
Answer : C
浙公網安備 33010602011771號