2019 Free Microsoft EnsurePass 70-486 Dumps VCE and PDF Download Part 4

EnsurePass Dumps

70-486 Dump

http://www.ensurepass.com/70-486.html

 

QUESTION 81

You are developing an ASP.NET MVC application that supports multiple cultures and multiple languages. The application will be sold to international customers. The ASP.NET MVC application must store localized content in satellite assemblies for multiple languages. You need to generate the satellite assemblies during an automated build. Which tool should you use?

 

A.

Gacutil.exe

B.

Al.exe

C.

Ildasm.exe

D.

nasm.exe

 

Correct Answer: B

Explanation:

Use the Assembly Linker (Al.exe) to compile .resources files into satellite assemblies. Al.exe creates an assembly from the .resources files that you specify. By definition, satellite assemblies can only contain resources. They cannot contain any executable code.

 

The following Al.exe command creates a satellite assembly for the application MyApp from the file strings.de.resources.

 

al /t:lib /embed:strings.de.resources /culture:de /out:MyApp.resources.dll

 

 

QUESTION 82

You are preparing for the deployment of an ASP.NET MVC application. You need to generate a deployment manifest. Which command-line tool should you use?

 

A.

Mage.exe

B.

Ngen.exe

C.

ALexe

D.

Resgen.exe

 

Correct Answer: A

Explanation:

The Manifest Generation and Editing Tool (Mage.exe) is a command-line tool that supports the creation and editing of application and deployment manifests.

 

Incorrect:

Not B: The Native Image Generator (Ngen.exe) is a tool that improves the performance of managed applications. Ngen.exe creates native images

Not C: Al.exe generates a file with an assembly manifest, not an deployment manifest, from one or more files that are either resource files or Microsoft intermediate language (MSIL) files.

Not D: Resgen.exe, the Resource File Generator, converts text (.txt or .restext) files and XML-based resource format (.resx) files to common language runtime binary (.resources) files that can be embedded in a runtime binary executable or compiled into satellite assemblies.

 

References: http://www.devcurry.com/2011/02/important-net-framework-40-command-line.html

 

 

QUESTION 83

DRAG DROP

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.

 

clip_image002

 

Correct Answer:

clip_image004

 

 

QUESTION 84

DRAG DROP

You are developing an ASP.NET MVC application.

 

Before an action is executed, information about the action must be written to a log. After results are returned, information about the results also must be written to the log.

 

You need to log the actions and results.

 

You have the following code:

 

clip_image005

 

Which code segments should you include in Target 1, Target 2 and Target 3 to implement the LogActionFilter class?

 

To answer, drag the appropriate code segments to the correct targets. 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.

 

clip_image007

 

Correct Answer:

clip_image009

 

 

QUESTION 85

You are developing an ASP.NET MVC application.

 

The application provides a RESTful API for third-party applications. This API updates the information for a contact by embedding the information in the URL of an HTTP POST.

 

You need to save the Contact type when third-party applications use the EditContact method.

 

Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)

 

clip_image010

 

A.

Option A

B.

Option B

C.

Option C

D.

Option D

 

Correct Answer: BC

Explanation:

Basics of RESTful services:

 

REST stands for Representational State Transfer, it is a simple stateless architecture that runs over HTTP where each unique URL is representation of some resource. There are four basic design principles which should be followed when creating RESTful service:

 

Use HTTP methods (verbs) explicitly and in consistent way to interact with resources (Uniform Interface), i.e. to retrieve a resource use GET, to create a resource use POST, to update a resource use PUT/PATCH, and to remove a resource use DELETE.

Etc.

 

 

QUESTION 86

HOTSPOT

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.

 

clip_image012

 

Correct Answer:

clip_image014

QUESTION 87

You are designing a data-oriented application that features a variety of storage schemas. The application object model must be mapped to the various storage schemas. You need to enable developers to manipulate the data. Which ADO.NET data access strategy should you use? (Each correct answer presents a complete solution. Choose all that apply.)

 

A.

LINQ to SQL

B.

Entity Framework

C.

DataAdapter

D.

DataReader

 

Correct Answer: ABC

 

 

QUESTION 88

You are developing an ASP.NET MVC application that provides instant messaging capabilities to customers.

 

You have the following requirements:

 

clip_image016Messages must be able to be sent and received simultaneously.

clip_image016[1]Latency and unnecessary header data must be eliminated.

clip_image016[2]The application must comply with HTML5 standards.

 

You need to design the application to meet the requirements.

 

What should you do?

 

A.

Configure polling from the browser.

B.

Implement long-running HTTP requests.

C.

Implement WebSockets protocol on the client and the server.

D.

Instantiate a MessageChannel object on the client.

 

Correct Answer: D

 

 

QUESTION 89

You are developing an ASP.NET MVC application that uses forms authentication to verify that the user is logged in. Authentication credentials must be encrypted and secure so no user identity is exposed. You need to ensure that user credentials are persisted after users log on. Where should you store the credentials? (Each correct answer presents a complete solution. Choose all that apply.)

 

A.

In Session on the server

B.

In a cookie stored in the browser

C.

In ViewData in the application

D.

In TempData on the server

 

Correct Answer: AB

 

 

 

 

QUESTION 90

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?

 

A.

Check the input against patterns seen in the logs and other records.

B.

Escape single quotes and apostrophes on all string-based input parameters.

C.

Implement parameterization of all input strings.

D.

Filter out prohibited words in the input submitted by the users.

 

Correct Answer: C

Explanation:

SQL Injection Prevention, Defense Option 1: Prepared Statements (Parameterized Queries)

The use of prepared statements (aka parameterized queries) is how all developers should first be taught how to write database queries. They are simple to write, and easier to understand than dynamic queries. Parameterized queries force the developer to first define all the SQL code, and then pass in each parameter to the query later. This coding style allows the database to distinguish between code and data, regardless of what user input is supplied.

 

Prepared statements ensure that an attacker is not able to change the intent of a query, even if SQL commands are inserted by an attacker.

 

Reference:

SQL Injection Prevention Cheat Sheet


Leave a Reply

Your email address will not be published. Required fields are marked *

  • Categories

  • Tags

  • Hot Exam List

  • Hot Exams

  • Hot Catageories List