What code should you add?
You are creating an application that will be used to connect two two-dimensional (2-D) shapes by using a Dynamic Connector shape. In your application, you create an object named myVisioApp that references the Visio Application object. You need to add code to your application to connect the 2-D shapes. What code should you add?
Which mechanism should you choose?
You create Web-based client applications. You create an ASP.NET Web application that creates and manages online advertising campaigns. The ASP.NET Web application uses a Microsoft SQL Server 2005 database.
You require the ASP.NET Web application to track the efficiency of the upcoming campaigns by comparing advertising results with campaign parameters. This requires adding a Web form that performs the following tasks:
Uses a target URL for all online advertising.
Logs the referrer URLs.
Provides live reporting of referral data.
You need to identify the most effective storage mechanism to log the referral data. Which mechanism should you choose?
Which code segment should you use?
You need to add a default pushpin as a shape to the base map layer at a specific latitude and longitude. Which code segment should you use?
What should you do?
You have an audience for the Marketing Department. You plan to target all web parts on the default.aspx web page to the Marketing Department. You write the following code segment.
01: Using wpm as SPLimitedWebPartManager = objSite.GetLimitedWebPartManager (“default.aspx”, System.Web.UI.WebControls.WebPart.PersonalizationScope.[Shared])
02: Dim AM as New AudienceManager(ServerContext.Current)
03: For Each currentWP as WebPart in wpm.WebParts
04: currentWP.AuthorizationFilter = String.Format
(“~0~”,AM.GetAudiences(“Marketing”).AudienceID)
05:
06: Next
07:
08: End Using
You notice that all users still have access to the web parts on the default.aspx web page. You need to ensure that only users in the Marketing Audience can see the web part on default.aspx.
What should you do?
Which path should you use?
You create a new feature that contains shared resources. The new feature will be used within a site definition. You are manually deploying the feature on a Microsoft Windows SharePoint Services site.
You need to create a folder for the feature.
Which path should you use?
What should you test?
You create Microsoft Windows-based applications. You are creating an application that consumes both an internally developed Web service and an externally developed Web service. The application uses only some of the methods that both the Web services expose. You need to design an integration testing strategy for the application. You want to achieve this goal by using the minimum amount of programming effort. What should you test?
Which code should you add to the application?
You have a Windows Forms application that contains an embedded Visio Drawing Control. You have an Office Visio 2007 drawing saved as C:\Template.vsd. You need to configure the application to load and display the drawing as a template by using the Visio Drawing Control. Which code should you add to the application?
What should you do?
You create Web-based client applications. You identify a reusable software component that you need to use in your application. The component contains functionality to retrieve data from a database. However, the component does not include the functionality to change the color of a table cell when the user moves the mouse cursor into the cell. You need to add the effect of mouse cursor movement to the component in the most efficient way possible. What should you do?
Which two actions should you perform?
You need to display a polyline on a new user-defined shape layer. Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which two action should you perform?
Your company uses an older application management system that stores information on a Microsoft SQLServer 2005 database. You are creating a Business Data Catalog definition on a Microsoft Office SharePoint Server 2007 server. You need to ensure that the SharePoint server can index order information.
Which two action should you perform? (Each answer represents part of the solution, choose two.)
A. Define a Finder method in the BDC definition
B. Define an IDEnumerator method in the BDC definition
C. Define a ViewAccessors method in the BDC definition
D. Define a SpecificFinder method in the BDC definition