70-492

Upgrade MCPD Web Developer 4 to MCSD Web Applications


Topic 1, Scenario 1
Background
You are making use of Visual Studio 2012 to create an ASP.NET MVC application to log training information for a cycling club.

Business Requirements
The application needs to host data regarding training dates, distances, and duration. Application users must be able to view and modify data. The application itself should be highly accessible. The application should also allow for times to be presented in the user's native time.

Technical Requirements
A public class, named CyclistLog.DataAccess.CyclistLogDb, deals with database access. HTTP GET should be used for all data retrieval. HTTP POST should be used for all data updates.
A master layout file, named \Views\Shared\_Layout.cshtml, is used by all pages in the application.
The application makes use of the \Models\LogModel.cs model.
The Razor view engine is used for all views in the application. The \Views\CyclingLog includes the _CalculateSpeed.cshtml, EditLog.cshtml, GetLog.cshtml, and InsertLog.cshtml views. The application, however, includes a \Views\Home\Index.cshtml view.
The controller included in the application is \Controllers\CyclingLogController.cs. You have also included a timer.png image in the \Images folder.
When a user examines a cycling log, the user��s trail map is accessible. This map is configured as a video and an Adobe Flash application. The browser should using H264, Ogg, or WebM formats (in this order) to present the video natively. The Flash application should be used In the event that the video cannot be presented.

Security:
The application should make use of forms authentication, and requires user logon for entering information. The editing or deleting of cyclist information requires a user to be a member of the Admin role.
Users must be members of the Admin role to.
You need to the application should be defended against cross-site request forgery. The SHA1 algorithm should be used to hash passwords.

A custom role provider must be included in CyclistLog.Providers.CyclingLogRoleProvider.es.

QUESTION NO: 1
You have received instructions to make sure that the Views\CyclingLog\_CalculateSpeed.cshtml partial view, from the Views\Cyclelog \GetLog.cshtml, is configured to show the cyclist��s average speed per kilometer.
You need to write the necessary code to apply the view.
Which of the following is a method that should be included in your code?
A. The DisplayFor method.
B. The ExhibitFor method.
C. The PresentFor method.
D. The ConcealFor method.
Answer: A Explanation:
QUESTION NO: 2
You have been instructed to meet the business requirements with regards to security.
You are required to make changes to the CyclingLogController.
Which of the following actions should you take?
A. You should consider adding code to assign users the Administrator role.
B. You should consider adding code to assign users the Advanced Operator role.
C. You should consider adding code to assign users the Author role.
D. You should consider adding code to assign users the Report Security Administrator role.
Answer: A Explanation:

QUESTION NO: 3
You have been instructed to insert a line of code into your existing code that allows for the "Distance" header of the table to be displayed in bold in the Views/CyclingLog/GetLog.cshtml view.

Which of the following should be included in the line of code?
A. You should consider including the :first-child pseudo-class.
B. You should consider including the :last-child pseudo-class.
C. You should consider including the :nth-child pseudo-class.
D. You should consider including the :nth-last-child(n) pseudo-class.
Answer: C Explanation:

QUESTION NO: 4
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 Explanation:


QUESTION NO: 5
You have been tasked with making sure that the application is configured to make use of a custom role provider, named CyclingLogRoleProvider.
Which of the following actions should you take?

A. You should consider making changes to the machine.config file.
B. You should consider making changes to the app.config file.
C. You should consider making changes to the web.config file.
D. You should consider making changes to the client.config file.
Answer: C Explanation:
QUESTION NO: 6
You are preparing to write code that prevents invalid parameters from being distributed to the EditLog action.
To achieve this, you are required to build the route in a certain way.
Whish of the following is a method that should be included in the code?
A. You should consider including the MapRoute method
B. You should consider including the IgnoreRoute method
C. You should consider including the GetVirtualPathForArea method
D. You should consider including the ReRoute method
Answer: A Explanation:

QUESTION NO: 7
You want to make sure that the application exhibits the text, "Cycling 2013". The text should be exhibited in the footer in the last part of the _Layout.cshtml file, and should be formatted by JavaScript.
You want to make sure that, based on browser support, the text is exhibited as plain text or formatted text.
Which of the following actions should you take?
A. You should consider changing the InsertLog.cshtml view.
B. You should consider changing the EditLog.cshtml view.
C. You should consider changing the layout.
D. You should consider changing the _CalculateSpeed.cshtml view.


Answer: C Explanation:
Topic 2, Scenario 2

Background
You are making use of Visual Studio 2012 to create an ASP.NET MVC online retail web application.

Business Prerequisites
The entering of user e-mail addresses should not be compulsory. In the event that a user does provide an e-mail address, the validity of the address should be authenticated. To motivate users to keep on browsing the item list, you have to make sure that the first item on the item page gradually disappears.
Furthermore, you have to make sure that administrators have the ability to manage current client data, and also identify a default item on the item page.
Technical Prerequisites

General:
A load-balanced web farm, where the load balancer has not been configured to employ server affinity, hosts the application
With regards to items, you are informed that the itemId property value should not be less than or equal to 0. Furthermore, the Items page for mobile devices should be presented to mobile users and the Items page for desktop computers should be presented to desktop users

Storage:
You are informed that information should be saved in a serialized XML data format, and that serialized objects should be independent of the schema.

Exception handling:
A page showing support contact details should be presented for IIS exceptions. 404 errors resulting from expired links cause exceptions to be thrown. Some page links expire, and users who access these links encounter 404 errors. The WriteLog method of the Utility class should be used to log these exceptions.


Browser and device support:
The application should allow for .bmp format images to be changed to .jpeg format images for mobile devices, and to .png format images for desktop computers.


QUESTION NO: 8
You have been tasked with creating a Communication Foundation (WCF) service that makes use of the Item class. You are informed that the Item class should be updated in such a way that it satisfies storage prerequisites.
You start by marking the Item class with the DataContract attribute.
Which of the following actions should you take NEXT?
A. You should consider making sure that the public members of the Item class is marked with the EnumMember attribute.
B. You should consider making sure that the private members of the Item class is marked with the DataMember attribute.
C. You should consider making sure that the private members of the Item class is marked with the EnumMember attribute.
D. You should consider making sure that the public members of the Item class is marked with the DataMember attribute.
Answer: D Explanation:
QUESTION NO: 9
You have received instructions to make sure that IIS errors are handled in accordance with the prerequisites.
Which of the following actions should you take?
A. You should consider bringing the customErrors attribute in the web.config file up to date.
B. You should consider bringing the customErrors attribute in the machine.config file up to date.
C. You should consider bringing the customErrors attribute in the app.config file up to date.
D. You should consider bringing the customErrors attribute in the client.config file up to date.

Answer: A Explanation:

