Q1. - (Topic 1)
You are developing an ASP.NET MVC application that is secured using SSL. You are ready to deploy the application to production.
The deployment package must include the installation of the SSL certificate.
You need to configure the deployment package to meet the requirement.
What should you do?
A. In the Package/Publish settings of the project, select the All Files in this project folder option.
B. In the Build Events settings of the project, configure a pre-build event to include the SSL certificate.
C. Create a web publish pipeline target file with a custom web deploy target.
D. In the Signing dialog box, choose Sign the assembly and select the appropriate entry from the Choose a strong name key file list.
Answer: C
Q2. - (Topic 5)
You are developing an order processing application that uses the ADO.NET Entity Framework against a SQL Server database. Lazy loading has been disabled. The application displays orders and their associated order details. Order details are filtered
based on the category of the product in each order. The Order class is shown below.
You need to return orders with their filtered list of order details included in a single round trip to the database.
Which code segment should you use?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q3. DRAG DROP - (Topic 5)
You are developing an ASP.NET MVC Web API application.
The methods of the Web API must return details about the result of the operation.
You need to create methods to update and delete products.
You have the following code:
Which code segments should you include in Target 1, Target 2, Target 3, Target 4 and Target 5 to complete the code? (To answer, drag the appropriate code segments to the correct targets in the answer area. Each code 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.)
Answer:
Q4. - (Topic 3)
You need to ensure that developers can connect to a Microsoft Azure role by using RDP.
What should you do?
A. Export a certificate without a private key. Upload the .cer file to the Management Certificates section on the Azure Management Portal.
B. Export a certificate with a private key. Upload the .pfx file to the Management Certificates section on the Azure Management Portal.
C. Export a certificate without a private key. Upload the .cer file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal.
D. Export a certificate with a private key. Upload the .pfx file to the Certificates section under the TranscodeWorkerRole hosted service on the Azure Management Portal.
Answer: D
Q5. - (Topic 3)
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?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: D
Topic 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 Port 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.cs
BlueYonderLoader.cs
HistoricalDataLoader.cs
MargiesTravelSync.cs
FlightInfoContext.cs
FlightDataController.cs
Q6. - (Topic 5)
You are developing an ASP.NET MVC application.
You need to authenticate clients by using an ASP.NET membership database.
Which authentication method should you implement?
A. Windows
B. Kerberos
C. Forms
D. Basic
Answer: C
Q7. HOTSPOT - (Topic 5)
You are developing a WCF service.
The service must be interoperable with ASP.NET Web service clients. In addition, it must
have a time-out of three minutes.
You need to configure the service to meet the requirements.
You have the following markup:
Which markup segments should you include in Target 1, Target 2, Target 3, Target 4, Target 5, Target 6 and Target 7 to complete the markup? (To answer, select the appropriate markup segment from each drop-down list in the answer area.)
Answer:
Q8. - (Topic 3)
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.cs?
A. Option A
B. Option B
C. Option C
D. Option D
Answer: C
Q9. DRAG DROP - (Topic 4)
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.)
Answer:
Q10. - (Topic 5)
You are developing an ASP.NET MVC application that enables you to edit and save a
contact.
The application must not save contacts on an HTTP GET request.
You need to implement the controller.
Which code segment should you use? (Each correct answer presents a complete solution. Choose all that apply.)
A. Option A
B. Option B
C. Option C
D. Option D
Answer: A,C