In order to access identity related information, you can run FedUtil. Once you have run FedUtil, your application can access IClaimsPrincipal and IClaimsIdentity using the standard ASP.NET constructs as shown in the following code example:

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

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.

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.

You are designing an enterprise-level Windows Communication Foundation (WCF) application. User accounts will migrate from the existing system. The new system must be able to scale to accommodate the increasing load.

The new servers are experiencing significant stress under load of large-scale role changes. You need to ensure that the application can handle the stress.

Which authorizations should you redesign? (Each correct answer presents a complete solution. Choose all that apply.)

A. Role-based approach

B. Identity-based approach

C. Resource-based trusted subsystem model

D. Resource-based impersonation/delegation model

Answer: A,C

New Questions 14

Customers download videos by using HTTP clients that support various content encodings. You need to configure caching on the DownloadVideo action to maximize performance. Which attribute should you add?

A. Option A

B. Option B

C. Option C

D. Option D

E. Option E

Answer: B

New Questions 15

You are developing an ASP.NET MVC application that supports multiple cultures and multiple languages. The application will be sold to international customers.

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

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.