QUESTION NO: 10
You have been instructed to write code that creates a method for the ItemController class. The method must satisfy the prerequisites to handle exceptions related to logging.
Which of the following actions should you take?
A. You should consider creating an OnResultExecuted method.
B. You should consider creating an OnAuthorization method.
C. You should consider creating an OnException method.
D. You should consider creating an OnActionExecuting method.
Answer: C Explanation:

QUESTION NO: 11
You have received instructions to make sure that the prerequisites with regards to the ItemId are suitably met.
Which of the following actions should you take?
A. You should consider changing a method of ItemController.
B. You should consider changing a method of ItemProperty.
C. You should consider changing a method of ItemObject.
D. You should consider changing a method of ItemAttribute.
Answer: A Explanation:

QUESTION NO: 12
You are preparing to make sure that the prerequisites for client information management are suitably met.
You start by configuring the Controllers folder to include a class, named Client-Controller.

Which of the following actions should you take NEXT?
A. You should consider configuring the Client-Controller to include the Edit method.
B. You should consider configuring the Client-Controller to include the Run method.
C. You should consider configuring the Client-Controller to include the Client method.
D. You should consider configuring the Client-Controller to include the Reword method.
Answer: A Explanation:

QUESTION NO: 13
You are informed that a run-time exception takes place every time a user tries to access a non-existent item from the item page. You are instructed to write code that creates a method that routes the exception to the CustomException.aspx page.
Which of the following is the method you should create?
A. The RegisterGlobalFilters method.
B. The RegisterLocalFilters method.
C. The JoinGlobalFilters method.
D. The JoinLocalFilters method.
Answer: A Explanation:

QUESTION NO: 14
After updating the web.config file to display an alternative version of the site by configuring the necessary HTTP run-time value, you are instructed to make sure that users are presented with appropriate page.
Which of the following actions should you take?
A. You should consider inserting and when statement.
B. You should consider inserting and then statement.
C. You should consider inserting and why statement.
D. You should consider inserting and if statement.
Answer: D Explanation: QUESTION NO: 15



You have received instructions to apply client-side animations. You want to make sure that the business prerequisites are suitably met.
Which of the following should be included in your code?
A. You should consider including the :first-child pseudo-class.
B. You should consider including the :nth-child pseudo-class.
C. You should consider including the :nth-last-child(n) pseudo-class.
D. You should consider including the :last-child pseudo-class.
Answer: B Explanation:
QUESTION NO: 16
You have been instructed to make sure that the technical prerequisites with regards to scalability are adequately met. To achieve this, it is necessary to access the web.config file to configure session storage.
You want to make use of a SessionState mode that stores session state in a process that is separate from the ASP.NET worker process or IIS application pool.
Which of the following should you make use of?
A. You should consider making use of the In-process mode.
B. You should consider making use of the Off mode.
C. You should consider making use of the SQLServer mode.
D. You should consider making use of the StateServer mode.
E. You should consider making use of the Custom mode.
Answer: D Explanation: Topic 3, Scenario 3


Background
You are developing a service that allows for the direct digital-to-digital data conversion of one encoding to another. Users currently employs the service for the uploading of audiovisual media files for conversion to different formats, as well as for the viewing of the converted files.

Business Requirements
The client-side section of the application has been created as an ASP.NET MVC application using Visual Studio 2012. The client-side of the application allows for the uploading of audiovisual media and the planning of transcoding by administrators. Furthermore, administrators and users are allowed to download the audiovisual medias that have gone through the direct digital-to-digital data conversion process.
Metadata is attached to uploaded audiovisual medias for identification purposes. As soon as the audiovisual media upload is complete, this metadata is collected by a single system.
User computers must have Microsoft Internet Explorer 7 installed, as a minimum.
The application excludes a header that can be viewed on all pages. The header has been configured to display links to administrative functions for users logged in as administrators. A cookie, which is configured on the server, supplies this data. In the event of an error condition existing, the administrative links should not be displayed.
Technical Requirements

User Experience:
Users are able to scrutinize a list of audiovisual medias via the front-end web application. The presented page is configured as the application��s principal view. Every request causes the HTML elements, other than the list of audiovisual medias, to change. This, in turn, causes the page to reload.

Compatibility:
Some user browsers, which do not support the HTTP DELETE verb, sends a POST request with an HTTP header of X-Delete when the expected operation is to delete.
Transcoding:

A set of Windows Azure worker roles has been configured for transcoding purposes. A third-party command line tool must be installed for transcoding. The path to the utility is hosted by an Environment variable, subsequent to tool installation. The license key is included in a variable, named license. When the utility is not in use, it has to be unregistered. Furthermore, a substantial quantity of resources is consumed by the utility.
At any given time, the utility can have ten instances of the utility running, at most. An instance of the role must allow other roles to process the additional audiovisual media that it cannot.
Errors are logged to a Logs directory under the utilities path by the utility.
Performance information is collected by a local Azure directory resource, named perf.

Development:
Errors generated by the utility must be examined by developers via Microsoft Remote Desktop Protocol (RDP). This functionality has been provided by the creation of an x509 certificate that has been distributed to the developers. Only RDP must be used by developers for this function.


QUESTION NO: 17
You have been instructed to make sure that developers have the ability to access a Windows Azure role via RDP.
You start by exporting a certificate with a private key.
Which of the following actions should you take NEXT?
A. You should consider uploading the .cer file to the Certificates section of the TranscodeWorkerRole hosted service on the Azure Management Portal.
B. You should consider downloading the .cer file from the Certificates section of the TranscodeWorkerRole hosted service on the Azure Management Portal.
C. You should consider downloading the .pfx file from the Certificates section of the TranscodeWorkerRole hosted service on the Azure Management Portal.
D. You should consider uploading the .pfx file to the Certificates section of the TranscodeWorkerRole hosted service on the Azure Management Portal.
Answer: D Explanation:
QUESTION NO: 18
You have been instructed to maximize performance for users who download audiovisual media via HTTP clients that support different content encodings by configuring caching on the DownloadAudiovisualMedia action.

You want to write code to include the necessary attribute.
Which of the following is a property that should be included in your code?
A. The VaryByControl property.
B. The VaryByCustom property.
C. The VaryByHeader property.
D. The VaryByParam property.
E. The VaryByContentEncoding property.
Answer: E Explanation:
QUESTION NO: 19
You have received instructions to create a new a new authentication strategy. The new strategy must make use of an HTTP header value. Furthermore, you are informed that the operation of the current authentication strategy should not be disrupted.
After creating the new strategy, you are required to apply it.
Which of the following actions should you take? (Choose all that apply.)
A. You should consider creating a class based on the AuthorizeAttribute class.
B. You should consider creating a class based on the AuthorizationContext class.
C. You should consider checking for a valid HTTP header value in the AuthorizeCore method.
D. You should consider checking for a valid HTTP header value in the OnAuthorization method.
E. You should consider checking for a valid HTTP header value in the OnCacheAuthorization method.
Answer: A,C Explanation:
QUESTION NO: 20
You have received instructions to improve the execution of the audiovisual media transfer.

