Saturday, 9 July 2016

Exam 70-489 Developing Microsoft SharePoint Server 2013 Advanced Solutions

Published: November 20, 2013
Languages: English, Chinese (Simplified), French, German, Japanese, Portuguese (Brazil)
Audiences: Developers
Technology: Microsoft SharePoint Server 2013
Credit toward certification: MCP, MCSD

Skills measured
This exam measures your ability to accomplish the technical tasks listed below. The percentages indicate the relative weight of each major topic area on the exam. The higher the percentage, the more questions you are likely to see on that content area on the exam. View video tutorials about the variety of question types on Microsoft exams.

Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.

Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.

If you have concerns about specific questions on this exam, please submit an exam challenge.

If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.

Design and implement search (15–20%)
Query search
This objective may include but is not limited to: build search queries using FAST Query Language (FQL) and Keyword Query Language (KQL), execute search queries using client-side object model (CSOM), Web Services, and REST
Customize search results
This objective may include but is not limited to: create custom result sources, create display templates, create result types, create custom refiner definitions, implement query rules
Customize content processing
This objective may include but is not limited to: feed external content types, implement content processing extensions (entity extraction), configure out-of-the box content processing, create content mappings

Preparation resources

Building search queries in SharePoint 2013
Customizing search results in SharePoint 2013
Custom content processing with the Content Enrichment web service callout

Implement Business Connectivity Services (BCS) (10–15%)
Create a model
This objective may include but is not limited to: optimize queries for performance and throttling, use naming conventions, use batching, create filters, implement methods, create associations
Create external content types
This objective may include but is not limited to: use SQL data sources, use Windows Communication Foundation (WCF) Web Services, use OData, use .NET connector
Implement authorization and authentication
This objective may include but is not limited to: use pass-through, use BCS Identity and User Identity, use a custom model
Create custom connectors
This objective may include but is not limited to: implement methods (including Search), implement security trimming, implement configuration properties, implement caching, implement external event receiver
Access BCS data
This objective may include but is not limited to: use BCS Web Parts, use BCS data in workflows, use BCS CSOM, use the server-side object model, use BCS REST
Implement client-side BCS
This objective may include but is not limited to: use caching, use Microsoft Office apps, use Microsoft Visual Studio Tools for Office, use SQL replication, implement authorization and authentication

Preparation resources
Business Connectivity Services in SharePoint 2013
External content types in SharePoint 2013
BCS client object model reference for SharePoint 2013

Implement user profiles and customize social workload (15–20%)
Manage user profile properties
This objective may include but is not limited to: create and update user profile properties, update privacy filters, map properties to external data, use managed metadata term sets, update profile picture
Manage feeds
This objective may include but is not limited to: use CSOM to follow documents, people, sites, get feeds, create posts, and manage like, reply, mention, tag, link, add pictures
Access user profile data
This objective may include but is not limited to: use CSOM, use the object model, use REST, use Web Services

Preparation resources
Work with user profiles in SharePoint 2013
How to: Learn to read and write to the social feed by using the REST service in SharePoint 2013
Data access options for apps in SharePoint 2013

Implement Enterprise Content Management (ECM) and Web Content Management (WCM) (15–20%)
Implement a multilingual site
This objective may include but is not limited to: submit a page or batch of pages for translation, publish pages, create source and target labels, create channels, implement multi-language site navigation
Implement e-discovery
Exchange Web Services, specify content sources and Search criteria, export discovery sets, manage permissions for hold
Implement Search Engine Optimization (SEO)
This objective may include but is not limited to: create a site map, customize a site map, maintain SEO configuration properties, maintain robots.txt file, maintain SEO properties on term
Implement content management
This objective may include but is not limited to: create information management policies, create content organizer rules, create document sets, create document ID providers
Implement a publishing page
This objective may include but is not limited to: add field controls to a page layout, add web parts to a page layout, create a publishing page layout, inherit content types

Preparation resources
eDiscovery in SharePoint 2013
How to: Create a page layout in SharePoint 2013
Plan web content management in SharePoint Server 2013

Design for performance and troubleshooting (15–20%)
Design solutions to handle a high-traffic site
This objective may include but is not limited to: combine images, implement caching, minimize number of queries, optimize JavaScript loading, use Content Delivery Networks (CDNs), create a scalable aggregator
Design client applications for performance
This objective may include but is not limited to: leverage health score rules, optimize number of batch server requests, use client-side cache, minimize amount of data requested
Monitor and mitigate performance and scalability issues
This objective may include but is not limited to: diagnose application stability issues, debug the server side and app code on the client side, create application diagnostics, measure and test application performance

Preparation resources
Plan for performance and capacity management in SharePoint Server 2013
Solving problems and troubleshooting in SharePoint 2013
Plan for caching and performance in SharePoint Server 2013

Implement Managed Metadata Service (MMS) (15–20%)
Manage term sets
This objective may include but is not limited to: import and export term sets, create multilingual labels, reuse terms, manage term properties, perform translation, create groups, and assign permissions
Create solutions by using MMS
This objective may include but is not limited to: use Profile Pages, use the Product Catalog, use cross-site publishing, integrate with Search, implement metadata-driven navigation
Use an MMS API
This objective may include but is not limited to: use CSOM in client applications, use REST in client applications, use managed fields, use server-side object model

Preparation resources
Managed metadata and navigation in SharePoint 2013
SharePoint 2013: Import a term set from an external source
Cross-site publishing in SharePoint 2013


QUESTION 1
You need to configure the external content type to search for research papers.
Which indexing connector should you use?

