Which three actions should you perform in sequence?
DRAG DROP
You deploy an application as a cloud service to Azure. The application contains a web role to convert
temperatures between Celsius and Fahrenheit.
The application does not correctly convert temperatures. You must use Microsoft Visual Studio to determine
why the application does not correctly convert temperatures.
You need to debug the source code in Azure.
Which three actions should you perform in sequence? To answer, move the appropriate actions from the list
of actions to the answer area and arrange them in the correct order.
You need to ensure that the application activates the Developer Dashboard
You plan to activate the Developer Dashboard. You create a command line application that
contains the following code segment. (Line numbers are included for reference only.) 01
SPUebService cs = SPHebService.ContentServi.ee ; 02
cs.DeveloperDashfooardSettings.DisplayLevel = SPDeveloperDashboardLevel.On ; 03 You
execute the application and discover that the Developer Dashboard fails to appear. You need to
ensure that the application activates the Developer Dashboard. What should you do?
Which code segment should you insert at line 06?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server database. You create a DataSet object in the
application. You add two DataTable objects named App_Products and App_Categories to the
DataSet. You add the following code segment to populate the DataSet object. (Line numbers are
included for reference only.)
01 public void Fill(SqlConnection cnx, DataSet ds) {
03 var cmd = cnx.CreateCommand();
04 cmd.CommandText = “SELECT * FROM dbo.Products; ” + “SELECT * FROM dbo.Categories”;
05 var adapter = new SqlDataAdapter(cmd);
06
07 }
You need to ensure that App_Products and App_Categories are populated from the dbo.Products
and dbo. Categories database tables. Which code segment should you insert at line 06?
You need to implement the Stop button event handler
You are updating a Windows desktop client application that was created by using Microsoft
.NET Framework 4 and Microsoft Visual Studio 2010. The application displays data derived
from several database queries. The display takes a long time to update. The application
currently uses a BackgroundWorker thread and a Parallel.ForEach statement on that
thread. Users have requested a modification to the program that would allow them to
interrupt the display of data and begin processing a new and different query. You decide to
provide a new Stop button on the user interface (UI) to allow the user to terminate the
current data display and initiate the new query. The main UI thread must be notified when
the current data processing is terminated so that the new query can be started. You need to
implement the Stop button event handler. What should you do?
How should you configure the relevant Windows PowerShell script?
HOTSPOT
You deploy a new version of a cloud-service application to a staging slot. The application consists of one web
role. You prepare to swap the new version of the application into the production slot Your Azure account has
access to multiple Azure subscriptions. You load the Azure PowerShell cmdlets into the Windows PowerShell
command shell. The command shell is NOT configured for certificate-based authentication.
You must use the Windows PowerShell command window to configure the application.
You need to create five instances of the web role.
How should you configure the relevant Windows PowerShell script? To answer, select the appropriate option
or options in the answer area.
You need to ensure that the application calls a stored procedure that accepts a table-valued parameter
You use Microsoft Visual Studio 2010 and Microsoft NET Framework 4 to create an application. The
application connects to a Microsoft SQL Server 2008 database. You need to ensure that the
application calls a stored procedure that accepts a table-valued parameter. You create a
SqlParameter object. What should you do next?
Which URL should you use for the query?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create a Windows
Communication Foundation (WCF) Data Services service. You deploy the service to the following
URL: http://contoso.com/ Northwind.svc. You want to query the WCF Data Services service to
retrieve a list of customer objects. You need to ensure that the query meets the following
requirements:
• “Only customers that match the following filter criteria are retrieved: City=”Seattle” AND Level >
200.
• “Data is sorted in ascending order by the ContactName and Address properties.
Which URL should you use for the query?
You need to design the WCF service interaction for the business layer of the application
You are creating a Windows application by using Microsoft .NET Framework 4 and
Microsoft Visual Studio 2010. The business logic layer of the application is implemented by
using Windows Communication Foundation (WCF). The application must provide maximum
availability. It must be able to run in a reliable manner even when network connectivity is not
available. You need to design the WCF service interaction for the business layer of the
application. What should you do?
What approach should you recommend?
You are designing a SharePoint 2010 solution for a large sales force. You have the
following requirements: ·Each sales region must have its own site within the solution with
lists to track the current sales data of the sales executives. .These lists must contain
information about the status of sales opportunities, the estimated price, the expected close
date, and contact information for the potential sale. .The welcome page for the root site
must display a current summary for all regions, including the percentage of sales expected
to close within the next month and total expected revenue over time. You need to design the
solution to meet all these requirements. What approach should you recommend?
Which two actions should you perform?
Your network uses IPv4. You install a server that runs Windows Server 2008 R2 at a branch office.
The server is configured with two network interfaces. You need to configure routing on the server at
the branch office. Which two actions should you perform? (Each correct answer presents part of the
solution. Choose two.)