Question 41
You are developing an ASP.NET Core web application. The application includes a secure area only accessible to authenticated users.
The application must:
Reside on the same server as the reverse proxy.
Use a reverse proxy for caching and serving static content.
Use basic authentication for the secure area.
Use the HTTPS protocol for the secure area.
Use the HTTPS protocol for all non-secure content.
You need to deploy the application.
Which two actions should you perform? Each correct answer presents part of the solution.
NOTE: Each correct selection is worth one point.
Question 42
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 43
HOTSPOT
You are building an ASP.NET MVC web application.
The application will be viewed by users on their mobile phones.
You need to ensure that the page fits within the horizontal width of the device screens.
You have the following markup:
Which markup segments should you include in Target 1, Target 2 and Target 3 to complete the markup?
(To answer, drag the appropriate markup segments to the correct targets. 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.) Hot Area:
Question 44
You need to ensure that new customers enter a valid email address.
Which code should you use? (Each correct answer presents part of the solution. Choose all that apply.)
Question 45
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?

