Which method will return all nodes of an XDocument?
Which method will return all nodes of an XDocument?
Which two actions should you perform on the DNS servers?
Your network contains an Active Directory domain. The domain contains DNS servers that run
Windows Server 2008 R2. The network has two external links. One link connects to the Internet. The
other link directly connects to the network of a partner company. The partner companys network is
not connected to the Internet. You need to ensure that users on your network can access resources
on the partner companys network. The solution must ensure that the users on your network can
continue to access resources on the Internet. Which two actions should you perform on the DNS
servers? (Each correct answer presents a complete solution. Choose two.)
Which record should you create?
Your company has a domain controller named Server1 that runs Windows Server 2008 R2 and the
DNS Server server role. A server named Server2 runs a custom application. You need to configure
DNS to include the following parameters for the custom application:
• Service
• Priority
• Weight
• Protocol
• Port number
• Host offering this service
Which record should you create?
Which code would fit this business rule?
You are a tasked with performing a code review. The business rule is the following:
• If INSERTs into the first table succeed, then INSERT into the second table.
• However, if the INSERTs into the second table fail, roll back the inserts in the second table but do
not roll back the inserts in the first table.
• Although this can also be done by way of regular transactions, It needs to be performed using
• TransactionScope objects.
Which code would fit this business rule?
What are two possible message exchange patterns that will meet the requirements?
You are designing a Windows Presentation Foundation (WPF) client application that
requests reports from a Windows Communication Foundation (WCF) Web service. Users
must be able to perform other tasks while the WCF Web service generates the report. You
need to recommend a message exchange pattern for the communication between the WPF
application and the WCF Web service. What are two possible message exchange patterns
that will meet the requirements? (Each correct answer presents a complete solution.
Choose two.)
Which type should you recommend?
You are designing an ASP.NET Web application that allows user input. You have the
following requirements: Use client-side state management. Prevent users from accidentally
modifying data. Automatically encode data. Preserve data during a page postback. You
need to recommend the appropriate type of state management. Which type should you
recommend?
You need to ensure that the application meets the following requirements: Users can modify data locally and re
You use Microsoft Visual Studio 2010, Microsoft Sync Framework, and Microsoft .NET Framework 4
to create an application. You have a ServerSyncProvider connected to a Microsoft SQL Server
database. The database is hosted on a Web server. Users will use the Internet to access the
Customer database through the ServerSyncProvider. You write the following code segment. (Line
numbers are included for reference only.)
01SyncTable customerSyncTable = new SyncTable(“Customer”);
02customerSyncTable.CreationOption = TableCreationOption.UploadExistingOrCreateNewTable;
03
04customerSyncTable.SyncGroup = customerSyncGroup;
05this.Configuration.SyncTables.Add(customerSyncTable);
You need to ensure that the application meets the following requirements:
Users can modify data locally and receive changes from the server.
Only changed rows are transferred during synchronization.
Which code segment should you insert at line 03
Which approach should you recommend?
You are designing a SharePoint 2010 site that employees will use for project collaboration.
The design should include a project name, identification number, and the names of the
people on the project team displayed on a new page. You need to design the site to meet
the following requirements: ·This page must be immediately available in existing sites in the
site collection upon deployment. .New sites must have this page immediately available.
Which approach should you recommend?
You need to ensure that the collection includes all the players from each team and every league
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 the classes shown in the
following exhibit.
You add the following code segment to the application. (Line numbers are included for reference
only.)
01public void QueryPlayers (List <League> leagues) {
02
03}
You create a LINQ query to retrieve a collection of Player objects.
You need to ensure that the collection includes all the players from each team and every league.
Which code segment should you insert at line 02
Which code fragment should you add to the .edmx file?
You use Microsoft Visual Studio 2010 and Microsoft .NET Framework 4 to create an application. The
application uses the ADO.NET Entity Framework to model entities. You create an entity as shown in
the following code fragment.
< EntityType Name=”ProductCate gory” >
< Key >
< PropertyRef Name=”ProductCategoryID” / >
< /Key >
< Property Name=”ProductCategoryID” Type=”int” Nullable=”false” StoreGenera t
edPattern=”Identity” / >
< Property Name=”ParentProductCategoryID” Type=”int” / >
< Property Name=”Name” Type=”nvarchar” Nullable=”false” MaxLength=”50″ / >
…
< /EntityType >
You need to provide two entity-tracking fields:
• rowguid that is automatically generated when the entity is created
• ModifiedDate that is automatically set whenever the entity is updated
Which code fragment should you add to the .edmx file