PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

Which code segment should you use as the body of the SendAsync method in the DeleteHandler class?

###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
You are developing a video transcoding service. This service is used by customers to upload
video files, convert video to other formats, and view the converted files. This service is used
by customers all over the world.
Business Requirements
The user-facing portion of the application is an ASP.NET MVC application. It provides an
interface for administrators to upload video and schedule transcoding. It also enables
administrations and users to download the transcoded videos.
When videos are uploaded, they are populated with metadata used to identify the video. The
video metadata is gathered by only one system when the video upload is complete.
Customers require support for Microsoft Internet Explorer 7 and later.
The application contains a header that is visible on every page.
If the logged-on user is an administrator, then the header will contain links to administrative
functions. This information is read from a cookie that is set on the server. The administrative
links must not be present if an error condition is present
Technical Requirements
User Experience:
• The front-end web application enables a user to view a list of videos.
• The main view of the application is the web page that displays the list of videos.

• HTML elements other than the list of videos are changed with every request requiring
the page to reload.
Compatibility:
• Some customers use browsers that do not support the HTTP DELETE verb.
• These browsers send a POST request with an HTTP header of X-Delete when
the intended action is to delete.
Transcoding:
• The video transcoding occurs on a set of Microsoft Azure worker roles.
• The transcoding is performed by a third-party command line tool named
transcode.exe. When the tool is installed, an Environment variable named
transcode contains the path to the utility.
• A variable named license contains the license key. The license for the
transcoding utility requires that it be unregistered when it is not in use.
• The transcoding utility requires a significant amount of resources. A
maximum of 10 instances of the utility can be running at any one time. If an
instance of the role cannot process an additional video, it must not prevent any
other roles from processing that video.
• The utility logs errors to a Logs directory under the utilities path.
• A local Azure directory resource named pert is used to capture performance
data.
Development:
• Developers must use Microsoft Remote Desktop Protocol (RDP) to view
errors generated by the transcode.exe utility.
• An x509 certificate has been created and distributed to the developers for this
purpose.
• Developers must be able to use only RDP and not any other administrative
functions.
Application Structure
TranscodeWorkerRole.es

ThumbnailGenerator.es

VideoController.es

DeleteHdiidler.es

VideoAdminAttributes.es

AdminVerifierFactory.es

###EndCaseStudy###

You need to ensure that all customers can delete videos regardless of their browser
capability.
Which code segment should you use as the body of the SendAsync method in the
DeleteHandler class?

You need to terminate the application when the application consumes more than half of the available memory on

You manage a server that runs Windows Server 2008 R2. The Remote Desktop Services server role is
installed on the server. A Remote Desktop Services application runs on the server. Users report that
the application stops responding. You monitor the memory usage on the server for a week. You
discover that the application has a memory leak. A patch is not currently available. You create a new
resource-allocation policy in Windows System Resource Manager (WSRM). You configure a Process
Matching Criteria named TrackShip and select the application. You need to terminate the application
when the application consumes more than half of the available memory on the server. What should
you do?

Which code segment should you use as the body for the CreateController method in AdminVerifierFactory.es?

###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
You are developing a video transcoding service. This service is used by customers to upload
video files, convert video to other formats, and view the converted files. This service is used
by customers all over the world.
Business Requirements
The user-facing portion of the application is an ASP.NET MVC application. It provides an
interface for administrators to upload video and schedule transcoding. It also enables
administrations and users to download the transcoded videos.
When videos are uploaded, they are populated with metadata used to identify the video. The
video metadata is gathered by only one system when the video upload is complete.
Customers require support for Microsoft Internet Explorer 7 and later.
The application contains a header that is visible on every page.
If the logged-on user is an administrator, then the header will contain links to administrative
functions. This information is read from a cookie that is set on the server. The administrative
links must not be present if an error condition is present
Technical Requirements
User Experience:
• The front-end web application enables a user to view a list of videos.
• The main view of the application is the web page that displays the list of videos.