You are preparing to write the necessary code.
Which of the following actions should you take?
A. You should consider making use of the DeflateStream Class.
B. You should consider making use of the ZipArchive Class.
C. You should consider making use of the ZipFile Class.
D. You should consider making use of the GZipStream Class.
Answer: D Explanation:

QUESTION NO: 21
You have received instructions to make sure that the utility registration occurs in accordance with it license.
To achieve this, you are preparing to write code that includes a method in the TranscodeWorkerRole class.
Which of the following is a process method that should be included in your code?
A. The OnExited method.
B. The WaitForExit method.
C. The WaitForInputIdle method.
D. The Kill method.
Answer: B Explanation:

QUESTION NO: 22
You have been tasked with making sure that, prior to the worker role launching, the utility is implemented.
Which of the following actions should you take?
A. You should consider configuring a startup task.
B. You should consider configuring a task schedule.
C. You should consider manually implementing the utility every time you log on.
D. You should consider configuring a logon script.

Answer: A Explanation:

QUESTION NO: 23
You are instructed to make sure that the deletion of audiovisual media is not dependent on browser ability.
Which of the following actions should you take?
A. You should consider writing code to create a SendSync method.
B. You should consider writing code to create a SendAsync method.
C. You should consider writing code to create a RetrieveAsync method.
D. You should consider writing code to create a RetrieveSync method.
Answer: B Explanation:
Topic 4, Mix Questions (Set 1)

QUESTION NO: 24
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You have received instructions to create a new ABC.com website, using HTML5. You have been informed that the interface has to allow for the web page content to be accessible to disabled users.
Which of the following actions should you take?
A. You should consider including the use of File API attributes.
B. You should consider including the use of WebSocket API attributes.
C. You should consider including the use of Accessible Rich Internet Application (ARIA) attributes.
D. You should consider including the use of Geolocation attributes.
E. You should consider including the use of Indexed Database API attributes.
Answer: C Explanation: QUESTION NO: 25



You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for ABC.com. You want to make sure that the new application has access to content files located on the same IIS instance as the application.
Subsequent to initializing the application, you find that there are problems relating to the application��s performance.
Which of the following actions should you take fix the problem?
A. You should consider including the use of WebSocket API attributes.
B. You should consider making use of ASP.NET MVC bundling to join the content files.
C. You should consider including the use of Accessible Rich Internet Application (ARIA) attributes.
D. You should consider making use of ASP.NET MVC bundling to separate the content files.
Answer: B Explanation:
QUESTION NO: 26
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for ABC.com. The new application allows for users from various countries to access the application based on their respective cultures.
As a result, the application includes various resource files in the Resources directory. These files include a public resource with localized translation.
You are required to make use of a specific WebViewPage property so that the application sets the user��s client browser according to the settings.
Which of the following actions should you take?

A. You should consider making use of the ViewContext property.
B. You should consider making use of the Html property.
C. You should consider making use of the ViewBag property.
D. You should consider making use of the ViewData property.
Answer: C Explanation:

QUESTION NO: 27
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You have recently developed an ASP.NET application for ABC.com. You are planning to assess the new application by running tests that target the application's business layer.
Which of the following actions should you take?
A. You should consider making use of a Windows Forms Control.
B. You should consider making use of a Coded UI Test Project.
C. You should consider making use of a Unit Test Project.
D. You should consider making use of a Web Performance and Load Test Performance Project.
Answer: C Explanation:

QUESTION NO: 28
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating unit tests that makes use of sealed classes. You want to make sure that dependencies in the unit tests are suitably created, maintained, and injected.
You want to configure the use of a suitable isolation method.
Which of the following actions should you take?
A. You should consider making use of counterfoil type isolation methods.
B. You should consider making use of remnant type isolation methods.
C. You should consider making use of shim type isolation methods.

D. You should consider making use of stump type isolation methods.
Answer: C Explanation:

QUESTION NO: 29
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. Upon initialization of the application, you find that exceptions are thrown and handled.
You are required to find out what the state of the application is at the time of the exception being thrown. You should consider selecting Exceptions from the DEBUG menu in Visual Studio 2012.
Which of the following actions should you take? (Choose all that apply.)
A. You should also consider selecting the User-unhandled check box for Common Language Runtime Exceptions option.
B. You should also consider selecting the Usehandled check box for Common Language Runtime Exceptions option.
C. You should also consider de-selecting the User-unhandled check box for Common Language Runtime Exceptions option.
D. You should also consider de-selecting the User-unhandled check box for Common Language Runtime Exceptions option.
Answer: C Explanation:

QUESTION NO: 30
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. The new application should be installed on ABC.com servers located on various networks. Furthermore, the application should be configured to collect news articles for users to browse. The application should, therefore, be accessible via various browsers to allow users to search the site.

You have been instructed to make sure that the page numbers viewed by users in the search results are tracked. To do this, you are required to make sure that the location for storing state data, with reference to the user's search, is configured.
Which of the following actions should you take?
A. You should consider storing search terms and page index by making use of Query.
B. You should consider storing search terms and page index by making use of String.
C. You should consider storing search terms and page index by making use of QueryString.
D. You should consider storing search terms and page index by making use of Search.
Answer: C Explanation:

QUESTION NO: 31
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. ABC.com has a web farm that will host the new application.
You have been informed that the application should allow for web server failures to be handled without much fuss. Furthermore, state data should be shared between the farm servers.
You are preparing to persist the application state during the session.
Which of the following actions should you take?
A. You should consider making use of a state server.
B. You should consider making use of a global catalog server.
C. You should consider making use of a file server.
D. You should consider making use of a database server.
Answer: A Explanation:

QUESTION NO: 32
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. The application will present data that updates on a regular basis.
You have been instructed to make sure that the data is presented in instantaneously. To achieve this, you are required to remove redundant header data, and reduce latency. You also have to transfer information via a full-duplex link.
Which of the following actions should you take on the client and the server?
A. You should consider making use of Named Pipes protocol.
B. You should consider making use of Virtual Interface Adapter (VIA) protocol.
C. You should consider making use of WebSockets protocol.
D. You should consider making use of TCP/IP protocol.
Answer: C Explanation:

