What should you recommend?
You are evaluating an ASP.NET Web application that includes three methods: • Calculate()
performs CPU-intensive calculations on the server. • GetData() retrieves data from a
server-side data store and returns an XML file. • WriteData() receives an XML file and writes
data from the file to a server-side data store. You need to recommend an approach for
maximizing server throughput. What should you recommend?
Which two actions should you perform?
Your company has a single Active Directory domain. The company has a main office and three
branch offices. The domain controller in the main office runs Windows Server 2008 R2 and provides
DNS for the main office and all of the branch offices. Each branch office contains a file server that
runs Windows Server 2008 R2. Users in the branch offices report that it takes a long time to access
network resources. You confirm that there are no problems with WAN connectivity or bandwidth.
You need to ensure that users in the branch offices are able to access network resources as quickly
as possible. Which two actions should you perform? (Each correct answer presents part of the
solution. Choose two.)
Which code segments should you add at lines 03, 04, 05, and 06?
You are creating an event receiver. The event receiver will have a field named Title and a field
named Priority. You write the following code segment for the event receiver. (Line numbers are
included for reference only.) 01 public override void ItemUpdating(SPItemEventProperties prop)
02 { 02 base.ItemUpdating(prop); 03 04 05 06 07 } You need to ensure that when the Title field is
changed to include the word IMPORTANT, the Priority field is set to URGENT. Which code
segments should you add at lines 03, 04, 05, and 06?
What should you recommend?
You are designing an ASP.NET Web application that has common navigation and layout
elements on all pages. You have the following requirements: • Maintain common elements
in a single location. • Ensure that common elements can be modified and nested without
redeploying the Web application. • Allow developers to customize the object model from
individual pages. You need to recommend a solution that can be specified at the
application, folder, or page level. What should you recommend?
Which code segment should you add at line 05?
You have a SharePoint list named Announcements. You have an event receiver that contains the
following code segment. (Line numbers are included for reference only.) 01 public override void
ItemAdding(SPItemEventProperties properties) 02 { 03 if
(properties.ListItem[“Title”].ToString().Contains(“secret”)) 04 { 05 06 } 07 } You need to prevent
users from adding items that contain the word “secret” in the title to the list. Which code segment
should you add at line 05?
You need to configure ServerCore to use Server2 as the preferred DNS server and Server1 as the alternate DNS s
Your company has a server named Server1 that runs Windows Server 2008 R2. Server1 runs the
DHCP Server server role and the DNS Server server role. You also have a server named ServerCore
that runs a Server Core installation of Windows Server 2008 R2. All computers are configured to use
only Server1 for DNS resolution. The IP address of Server1 is 192.168.0.1. The network interface on
all the computers is named LAN. Server1 is temporarily offline. A new DNS server named Server2 has
been configured to use the IP address 192.168.0.254. You need to configure ServerCore to use
Server2 as the preferred DNS server and Server1 as the alternate DNS server. What should you do?
What should you recommend?
You are designing an ASP.NET MVC 2 Web application that will contain reusable markup.
The Web application must read data from the TempData dictionary. You need to
recommend a solution that allows the Web application to pass data between pages by using
the TempData dictionary. What should you recommend?
You need to ensure that the zone only replicates to DNS servers that support DNSSEC
Your network contains an Active Directory forest named contoso.com. Contoso.com contains three
domain controllers that run Windows Server 2008 R2 and three domain controllers that run
Windows Server 2003. All domain controllers are configured as DNS servers. You configure the
contoso.com zone to use DNSSEC. You need to ensure that the zone only replicates to DNS servers
that support DNSSEC. What should you do first?
Which code segment should you add at line 05?
You need to programmatically add a user named User1 to a group named Group1. You write the
following code segment. (Line numbers are included for reference only.) 01 string login = “User1”;
02 string grpName = “Group1”; 03 SPUser user = SPContext.Current.Web.EnsureUser(login); 04
SPGroup group = SPContext.Current.Web.Groups[grpName]; 05 06 group.Update(); Which code
segment should you add at line 05?
You need to ensure that users can establish a VPN connection
Your company has a single Active Directory domain. The company network is protected by a firewall.
Remote users connect to your network through a VPN server by using PPTP. When the users try to
connect to the VPN server, they receive the following error message: “Error 721: The remote
computer is not responding.” You need to ensure that users can establish a VPN connection. What
should you do?