A. .NET Type Connector
B. WCF Service Connector
C. Custom Connector
D. SQL Server Connector

Answer: B


QUESTION 2
You need to generate document identifiers for each new document that is uploaded to the site.
What should you do?

A. Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.Documentld and then override all of the abstract methods.
B. Create a derived class that inherits from the abstract class named Microsoft.Office.DocumentManagement.DocumentldProvider and then override all of the virtual members.
C. Create a derived class that inherits from the Microsoft.Office.DocumentManagement.DocumentldProvider abstract class and then implement all abstract members.
D. Create a class to implement the Microsoft.Office.DocumentManagement.IDocumentld interface and then override all of the virtual members.

Answer: B

QUESTION 3
You need to ensure that employees can change their display name.
Which object model should you use?

A. Use the server-side object model.
B. Use a Representational State Transfer (REST) based service.
C. Use the JavaScript object model.
D. Use the .Net client-side object model.

Answer: A


QUESTION 4
You need to search for research papers that contain media files.
What should you do? {Each correct answer presents part of the solution. Choose all that apply.)

A. Add an Association operation from the ResearchPapers.ID field to the Windows Media Service.
B. Use Remote BLOB storage.
C. Add an Association operation from the ResearchPapers.ID field to the TreyResearch external content type.
D. Create a SQL Server-based external content type.

Answer: B,D

Saturday, 2 July 2016

Exam 70-487 Developing Microsoft Azure and Web Services

Published: October 17, 2012
Languages: English, Chinese (Simplified), French, German, Japanese, Portuguese (Brazil)
Audiences: Developers
Technology: Microsoft Visual Studio 2013, Microsoft Azure
Credit toward certification: MCP, MCSD
Skills measured
This exam measures your ability to accomplish the technical tasks listed below. The percentages indicate the relative weight of each major topic area on the exam. The higher the percentage, the more questions you are likely to see on that content area on the exam. View video tutorials about the variety of question types on Microsoft exams.
Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.
Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.
If you have concerns about specific questions on this exam, please submit an exam challenge.
If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.
Starting April 30, 2014, the questions on this exam include content covering Visual Studio 2013 and updates to Microsoft Azure.
Accessing data (20-25%)
Choose data access technologies
Choose a technology (ADO.NET, Entity Framework, WCF Data Services, Azure storage) based on application requirements
Implement caching
Cache static data, apply cache policy (including expirations); use CacheDependency to refresh cache data; query notifications
Implement transactions
Manage transactions by using the API from System.Transactions namespace; implement distributed transactions; specify transaction isolation level
Implement data storage in Azure
Access data storage in Azure; choose data storage mechanism in Azure (blobs, tables, queues, SQL Database); distribute data by using the Content delivery network (CDN); handle exceptions by using retries (SQL Database); manage Azure Caching
Create and implement a WCF Data Services service
Address resources; implement filtering; create a query expression; access payload formats (including JSON); use data service interceptors and service operators
Manipulate XML data structures
Read filter, create, modify XML data structures; Manipulate XML data by using XMLReader, XMLWriter, XMLDocument, XPath, LINQ to XML; transform XML by using XSLT transformations

Preparation resources