QUESTION NO: 33
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You have been tasked with developing a distributed application for ABC.com. The application will be installed on the Windows Azure platform, and should allow for the storage of an insignificant number of unprotected global data.
You want to configure the use of a server-side state management option that makes use of the NetDataContractSerializer class for session state serialization internally. The option also supports simultaneous access to the same set of session state for multiple readers and a single writer.
Which of the following actions should you take?
A. You should consider making use of Session state.
B. You should consider making use of Windows Azure session state.
C. You should consider making use of Control state.
D. You should consider making use of View state.
Answer: B Explanation: QUESTION NO: 34



You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. You have configured the application to include pages for Windows Phone 7 users to browse the site.
You have been instructed to make sure that the application is updated to allow Windows Phone 7 users to accurately view the modified files.
You are required to update a specific method.
Which of the following is the method that should be updated?
A. The Application.OnLaunched method.
B. The Application.Start method.
C. The Application.OnFileActivated method.
D. The OnSearchActivated.Start method.
Answer: B Explanation:


QUESTION NO: 35
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for ABC.com. 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 Explanation:
QUESTION NO: 36
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for ABC.com. ABC.com has a web farm that will host the new application.
You are informed that passwords should be saved in the web.config file, and should be encrypted in such a way that it is not readable, or in a format that is easily decodable.
Which of the following actions should you take?
A. You should consider making use of the Aspnet_regiis.exe command-line tool.
B. You should consider making use of the Aspnet_Ipconfig.exe command-line tool.
C. You should consider making use of the Aspnet_Regsvr32.exe command-line tool.
D. You should consider making use of the Aspnet_reg.exe command-line tool.
Answer: A Explanation:

QUESTION NO: 37
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC web application for ABC.com. The application makes use of claims-based authentication for user authentication.
You are instructed to make sure that the application supports the Windows Azure Access Control Service, and makes use of Windows Identity Foundation 4.5.
You need to write the necessary code to apply authentication.

Which of the following actions should you take?
A. You should consider making use of the IClaimsPrincipal interface.
B. You should consider making use of the IClaimsIdentity interface.
C. You should consider making use of the ClaimsAuthorizationManager class.
D. You should consider making use of the ClaimsAuthenticationManager class
Answer: B Explanation:

QUESTION NO: 38
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. 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 Explanation:

QUESTION NO: 39
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You have been tasked with developing a distributed application for ABC.com. The application should allow for the storage of an insignificant number of unprotected global data. Furthermore, you are informed that modifications to the unprotected global data rarely occur.
Which of the following actions should you take?

A. You should consider making use of View state.
B. You should consider making use of Control state.
C. You should consider making use of Application state.
D. You should consider making use of Windows Azure session state.
Answer: C Explanation:


QUESTION NO: 40
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. You have been instructed to make sure that an ASP.NET membership database is used to authenticate clients.
Which of the following actions should you take?
A. You should consider making use of Digest authentication.
B. You should consider making use of Forms authentication.
C. You should consider making use of Anonymous authentication.
D. You should consider making use of Basic authentication.
Answer: B Explanation:


QUESTION NO: 41
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

You are making use of Visual Studio 2012 to create a new ASP.NET MVC application for ABC.com. The application is configured to include pages for Windows Phone 7 users. These pages contain the _Layout.WP7.cshtml and Index.WP7.cshtml files.
You are required to make sure that the application suitably presents the files to Windows Phone 7 users. You therefore need to update the application.
Which of the following actions should you take?
A. You should consider updating the Application_Start method.
B. You should consider updating the Application_OnLaunched method.
C. You should consider updating the Application_OnSearchActivated method.
D. You should consider updating the Application_OnFileActivated method.
Answer: A Explanation:
QUESTION NO: 42
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing an HttpRequest property that returns the physical file system path that matches the requested URL.
Which of the following is the property being discussed?
A. The HttpRequest.PhysicalPath property.
B. The HttpRequest.Path property.
C. The HttpRequest.PathInfo property.
D. The HttpRequest.PhysicalApplicationPath property.
Answer: A Explanation:
QUESTION NO: 43
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
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 Explanation:

QUESTION NO: 44
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing the UserHostName HttpRequest property.
Which of the following describes the purpose of this property?
A. It returns the raw user agent string of the client browser.
B. It returns the IP host address of the remote client.
C. It returns a sorted string array of client language preferences.
D. It returns the DNS name of the remote client.
Answer: D Explanation:
QUESTION NO: 45

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing a SessionState mode that stores session state in memory on the Web server.
Which of the following is the SessionState mode being discussed?
A. The In-process mode.
B. The Off mode.
C. The SQLServer mode.
D. The StateServer mode.
E. The Custom mode.
Answer: A Explanation:

QUESTION NO: 46
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing SessionState modes.
Which of the following is the default SessionState mode?
A. The In-process mode.
B. The Off mode.
C. The SQLServer mode.
D. The StateServer mode.
E. The Custom mode.
Answer: A Explanation: QUESTION NO: 47



You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing state management options that allows the storing of data on the server. You are currently dealing with the option that allows you to store user-specific data.
Which of the following is the option being discussed?
A. Query Strings.
B. Application State.
C. Profile Properties.
D. Session State.
E. View State.
Answer: C Explanation:
QUESTION NO: 48
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing the HttpWorkerRequest methods. You are currently dealing with a method that returns the specified member of the request header.
Which of the following is the method being discussed?
A. GetHttpVersion.
B. GetHttpVerbName.
C. GetHashCode.
D. GeABCnownRequestHeaderName.
E. GeABCnownResponseHeaderIndex.
Answer: B Explanation:


QUESTION NO: 49
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing the HttpWorkerRequest methods. You are currently dealing with a method that returns all nonstandard HTTP header name-value pairs.
Which of the following is the method being discussed?
A. GetUnknownRequestHeaders.
B. GetUnknownRequestHeader.
C. GeABCnownRequestHeaderName.
D. GeABCnownResponseHeaderIndex.
Answer: A Explanation:

QUESTION NO: 50
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You make use of Visual Studio 2012 to create new ASP.NET MVC web applications for ABC.com.
You are currently running a training exercise for junior developers. You are discussing a class that converts task-returning asynchronous methods into methods that use the asynchronous programming model used in previous versions of ASP.NET.
Which of the following is the class being discussed?
A. The EventHandlerTaskAsyncHelper class.
B. The HttpServerUtilityBase class.
C. The HttpRuntime class.
D. The HttpResponse class.

Answer: A Explanation: http://msdn.microsoft.com/en-us/library/system.web.eventhandlertaskasynchelper.aspx

