70-486 - Developing ASP.NET MVC 4 Web Applications

Go back to Microsoft

Exam FAQ

How much does the 70-486 exam cost? What is the best way to study for the 70-486 exam?

Example Questions

You have received instructions to improve the execution of the audiovisual media transfer. 13 You are preparing to write the necessary code. Which of the following actions should you take? You are employed as a developer at . has a single Active Directory domain, named . You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for . You are currently running a training exercise for junior developers. You are discussing the HttpWorkerRequest methods. You are currently dealing with a method that returns all nonstandard HTTP header name-value pairs. Which of the following is the method being discussed? You are developing an ASP.NET MVC web application in Visual Studio 2012. The application requires several thousand content files. All content is hosted on the same IIS instance as the application. You detect performance issues when the application starts. You need to resolve the performance issues. What should you do? 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 short-term state information. You need to persist the application state during the session. What should you implement? You are developing an ASP.NET MVC application that displays stock market information. The stock market information updates frequently and must be displayed in real-time. You need to eliminate unnecessary header data, minimize latency, and transmit data over a full-duplex connection. What should you do? You are developing an ASP.NET MVC application that will be deployed to servers on multiple networks. The application must be compatible with multiple browsers. You must track the page number that the user is viewing in search results. You need to program the location for storing state information. Where should you persist state information? 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.) B\Batch 2 If the canvas element is supported by the client browser, the application must display "London 2012" in the footer as text formatted by JavaScript at the end of the _Layout.cshtml file. You need to modify the layout to ensure that "London 2012" is displayed as either formatted text or as plain text, depending on what the client browser supports. Which code segment should you add? You have been instructed to meet the business requirements with regards to security. You are required to make changes to the CyclingLogController. Which of the following actions should you take? 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.) You are developing an ASP.NET MVC news aggregation application that will be deployed to servers on multiple networks. The application must be compatible with multiple browsers. A user can search the website for news articles. You must track the page number that the user is viewing in search results. You need to program the location for storing state information about the user's search. What should you do? You need to display the "miles" unit description after the distance in the GetLog view. Which line of code should you use to replace line GL21? (Each correct answer presents a complete solution. Choose all that apply.) You are developing an ASP.NET MVC application that will be deployed on a web farm. Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable You need to encrypt the passwords that are stored in the web.config file. Which command-line tool should you use? 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? You have received instructions to make sure that IIS errors are handled in accordance with the prerequisites. Which of the following actions should you take? You have been instructed to make sure that developers have the ability to access a Windows Azure role via RDP. You start by exporting a certificate with a private key. Which of the following actions should you take NEXT? A \Batch 2 You updated the web.config file with the HTTP run-time value required to display an alternative version of the site. You need to ensure that the correct page displays to the users. Which code segment should you use to update the controller? You are designing an HTML5 website. You need to design the interface to make the content of the web page viewable in all types of browsers, including voice recognition software, screen readers, and reading pens. What should you do? (Each correct answer presents a complete solution. Choose all that apply.) You are developing an ASP.NET MVC application. You need to authenticate clients by using an ASP.NET membership database. Which authentication method should you implement? A / Batch 3 You are creating a new authentication system that uses an HTTP header value. The existing authentication system must continue to operate normally. You need to implement the custom authentication. What should you do? (Each correct answer presents a complete solution. Choose all that apply.) A \Batch 2 You are designing a Windows Communication Foundation (WCF) service that uses the Product class. You need to update the class to meet the storage requirement. What should you do? (Each correct answer presents part of the solution. Choose all that apply.) You are employed as a developer at . has a single Active Directory domain, named . You have recently developed an ASP.NET application for . You are planning to assess the new application by running tests that target the application's business layer. Which of the following actions should you take? You are employed as a developer at . has a single Active Directory domain, named . You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for . You are currently running a training exercise for junior developers. You are discussing an HttpRequest property that returns the physical file system path that matches the requested URL. Which of the following is the property being discussed? You need to ensure that developers can connect to a Windows Azure role by using RDP. What should you do? You are employed as a developer at . has a single Active Directory domain, named . You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for . Upon initialization of the application, you find that exceptions are thrown and handled. You are required to find out what the state of the application is at the time of the exception being thrown. You should consider selecting Exceptions from the DEBUG menu in Visual Studio 2012. Which of the following actions should you take? (Choose all that apply.) You are authoring unit tests. The unit tests must test code that consumes sealed classes. You need to create, maintain, and inject dependencies in the unit tests. Which isolation method should you use? You need to modify the application to meet the productId requirement. What should you do? A\Batch 1 You need to make the "Distance" header of the table bold in the Views/RunLog/GetLog.cshtml view. Which code segment should you use? 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? You are developing an ASP.NET MVC application. You need to authenticate clients by using NT LAN Manager (NTLM). Which authentication method should you implement? You are employed as a developer at . has a single Active Directory domain, named . You have been tasked with developing a distributed application for . The application should allow for the storage of an insignificant number of unprotected global data. Furthermore, you are informed that modifications to the unprotected global data rarely occur. 23 Which of the following actions should you take? A \Batch 2 You need to implement the business requirements for managing customer data. What should you do? (Each correct answer presents part of the solution. Choose all that apply.) You are employed as a developer at . has a single Active Directory domain, named . You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for . You have been instructed to make sure that users can only insert JavaScript into a feedback text box. You want to make sure that HTTP request values can be accessed without triggering request validation. Which of the following actions should you take? 21 You are designing an HTML5 website. You need to design the interface such that the content is viewable in all types of browsers, including screen readers, What should you do? (Each correct answer presents a complete solution. Choose all that apply.) You are employed as a developer at . has a single Active 24 Directory domain, named . You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for . The application is configured to include pages for Windows Phone 7 users. These pages contain the _Layout.WP7.cshtml and Index.WP7.cshtml files. You are required to make sure that the application suitably presents the files to Windows Phone 7 users. You therefore need to update the application. Which of the following actions should you take? A \Batch 2 You need to implement client-side animations according to the business requirements. Which line of code should you use? (Each correct answer presents a complete solution. Choose all that apply.) You are employed as a developer at . has a single Active Directory domain, named . You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for . You are currently running a training exercise for junior developers. You are discussing the HttpWorkerRequest methods. You are currently dealing with a method that returns the specified member of the request header. 28 Which of the following is the method being discussed? You have been asked to make sure that the edit action of RunLogController is extended. You start by writing the following lines of code: [HttpPost] [ActionName ("Editlog")] You are required to make use of a specific attribute next. Which of the following is the attribute in question? You are employed as a developer at . has a single Active Directory domain, named . You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for . has a web farm that will host the new application. You have been informed that the application should allow for web server failures to be handled without much fuss. Furthermore, state data should be shared between the farm servers. You are preparing to persist the application state during the session. Which of the following actions should you take? A \Batch 2 You need to modify the application to meet the productId requirement. What should you do? You are preparing to write code that prevents invalid parameters from being distributed to the EditLog action. To achieve this, you are required to build the route in a certain way. Whish of the following is a method that should be included in the code? You are testing an ASP.NET application. The test plan requires that tests run against the application's business layer. You need to use the test project template that meets this requirement. Which template should you use? You are creating a new authentication system that uses an HTTP header value. The existing authentication system must continue to operate normally. You need to implement the custom authentication. What should you do? (Each correct answer presents a complete solution. Choose all that apply.) You are designing a Windows Communication Foundation (WCF) service that uses the Product class. You need to update the class to meet the storage requirement. What should you do? (Each correct answer presents part of the solution. Choose all that apply.) You are developing an ASP.NET MVC application that will be deployed on a web farm. Passwords must be stored in the web.config file and must not be readable or in a format that is easily decodable. You need to encrypt the passwords that are stored in the web.config file. Which command-line tool should you use? You are employed as a developer at . has a single Active Directory domain, named . You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for . You are currently running a training exercise for junior developers. You are discussing an HttpRequest property that Gets or sets the character set of the entity-body. Which of the following is the property being discussed? A/ Batch 3 You need to ensure that developers can connect to a Windows Azure role by using RDP. What should you do? You are employed as a developer at . has a single Active Directory domain, named . You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for . has a web farm that will host the new application. You are informed that passwords should be saved in the web.config file, and should be encrypted in such a way that it is not readable, or in a format that is easily decodable. Which of the following actions should you take? You have been tasked with making sure that the application is configured to make use of a custom role provider, named CyclingLogRoleProvider. Which of the following actions should you take? You are employed as a developer at . has a single Active Directory domain, named . You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for . You are currently running a training exercise for junior developers. You are discussing a SessionState mode that stores session state in memory on the Web server. Which of the following is the SessionState mode being discussed?

Study Guides