PrepAway - Latest Free Exam Questions & Answers

Category: 70-494

Exam 70-494: Recertification for MCSD: Web Applications

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?

Which configuration setting should you add to the web.config?

###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
The service has been deployed to Windows Azure.
Trey Research has provided version 1.3.0.0 of the assembly to support a change in the
serialization format. The service must remain available during the transition to the new
serialization format.
You need to ensure that the service is using the new assembly.
Which configuration setting should you add to the web.config? (To answer, drag the
appropriate configuration elements to the correct location or locations in the answer area.
Each configuration element 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.)

You need to configure the Microsoft Azure service definition to enable Consolidated Messenger to upload files

###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
You need to configure the Microsoft Azure service definition to enable Consolidated
Messenger to upload files.
What should you do? (To answer, drag the appropriate configuration items to the correct
location or locations. Each configuration item 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.)

You need to implement the LoadFlights() and Parse() methods of the BlueYonderLoader class

###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
You need to parse flight information from Blue Yonder Airlines. The content of the XML file is
shown below.

Some airlines do not specify the timezone of the arrival time. If the timezone is not specified,
then it should be interpreted per the business requirements.
You need to implement the LoadFlights() and Parse() methods of the BlueYonderLoader
class.
What should you do? (To answer, drag the appropriate code segments to the correct
location in the answer area. Each segment may be used once, more than once, or not at all.
You may need to drag the split bar between panes or scroll to view content.)

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

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?

Which code segment should you use?

###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###

You are adding a new REST service endpoint to the FlightDataController controller that
returns the total number of seats for each airline.
You need to write a LINQ to Entities query to extract the required data.
Which code segment should you use?

Which data access technology should you recommend?

###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###

You need to recommend a data access technology to the contractor to retrieve data from the
new data source.
Which data access technology should you recommend?


Page 8 of 8« First...45678