• HTML elements other than the list of videos are changed with every request requiring
the page to reload.
Compatibility:
• Some customers use browsers that do not support the HTTP DELETE verb.
• These browsers send a POST request with an HTTP header of X-Delete when
the intended action is to delete.
Transcoding:
• The video transcoding occurs on a set of Microsoft Azure worker roles.
• The transcoding is performed by a third-party command line tool named
transcode.exe. When the tool is installed, an Environment variable named
transcode contains the path to the utility.
• A variable named license contains the license key. The license for the
transcoding utility requires that it be unregistered when it is not in use.
• The transcoding utility requires a significant amount of resources. A
maximum of 10 instances of the utility can be running at any one time. If an
instance of the role cannot process an additional video, it must not prevent any
other roles from processing that video.
• The utility logs errors to a Logs directory under the utilities path.
• A local Azure directory resource named pert is used to capture performance
data.
Development:
• Developers must use Microsoft Remote Desktop Protocol (RDP) to view
errors generated by the transcode.exe utility.
• An x509 certificate has been created and distributed to the developers for this
purpose.
• Developers must be able to use only RDP and not any other administrative
functions.
Application Structure
TranscodeWorkerRole.es

ThumbnailGenerator.es

VideoController.es

DeleteHdiidler.es

VideoAdminAttributes.es

AdminVerifierFactory.es

###EndCaseStudy###

You need to ensure that all the MVC controllers are secure.
Which code segment should you use as the body for the CreateController method in
AdminVerifierFactory.es?

You need to implement the custom authentication

###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
You are developing a video transcoding service. This service is used by customers to upload
video files, convert video to other formats, and view the converted files. This service is used
by customers all over the world.
Business Requirements
The user-facing portion of the application is an ASP.NET MVC application. It provides an
interface for administrators to upload video and schedule transcoding. It also enables
administrations and users to download the transcoded videos.
When videos are uploaded, they are populated with metadata used to identify the video. The
video metadata is gathered by only one system when the video upload is complete.
Customers require support for Microsoft Internet Explorer 7 and later.
The application contains a header that is visible on every page.
If the logged-on user is an administrator, then the header will contain links to administrative
functions. This information is read from a cookie that is set on the server. The administrative
links must not be present if an error condition is present
Technical Requirements
User Experience:
• The front-end web application enables a user to view a list of videos.
• The main view of the application is the web page that displays the list of videos.

• HTML elements other than the list of videos are changed with every request requiring
the page to reload.
Compatibility:
• Some customers use browsers that do not support the HTTP DELETE verb.
• These browsers send a POST request with an HTTP header of X-Delete when
the intended action is to delete.
Transcoding:
• The video transcoding occurs on a set of Microsoft Azure worker roles.
• The transcoding is performed by a third-party command line tool named
transcode.exe. When the tool is installed, an Environment variable named
transcode contains the path to the utility.
• A variable named license contains the license key. The license for the
transcoding utility requires that it be unregistered when it is not in use.
• The transcoding utility requires a significant amount of resources. A
maximum of 10 instances of the utility can be running at any one time. If an
instance of the role cannot process an additional video, it must not prevent any
other roles from processing that video.
• The utility logs errors to a Logs directory under the utilities path.
• A local Azure directory resource named pert is used to capture performance
data.
Development:
• Developers must use Microsoft Remote Desktop Protocol (RDP) to view
errors generated by the transcode.exe utility.
• An x509 certificate has been created and distributed to the developers for this
purpose.
• Developers must be able to use only RDP and not any other administrative
functions.
Application Structure
TranscodeWorkerRole.es

ThumbnailGenerator.es

VideoController.es

DeleteHdiidler.es

VideoAdminAttributes.es

AdminVerifierFactory.es

###EndCaseStudy###

You are creating a new authentication system that uses an HTTP header value.
The existing authentication system must continue to operate normally.
You need to implement the custom authentication.
What should you do? (Each correct answer presents a complete solution. Choose all that
apply.)

Which method should you add to the TranscodeWorkerRole class?

