P.S. Guaranteed 70-486 secret are available on Google Drive, GET MORE: https://drive.google.com/open?id=1yHVSpQywwSiYDOq-ahb3988OwtocHhqn
Q1. 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?
A. Basic
B. Windows
C. Forms
D. Kerberos
Answer: B
Explanation:
References: http://msdn.microsoft.com/en-us/library/aa292114(v=vs.71).aspx
Q2. You need to make the "Distance" header of the table bold in the Views/RunLog/GetLog.cshtml view.
Which code segment should you use?
A. table>tr{ font-weight: bold; }
B. table>th:last-child{ font-weight: bold; }
C. table+first-child{ font-weight: bold; }
D. table>tr>th:nth-child (2) { font-weight: bold; }
Answer: D
Topic 2, Web ApplicationBackground
You are developing an online shopping web application.
Business Requirements
u2711 A user is not required to provide an email address. If a user enters an email address, it must be verified to be a valid email address.
u2711 Information about the first product on the product page must fade out over time to encourage the user to continue browsing the catalog.
u2711 Administrators must be able to edit information about existing customers.
u2711 Administrators also must be able to specify a default product on the product page.
Technical Requirements
General:
u2711 The web store application is in a load-balanced web farm. The load balancer is not configured to use server affinity.
u2711 The web store application is an ASP.NET MVC application written in Visual Studio 2012.
Products:
u2711 The value of the productId property must always be greater than 0.
u2711 The Products page for mobile devices must display to mobile users. The Products page for desktop devices must display to desktop users.
Storage:
u2711 The data must be stored in a serialized XML data format.
u2711 Serialized objects must be schema-independent.
Exception handling:
u2711 Exceptions originating from IIS must display a page with support contact information.
u2711 Some page links expire, and users who access these links encounter 404 errors.
u2711 Exceptions must be logged by using the WriteLog method of the Utility class.
Browser and device support:
u2711 The application must support image format conversions from .bmp to .jpeg for mobile devices.
u2711 The application must support image format conversions from .bmp to .png for desktop devices.
Application Structure
Q3. 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?
A. From the Debug menu in Visual Studio 2012, select Exceptions. Enable the Thrown check box for Common Language Runtime Exceptions.
B. From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User- unhandled check box for Common Language Runtime Exceptions.
C. Add the following code to the web.config file of the application.<customErrors mode="On" ><error statusCode="500" redirect="CustomErrors.html" /></customErrors>
D. Add the following code to the web.config file of the application.<customErrors mode="On" ><error statusCode="404" redirect="CustomErrors.html" /></customErrors>
Answer: A
Explanation:
Configuring the debugger to break for first chance exceptions
To change when the debugger breaks, go to Debug->Exceptionsu2026
When you first open this window you will see that there is a tree grid with one column and checkboxes.
* Break when Thrown. This includes a default list of exceptions known by the debugger, grouped by category.
Note: The possible exceptions that could break from this list is determined by the runtime you are debugging. For example, if you are using managed-only debugging then the debugger will never break for C++, Win32 Exceptions, etc. even if they are configured to break when thrown.
* Checkboxes. If you check the box for a category, then the debugger will break for all First Chance Exceptions while debugging. If you donu2021t want to enable all First Chance Exceptions, you can find the specific exception types that you wish to configure by using the search box.
References:
Q4. 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?
A. Web Test Project
B. Load Test Project
C. Unit Test Project
D. Coded Test Project
Answer: C
Q5. You are developing an ASP.NET MVC application that uses forms authentication against a third-party database.
You need to authenticate the users. Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation:
ASP.NET membership is designed to enable you to easily use a number of different membership providers for your ASP.NET applications.
There are two primary reasons for creating a custom membership provider.
* You need to store membership information in a data source that is not supported by the membership providers included with the .NET Framework, such as a FoxPro database, an Oracle database, or other data sources.
* You need to manage membership information using a database schema that is different from the database schema used by the providers that ship with the .NET Framework.
To implement a membership provider, you create a class that inherits the MembershipProvider abstract class from the System.Web.Security namespace.
Incorrect:
Not C: Class ProviderBase
The provider model is intended to encapsulate all or part of the functionality of multiple ASP.NET features, such as membership, profiles, and protected configuration.
References: https://msdn.microsoft.com/en-us/library/f1kyba5e.aspx
Q6. 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. Create a class derived from ActionResult and check for a valid HTTP header value in the ExecuteResult method. Change all actions to return this new class.
B. Create an HttpHandler to check for a valid HTTP header value in the ProcessRequest method.
C. Create an HttpModule and check for a valid HTTP header value in the AuthenticateRequest event.
D. Create a class derived from AuthorizeAttribute and check for a valid HTTP header value in the AuthorizeCore method. Change usages of the existing AuthorizeAttribute to use the new class.
Answer: C,D
Q7. You are developing an ASP.NET MVC application that will run in a shared environment. The application requests the user's password, and then uses the password to sign data.
You need to minimize the potential for the password to be discovered by other processes that run in the shared environment. What should you do?
A. Add the SecuritySafeCriticalAttribute attribute to the methods which process the password.
B. Store the password in a SecureString instance.
C. Encrypt the password on the web page, and decrypt the password in the MVC application.
D. Run the code that processes the password in its own AppDomain.
Answer: D
Explanation:
Application domains provide a unit of isolation for the common language runtime. They are created and run inside a process. Application domains are usually created by a runtime host, which is an application responsible for loading the runtime into a process and executing user code within an application domain. The runtime host creates a process and a default application domain, and runs managed code inside it. Runtime hosts include ASP.NET, Microsoft Internet Explorer, and the Windows shell.
For most applications, you do not need to create your own application domain; the runtime host creates any necessary application domains for you. However, you can create and configure additional application domains if your application needs to isolate code or to use and unload DLLs.
References: https://msdn.microsoft.com/en-us/library/yb506139(v=vs.110).aspx
Q8. You need to configure session storage in the web.config file to meet the technical requirements for scalability.
Which SessionState mode should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. StateServer
B. InProc
C. AutoDetect
D. SqlServer
Answer: A,D
Q9. 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?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Explanation:
When implementing a custom membership provider, you are required to inherit the MembershipProvider abstract class.
There are two primary reasons for creating a custom membership provider.
You need to store membership information in a data source that is not supported by the membership providers included with the .NET Framework, such as a FoxPro database, an Oracle database, or other data source.
You need to manage membership information using a database schema that is different from the database schema used by the providers that ship with the .NET Framework. A common example of this would be membership data that already exists in a SQL Server database for a company or Web site.
Q10. You are designing a distributed application.
The application must store secure information that is specific to an individual user. The data must be automatically purged when the user logs off.
You need to save transient information in a secure data store. Which data store should you use?
A. Session state
B. Database storage
C. Profile properties
D. Application state
Answer: A
Explanation:
ASP.NET session state enables you to store and retrieve values for a user as the user navigates ASP.NET pages in a Web application. HTTP is a stateless protocol. This means that a Web server treats each HTTP request for a page as an independent request. The server retains no knowledge of variable values that were used during previous requests.
ASP.NET session state identifies requests from the same browser during a limited time window as a session, and provides a way to persist variable values for the duration of that session.
References: https://msdn.microsoft.com/en-us/library/ms178581.aspx
Recommend!! Get the Guaranteed 70-486 dumps in VCE and PDF From Certifytools, Welcome to download: https://www.certifytools.com/70-486-exam.html (New 210 Q&As Version)