PrepAway - Latest Free Exam Questions & Answers

Category: 70-486 (v.1)

Exam 70-486: Developing ASP.NET MVC 4 Web Applications (update September 1st, 2014)

Which of the following is a process method that should be included in your code?

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.
**********************************

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?

Which of the following actions should you take?

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.
**********************************

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?

Which of the following actions should you take?

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.
**********************************

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?

Which of the following actions should you take fix the problem?

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?

Which of the following actions should you take?

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?

Which of the following actions should you take?

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?

Which of the following actions should you take?

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.)

Which of the following actions should you take?

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?


Page 3 of 512345