70-486 | You developing website that needs to be responsive…

Question: 22

You developing website that needs to be responsive and used in all types of devices with the least amount of effort what should you consider.

A. In CSS set each HTML tag width to 100%
B. Use meta viewport and set device-width.
C. Use DisplayModeProvider.
D. Use media attribute in CSS

Answer: B,D

70-486 | You need to configure session….

Question: 21

You need to configure session storage in the web.config file to meet the technical requirements for scalability. Which Session State 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

Explanation/Reference:

ASP.NET session state supports several different storage options for session data. Each option is identified by a value in the SessionStateMode enumeration. The following list describes the available session state modes:

InProc mode – stores session state in memory on the Web server. This is the default.
StateServer mode/OutProc – stores session state in a separate process called the ASP.NET state service. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.

SQLServer mode – stores session state in a SQL Server database. This ensures that session state is preserved if the Web application is restarted and also makes session state available to multiple Web servers in a Web farm.

Custom mode – custom storage provider. Off mode, which disables session state.

70-486|You need to design the interface such that the content

Question: 29

You are designing an HTML5 website. You need to design the interface such that the content is viewable in all types of browsers, including screen readers, What should you do? (Each correct answer presents a complete solution. Choose all that apply.)

A. Ensure that content elements have valid and descriptive names.
B. Use Resource Description Framework (RDF) to describe content elements.
C. Convert HTML forms to XForms.
D. Use HTML5 semantic markup elements.
E. Annotate content elements with Accessible Rich Internet Application (ARIA) attributes.

Answer: D,E

70-486 Sample Question : 17

Question : 17

You updated the web.config file with the HTTP run-time value required to display an alternative version of the site. You need to ensure that the correct page displays to the users. Which code segment should you use to update the controller?

A. If (Request.IsTabletDevice)
B. If (Request.Browser.IsBrowser(“Mobile”))
C. If (Request.UserAgent[“Tablet”])
D. If (Request.Browser.IsMobileDevice)

Answer : D

70-486 Sample Question : 16

Question : 16

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 : CD

70-486 Sample Question : 15

Question : 15

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

70-486 Sample Question : 14

Question : 14

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 Attach to Process. Select the IIS process.
C. From the Debug menu in Visual Studio 2012, select Exceptions. Disable the User-unhandled check box for Common Language Runtime Exceptions.
D. From the TOOLS menu in Visual Studio 2012, click Customize. C!ic< tie Commands tab and select Debug.

Answer: A

70-486 Sample Question : 13

Question : 13

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?

A. Aspnet_regiis.exe
B. Aspnet_regbrowsers.exe
C. Aspnet_setreg.exe
D. Aspnet_compiler.exe

Answer: A

70-486 Sample Question : 12

Question : 12

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?

A. Kerberos
B. Forms
C. Basic
D. Windows

Answer: B

70-486 Sample Question : 11

Question : 11

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

70-486 Sample Question : 10

Question : 10

You are employed as a developer has a single Active Directory domain. You make use of Visual Studio 2012 to create new ASP.NET MVC web applications .You are currently running a training exercise for junior developers. You are discussing an HttpRequest property that Gets or sets the character set of the entity-body.Which of the following is the property being discussed?

A. The Cookies property.

B. The ContentLength property.

C. The ContentEncoding property.

D. The ContentType property.

Answer: C

70-486 Sample Question : 9

Question : 9

You are employed as a developer has a single Active Directory domain .You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application. You have been instructed to make sure that users can only insert JavaScript into a feedback text box.You want to make sure that HTTP request values can be accessed without triggering request validation.Which of the following actions should you take?

A. You should consider making use of the HttpRequest.HttpChannelBinding property.

B. You should consider making use of the HttpRequest.QueryString property.

C. You should consider making use of the HttpRequest.Unvalidated property.

D. You should consider making use of the HttpRequest.AnonymousID property.

Answer: C

70-486 Sample Question : 8

Question : 8

You are employed as a developer  has a single Active Directory domain.You are making use of Visual Studio 2012 to create a new ASP.NET MVC application. You want to make sure that a Microsoft SQL Server database is configured to host membership data.You are required to configure the use of a membership provider.Which of the following are membership providers that ships with ASP.NET? (Choose two.)

A. A membership provider that makes use of Microsoft SQL Server as a data source.

B. A membership provider that makes use of Oracle as a data source.

C. A membership provider that makes use of Windows Active Directory.

D. A membership provider that makes use of a user database as a data source.

Answer: A,C

70-486 Sample Question : 7

Question : 7

You have been asked to make sure that the edit action of RunLogController is extended.You start by writing the following lines of code:[HttpPost][ActionName (“Editlog”)] You are required to make use of a specific attribute next.Which of the following is the attribute in question?

A. The [ValueProviderCollection] attribute.

B. The [ValidateInput] attribute.

C. The [ValidateAntiForgeryToken] attribute.

D. The [ValidatableObjectAdapter] attribute.

Answer: C

Search Words: 70-486 Practice Exam real exam questions answers practice test braindumps, free Q&A online dumps download and free 70-486 Practice Exam discount coupon code available.

Leave a Comment.

twenty − 5 =