Transaction isolation levels
WCF Data Services
XML documents and data
Querying and manipulating data by using Entity Framework (20-25%)
Query and manipulate data by using the Entity Framework
Query, update, and delete data by using DbContext; build a query that uses deferred execution; implement lazy loading and eager loading; create and run compiled queries; query data by using Entity SQL; perform asynchronous operations using Entity Framework; map a stored procedure
Query and manipulate data by using Data Provider for Entity Framework
Query and manipulate data by using Connection, DataReader, and Command from the System.Data.EntityClient namespace; perform synchronous and asynchronous operations; manage transactions (API); programmatically configure a Data Provider
Query data by using LINQ to Entities
Query data by using LINQ operators (for example, project, skip, aggregate, filter, and join); log queries and database commands; implement query boundaries (IQueryable vs. IEnumerable); implement async query
Query and manipulate data by using ADO.NET
Query and manipulate data by using Connection, DataReader, Command, DataAdapter, DataSet; perform synchronous and asynchronous operations; manage transactions (API)
Create an Entity Framework data model
Structure the data model using table per type, table per class, table per hierarchy; choose and implement an approach to manage a data model (code first vs. model first vs. database first); implement POCO objects; describe a data model by using conceptual schema definitions, storage schema definition, mapping language (CSDL, SSDL, MSL), and Custom Code First Conventions
Preparation resources
Entity Framework
Loading related entities
IQueryable<T> Interface
Designing and implementing WCF Services (15-20%)
Create a WCF service
Create contracts (service, data, message, callback, and fault); implement message inspectors; implement asynchronous operations in the service
Configure WCF services by using configuration settings
Configure service behaviors; configure service endpoints; configure bindings including WebSocket bindings; specify a service contract; expose service metadata (XSDs, WSDL, and metadata exchange endpoint); configure message compression and encoding
Configure WCF services by using the API
Configure service behaviors; configure service endpoints; configure binding; specify a service contract; expose service metadata (XSDs, WSDL, and metadata exchange); WCF routing and discovery features
Secure a WCF service
Implement message level security, implement transport level security; implement certificates; design and implement multiple authentication modes
Consume WCF services
Generate proxies by using SvcUtil; generate proxies by creating a service reference; create and implement channel factories
Version a WCF service
Version different types of contracts (message, service, data); configure address, binding, and routing service versioning
Create and configure a WCF service on Azure
Create and configure bindings for WCF services (Azure SDK—extensions to WCF); relay bindings to Azure using service bus endpoints; integrate with the Azure service bus relay
Implement messaging patterns
Implement one way, request/reply, streaming, and duplex communication; implement Azure Service Bus and Azure Queues
Host and manage services
Manage services concurrency (single, multiple, reentrant); create service hosts; choose a hosting mechanism; choose an instancing mode (per call, per session, singleton); activate and manage a service by using AppFabric; implement transactional services; host services in an Azure worker role
Preparation resources
Windows Communication Foundation Services and WCF Data Services in Visual Studio
<bindings>
Forward-Compatible data contracts
Creating and consuming Web API-based services (15-20%)
Design a Web API
Define HTTP resources with HTTP actions; plan appropriate URI space, and map URI space using routing; choose appropriate HTTP method (get, put, post, delete) to meet requirements; choose appropriate format (Web API formats) for responses to meet requirements; plan when to make HTTP actions asynchronous; design and implement routes
Implement a Web API
Accept data in JSON format (in JavaScript, in an AJAX callback); use content negotiation to deliver different data formats to clients; define actions and parameters to handle data binding; use HttpMessageHandler to process client requests and server responses; implement dependency injection, along with the dependency resolver, to create more flexible applications; implement action filters and exception filters to manage controller execution; implement asynchronous and synchronous actions; implement streaming actions; implement SignalR; test Web API web services
Secure a Web API
Implement HTTPBasic authentication over SSL; implement Windows Auth; prevent cross-site request forgery (XSRF); design, implement, and extend authorization and authentication filters to control access to the application; implement Cross Origin Request Sharing (CORS); implement SSO by using OAuth 2.0; configure multiple authentication modes on a single endpoint
Host and manage Web API
Host Web API in an ASP.NET app; self-host a Web API in your own process (a Windows service) including Open Web Interface for .NET (OWIN); host services in an Azure worker role; restrict message size; configure the host server for streaming
Consume Web API web services
Consume Web API services by using HttpClient synchronously and asynchronously; send and receive requests in different formats (JSON/HTML/etc.); request batching
Preparation resources
Getting started with ASP.NET Web API 2 (C#)
Implementing Basic CRUD functionality with the Entity Framework in ASP.NET MVC application
Json class
Deploying web applications and services (15-20%)
Design a deployment strategy
Create an IIS install package; deploy to web farms; deploy a web application by using XCopy; automate a deployment from TFS or Build Server
Choose a deployment strategy for an Azure web application
Perform an in-place upgrade and VIP swap; configure an upgrade domain; create and configure input and internal endpoints; specify operating system configuration; deploy applications using Azure Web Site
Configure a web application for deployment
Switch from production/release mode to debug mode; use SetParameters to set up an IIS app pool; set permissions and passwords; enable and monitor ASP.NET App Suspend; configure WCF endpoints (including HTTPS protocol mapping), bindings, and behaviors; transform web.config by using XSLT (for example, across development, test, and production/release environments); configure Azure configuration settings
Manage packages by using NuGet
Create and configure a NuGet package; install and update an existing NuGet package; connect to a local repository cache for NuGet, set up your own package repository
Create, configure, and publish a web package
Create an IIS InstallPackage; configure the build process to output a web package; apply pre- and post- condition actions to ensure that transformations are correctly applied; include appropriate assets (web content, certificates)
Share assemblies between multiple applications and servers
Prepare the environment for use of assemblies across multiple servers (interning); sign assemblies by using a strong name; deploy assemblies to the global assembly cache; implement assembly versioning; create an assembly manifest; configure assembly binding redirects (for example, from MVC4 to MVC5)
Preparation resources
ASP.NET Web Deployment using Visual Studio: Introduction
How to: Create a Web Deployment Package in Visual Studio
Installing NuGet

QUESTION 1
You need to recommend a data access technology to the contractor to retrieve data from the new data source.
Which data access technology should you recommend?
A. LINQ to XML
B. ADO.NET Entity Framework
C. ADO.NET DataSets
D. WCF Data Services
Answer: D

QUESTION 2
You need to load flight information provided by Consolidated Messenger.
Which should you use?
A. SQL Server Data Transformation Services (DTS)
B. EntityTransaction and EntityCommand
C. Office Open XML
D. OleDbConnection and OleDbDataReader
Answer: D

QUESTION 3
Data provided by Consolidated Messenger is cached in the HttpContext.Cache object.
You need to ensure that the cache is correctly updated when new data arrives.
What should you do?
A. Ensure that the EffectivePrivateBytesLimit value is greater than the size of the database file.
B. Change the sliding expiration of the cache item to 12 hours.
C. Use the SqlCacheDependency type configured with a connection string to the database file.
D. Use the CacheDependency type configured to monitor the SFTP target folder.
Answer: D

QUESTION 4
Historical flight information data will be stored in Windows Azure Table Storage using the FlightInfo class as the table entity.
There are millions of entries in the table. Queries for historical flight information specify a set of airlines to search and whether the query should return only late flights. Results should be ordered by flight name.
You need to specify which properties of the FlightInfo class should be used at the partition and row keys to ensure that query results are returned as quickly as possible.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)
A. Use the WasLate property as the row key.
B. Use the Airline property as the row key.
C. Use the WasLate property as the partition key
D. Use the Arrival property as the row key.
E. Use the Airline property as the partition key.
F. Use the Flight property as the row key.
Answer: B,F