###BeginCaseStudy###
Case Study: 3
Scenario 3
Background
You are developing a video transcoding service. This service is used by customers to upload
video files, convert video to other formats, and view the converted files. This service is used
by customers all over the world.
Business Requirements
The user-facing portion of the application is an ASP.NET MVC application. It provides an
interface for administrators to upload video and schedule transcoding. It also enables
administrations and users to download the transcoded videos.
When videos are uploaded, they are populated with metadata used to identify the video. The
video metadata is gathered by only one system when the video upload is complete.
Customers require support for Microsoft Internet Explorer 7 and later.
The application contains a header that is visible on every page.
If the logged-on user is an administrator, then the header will contain links to administrative
functions. This information is read from a cookie that is set on the server. The administrative
links must not be present if an error condition is present
Technical Requirements
User Experience:
• The front-end web application enables a user to view a list of videos.
• The main view of the application is the web page that displays the list of videos.

• HTML elements other than the list of videos are changed with every request requiring
the page to reload.
Compatibility:
• Some customers use browsers that do not support the HTTP DELETE verb.
• These browsers send a POST request with an HTTP header of X-Delete when
the intended action is to delete.
Transcoding:
• The video transcoding occurs on a set of Microsoft Azure worker roles.
• The transcoding is performed by a third-party command line tool named
transcode.exe. When the tool is installed, an Environment variable named
transcode contains the path to the utility.
• A variable named license contains the license key. The license for the
transcoding utility requires that it be unregistered when it is not in use.
• The transcoding utility requires a significant amount of resources. A
maximum of 10 instances of the utility can be running at any one time. If an
instance of the role cannot process an additional video, it must not prevent any
other roles from processing that video.
• The utility logs errors to a Logs directory under the utilities path.
• A local Azure directory resource named pert is used to capture performance
data.
Development:
• Developers must use Microsoft Remote Desktop Protocol (RDP) to view
errors generated by the transcode.exe utility.
• An x509 certificate has been created and distributed to the developers for this
purpose.
• Developers must be able to use only RDP and not any other administrative
functions.
Application Structure
TranscodeWorkerRole.es

ThumbnailGenerator.es

VideoController.es

DeleteHdiidler.es

VideoAdminAttributes.es

AdminVerifierFactory.es

###EndCaseStudy###

The transcode.exe utility activates its license online when it is installed.
You need to ensure that the registration of the transcode utility is handled as specified in its
license.
Which method should you add to the TranscodeWorkerRole class?

You need to provide user accounts for the employees of the newly acquired company

Your network consists of one Active Directory domain that contains only domain controllers that run
Windows Server 2003. Your company acquires another company. You need to provide user accounts
for the employees of the newly acquired company. The solution must support multiple account
lockout policies. What should you do?

You need to deploy one domain controller in each branch office to meet the following requirements:

Your company has one main office and 20 branch offices. Each office is configured as an Active
Directory site. The network consists of one Active Directory domain. All servers run Windows Server
2008 R2 and all client computers run Windows 7. The main office contains three domain controllers.
You need to deploy one domain controller in each branch office to meet the following requirements:
Authentication to a main office domain controller must only occur if a local domain controller
fails.
Client computers in the main office must not authenti cate to a domain controller in a branch
office.
Client computers in a branch office must not authenticate to a domain controller in another
branch office.
Client computers in each branch office must attempt to authenticate to the domain controller at
their local site first.
What should you do first?

Which two actions should you perform?

You manage a member server that runs Windows Server 2008 R2. The server has the Web Server
(IIS) role installed. The Web server hosts a Web site named Intranet1. Only internal Active Directory
user accounts have access to the Web site. The authentication settings for Intranet1 are configured
as shown in the exhibit. (Click the Exhibit button.)

You need to ensure that users authenticate to the Web site by using only the Microsoft Challenge
andshake Authentication Protocol version 2 (MS-CHAPv2) encrypted Active Directory credentials.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose
two.)

which code segment should you replace the body of the SaveChanges() method in the FlightInfoContext.es file?

###BeginCaseStudy###
Case Study: 4
Scenario 4
Background
You are developing a flight information consolidation service. The service retrieves flight
information from a number of sources and combines them into a single data set. The

