You are developing an ASP.NET MVC application that uses forms authentication. The application uses SQL queries that display customer order data.
Logs show there have been several malicious attacks against the servers.
You need to prevent all SQL injection attacks from malicious users against the application.
How should you secure the queries?
You are developing an ASP.NET MVC application. The application has a view that displays a list of orders in a multi-select list box.
You need to enable users to select multiple orders and submit them for processing.
What should you do? (To answer, drag the appropriate words to the correct targets. Each word 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: 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 Core MVC web application. You have a legacy business system that sends data to the web application by using Web API. The legacy business system uses proprietary data formats.
You need to handle the proprietary data format.
Solution: Add a custom formatter class to the Web API and implement the IInputFormatter interface.
Does the solution meet the goal?
You need to ensure that all the MVC controllers are secure.
Which code segment should you use as the body for the CreateController method in AdminVerifierFactory.es?

You are developing an ASP.NET MVC application that will be deployed on local Internet Information Services (IIS) servers and on an Azure Web Role.
You must log events for the application when it is deployed locally and on Azure. You must not deploy additional services.
You need to implement a logging solution.
Which two technologies can you use? Each correct answer presents a complete solution.
You are developing an ASP.NET Core MVC web application that will be deployed to Microsoft Azure App Services Web App.
Scheduled downtime during deployment of new features is not permitted.
You need to ensure that deployments do not result in downtime.
What should you do?
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 are developing a collaborative text editor. Multiple users may simultaneously edit the same document from within the application.
You need to ensure that users can see edits from all users as soon as they are made.
Solution: Implement the application by using ASP.NET Core. Configure the editor Controller action to return JSON data. Use XML HTTP requests for communicating editor changes.
Does the solution meet the goal?
You are developing an ASP.NET MVC application. The application uses a SQL Server database and a SQL Server login and password. You need to ensure that the password for the SQL Server login is not stored in plain text. Which two actions should you perform? Each correct answer presents part of the solution. NOTE: Each correct selection is worth one point.
You are optimizing an Internet-facing website for search engine optimization.
You are reading a Site Analysis Report from the SEO Toolkit. The report returns warnings that indicate the website HTML lacks key information necessary for search engine indexing.
You need to improve the optimization of the site.
What should you do? (To answer, select the appropriate option from the drop-down list in the answer area.)


You are designing a distributed banking application that handles multiple customers. A user may log on to the site to perform activities such as checking balances, performing transactions, and other activities that must be done securely.
The application must store secure information that is specific to an individual user. The data must be automatically and securely purged when the user logs off.
You need to save transient information in a secure data store.
Which data store should you use?
You are developing an ASP.NET application that runs on Windows Server 2012.
An exception is preventing a page from rendering.
You need to view the trace information for the page.
Which two actions should you perform? Each correct answer presents part of the solution.
You develop an ASP.NET MVC application that displays Information about products that a company sells. The application contains two classes named ProductController and RouteConfig You have the following requirements:
- If a value is provided for the Id property, you must display information about an individual product.
- If no value is provided for the Id property, you must display information about all products.
You need to configure routing.
How should you complete the relevant classes? to answer, select the appropriate code segment from each list in the answer area.


You are developing an application that uses many small images.
When the images load, the application runs slowly.
You need to improve the performance of the application.
What should you do?
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?