Monday, 27 June 2016

Exam 70-485 Advanced Windows Store App Development Using C#

Published: October 18, 2012
Languages: English, Chinese (Simplified), French, German, Japanese, Portuguese (Brazil)
Audiences: Partners, developers
Technology: Visual Studio 2012
Credit toward certification: MCP, MCSD

Skills measured
This exam measures your ability to accomplish the technical tasks listed below. The percentages indicate the relative weight of each major topic area on the exam. The higher the percentage, the more questions you are likely to see on that content area on the exam. View video tutorials about the variety of question types on Microsoft exams.

Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.

Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.

If you have concerns about specific questions on this exam, please submit an exam challenge.

If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.

As of December 2, 2013, this exam includes content covering Windows 8.1 and Visual Studio 2013.

Develop Windows Store apps (15–20%)
Create background tasks
Implement the Windows.applicationmodel.background classes; implement the IBackgroundTask interface
Consume background tasks
Use timing and system triggers; keep communication channels open; request lock screen access; use the BackgroundTransfer class to finish downloads
Create and consume WinMD components
Create a WinMD component in C#; consume a WinMD component; handle WinMD reference types; reference a WinMD component

Preparation resources
Background task sample
Windows Runtime Components in a .NET World

Discover and interact with devices (15–20%)
Capture media with the camera and microphone
Use CameraCaptureUI to capture pictures or video; use MediaCapture to capture pictures, video, or audio; configure camera settings; set media formats; handle media capture events; implement advanced photo capabilities, such as sequence mode, thumbnails, and focus mode
Get data from sensors
Determine the availability of a sensor (Windows.devices.sensors); add sensor requests to the app manifest; handle sensor events; get sensor properties; determine location via GPS; enable geofencing
Enumerate and discover device capabilities
Discover the capabilities of a device (for example, GPS, accelerometer, near field communication, and camera)
Implement device access
USB; Bluetooth; Human Interface Device (HID); 3D printer support; Point of Service (PoS) devices

Preparation resources
CameraCaptureUI Sample
Bluetooth device support
USB device support

Program user interaction (15–20%)
Implement printing by using contracts and charms
Implement the print contract; create a custom print template; construct a print preview; handle print pagination; implement in-app printing; expose printer settings within your app
Implement Play To by using contracts and charms
Register your app for Play To; use PlayToManager to stream media assets; register your app as a PlayToReceiver; programmatically implement Play To functionality
Notify users by using Windows Push Notification Service (WNS)
Authenticate with WNS; request, create, and save a notification channel; call and poll the WNS; configure and implement push notifications by using Azure Mobile Services

Preparation resources
Azure Mobile Services for Windows Store app and Android app developers

Enhance the user interface (15–20%)
Design for and implement UI responsiveness
Choose an asynchronous strategy for your app; implement the Task Parallel library for multi-processor utilization; convert asynchronous operations to tasks
Create animations and transitions
Apply animations from the animation library; create and customize animations and transitions, including XAML transitions; implement storyboards and transformations; utilize built-in animations for controls
Create custom controls
Choose the appropriate base control to create a custom control template; style a control through control templates; design the control template to respond to changes in windowing modes
Design Windows Store apps for globalization and localization
Implement .resw files to translate text; implement collation and grouping to support different reading directions; implement culture-specific formatting for dates and times

Preparation resources
XAML user and custom controls sample
Globalizing your app (Windows Store apps using JavaScript and HTML)

Manage data and security (15–20%)
Design and implement data caching
Choose which types of items (user data, settings, app data) in an app should be persisted to the cache according to requirements; choose when items are cached; choose where items are cached (Microsoft Azure, Azure Mobile Services, remote storage); select the caching mechanism; store data by using LocalStorage and SessionStorage
Save and retrieve files from the file system
Handle file streams; save and retrieve files by using StorageFile and StorageFolder classes; set file extensions and associations; save and retrieve files by using the file picker classes; compress files to save space; access libraries and KnownFolders, for example, pictures, documents, and videos; manage appearance of the file picker; improve searchability by using Windows Index; integrate OneDrive with apps; compare files; manage libraries; secure application data
Secure app data
Encrypt data by using the Windows.Security.Cryptography namespace; enroll and request certificates; encrypt data by using certificates; revoke file permissions

Prepare for a solution deployment (15–20%)
Design and implement monetization features in an app
Set up a timed trial; set up a feature-based trial; set up in-app purchases; transition an app from trial to full; implement in-app purchases
Design for error handling
Design the app so that errors and exceptions never reach the user; application class for global collection; handle device capability errors; handle asynchronous errors
Design and implement a test strategy
Recommend a functional test plan; implement a coded UI test; recommend a reliability test plan (performance testing, stress testing, scalability testing, duration testing); implement unit testing in an app; simulate in-app purchases
Design a diagnostics and monitoring strategy
Design profiling, tracing, performance counters, audit trails (events and information), and usage reporting; decide where to log events (local vs. centralized reporting)
Evaluate and configure for Windows store deployment
Configure app options to submit to store, such as age restrictions, privacy statement, permissions, images, and contact information; create application files, resource files, and application bundles; verify application readiness by using the Windows Application Certification Kit (WACK)

Preparation resources
Testing Windows Store Apps
Debugging and testing


QUESTION 1
You need to implement the requirements for the playback of media.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add the following line of code at line MC02. private void ShowPlayTo()

{
Windows.Media.PlayTo.PlayToManager.ShowPlayToUI();
}