Topic 5, Scenario 4
Background
You are in the process of creating a service for consolidating data. The service retrieves and combines data from various sources into one data set. This consolidated data is then hosted by a SQL Server database, which can then be queried and retrieved by clients via a REST API provided by the service.
Furthermore, the service allows for the accessing of historical data. This historical data is filtered and queried in an ad hoc fashion.
A Windows Azure Web Role has been configured for running the service. Also, the use of Secure Sockets Layer (SSL) is not configured.
Business Requirements
A developer, situated in a different region, is in the process of creating a new data source for historical data.
In the event that a time zone is not indicated, it should be construed to be Coordinated Universal Time (UTC).
Service downtime must be kept to a minimum while upgrading from a staging deployment to a production deployment.
HTTP traffic should be conveyed via the default port.
Technical Requirements
Data from Weyland Industries is supplied in an XML file format.
Data from Consolidated Messenger is supplied in a Microsoft Access database, which is uploaded to the service at noon and midnight on a daily basis, via SECURE FTP (SFTP) over port 22.

ABC Tourism makes use of serialized ADO.NET DataSets to supply and consume data. This data is synced between the service and ABC Tourism on a regular basis.
Data from various sources, which is serialized in proprietary binary formats, as well as .NET assemblies for reading the data is supplied by ABC R&D. These assemblies make use of a mutual collection of dependencies, and are signed with a key pair contained in a file named ABCRD.snk.
Third-party assemblies must have strong names in accordance with the application specification.


QUESTION NO: 51
You are required to write code to make sure that the Windows Azure service definition allows for Consolidated Messenger to upload files in accordance with the requirements.
Which of the following is an element that should be included in your code?
A. The InternalEndpoint Element.
B. The FixedPortRange Element.
C. The AllocatePublicPortFrom Element.
D. The InputEndpoint Element.
Answer: D Explanation:
QUESTION NO: 52
You have been instructed to satisfy the business prerequisites for deploying the application.
You have logged into the Management Portal, expanded the subscription that contains the hosted service to upgrade, and then click the deployment to upgrade.
Which of the following actions should you take NEXT?
A. You should consider clicking the Upgrade button on the ribbon.
B. You should consider clicking the Configure button on the ribbon.
C. You should consider clicking the Swap VIP button on the ribbon.
D. You should consider clicking the Configure OS button on the ribbon.
Answer: C Explanation:


QUESTION NO: 53
You have been tasked with making sure that the developer creating the new data source for historical data makes use of a suitable data access technology to facilitate data retrieval.
Which of the following actions should you take?
A. You should consider suggesting the use of XML to HTML.
B. You should consider suggesting the use of SQL Server.
C. You should consider suggesting the use of Secure FTP (SFTP).
D. You should consider suggesting the use of WCF Data Services.
Answer: D Explanation:

QUESTION NO: 54
You are writing code to apply the Sync() method. The method should be configured to make sure that when syncing data supplied by ABC Tourism, the changes are combined. This process should not result in data being corrupted or lost.
Which of the following is a member that should be used for both the XmlWriteMode and XmlReadMode enumerations?
A. Auto
B. DiffGram
C. IgnoreSchema
D. InferSchema

Answer: B Explanation:
References: http://msdn.microsoft.com/en-us/library/ms135424.aspx
QUESTION NO: 55

Subsequent to the deployment of the service, ABC R&D releases a new version of their assembly. The new version has been configured to deal with modifications to the serialization format.
To make sure that the service continues to be accessible while converting to the new serialization format and that the new assembly is used by the service, you have to configure settings in a specific file.
Which of the following is the file in question?
A. The app.config file.
B. The web.config file.
C. The machine.config file.
D. The service.config file.

Answer: B Explanation:
References: http://msdn.microsoft.com/en-us/library/7wd6ex19.aspx


QUESTION NO: 56
You have noticed that updates to data are disappearing as a result of errors taking place during save operations via the ADO.NET Entity Framework context.
You are writing code that allows for the save operation to be retried for a specific number of times.
Which of the following actions should you take?
A. You should consider creating a try-catch statement.
B. You should consider creating a try-block statement.
C. You should consider creating a try-end statement.
D. You should consider creating an if-catch statement.
Answer: A Explanation:
QUESTION NO: 57
The HttpContext.Cache object is configured to cache information supplied by Consolidated Messenger. You have been instructed to make sure that, when new information is supplied, the cache is suitably updated.

Which of the following actions should you take?
A. You should consider making use of the CacheDependency type that was configured to watch the HTTP target folder.
B. You should consider making use of the CacheDependency type that was configured to watch the HTTPS target folder.
C. You should consider making use of the CacheDependency type that was configured to watch the SSL target folder.
D. You should consider making use of the CacheDependency type that was configured to watch the SFTP target folder.
Answer: D Explanation:
QUESTION NO: 58
You are preparing to write the necessary code to add Consolidated Messenger data as per the prerequisites.
Which of the following should be included in your code?
A. You should consider making use of the OleDbErrorCollection class.
B. You should consider making use of the OleDbFactory class.
C. You should consider making use of the OleDbConnection class.
D. You should consider making use of the OleDbDataAdapter class.

Answer: C Explanation:


QUESTION NO: 59
You are preparing to write the necessary code to add Consolidated Messenger data as per the prerequisites.
Which of the following should be included in your code?

A. You should consider making use of the OleDbDataReader class.
B. You should consider making use of the OleDbErrorCollection class.
C. You should consider making use of the OleDbFactory class.
D. You should consider making use of the OleDbDataAdapter class.
Answer: A Explanation:
QUESTION NO: 60
You have previously written code that allows for converted historical data to be supplied by a custom method. You are now preparing to make sure that this data is as a series of XML elements to the response stream within a root element.
You are required to write the necessary code that includes a class which represents elements in an XML tree that supports deferred streaming output.
Which of the following is the class that should be included?
A. The XProcessingInstruction class.
B. The XNode class.
C. The XStreamingElement class.
D. The XDocument class.

Answer: C Explanation:
References: http://msdn.microsoft.com/en-us/library/system.xml.linq.xstreamingelement.aspx http://msdn.microsoft.com/en-us/library/bb551307.aspx


QUESTION NO: 61
You have previously written code that allows for converted historical data to be supplied by a custom method. You are now preparing to make sure that this data is as a series of XML elements to the response stream within a root element.
You are required to write the necessary code which includes a method of the XStreamingElement class that allows for the streaming element to be written to an XmlWriter.

Which of the following is the method that should be included?
A. The Save(Stream) method.
B. The Save(XmlWriter) method.
C. The Save(String) method.
D. The WriteTo method.
Answer: D Explanation:
References: http://msdn.microsoft.com/en-us/library/system.xml.linq.xstreamingelement.aspx http://msdn.microsoft.com/en-us/library/bb551307.aspx
Topic 6, Scenario 5

Background
You are making use of Visual Studio 2012 to create an ASP.NET MVC order processing application.

