What should you do?
You have a distribution list in the Active Directory. You need to create a MySites membership group from the distribution list.
What should you do?
Which code segment should you use?
You are writing a method to compress an array of bytes. The array is passed to the method in a parameter named document. You need to compress the incoming array of bytes and return the result as an array of bytes.
Which code segment should you use?
What should you recommend?
You are an enterprise application developer. You are designing an application that manages names and descriptions for your companys products.
To manipulate these items, the application requires the object that holds the strings to meet the following criteria:
Be dynamically resizable.
Be able to store duplicate entries.
Expose methods to find all instances of the same text.
You need to recommend an appropriate container for the strings. What should you recommend?
Which tool should you use?
You create a Web site. The Web site has many predefined roles and associated users that will be used for security purposes. You need to manage these roles and user accounts.
Which tool should you use?
Which code segment should you use?
You are creating a Microsoft Office SharePoint Server 2007 application to increase the search capability of five site collections that belong to a single farm.
You need to retrieve all available search contexts for the Web site collection on which the application is initiated.
Which code segment should you use?
Which code segment should you use?
You are developing a server application that will transmit sensitive information on a network. You create an X509Certificate object named certificate and a TcpClient object named client. You need to create an SslStream to communicate by using the Transport Layer Security 1.0 protocol.
Which code segment should you use?
What should you recommend?
You are an enterprise application developer. You are creating an application to manage the inventories of 1,000 stores in geographically dispersed locations. The stores are connected to the main office through a secure network infrastructure. Inventory data from the store servers must be consolidated at the main office everyday. The main office initiates the consolidation by calling a component at the store. Transactional integrity must be maintained during consolidation. Security policy requires the application to propagate Microsoft Windows security context throughout the system to ensure authorization and authentication. Security policy does not permit Web servers at the stores. You need to recommend a reusable component technology that permits data from the store servers to be consolidated at the main office. You also need to ensure that the security policy requirements are met.
What should you recommend?
What should you do?
You create a Web site that is for members only. The behavior of the Web site changes according to the role of the user. The Web site uses the ASP.NET Membership control for creation of user accounts. You need to find out whether a user is a member of a particular role.
What should you do?
What should you do?
You create a Microsoft Office SharePoint Server 2007 site. You create a list named Projects that includes a column named TargetAudience. You create a Web Part that displays information from the Projects list. You need to target items in the Projects list to the audience specified by the value in the TargetAudience column. What should you do?
Which code segment should you use?
You are developing a method to hash data for later verification by using the MD5 algorithm. The data is passed to your method as a byte array named message. You need to compute the hash of the incoming parameter by using MD5. You also need to place the result into a byte array.
Which code segment should you use?