Microsoft Developing ASP.NET MVC 4 Web Applications - 070-486 Exam Practice Test

You are developing an ASP.NET MVC application in a web farm. The application has a page that uploads a customer's photo, resizes it, and then redirects the browser to a page where the new image is displayed along with the final dimensions.
The final dimensions should be available only to the page where the new image is displayed.
You need to store state and configure the application.
What should you do? (To answer, drag the appropriate item to the correct location. Each item 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.)
Correct Answer:
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an ASP.NET Core MVC web application.
The application must be exposed to external users over ports 80 and 443 and must meet the following requirements:
* Handle more than 1024 simultaneous connections.
* Support Windows authentication.
* Support HTTP/2 over TLS.
* Include response caching.
* Protect against denial-of-service attacks.
You need to deploy the application to an on-premises web server.
Solution: You deploy the application to a standalone Kestrel server.
Does the solution meet the goal?

Correct Answer: A Vote an answer
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some questions sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You develop an ASP.NET web application that is self-hosted using Open Web Interface for .NET (OWIN) in a Microsoft Azure Worker role.
The web application throws exceptions.
You need to resolve the exceptions.
Solution: Use standard HttpModule and HttpHandler types.
Does the solution meet the goal?

Correct Answer: A Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
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.)

Correct Answer: B,D Vote an answer
Note: This question is part of a series of questions that present the same scenario. Each question in the series contains a unique solution that might meet the stated goals. Some question sets might have more than one correct solution, while others might not have a correct solution.
After you answer a question in this section, you will NOT be able to return to it. As a result, these questions will not appear in the review screen.
You are developing an ASP.NET Core MVC web application.
The application must be exposed to external users over ports 80 and 443 and must meet the following requirements:
* Handle more than 1024 simultaneous connections.
* Support Windows authentication.
* Support HTTP/2 over TLS.
* Include response caching.
* Protect against denial-of-service attacks.
You need to deploy the application to an on-premises web server.
Solution: You deploy the application to Kestrel with an US reverse proxy.
Does the solution meet the goal?

Correct Answer: A Vote an answer
You are developing an ASP.NET MVC application that uses forms authentication against an Oracle database.
You need to authenticate the users.
Which code segment should you use?

Correct Answer: C Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You are building an ASP.NET web application.
You must test the web application in multiple browsers at the same time.
You need to ensure that the application can use the Browser Link feature.
Which two actions should you perform? Each correct answer presents part of the solution.

Correct Answer: A,E Vote an answer
Explanation: Only visible for Fast2test members. You can sign-up / login (it's free).
You are developing an ASP.NET Core MVC web application.
The web application must meet the following requirements:
Allow users to create a user name and password.
Use cookie-based authentication.
Store user credentials in a Microsoft SQL Server database.
You need to implement ASP.NET Core Identity.
How should you complete the code? To answer, select the appropriate options in the answer area.
NOTE: Each correct selection is worth one point.
Correct Answer:

Explanation:
Box 1: UseSqlServer
Box 2: AddIdentity
Box 3: Configure
Box 4: ConfigureApplicationCookie
Box 5: UseAuthentication
References: https://docs.microsoft.com/en-us/aspnet/core/security/authentication/identity?view=aspnetcore-2.1&tabs=visual-studio%2Caspnetcore2x
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.)
Correct Answer:
A company has an enterprise library that targets the full .NET framework.
You must convert the library to target .NET Standard. You replace the original project file a .NET Standard project file. When you compile the library, the compiler throws the following errors:

You need to resolve the errors.
Which two actions should you perform? Each correct answer presents part of the solution. (Choose two.) NOTE: Each correct selection is worth one point.

Correct Answer: A,D Vote an answer
You are developing a Microsoft Azure ASP.NET Core web application named onlinestore.
Users report bugs with the web application that only occur on development deployments. The bugs are in a third-party component.
You need to gather a memory dump of the running application to provide to the component vendor.
How should you construct the URI to gather the memory dump? To answer, drag the appropriate URI segments to the correct locations. Each URI segment may be used once, more than once, or mot at all. You may need to drag the split bar between panes or scroll to view content.
NOTE: Each correct selection is worth one point.
Correct Answer:
You are developing an ASP.NET Core MVC web application. The application uses a custom tool named sectarget that performs security audits of the web application's assemblies. The custom tool was built in netstandardl.l and is packaged into a NuGet package named sectarget.
You need to ensure that the custom tool is run each time the web application is boat or published and that the latest version of sectarget is used each time the tool is run.
How should you complete the markup? To answer, drag the appropriate XML segments to the correct locations. Each XML 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 NOTE: Each correct selection is worth one point.
Correct Answer:

Contact Us

If you have any question please leave me your email address, we will reply and send email to you in 12 hours.

Our Working Time: ( GMT 0:00-15:00 ) From Monday to Saturday

Support: Contact now 

日本語 Deutsch 繁体中文 한국어