You need to ensure that the application can locate remote resources by using IPv6
Your company has a server that runs Windows Server 2008 R2. You have a new application that
locates remote resources by name. The new application requires IPv6. You need to ensure that the
application can locate remote resources by using IPv6. What should you do?
Which approach should you recommend?
You are designing a method for collecting information regarding usage of new functionality
within an ASP.NET Web application. You have the following requirements: • Usage data
must be stored in a database for easy reporting. • The application must not include code
relating to usage data. You need to design a strategy that meets the requirements. Which
approach should you recommend?
Which object should you dispose of?
You create an event receiver. The ItemAdded method for the event receiver contains the following
code segment. (Line numbers are included for reference only.) 01 SPWeb recWeb =
properties.Web; 02 using (SPSite siteCollection = new SPSite(“http://site1/hr”)) 03 { 04 using
(SPWeb web = siteCollection.OpenWeb()) 05 { 06 PublishingWeb oWeb =
PublishingWeb.GetPublishingWeb(web); 07 PublishingWebCollection pubWebs =
oWeb.GetPublishingWebs(); 08 foreach (PublishingWeb iWeb in pubWebs) 09 { 10 try 11 { 12
SPFile page = web.GetFile(“/Pages/default.aspx”); 13 SPLimitedWebPartManager wpManager =
page.GetLimitedWebPartManager (PersonalizationScope.Shared); 14 } 15 finally 16 { 17 if (iWeb
!= null) 18 { 19 iWeb.Close(); 20 } 21 } 22 } 23 } 24 } You need to prevent the event receiver from
causing memory leaks. Which object should you dispose of?
Which two actions should you perform?
You are building a test environment to evaluate DNS Security Extensions (DNSSEC). You have a
domain controller named Server1 that runs Windows Server 2008 R2 in your test environment.
Server1 has the DNS Server server role installed. You need to configure Server1 to support the
DNSSEC evaluation. Which two actions should you perform? (Each correct answer presents part of
the solution. Choose two.)
You need to ensure that the code opens the dialog box
You are creating an application page that will open a dialog box. The dialog box uses a custom
master page. You write the following code segment. (Line numbers are included for reference
only.) 01 <script type=”text/javascript”> 02 function DialogCallback(dialogResult, returnValue) 03 {
04 } 05 function OpenEditDialog(id) 06 { 07 var options = { 08
url:”http://intranet/_layouts/MsgToShow.aspx, 09 width: 300, 10 height: 300, 11
dialogReturnValueCallback: DialogCallback 12 }; 13
SP.UI.ModalDialog.showModalDialog(options); 14 } 15 </script> You need to ensure that the code
opens the dialog box. What should you do?
What should you recommend?
You are designing an ASP.NET Web application. A page of the Web application will allow
users to post comments and view comments posted by other users. You need to
recommend an approach for preventing the Web application from storing malicious content.
What should you recommend?
You need to ensure that the contoso.com zone is available on Server2
Your network contains two servers named Server1 and Server2 that run Windows Server 2008 R2.
Server1 and Server2 are configured as DNS servers. On Server1, you create a primary DNS zone
named contoso.com. You configure Server2 to host a secondary copy of contoso.com. On Server2,
you open DNS Manager as shown in the exhibit. (Click the Exhibit button.)
You need to ensure that the contoso.com zone is available on Server2. What should you do?
You need to ensure that the Web Part can access the local file system on the SharePoint server
You create a Visual Web Part in SharePoint Server 2010. You need to ensure that the Web Part
can access the local file system on the SharePoint server. You must minimize the amount of
privileges assigned to the Web Part. What should you do?
You need to migrate \\contoso.com\dfs to Windows Server 2008 mode
Your network contains a domain-based Distributed File System (DFS) namespace named
\\contoso.com\dfs. \\contoso.com\\dfs is configured to use Windows 2000 Server mode. The
domain contains two servers named Server1 and Server2 that run Windows Server 2008 R2. Server1
is configured as a namespace server for \\contoso.com\dfs. You need to migrate \\contoso.com\dfs
to Windows Server 2008 mode. You install the Distributed File System role service on Server2. What
should you do next?
What should you implement in WPMaster?
You are creating two Web Parts named WPMaster and WPDetails. You need to ensure that when
an item is selected from WPMaster, the details of the item are displayed in WPDetails. What
should you implement in WPMaster?