B. Add the following line of code at line MC06. ptMgr.DefauitSourceSelection = false;
C. Add the following line of code at line MC10. ptMgr.PlayRequested += SourceRequestHandler;
D. Add the following line of code at line MC05. ptMgr.SourceRequested += SourceRequestHandler;

Answer: B,D

QUESTION 2
You need to ensure that the VideoProcessor component can be used by the Windows Store app.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add the following attribute to line IP19. [Windows.Foundation.Metadata.DefaultOverload()]
B. Replace line IP01 with the following line of code. Static class VideoProcessor
C. Replace line IP09 with the following line of code. PublicVideoProcessor(string videoName, int ID)
D. Add the following attribute to line IP14. [Windows.Foundation.Metadata.DefaultOverload()]
E. Replace line IP01 with the following line of code. Public sealed class VideoProcessor

Answer: A,C,E

QUESTION 3
You need to implement the requirements for streaming media.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Enable access to the Videos Library.
B. Ensure that the app stays in the foreground while media is being streamed.
C. Enable access to the Pictures Library.
D. Register for the SourceRequested event.
E. Enable access to the Music Library.
F. Register for the PlayRequested event.

Answer: A,D

Explanation: From scenario:
Team members must be able to stream video clips to other devices in the vicinity of the team member's device. The app will not support the streaming of photographs.
D: You can use Play To to stream the audio or video in your application, as well as images, by implementing the Play To contract. To implement the Play To contract in your application, register for the sourceRequested event.
Note:
To register for the sourceRequested event, get a reference to the current PlayToManager by calling the getForCurrentView method. You can then call addEventHandler on the PlayToManager to associate your event handler with the sourceRequested event. In your event handler, pass the media element from your application to the setSource method of the PlayToSourceRequestedEventArgs object passed to the event handler as shown in the following example.
// Play To Contract
private Windows.Media.PlayTo.PlayToManager ptm = Windows.Media.PlayTo.PlayToManager.GetForCurrentView();
protected override void OnNavigatedTo(NavigationEventArgs e)
{
ptm.SourceRequested += sourceRequestHandler;
}
private void sourceRequestHandler( Etc.


QUESTION 4
You need to implement the behavior requirements for the photo viewer.
Which controls should you create?

A. Create two SemanticZoom controls and one ListView control.
B. Create one SemanticZoom control and one ListView control.
C. Create one ScrollViewer control, one SemanticZoom control, and one GridView control.
D. Create two GridView controls and one SemanticZoom control.

Answer: D


QUESTION 5
You need to implement the photo viewer control to meet the requirements.
What should you do? (Each correct answer presents part of the solution. Choose all that apply.)

A. Add the themes\generic.xaml file to the project and reference it from the control.
B. Create a composite control.
C. Create a user control.
D. Create a custom control.
E. In the constructor of the class, set the value of the DefaultStyleKey to the type of the control.

Answer: C,D,E


Friday, 24 June 2016

Exam 70-484 Essentials of Developing Windows Store Apps Using C#

Published: October 23, 2012
Languages: English, Chinese (Simplified), French, German, Japanese, Portuguese (Brazil)
Audiences: Partners, developers Technology Visual Studio 2012
Credit toward certification: MCP, MCSD

Skills measured
This exam measures your ability to accomplish the technical tasks listed below. The percentages indicate the relative weight of each major topic area on the exam. The higher the percentage, the more questions you are likely to see on that content area on the exam. View video tutorials about the variety of question types on Microsoft exams.

Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.

Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.

If you have concerns about specific questions on this exam, please submit an exam challenge.

If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.

Design Windows Store apps (20-25%)
Design the UI layout and structure
Evaluate the conceptual design and decide how the UI will be composed; design for the inheritance and re-use of visual elements (e.g., styles, resources); design for accessibility; decide when custom controls are needed; use the Hub App template
Design for separation of concerns (SOC)
Plan the logical layers of your solution to meet app requirements; design loosely coupled layers; incorporate WinMD components
Apply the MVVM pattern to your app design
Design and implement the appropriate data model to support business entities; design your viewmodel to support your view based on your model; develop a view to meet data-binding requirements; create view models using INotifyPropertyChanged, ObservableCollection, and CollectionViewSource
Design and implement Process Lifetime Management (PLM)
Choose a state management strategy; handle the suspend event; prepare for app termination; handle the Resume event; handle the OnActivated event; check the ActivationKind and previous state
Plan for an app deployment
Plan a deployment based on Windows Store app certification requirements; prepare an app manifest (capabilities and declarations); sign an app; plan the requirements for an enterprise deployment

Develop Windows Store apps (15-20%)
Access and display contacts
Call the ContactsPicker class; filter which contacts to display; display a set number of contacts; create and modify contact information; select specific contact data
Design for charms and contracts
Choose the appropriate charm based on app requirements; design your app in a charm- and contract-aware manner; configure app manifest for correct permissions
Implement search
Provide search suggestions using the SearchPane class and SearchBox control; search for and launch other apps; provide and constrain search within an app, including inside and outside of Search charm; provide search result previews; implement activation from within search; configure search contracts
Implement Share in an app
Use the DataTransferManager class to share data with other apps; accept sharing requests by implementing activation from within Share; limit the scope of sharing using the DataPackage object; implement in-app Share outside of Share charm; use web links and application links
Manage app settings and preferences
Choose which app features are accessed in AppSettings; add entry points for AppSettings in the Settings window; create settings flyouts; store and retrieve settings from the roaming app data store
Integrate media features
Support DDS images; implement video playback; implement XVP and DXVA; implement Text to Speech (TTS)

Create the user interface (20-25%)
Create layout aware apps to handle windowing modes
Respond to changes in orientation; adapt to new windowing modes by using the ViewManagement namespace; manage settings for an apps view
Implement layout controls
Implement the Grid control to structure your layout; set the number of rows/columns and size; enable zoom and scroll capabilities in layout controls; manage text flow and presentation
Design and implement the app/nav bar
Determine what to put on the app/nav bar based on app requirements; style and position app/nav bar items; design the placement of controls on the app/nav bar; handle app/nav bar events; design the placement of controls on the app/nav bar
Design and implement data presentation
Choose and implement data controls and properties to meet app requirements (e.g., ListView, GridView, FlipView, DatePicker, TimePicker, Hyperlink, PlaceholderText, menu flyouts, and CommandBar); create data templates to meet app requirements
Create and manage XAML styles and templates
Implement and extend styles and templates; implement gradients; modify styles based on event and property triggers; create shared resources and themes

Preparation resources
XAML AppBar control sample

Program the user interaction (20-25%)
Create and manage tiles
Create and update tiles and tile contents; create and update badges (TileUpdateManager class); respond to notification requests; choose an appropriate tile update schedule based on app requirements
Notify users by using toast
Enable an app for toast notifications; populate toast notifications with images and text using the ToastUpdateManager class; play sounds with toast notifications; respond to toast events; control toast duration; configure and use Azure Mobile Services for push notifications
Manage input devices
Capture Gesture library events; create custom gesture recognizers; listen to mouse events or touch gestures; manage Stylus input and inking
Design and implement navigation in an app
Handle navigation events, check navigation properties, and call navigation functions by using the Navigation framework; design navigation to meet app requirements; Semantic Zoom

Preparation resources
Tile and tile notification overview (Windows Store apps)
Toast notification overview (Windows Store apps)
Navigation model (using C#/VB/C++ and XAML)

Manage security and data (20-25%)
Choose an appropriate data access strategy
Choose the appropriate data access strategy (file based, web service, remote storage, including Microsoft Azure storage and Azure Mobile Services) based on requirements
Retrieve data remotely
Use HttpClient to retrieve web services; set the appropriate HTTP verb for REST; consume SOAP/WCF services; use WebSockets for bi-directional communication; handle the progress of data requests
Implement data binding
Choose and implement data-bound controls; bind collections to items controls; implement the IValueConverter interface; create and set dependency properties; validate user input; enable filtering, grouping, and sorting data in the user interface
Manage Windows Authentication and Authorization
Retrieve a user's roles or claims; store and retrieve credentials by using the PasswordVault class; implement the CredentialPicker class; verify credential existence by using credential locker; store account credentials in app settings
Manage Web Authentication
Use the Windows.Security.Authentication.Web namespace; set up oAuth2 for authentication; implement the CredentialPicker class; set up single sign-on (SSO); implement credential roaming; implement the WebAuthenticationBroker class; support proxy authentication for enterprises

Preparation resources
Connecting to web services (Windows Store apps using C#/VB/C++ and XAML)
Data binding overview (Windows Store apps using C#/VB/C++ and XAML)
Managing user info (Windows Store apps using C#/VB/C++ and XAML)

QUESTION 1
You need to ensure that launching the app displays the required information.
From which ApplicationExecutionState enumeration should you configure the user interface state?

A. ClosedByUser
B. Suspended
C. NotRunning
D. Running
E. Terminated

Answer: E

Explanation: The user closes the app through the close gesture or Alt+F4 and takes longer than 10 seconds to activate the app again.
*From scenario: The app must meet the following technical requirements: Retain state for each user and each device.
Restore previously saved state each time the app is launched.
Your app can use activation to restore previously saved data in the event that the operating system terminates your app, and subsequently the user re-launches it. The OS may terminate your app after it has been suspended for a number of reasons. The user may manually close your app, or sign out, or the system may be running low on resources.
Ref: http://msdn.microsoft.com/en-us/library/windows/apps/hh464925.aspx


QUESTION 2
You need to choose the appropriate data binding strategy for the image list box.
Which method should you use?

A. System.Drawing.ImageConverter.ConvertToString()
B. IValueConverter.ConvertBack()
C. IValueConverter.Convert()
D. System.Drawing. ImageConverter-ConvertFromStrin()

Answer: C

Explanation: IValueConverter.Convert
The data binding engine calls this method when it propagates a value from the binding source to the binding target.

QUESTION 3
You need to ensure that only the correct information is preserved when the user switches to another app.
Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)

A. Save application state by calling the SaveDataToRoamingStorage() method,
B. Save photographs by calling the SaveDataToLocalStorage() method.
C. Save photographs by calling the SaveDataToWebService() method.
D. save application state by calling the SaveDataToLocalStorage() method.

Answer: A,B

Explanation: A: From scenario: The app must meet the following technical requirements: Retain state for each user and each device.
B: From scenario: The app must store cached images on the device only


QUESTION 4
You need to ensure that the app resumes according to the requirements.
Which actions should you perform? (Each correct answer presents part of the solution. Choose all that apply.)

A. Retrieve new user content by using the Window.Current.Dispatcher.ProcessEvents()
method in the App_Resuming event handler.
B. update the user interface by using the Window.Current.Dispatcher.Invoke() method in the App_Resuming event handler.
C. Override the OnLaunched event handler.
D. Retrieve new user content by using the Window.Current.Dispatcher.ProcessEvents() method in the OnLaunched event handler when the ActivationKind is Launch.
E. Update the user interface by using the Window.Current.Dispatcher.Invoke() method in the OnLaunched event handler when the ActivationKind is Launch.
F. Register the App_Resuming event handler for the Resuming event.

Answer: A,B

Explanation:
From scenario:
The app must meet the following technical requirements:
/ When the app resumes after a period of suspension, refresh the user interface, tile images, and data with current information from the web service.


QUESTION 5
You need to choose the appropriate data binding strategy for the image list box.
Which method should you use?

A. System.Drawing.ImageConverter.ConvertTo(value, typeof(Image))
B. IValueConverter.Convert()
C. System.Drawing.ImageConverter.ConvertFrom(value, typeof(Image), CultureInfo.CurrentUICulture)
D. IValueConverter.ConvertBack ()

Answer: B

Explanation: IValueConverter.Convert
The data binding engine calls this method when it propagates a value from the binding source to the binding target.


Monday, 20 June 2016

Exam 70-483 Programming in C#

Published: October 12, 2012
Languages: English, Chinese (Simplified), French, German, Japanese, Portuguese (Brazil)
Audiences: Developers
Technology: Visual Studio 2012
Credit toward certification: MCP, MCSD

Skills measured
This exam measures your ability to accomplish the technical tasks listed below. The percentages indicate the relative weight of each major topic area on the exam. The higher the percentage, the more questions you are likely to see on that content area on the exam. View video tutorials about the variety of question types on Microsoft exams.

Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.

Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.

If you have concerns about specific questions on this exam, please submit an exam challenge.

If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.

Manage program flow (25–30%)
Implement multithreading and asynchronous processing
Use the Task Parallel library (ParallelFor, Plinq, Tasks); create continuation tasks; spawn threads by using ThreadPool; unblock the UI; use async and await keywords; manage data by using concurrent collections
Manage multithreading
Synchronize resources; implement locking; cancel a long-running task; implement thread-safe methods to handle race conditions
Implement program flow
Iterate across collection and array items; program decisions by using switch statements, if/then, and operators; evaluate expressions
Create and implement events and callbacks
Create event handlers; subscribe to and unsubscribe from events; use built-in delegate types to create events; create delegates; lambda expressions; anonymous methods
Implement exception handling
Handle exception types (SQL exceptions, network exceptions, communication exceptions, network timeout exceptions); catch typed vs. base exceptions; implement try-catch-finally blocks; throw exceptions; determine when to rethrow vs. throw; create custom exceptions

Preparation resources
Asynchronous programming with Async and Await (C# and Visual Basic)
Threading (C# and Visual Basic)
Selection statements (C# reference)

Create and use types (25–30%)
Create types
Create value types (structs, enum), reference types, generic types, constructors, static variables, methods, classes, extension methods, optional and named parameters, and indexed properties; create overloaded and overriden methods
Consume types
Box or unbox to convert between value types; cast types; convert types; handle dynamic types; ensure interoperability with unmanaged code, for example, dynamic keyword
Enforce encapsulation
Enforce encapsulation by using properties, by using accessors (public, private, protected), and by using explicit interface implementation
Create and implement a class hierarchy
Design and implement an interface; inherit from a base class; create and implement classes based on the IComparable, IEnumerable, IDisposable, and IUnknown interfaces
Find, execute, and create types at runtime by using reflection
Create and apply attributes; read attributes; generate code at runtime by using CodeDom and lambda expressions; use types from the System.Reflection namespace (Assembly, PropertyInfo, MethodInfo, Type)
Manage the object life cycle
Manage unmanaged resources; implement IDisposable, including interaction with finalization; manage IDisposable by using the Using statement; manage finalization and garbage collection
Manipulate strings
Manipulate strings by using the StringBuilder, StringWriter, and StringReader classes; search strings; enumerate string methods; format strings

Preparation resources
Types (C# programming guide)
Classes and structs (C# programming guide)
Object-oriented programming (C# and Visual Basic)

Debug applications and implement security (25–30%)
Validate application input
Validate JSON data; data collection types; manage data integrity; evaluate a regular expression to validate the input format; use built-in functions to validate data type and content out of scope: writing regular expressions
Perform symmetric and asymmetric encryption
Choose an appropriate encryption algorithm; manage and create certificates; implement key management; implement the System.Security namespace; hashing data; encrypt streams
Manage assemblies
Version assemblies; sign assemblies using strong names; implement side-by-side hosting; put an assembly in the global assembly cache; create a WinMD assembly
Debug an application
Create and manage compiler directives; choose an appropriate build type; manage programming database files and symbols
Implement diagnostics in an application
Implement logging and tracing; profiling applications; create and monitor performance counters; write to the event log

Preparation resources
Validating data
.NET Framework regular expressions

Implement data access (25–30%)
Perform I/O operations
Read and write files and streams; read and write from the network by using classes in the System.Net namespace; implement asynchronous I/O operations
Consume data
Retrieve data from a database; update data in a database; consume JSON and XML data; retrieve data by using web services
Query and manipulate data and objects by using LINQ
Query data by using operators (projection, join, group, take, skip, aggregate); create method-based LINQ queries; query data by using query comprehension syntax; select data by using anonymous types; force execution of a query; read, filter, create, and modify data structures by using LINQ to XML
Serialize and deserialize data
Serialize and deserialize data by using binary serialization, custom serialization, XML Serializer, JSON Serializer, and Data Contract Serializer
Store data in and retrieve data from collections
Store and retrieve data by using dictionaries, arrays, lists, sets, and queues; choose a collection type; initialize a collection; add and remove items from a collection; use typed vs. non-typed collections; implement custom collections; implement collection interfaces

Preparation resources
File system and the registry (C# programming guide)
Connecting to data in Visual Studio
Editing data in your application

QUESTION 1
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain
named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the use of
the Queue <T> collection type.
Which of the following is TRUE with regards to the Queue <T>collection type?

A. It represents a first in, first out (FIFO) collection of objects.
B. It represents a last in, first out (LIFO) collection of objects.
C. It represents a collection of key/value pairs that are sorted by key based on the associated
IComparer<T> implementation.
D. It represents a list of objects that can be accessed by index.

Answer: A

Explanation:


QUESTION 2
You work as a developer at ABC.com. The ABC.com network consists of a single domain named
ABC.com.
You have written the following code segment:
int[] filteredEmployeeIds = employeeIds.Distinct().Where(value => value !=
employeeIdToRemove).OrderByDescending(x => x).ToArray();
Which of the following describes reasons for writing this code? (Choose two.)

A. To sort the array in order from the highest value to the lowest value.
B. To sort the array in order from the lowest value to the highest value.
C. To remove duplicate integers from the employeeIds array.
D. To remove all integers from the employeeIds array.

Answer: A,C

Explanation:


QUESTION 3
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the use of a
method that moves the SqlDataReader on to the subsequent record.
Which of the following is the SqlDataReader method that allows for this?

A. The Read method.
B. The Next method.
C. The Result method.
D. The NextResult method.

Answer: A

Explanation:


QUESTION 4
You work as a developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You have received instructions to create a custom collection for ABC.com. Objects in the
collection must be processed via a foreach loop.
Which of the following is TRUE with regards to the required code?

A. The code should implement the ICollection interface.
B. The code should implement the IComparer interface.
C. The code should implement the IEnumerable interface.
D. The code should implement the IEnumerator interface.

Answer: C

Explanation:


QUESTION 5
You work as a senior developer at ABC.com. The ABC.com network consists of a single domain named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the use of LINQ queries.
Which of the following is NOT considered a distinct action of a LINQ query?

A. Creating the query.
B. Obtaining the data source.
C. Creating the data source.
D. Executing the query.

Answer: C

Explanation:

Thursday, 9 June 2016

Exam 70-475 Designing and Implementing Big Data Analytics Solutions

Published: October 27, 2015
Languages: English
Audiences: IT Professionals
Technology: Microsoft Azure
Credit toward certification: Specialist

Skills measured
This exam measures your ability to accomplish the technical tasks listed below. View video tutorials about the variety of question types on Microsoft exams.

Please note that the questions may test on, but will not be limited to, the topics described in the bulleted text.

Do you have feedback about the relevance of the skills measured on this exam? Please send Microsoft your comments. All feedback will be reviewed and incorporated as appropriate while still maintaining the validity and reliability of the certification process. Note that Microsoft will not respond directly to your feedback. We appreciate your input in ensuring the quality of the Microsoft Certification program.

If you have concerns about specific questions on this exam, please submit an exam challenge.

If you have other questions or feedback about Microsoft Certification exams or about the certification program, registration, or promotions, please contact your Regional Service Center.

Design big data batch processing and interactive solutions (20-25%)
Ingest data for batch and interactive processing, design and provision compute clusters, design for data security, design for batch processing, design interactive queries for big data

Design big data real-time processing solutions (25-30%)
Ingest data for real-time processing, design and provision compute resources, design for lambda architecture, design for real-time processing

Design machine-learning solutions (25-30%)
Create and manage experiments, determine when to pre-process or train inside Machine Learning Studio, select input/output types, apply custom processing steps with R and Python, publish web services

Operationalize end-to-end cloud analytics solutions (25-30%)
Create a data factory, orchestrate data processing activities in a data-driven workflow, monitor and manage the data factory, move, transform, and analyze data

Friday, 3 June 2016

Microsoft rolls out SQL Server 2016 with a special deal to woo Oracle customers

The Linux version is slated to arrive next year

The next version of Microsoft's SQL Server relational database management system is now available, and along with it comes a special offer designed specifically to woo Oracle customers.

Until the end of this month, Oracle users can migrate their databases to SQL Server 2016 and receive the necessary licenses for free with a subscription to Microsoft's Software Assurance maintenance program.

Microsoft announced the June 1 release date for SQL Server 2016 early last month. Among the more notable enhancements it brings are updateable, in-memory column stores and advanced analytics. As a result, applications can now deploy sophisticated analytics and machine learning models within the database at performance levels as much as 100 times faster than what they'd be outside it, Microsoft said.

The software's new Always Encrypted feature helps protect data at rest and in memory, while Stretch Database aims to reduce storage costs while keeping data available for querying in Microsoft's Azure cloud. A new Polybase tool allows you to run queries on external data in Hadoop or Azure blob storage.

Also included are JSON support, "significantly faster" geospatial query support, a feature called Temporal Tables for "traveling back in time" and a Query Store for ensuring performance consistency.

SQL Server 2016 features were first released in Microsoft Azure and stress-tested through more than 1.7 million Azure SQL DB databases. The software comes in Enterprise and Standard editions along with free Developer and Express versions.

Support for SQL Server 2005 ended in April.

Though Wednesday's announcement didn't mention it, Microsoft previously said it's planning to bring SQL Server to Linux. That version is now due to be released in the middle of next year, Microsoft said.