Upgrade your MCPD: Web Developer 4 to MCSD: Web Applications
Question No: 21 HOTSPOT – (Topic 1)
You are developing an ASP.NET MVC web application that enables users to open Microsoft Excel files.
The current implementation of the ExcelResult class is as follows.
You need to enable users to open Excel files.
How should you implement the ExecuteResult method? (To answer, select the appropriate options in the answer area.)
Question No: 22 – (Topic 1)
You are testing an ASP.NET application.
The test plan requires that tests run against the application#39;s business layer. You need to use the test project template that meets this requirement.
Which template should you use?
Web Test Project
Load Test Project
Unit Test Project
Coded Test Project
Question No: 23 – (Topic 1)
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.)
Windows Azure application state
Profile properties of the Windows Azure application
Windows Azure session state
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 HTTP is a stateless protocol, developers over the years have developed all sorts of means to manage state. You#39;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 No: 24 – (Topic 1)
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?
Implement long-running HTTP requests.
Instantiate a MessageChannel object on the client.
Implement WebSockets protocol on the client and the server.
Configure polling from the browser.
Question No: 25 – (Topic 1)
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?
Question No: 26 DRAG DROP – (Topic 1)
You are developing an ASP.NET MVC application that takes customer orders. Orders are restricted to customers with IP addresses based in the United States. You need to implement a custom route handler.
How should you implement the route handler? (To answer, drag the appropriate line of
code to the correct location or locations. Each line of code may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Question No: 27 – (Topic 1)
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?
Question No: 28 DRAG DROP – (Topic 1)
You are developing an ASP.NET MVC application in Visual Studio 2012. The application contains sensitive bank account data.
The application contains a helper class named SensitiveData.Helpers.CustomEncryptor.
The application must not display AccountNumber in clear text in any URL. You need to build the view for the GetAccounts action.
How should you build the view? (To answer, drag the appropriate code segment to the correct location or locations. Each code segment may be used once, more than once, or not at all. You may need to drag the split bar between panes or scroll to view content.)
Question No: 29 – (Topic 1)
You are developing an ASP.NET MVC web application that includes the following method.
You need to test the GoldMined method. Which unit test should you use?
Topic 2, Scenario video transcoding serviceBackground
You are developing a video transcoding service. This service is used by customers to upload video files, convert video to other formats, and view the converted files. This service is used by customers all over the world.
The user-facing portion of the application is an ASP.NET MVC application. It provides an interface for administrators to upload video and schedule transcoding. It also enables administrators and users to download the transcoded videos.
When videos are uploaded, they are populated with metadata used to identify the video. The video metadata is gathered by only one system when the video upload is complete. Customers require support for Microsoft Internet Explorer 7 and later.
The application contains a header that is visible on every page.
If the logged-on user is an administrator, then the header will contain links to administrative functions. This information is read from a cookie that is set on the server. The administrative links must not be present if an error condition is present.
Technical Requirements User Experience:
->The front-end web application enables a user to view a list of videos.
->The main view of the application is the web page that displays the list of videos.
->HTML elements other than the list of videos are changed with every request requiring the page to reload.
->Some customers use browsers that do not support the HTTP DELETE verb.
->These browsers send a POST request with an HTTP header of X-Delete when the intended action is to delete.
->The video transcoding occurs on a set of Windows Azure worker roles.
->The transcoding is performed by a third-party command line tool named transcode.exe. When the tool is installed, an Environment variable named transcode contains the path to the utility.
->A variable named license contains the license key. The license for the transcoding utility requires that it be unregistered when it is not in use.
->The transcoding utility requires a significant amount of resources. A maximum of 10 instances of the utility can be running at any one time. If an instance of the role
cannot process an additional video, it must not prevent any other roles from processing that video.
->The utility logs errors to a Logs directory under the utilities path.
->A local Azure directory resource named perf is used to capture performance data.
->Developers must use Microsoft Remote Desktop Protocol (RDP) to view errors generated by the transcode.exe utility.
->An x509 certificate has been created and distributed to the developers for this purpose.
->Developers must be able to use only RDP and not any other administrative functions.
Application Structure TranscodeWorkerRole.es
Question No: 30 – (Topic 2)
You need to ensure that developers can connect to a Windows Azure role by using RDP. What should you do?
Export a certificate with a private key. Upload the .pfx file to the Management Certificates section on the Azure Management Portal.
Export a certificate without a private key. Upload the .cer file to the Management Certificates section on the Azure Management Portal.
Export a certificate without a private key. Upload the .cer file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal.
Export a certificate with a private key. Upload the .pfx file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal.
100% Ensurepass Free Download!
–Download Free Demo:70-492 Demo PDF
100% Ensurepass Free Guaranteed!
–Download 2018 EnsurePass 70-492 Full Exam PDF and VCE
|Lowest Price Guarantee||Yes||No||No|
|Free VCE Simulator||Yes||No||No|