Published: May 13, 2013
Languages: English
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. 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 the application architecture
Design and implement the Microsoft Azure role life cycle
Identify and implement Start, Run, and Stop events; identify startup tasks (Internet Information Services [IIS] configuration [app pool], registry configuration, third-party tools)
Preparation resources
Developing and deploying Windows Azure cloud services using Visual Studio
Getting started with the Azure tools for Visual Studio
Best practices for startup tasks
Design the user experience (UX)
Design and implement user interface (UI) behavior
Implement client validation, use JavaScript and the document object model (DOM) to control application behavior, extend objects by using prototypal inheritance, use AJAX to make partial page updates, implement the UI by using jQuery
Preparation resources
Walkthrough: Validating user input in a Web Forms page
jQuery code snippets
Develop the user experience
Plan and implement globalization and localization
Plan a localization strategy; create and apply resources to UI, including JavaScript resources; set cultures; create satellite resource assemblies
Design and implement model–view–controller (MVC) controllers and actions
Apply authorization attributes and global filters, implement action behaviors, implement action results, implement model binding
Control application behavior by using MVC extensibility points
Implement MVC filters and controller factories; control application behavior by using action results, viewengines, model binders, and route handlers
Reduce network bandwidth
Bundle and minify scripts (CSS and JavaScript); compress and decompress data (using gzip/deflate; storage); plan a content delivery network (CDN) strategy, such as Azure Content Delivery Network (CDN)
Preparation resources
Globalizing and localizing .NET Framework applications
The life and times of an ASP.NET MVC controller
Content Delivery Network
Troubleshoot and debug web applications
Debug an Azure application
Collect diagnostic information by using Azure Diagnostics API Implement on demand versus scheduled, choose log types (for example, event logs, performance counters, and crash dumps), debug an Azure application by using IntelliTrace and Remote Desktop Protocol (RDP)
Preparation resources
How to: Debug web applications
Debugging web applications: Errors and troubleshooting
How to: Collect IntelliTrace data to help debug difficult issues
Design and implement security
Design and implement claims-based authentication across federated identity stores
Implement federated authentication by using Azure Access Control Service, create a custom security token by using Windows Identity Foundation, handle token formats (for example, oAuth, OpenID, LiveID, and Facebook) for Security Assertion Markup Language (SAML) and (Simple Web Token) SWT tokens
Preparation resources
A guide to claims-based identity and access control (second edition)
Federated identity with Windows Azure Access Control Service
Token handlers
Access data
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 CDN, handle exceptions by using retries (SQL Database), manage Azure caching
Create and configure a Windows Communication Foundation (WCF) service on Azure
Address resources, implement filtering, create a query expression, access payload formats (including JSON), use data service interceptors and service operators
Preparation resources
Windows Azure Table Storage and Windows Azure SQL Database – compared and contrasted
How to use blob storage from .NET
Host and use WCF Services in Windows Azure (CSAzureWCFServices)
Design and implement WCF Services
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
Message patterns in WCF Services
Service Bus
Hosting services
Deploy web applications and services
Design a Web API
Define https: resources with https: actions; plan appropriate URI space, and map URI space using routing; choose appropriate https: method (get, put, post, delete) to meet requirements; choose appropriate format (Web API formats) for responses to meet requirements; plan when to make https: actions asynchronous
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
Secure a Web API
Implement https: Basic Authentication over SSL, implement Windows Auth, enable cross-domain requests, prevent cross-site request forgery (XSRF), implement and extend authorization filters to control access to the application
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), 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, and others)
Preparation resources
ASP.NET Web API
Enabling and customizing ASP.NET Web API services security
ASP.NET Web API self-host
Deploy web applications and services
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
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 MVC2 to MVC3 or MVC4)
Preparation resources
Manage project libraries with NuGet
NuGet Package Manager
How to: Share an assembly with other applications (C# and Visual Basic)
QUESTION 1
You are developing an ASP.NET MVC application.
The application must allow users to enter JavaScript in a feedback text box only.
You need to disable request validation.
What should you do?
A. Apply and set the CausesClientSideValidation attribute on the text box to FALSE.
B. Apply and set the ValidateInput attribute on the text box to FALSE.
C. Use the HttpRequest.Unvalidated property to read the unvalidated form value.
D. Use the HttpRequest.Form property to read the unvalidated form value.
Answer: C
QUESTION 2
You are developing an ASP.NET MVC application. The application is deployed in a web farm and is accessed by many users.
The application must handle web server failures gracefully. The servers in the farm must share the state information.
You need to persist the application state during the session.
What should you implement?
A. A state server
B. Cookieless sessions
C. A web garden on the web servers
D. An InProc session
Answer: A
QUESTION 3
You are developing an ASP.NET MVC application by using Visual Studio 2012. The application throws and handles exceptions when it runs.
You need to examine the state of the application when exceptions are thrown. What should you do?
A. From the DEBUG menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.
B. From the DEBUG menu in Visual Studio 2012, select Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions.
C. Add the following code to the Web.config file of the application.
<customErrors mode=”On”>
<error statusCode=”500″ redirect=”CustomErrors.html” /> </customErrors>
D. Add the following code to the Web.config file of the application. <customErrors mode=”On” >
<error statusCode=”404″ redirect=”CustomErrors.html”/> </customErrors>
Answer: A
QUESTION 4
You are designing a distributed application that runs on the Windows Azure platform.
The application must store a small amount of insecure global information that does not change frequently.
You need to configure the application to meet the requirements.
Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Windows Azure application state
B. Sql Azure
C. Profile properties of the Windows Azure application
D. Windows Azure session state
Answer: B,D
Explanation: SQL Database provides a relational database management system for
Windows Azure and is based on SQL Server technology. With a SQL Database instance, you can easily provision and deploy relational database solutions to the cloud, and take advantage of a distributed data center that provides enterprise-class availability, scalability, and security with the benefits of built-in data protection and self-healing.
Session States in Windows Azure.
If you are a Web developer, you are probably very familiar with managing user state – that is you are familiar with tracking user activity and actions across several request-response exchanges that occur in Web applications. Since https: is a stateless protocol, developers over the years have developed all sorts of means to manage state. You’ll even find an MSDN page providing alternatives and recommendations for state management here. Cookies, hidden fields, and query strings are some client-side options to tracking user state. When it comes to managing that state on the server-side, most Web developers rely on session objects.
QUESTION 5
You are designing a distributed application.
The application must store a small amount of insecure global information that does not
change frequently.
You need to configure the application to meet the requirements.
Which server-side state management option should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Application state
B. Session state
C. Database support
D. Profile properties
Answer: A,C
Click here to view complete Q&A of 70-492 exam
Certkingdom Review
Best Microsoft MCTS Certification, Microsoft 70-492 Training at certkingdom.com