Business Prerequisites
You have been informed that the application should include a page that queries a peripheral database for orders that are ready to be processed, as well as a page that displays processed orders. The application should also include a page that displays supplier details.
The retrieval of peripheral information should require the consumption of three WCF services.

Technical Prerequisites
The Visual Studio solution includes three WCF service projects. One for communicating with the peripheral order database, one for submitting order data to a peripheral data source, and one to obtain transport data. The solution should also include an ASP.NET MVC project for processing orders and logging order metadata.
The three WCF service projects are named PeripheralQueue, OrderUpload, and Transport. The ASP.NET MVC project is named OrderProcessor.
The PeripheralQueue project makes use of Entity Framework to access data. Entities have been specified in a file, named PeripheralOrders.edmx. Two services, which are included in the project, have been specified in the IPeripheralQueueService.es and the PeripheralQueueService.svc files.

A definition for a class, named OrderNotFound Exception, has been included in the PeripheralQueue.Helpers namespace.
The OrderProcessor project makes use of Entity Framework to access data. Entities have been specified in a file, named ProcessedOrders.edmx. Two services, which are included in the project, have been specified in the InboundQueueController.es and the ProcessedOrderController.es files.
You have generated WCF service proxies to the PeripheralQueue, Transport and OrderUpload services via the command prompt. The PeripheralQueueService.svc file includes the ExecuteCommandProcedure() method, which should be executed asynchronously.
Prerequisites for the ProcessedOrderController controller are shown below:
A 5 minute absolute cache expiration policy should be applied by the GetSupplierPolicy() method.
The last 20 orders that were processed should be presented by the GetProcessedOrders() method.
Two services, which are included in the OrderUpload project, have been specified in the IUploadCallbackService.es and the UploadCallbackService.svc files. A file named UploadOrder.es is configured to handle access to data.
The Transport project makes use of Entity Framework to access data. Entities have been specified in a file, named PeripheralOrders.edmx. The PeripheralOrders.edmx does not include the Custom Tool property.
Two services, which are included in the project, have been specified in the ITransportService.es and the TransportService.svc files.
The TransportAddress.es file is configured to host the POCO classes for the Entity Model. Lazy loading should be employed to load the POCO entity.
An operation that receives an order number as a parameter should be included in the ITransportService contract. This operation should be configured to retrieve a class that inherits from the State class.


QUESTION NO: 62
After the ExternalQueueService service��s GetPeripheralOrder() method produces a runtime error, you are informed that the method should be configured to query the database for a record that corresponds with the orderNum parameter passed to the method.

You are required to make changes to the previously written code to achieve your goal.
Which of the following actions should you take?
A. You should consider making change to the queryString string.
B. You should consider making change to the DisplayName string.
C. You should consider making change to the EmailAddress string.
D. You should consider making change to the Name string.
E. You should consider making change to the Type string.
Answer: A Explanation:
QUESTION NO: 63
Subsequent to creating a class named TransportData, you are required make changes to both the ITransportService interface and the TransportData class as per the prerequisites.
You are preparing to write the necessary code.
Which of the following should be included in this code?
A. You should consider including the ServiceConfiguration attribute.
B. You should consider including the ServiceHost attribute.
C. You should consider including the ServiceContract attribute.
D. You should consider including the ServiceSecurityContext attribute.

Answer: C Explanation:
QUESTION NO: 64
You are preparing to generate the TransportContext class in keeping with the prerequisites.
You are in the process of writing the necessary code.
Which of the following is the class that should be included in your code?
A. The ObjectResult class.
B. The ObjectContext class.

C. The ObjectQuery class.
D. The ObjectParameterclass.
Answer: B Explanation:

QUESTION NO: 65
You have been instructed to satisfy part of the technical prerequisites by altering the ExecuteCommandProcedure() method.
You are preparing to write the necessary code.
Which of the following should be included in your code?
A. A lock statement.
B. A fixed statement.
C. An await statement.
D. A yield return statement.
Answer: C Explanation:

QUESTION NO: 66
You are preparing to write the necessary code to configure the GetProcessedOrders() method in accordance with the prerequisites for the ProcessedOrderController controller.
Which of the following is a method that should be included in your code?
A. The ToArray method.
B. The Sum method.
C. The Take method.
D. The Skip method.
Answer: C Explanation:
QUESTION NO: 67

You are required to make sure that data is presented by the InboundQueueController controller via the GetQueueItems() method. You are required to make sure that this occurs by calling the GetExternalOrders() method in the ExternalQueueService service.
Which of the following is the class that you should make use of?
A. You should consider making use of the CorrelationQuery class.
B. You should consider making use of the OperationContext class.
C. You should consider making use of the ChannelFactory class.
D. You should consider making use of the ChannelTerminatedException class.
Answer: C Explanation:

QUESTION NO: 68
You are preparing to make sure that a FaultException exception occurs for the DeletePeripheralOrder() method in the PeripheralQueueService service.
You are preparing to write the necessary code to make sure that the exception is thrown.
Which of the following actions should you take?
A. You should consider writing code that initializes a new instance of the FaultException class using the specified reason and SOAP fault code.
B. You should consider writing code that initializes a new instance of the FaultException class using the specified SOAP fault code.
C. You should consider writing code that initializes a new instance of the FaultException class using the specified reason.
D. You should consider writing code that initializes a new instance of the FaultException class using the specified fault code.

Answer: C Explanation:


QUESTION NO: 69
You have been instructed to make sure that task-based asynchronous method signatures are added to the service proxies. To achieve this, you are required to make use of a specific tool to redevelop the service proxies.

Which of the following actions should you take?
A. You should consider making use of the ServiceModel Metadata Utility tool.
B. You should consider making use of the Configuration Editor Tool.
C. You should consider making use of the ServiceModel Registration Tool.
D. You should consider making use of the Service Trace Viewer Tool.
Answer: A Explanation:
References: http://msdn.microsoft.com/en-us/library/aa347733.aspx


QUESTION NO: 70
You have been tasked with writing code to change the ExecuteCommandProcedure() method to meet the prerequisites stipulated in the scenario.
Which of the following should be included in your code?
A. The ExecuteScalarAsync Method method.
B. The ExecuteNonQueryAsync method.
C. The ExecuteDbDataReaderAsync Method method.
D. The ExecuteReader Methodmethod.
Answer: B Explanation:
QUESTION NO: 71
You are in the process of writing code to make sure that the GetSupplier() method in the ProcessedOrderController controller only queries the database if the cache is null.
Which of the following actions should you take?
A. You should consider including the ToArray method.
B. You should consider including the ToString method.
C. You should consider including the ToList method.

D. You should consider including the Skip method.
Answer: C Explanation:

