What should you do?
You have a Visual Studio Team Foundation Server 2010 environment. You are running the English-language version of Team Foundation Server. You are in the process of detaching an unused team project collection. An error occurs during the detach process.
You need to display the details of the error and determine at what point in the detach process the error occurred.
What should you do?
Which code segment should you insert at line 03?
You use Microsoft .NET Framework 4 to create a Windows Forms application.
You write the following code segment. (Line numbers are included for reference only.)
01sealed class FormSettings :
ApplicationSettingsBase
02{
03
04public String Description
05{
06get { return (String)this[“Description”]; }
07set { this[“Description”] = value;}
08}
09}
You need to ensure that the first time each user opens the application, a text field displays the following message: “Please enter your setting.”
Which code segment should you insert at line 03?
What should you do in the Retention Policy node of the build definition?
You have a continuous integration build definition. You need to ensure that you maintain only the drop files and test results from each build that uses this build definition.
What should you do in the Retention Policy node of the build definition?
Which code segment should you use?
You use Microsoft .NET Framework 4 to create a Windows Forms client application.
You write the following code segment.
sealed class FormSettings : ApplicationSettingsBase {
[UserScopedSetting()]
[DefaultSettingValue(“225, 200”)]
public Size FormSize
{
get { return (Size)this[“FormSize”]; }
set { this[“FormSize”] = value; }
}
}
The application contains a form of type Form1 that contains a FormSettings object named frmSettings1.
You need to maintain the user’s form size preference each time the user executes the application.
Which code segment should you use?
What should you do?
You are monitoring a Visual Studio Team Foundation Server 2010 environment. You need to monitor the number of requests over time for the default team project collection.
What should you do?
What should you do?
You upgrade a Windows Forms application to Microsoft .NET Framework 4. The application was developed
by using a previous version of the .NET Framework. The application uses the Code
Access Security (CAS) policy for file access.
When the application is executed, you receive the following exception:
“NotSupportedException: This method uses CAS policy, which has been obsoleted by the .NET Framework.”
You need to resolve the error.
What should you do?
Which two sets of actions should you perform?
You have a Visual Studio Team Foundation Server 2010 environment. The environment does not include SharePoint.
The data tier server that hosts the Team Foundation Server data warehouse, and Microsoft SQL Server 2008 Reporting Services databases fails. You stop the services that Team Foundation Server uses and restore the databases to a SQL Server instance on a new data tier server.
You need to reconfigure the Team Foundation Server components to use the new data tier server.
Which two sets of actions should you perform? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You use Microsoft .NET Framework 4 to create an application.
The application contains a partially trusted client assembly and a server assembly.
You create a custom sandboxed application domain.
You need to ensure that the application can be executed in a partial-trust environment.
What should you do?
Which two actions should you perform?
You manage a dual-tier Visual Studio Team Foundation Server 2010 environment. Microsoft SQL Server 2008 Reporting and Analysis Services and Microsoft Office SharePoint Server 2007 are installed on a server that is separate from the Team Foundation Server application and data tier servers.
The Team Foundation Server application tier server fails. The SQL Server and SharePoint servers are working properly.
You need to recover the Team Foundation Server application tier on new hardware. Which two actions should you perform? (Each correct answer presents part of the solution.
Choose two.)
Which of the following options are TRUE?
You use Microsoft .NET Framework 4 to create a Windows Forms application.
You created a new application, you then wrote the code below:
Thread.CurrentThread.CurrentUICulture = Thread.CurrentThread.CurrentCulture;
Which of the following options are TRUE?