Which code segment should you use?
You are creating a Microsoft Office SharePoint Server 2007 site. An audience named Purchasing contains all the users in a Microsoft Active Directory group.
You need to display the name of each member of the audience.
Which code segment should you use?
Which two factors should you ascertain from the tester?
You create Microsoft Windows-based applications. You create an application that requires users to be authenticated by a domain controller. The application contains a series of processor-intensive method calls that require different database connections. A bug is reported during testing. The bug description states that the application hangs during one of the processor-intensive calls more than 50 percent of the times when the method is executed. Your unit test for the same method was successful. You need to reproduce the bug.
Which two factors should you ascertain from the tester? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You are an enterprise application developer. You create an application that consists of a Microsoft Windows service. Your Quality Analysis team finds and reports bugs that occur in the service application. You need to debug your Windows service code to fix the bugs. What should you do?
Which two code segments should you use?
You create a Web application for your company’s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.
Which two code segments should you use? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You are creating a Microsoft Office SharePoint Server 2007 site. The site contains content that is relevant to members of the DOMAIN\Developers security group. You need to ensure that the content is targeted to members of the Developers group. What should you do?
Which code segment should you use?
You create an application to send a message by e-mail. An SMTP server is available on the local subnet. The SMTP server is named smtp.contoso.com. To test the application, you use a source address, me@contoso.com, and a target address, you@contoso.com. You need to transmit the e-mail message.
Which code segment should you use?
What should you do?
You are an enterprise application developer. You create an application that consists of a data access component and a business component. The business component calls the data access component to persist business objects. The Quality Analysis team tests both components and finds errors in the data access component. These errors result in retrieval of wrong data. You need to reduce the errors in your code before the components are retested by the Quality Analysis team. What should you do?
What should you do?
You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.
<asp:contentplaceholder id=”area1″ runat=”server”/>
<asp:contentplaceholder id=”area2″ runat=”server”/>
You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.
<asp:Content ContentPlaceHolderID=”area1″ Runat=”Server”/> <asp:Content ContentPlaceHolderID=”area2″ Runat=”Server”/>
You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do?
What should you do?
You are designing a SharePoint Server 2007 solution. You create a BDC application definition that references a web service. The web service accepts a string as a parameter and returns a value to the SharePoint server. You need to modify the BDC application definition file to ensure that the data can be sent and received between SharePoint server and the web service.
What should you do?
Which code segment should you choose?
You are developing a utility screen for a new client application. The utility screen displays a thermometer that conveys the current status of processes being carried out by the application. You need to draw a rectangle on the screen to serve as the background of the thermometer as shown in the exhibit. The rectangle must be filled with gradient shading. (Click the Exhibit button.)
Which code segment should you choose?