QUESTION NO: 72
You are preparing to alter the entities in the designer to make sure that the QueueDetail entity type inherits the InboundQueue entity type in the ExternalQueue service project. You want to make sure that table-per-type inheritance is made use of.
Which of the following actions should you take?
A. You should consider accessing InboundQueue to delete the OrderNum property.
B. You should consider accessing QueueDetail to add the OrderNum property.
C. You should consider accessing InboundQueue to add the OrderNum property.
D. You should consider accessing QueueDetail to delete the OrderNum property.

Answer: D Explanation:
References: http://www.robbagby.com/entity-framework/entity-framework-modeling-table-per-type-inheritance/
Topic 7, Mix Questions (Set 2)

QUESTION NO: 73
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating an ADO.NET Entity Framework application for ABC.com. You are preparing to make use of EdmGen.exe from the command line, to authenticate the CSDL, SSDL, and MSL files. The mode used for this should also allow for errors or warnings to be shown.
Which of the following is the mode of the EdmGen.exe tool that should be specified?
A. The /mode:ValidateArtifacts mode.
B. The /mode:FullGeneration mode.

C. The /mode:FromSSDLGeneration mode.
D. The /mode:ViewGeneration mode.

Answer: A Explanation:
References: http://msdn.microsoft.com/en-us/library/bb387165.aspx


QUESTION NO: 74
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new application using ASP.NET Web API. You have been informed that blog administrators should have the ability to regulate blog comments. You, therefore, have to configure the use of a suitable HTTP verb.
Which of the following is the HTTP verb you should use?
A. GET
B. SET
C. LOCATE
D. PUT
Answer: D Explanation:
QUESTION NO: 75
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating an ASP.NET MVC web application for ABC.com. You have included an HTML for a client table in the application.
You have previously created an ASP.NET Web API application, which is configured to include a client retrieval request. You have been informed that the format used to send and retrieve client information, should be in the smallest size it can be.

You then receive instructions to write the necessary code to create a script for making sure that the HTML is suitably updated to include information from the Web API application.
Which of the following is a data type that should be included in your code?
A. The AJAX data type.
B. The XML data type.
C. The JSON data type.
D. The XAML data type.
Answer: C Explanation:

QUESTION NO: 76
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new application using ASP.NET MVC Web API. You have been informed that the Web API method names should correspond with the RESTful services naming recommendations.
Which of the following is a suitable method to retrieve data in an HTTP service?
A. The SET method.
B. The GET method.
C. The PUT method.
D. The POST method.

Answer: B Explanation:
References: http://msdn.microsoft.com/en-us/library/ff478141.aspx


QUESTION NO: 77
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating ASP.NET MVC Web API application. You are required to write code that includes a member of the TransferMode Enumeration.

The selected member should allow for the request message to be buffered and the response message to be streamed.
Which of the following actions should you take?
A. You should consider making use of the Buffered member.
B. You should consider making use of the Streamed member.
C. You should consider making use of the StreamedRequest member.
D. You should consider making use of the StreamedResponse member.
Answer: D Explanation:
QUESTION NO: 78
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You have been informed that ABC.com websites must be migrated from IIS 6 to IIS 7.5. You have been tasked with performing the migration, even though SSH or a VPN is inaccessible to you.
Which of the following actions should you take?
A. You should consider making use of the Gpupdate tool.
B. You should consider making use of the Web Deploy tool.
C. You should consider making use of an SDK.
D. You should consider broadcasting the websites.
Answer: B Explanation:

QUESTION NO: 79
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new application using ASP.NET MVC. You have been informed that a suitable deployment tool should be made available to administrators who have been assigned the necessary elevated permissions for deploying the application. Visual Studio 2102 is inaccessible to these administrators.

Which of the following actions should you take?
A. You should consider configuring the use of an SDK.
B. You should consider broadcasting the application.
C. You should consider configuring the use of Gpupdate.
D. You should consider configuring the use of Web Deployment Package.
Answer: D Explanation:

QUESTION NO: 80
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a set of libraries for ABC.com. To make sure that the libraries a shared throughout ABC.com, you have to generate a NuGet feed that exposes the libraries.
Which of the following actions should you take FIRST?
A. You should consider installing the NuGet.Feed package.
B. You should consider installing the NuGet.Server package.
C. You should consider installing the NuGet.Client package.
D. You should consider installing the NuGet.Library package.
Answer: B Explanation:

QUESTION NO: 81
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You have created a new ASP.NET MVC application for ABC.com. The Secure Sockets Layer (SSL) protocol has been configured to secure the application.
You are preparing to create a deployment package that should contain the installation of the SSL certificate.

Which of the following actions should you take?
A. You should consider creating a web publish pipeline target file that includes a custom web deploy target.
B. You should consider creating a web publish pipeline target file that includes the default web deploy target.
C. You should consider extending the CopyAllFilesToSharedFolder target in the project file.
D. You should consider extending the CopyAllFilesToSharedFolder target in the target file.
Answer: A Explanation:

QUESTION NO: 82
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a library that should be configured to support numerous ASP.NET MVC web applications on ABC.com��s shared server. The library will be used to supply security algorithm applications.
You have been informed that a new version of the library must be generated and installed as soon as an issue with any of the security algorithms arises. Updating the library should not require the application to be offline for longer than necessary.
You want to make sure that the new edition of the library is available to application in the least time required.
Which of the following actions should you take FIRST?
A. You should consider installing the security assembly in the Global Catalog.
B. You should consider installing the security assembly in a Global Group.
C. You should consider installing the security assembly in the Global Names Zone.
D. You should consider installing the security assembly in the Global Assembly Cache (GAC).
Answer: D Explanation:
QUESTION NO: 83

You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new application using ASP.NET MVC. The new application will be configured to read and write information from a ABC.com database.
You have decide to configure the application to make use of an isolation level that holds shared locks while the information is being read for the purpose of avoiding dirty reads.
Which of the following is the isolation level in question?
A. The ReadCommitted isolation level.
B. The Chaos isolation level.
C. The RepeatableRead isolation level.
D. The Unspecified isolation level.
Answer: A Explanation:

QUESTION NO: 84
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new Windows Azure based web application. You are configuring the use of a storage service that allows for storing large amounts of unstructured data that can be accessed from anywhere in the world via HTTP or HTTPS.
Which of the following is the storage service you are planning to use?
A. Table storage.
B. Queue storage.
C. Blob storage.
D. SQL Database.
Answer: C Explanation:
QUESTION NO: 85
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

You are in the process of creating a self-hosted WCF service that must be accessible to client applications. You are preparing to write the necessary code to allow for this.
Which method of the ServiceHost class must be included in your code?
A. The BeginClose method.
B. The BeginOpen method.
C. The AddServiceEndpoint method.
D. The ApplyConfiguration method.
Answer: C Explanation:

