You need to log every attempt to connect to Server1 on a restricted port
Your network contains an Active Directory domain. The domain contains a member server named
Server1. Server1 has a single network connection. You need to log every attempt to connect to
Server1 on a restricted port. What should you do?
What should you recommend?
You are designing a data validation strategy for an ASP.NET Web application. A page of the
Web application includes multiple Panel controls. Each panel contains input controls,
validator controls, and a Submit button. When a user clicks a Submit button, the Web
application must validate only the values of the input controls on the panel containing that
Submit button. You need to recommend an approach for validating the values. What should
you recommend?
Which code segment should you add at line 09?
have a SharePoint site collection that has the URL http://contoso/sites/finance. You are creating a
Microsoft .NET Framework console application that will use the SharePoint client object model to
create a site in the site collection. The application contains the following code segment. (Line
numbers are included for reference only.) 01Dim cCtx As New
ClientContext(“http://contoso/sites/finance”) 02Dim root As Web = cCtx.Site.RootWeb
03cCtx.Load(root) 04Dim webInfo As New WebCreationInformation() 05webInfo.Title = “site1”
06webInfo.Url = “site1” 07webInfo.WebTemplate = “MPS#2” 08root.Webs.Add(webInfo) 09
10cCtx.Dispose() You need to ensure that the application creates the site. Which code segment
should you add at line 09?
Which two actions should you recommend?
You are designing an n-tier solution that connects to a Microsoft SQL Server 2008
database. You plan to deploy the database to development machines and to a staging
database server from within Microsoft Visual Studio 2010. You plan to set up separate build
configurations for development and staging. You also plan to deploy to multiple production
database servers managed by an outside vendor. You must not allow the outside vendor to
access the visual Studio projects. You need to recommend an approach for configuring and
deploying the production database servers. Which two actions should you recommend?
(Each correct answer presents part of the solution. Choose two.)
Which approach should your plan recommend?
.Specify a process to deploy the changes throughout the server farm by propagating the
changes to all Web front-end servers. You need to create a software configuration
management plan for the farm that meets all these requirements. Which approach should
your plan recommend?
Which firewall rule should you enable?
Your network contains a server named Server1 that has Windows Server 2008 R2. An administrator
runs the following command on Server1:
netsh.exe advfirewall reset
You discover that you can no longer access Server1 on port 3389. You need to ensure that you can
access Server1 on port 3389.
Which firewall rule should you enable?
Which code segment should you add at line 04?
You need to create a Web Part that adds a term set to the current SharePoint site collection’s
term store. You write the following code segment. (Line numbers are included for reference only.)
01Dim txtBoxTermSetToAdd As New System.Web.UI.WebControls.TextBox() 02Dim session As
New TaxonomySession(SPContext.Current.Site) 03Dim addedTerm As TermSet =
session.TermStores(0).Groups (“MyNewTermStore”).CreateTermSet(txtBoxTermSetToAdd.Text)
04 Which code segment should you add at line 04?
What should you recommend?
You are designing a .NET Framework 4 solution that contains a Windows Presentation
Foundation (WPF) application and a Windows Communication Framework (WCF) Web
service. The WPF application will be deployed to users’ desktops located in the company’s
corporate network. The WCF Web service will be deployed to a Web farm located in the
company’s perimeter network. The firewall between the perimeter network and the Internet
allows only HTTP and HTTPS traffic. You need to recommend an approach for minimizing
the attack surface of the WCF Web service. What should you recommend?
What should you recommend?
You are designing a data access strategy for an ASP.NET Web application. You plan to
expose an existing data source by using WCF Data Services. You need to recommend an
approach to ensure that CRUD operations are possible. What should you recommend?
What should you recommend?
You are designing a multi-tenant Windows Presentation Foundation (WPF) application that
will connect to a Microsoft SQL Server 2008 database. The WPF application will change the
structure of database tables and views at runtime based on the tenant’s configuration. The
WPF application must meet the following requirements: • Keep each tenant’s data separate.
• Allow changes to the structure of the tables and views for each tenant without interfering
with other tenants’ data. You need to recommend an approach for managing the database
structure. What should you recommend?