consolidated flight information is stored in a SQL Server database. Customers can query and
retrieve the data by using a REST API provided by the service.
The service also offers access to historical flight information. The historical flight
information can be filtered and queried in an ad hoc manner.
The service runs on a Microsoft Azure Web Role. SSL is not used.
Business Requirements
• A new data source for historical flight information is being developed by a
contractor located on another continent.
• If a time zone is not specified, then it should be interpreted as Coordinated
Universal Time (UTC).
• When you upgrade a service from a staging deployment to a production
deployment, the time that the service is unavailable must be minimized.
• The default port must be used for HTTP.
Technical Requirements
The existing sources of flight information and the mechanism of exchange are listed below.
• Blue Yonder Airlines provides flight information in an XML file.
• Consolidated Messenger provides flight information in a Microsoft Access
database that is uploaded every 12 hours to the service using SFTP. The
company uses Dort 22 for SFTP.
• Margie’s Travel provides and consumes flight information using serialized
ADO.NET DataSets. Data is periodically synced between the service and
Margie’s Travel.
• Trey Research provides data from multiple sources serialized in proprietary
binary formats. The data must be read by using .NET assemblies provided by
Trey Research. The assemblies use a common set of dependencies.
• The current version of the Trey Research assemblies is 1.2.0.0. All assemblies
provided by Trey Research are signed with a key pair contained in a file
named Trey.snk, which Trey Research also supplies.
• The application specification requires that any third-party assemblies must
have strong names.
Application Structure
FlightInfo.es

BlueYonderLoader.es

HistoricalDataLoader.es

MargiesTravelSync.es

FlightInfoContext.es

FlightDataController.es

###EndCaseStudy###

Errors occasionally occur when saving data using the FlightlnfoContext ADO.NET Entity
Framework context. Updates to the data are being lost when an error occurs.
You need to ensure that data is still saved when an error occurs by retrying the operation.
No more than five retries should be performed.
With which code segment should you replace the body of the SaveChanges() method in the
FlightInfoContext.es file?

You need to specify which properties of the FlightInfo class should be used at the partition and row keys̷

###BeginCaseStudy###
Case Study: 4
Scenario 4
Background
You are developing a flight information consolidation service. The service retrieves flight
information from a number of sources and combines them into a single data set. The

consolidated flight information is stored in a SQL Server database. Customers can query and
retrieve the data by using a REST API provided by the service.
The service also offers access to historical flight information. The historical flight
information can be filtered and queried in an ad hoc manner.
The service runs on a Microsoft Azure Web Role. SSL is not used.
Business Requirements
• A new data source for historical flight information is being developed by a
contractor located on another continent.
• If a time zone is not specified, then it should be interpreted as Coordinated
Universal Time (UTC).
• When you upgrade a service from a staging deployment to a production
deployment, the time that the service is unavailable must be minimized.
• The default port must be used for HTTP.
Technical Requirements
The existing sources of flight information and the mechanism of exchange are listed below.
• Blue Yonder Airlines provides flight information in an XML file.
• Consolidated Messenger provides flight information in a Microsoft Access
database that is uploaded every 12 hours to the service using SFTP. The
company uses Dort 22 for SFTP.
• Margie’s Travel provides and consumes flight information using serialized
ADO.NET DataSets. Data is periodically synced between the service and
Margie’s Travel.
• Trey Research provides data from multiple sources serialized in proprietary
binary formats. The data must be read by using .NET assemblies provided by
Trey Research. The assemblies use a common set of dependencies.
• The current version of the Trey Research assemblies is 1.2.0.0. All assemblies
provided by Trey Research are signed with a key pair contained in a file
named Trey.snk, which Trey Research also supplies.
• The application specification requires that any third-party assemblies must
have strong names.
Application Structure
FlightInfo.es

BlueYonderLoader.es

HistoricalDataLoader.es

MargiesTravelSync.es

FlightInfoContext.es

FlightDataController.es

###EndCaseStudy###

DRAG DROP
Historical flight information data will be stored in Windows Azure Table Storage using the
FlightInfo class as the table entity.
There are millions of entries in the table. Queries for historical flight information specify a set
of airlines to search and whether the query should return only late flights. Results should be
ordered by flight name.
You need to specify which properties of the FlightInfo class should be used at the partition
and row keys to ensure that query results are returned as quickly as possible.
What should you do? (To answer, drag the appropriate properties to the correct location or
locations in the answer area. Each property may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.)