QUESTION NO: 86
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a WCF service. The service is configured to evaluate a number of information supplies, resulting in extensive processing.
You have been instructed to make sure that, even though the service is active, the client keeps on running. You also have to make sure that when the service stops running, communication with the client application is launched.
Which of the following actions should you take to complete your task?
A. You should consider configuring the use of the Send message pattern.
B. You should consider configuring the use of the Return message pattern.
C. You should consider configuring the use of the Duplex message pattern.
D. You should consider configuring the use of the Reaction message pattern.
Answer: C Explanation:

QUESTION NO: 87
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

You are in the process of creating a WCF service that will be configured to make use of NetTcpBinding in transport security mode. The service will also make use of Ntlm authentication.
You need to write code that includes a binding class that represents an interoperable binding, which allows for distributed transactions and secure, reliable sessions.
What binding class should you make use of?
A. The BasicHttpBinding class.
B. The MsmqBindingBase class.
C. The NetHttpBinding class.
D. The WSHttpBinding class.
Answer: D Explanation:

QUESTION NO: 88
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a WCF service that makes use of the PerCall instancing mode.
Which of the following suitably describes the reason for using this instancing mode?
A. It allows for a new service instance to be generated for every new client request, and maintained for as long as the session lasts.
B. It allows for a single instance of the service class to handle multiple client requests.
C. It allows for a new service instance to be generated for every client request.
D. It prevents a new service instance from being generated for every client request.
Answer: C Explanation:

QUESTION NO: 89
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a WCF service that must be able to stream messages to Intranet clients. You have been informed that all messages should be binary encoded. You have also been told to make use of Windows Authentication.

You are preparing to write the necessary code to configure the service.
Which of the following is the type of binding that should be included in your code?
A. BasicHttpBinding.
B. HttpBindingBase.
C. netTcpBinding.
D. WSHttpBinding.
Answer: C Explanation:

QUESTION NO: 90
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a WCF service that makes use of the PerSession instancing mode.
Which of the following suitably describes the reason for using this instancing mode?
A. It allows for a new service instance to be generated for every new client request, and maintained for as long as the session lasts.
B. It allows for a single instance of the service class to handle multiple client requests.
C. It allows for a new service instance to be generated for every client request.
D. It prevents a new service instance from being generated for every client request.
Answer: A Explanation:

QUESTION NO: 91
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a WCF service for ABC.com. you have been informed that you have to make sure that the endpoints of the service is exposed to the Windows Azure Service Bus.

Which of the following actions should you take?
A. You should consider making changes to the app.config file.
B. You should consider making changes to the web.config file.
C. You should consider making changes to the machine.config file.
D. You should consider making changes to the service.config file.
Answer: B Explanation:

QUESTION NO: 92
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a WCF service that will be configured to make use of NetTcpBinding in transport security mode.
You need to bind ClientCredentialType property to an authentication type that can be used when Kerberos authentication cannot be used for whatever reason.
Which of the following actions should you take?
A. You should consider making use of Digest authentication.
B. You should consider making use of Ntlm authentication.
C. You should consider making use of Windows authentication.
D. You should consider making use of Certificate authentication.
Answer: B Explanation:

QUESTION NO: 93
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating ASP.NET MVC Web API application. You are required to write code that includes a member of the TransferMode Enumeration.

The selected member should allow for the request message to be streamed and the response message to be buffered.
Which of the following actions should you take?
A. You should consider making use of the Buffered member.
B. You should consider making use of the Streamed member.
C. You should consider making use of the StreamedRequest member.
D. You should consider making use of the StreamedResponse member.
Answer: C Explanation:

QUESTION NO: 94
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new application using ASP.NET Web API. You have been informed that blog administrators should have the ability to remove comments from blogs. You, therefore, have to configure the use of a suitable HTTP verb.
Which of the following is the HTTP verb you should use?
A. CUT
B. DELETE
C. COPY
D. SEND
Answer: B Explanation:

QUESTION NO: 95
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating an ASP.NET Web API application for ABC.com. The application will be used for various alterations. A composite application from a different web domain will used to allow a web browser to consume the alterations.

You are preparing to write code to suitably configure the Web API. The code will include the Access-Control-Allow-Origin header.
Which of the following is the value that should be specified for the Access-Control-Allow-Origin header?


A. @
B. %
C. *
D. :
Answer: C Explanation:
QUESTION NO: 96
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are in the process of creating a new application using ASP.NET MVC. The new application will be configured to read and write information from a ABC.com database.
You have decide to configure the application to make use of an isolation level that places a range lock on the data set, thereby preventing other users from updating or inserting rows into the dataset until the transaction has been completed.
Which of the following is the isolation level in question?
A. The RepeatableRead isolation level.
B. The Chaos isolation level.
C. The Serializable isolation level.
D. The Unspecified isolation level.
Answer: C Explanation:

QUESTION NO: 97
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

ABC.com has an application that queries and accesses information via the ADO.NET Entity Framework. You want to update the ADO.NET Entity Framework to the newest addition because it includes bug fixes to enhance functionality.
Which of the following actions should you take?
A. You should consider accessing the Architecture menu in Visual Studio 2012 and select Library Package Manager.
B. You should consider accessing the Tools menu in Visual Studio 2012 and select Library Package Manager.
C. You should consider accessing the Analyze menu in Visual Studio 2012 and select Library Package Manager.
D. You should consider accessing the Tools menu in Visual Studio 2012 and select Extension Manager.
Answer: B Explanation:

QUESTION NO: 98
You are employed as a senior developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the Publish Web Site Tool.
Which of the following suitably describes the Publish Web Site Tool?
A. It is a .zip file that contains all the information needed for deployment.
B. It is a tool that precompiles the files in a Web site project and then writes the output to a folder that you stipulate.
C. It is a .config file that contains all the information needed for deployment.
D. It is a feature in Visual Studio that lets you deploy directly from the Visual Studio IDE by clicking a button.
Answer: B Explanation:
QUESTION NO: 99
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.

You are running a training exercise for junior developers. You are currently discussing the use of Table storage.
Which of the following best describes the use of Table storage?
A. To store large amounts of structured data.
B. To store your data on a back-end server and retrieve the data over the network.
C. To store large numbers of messages that can be accessed from anywhere in the world via authenticated calls using HTTP or HTTPS.
D. To store large amounts of unstructured data that can be accessed from anywhere in the world via HTTP or HTTPS.
Answer: A Explanation:

QUESTION NO: 100
You are employed as a developer at ABC.com. ABC.com has a single Active Directory domain, named ABC.com.
You are running a training exercise for junior developers. You are currently discussing the one-way message pattern.
Which of the following is another name for this message pattern?
A. Streaming.
B. Request-reply.
C. Callback.
D. Datagram.
Answer: D Explanation: