Which two technologies should you choose?
You create Web-based client applications. You create an application that will be used by customers to browse the product catalog of an Internet-based store and buy products.
The application must meet the following requirements:
Permit registered customers of the store to change display settings and personal information. Store the updated information and associate the information with the logged-on customer.
You need to choose appropriate technologies to meet these requirements. Which two technologies should you choose? (Each correct answer presents part of the solution. Choose two.)
What should you do?
You operate a Microsoft Office SharePoint Server 2007 site. You have a document library that is subject to an audit. You need to prevent relevant records from expiring during the ongoing audit.
What should you do?
Which line of code should replace the code on line 09 of the unit test?
You create Web-based applications. You are creating an Internet banking application. You write the following lines of code to represent a method in your application. (Line numbers are included for reference only.)
01 public void Transfer(decimal amount, BankAccount account) 02 {
03 if (!(amount > 0))
04 throw new Exception(“Invalid deposit amount!”);
05 else
06 {
07 this.Withdraw(amount);
08 account.Deposit(amount);
09 }
10 }
You use the Microsoft Visual Studio 2005 test feature to automatically generate the following unit test.
(Line numbers are included for reference only.)
01 [TestMethod()]
02 public void TransferTest()
03 {
05 BankAccount target = new BankAccount();
06 BankAccount transferTo = new BankAccount();
07 target.Deposit(500);
08 target.Transfer(100,transferTo);
09 Assert.Inconclusive(“A method that does not return a value cannot be verified.”); 10 }
You need to change the test method to return a conclusive result. Which line of code should replace the code on line 09 of the unit test?
What should you do?
You are developing a Microsoft Office SharePoint 2007 solution that integrates with Microsoft SQL Server 2005 Reporting Services. You need to configure the SharePoint solution to allow the storage of reports in SharePoint document libraries.
What should you do?
What should you do?
You create Web-based client applications. You are creating an application for a Web site. The Web site uses the application to simulate mortgage loans. Your application calculates the monthly payment for loans. The monthly payment is based on the number of payments, rate, and the amount of loan. You need to create the unit testing strategy for the application. What should you do?
What should you do?
You are making changes to a Microsoft Office SharePoint Server 2007 Search Center Web site that uses a fixed keyword query. You need to make changes to the text that is displayed when a search fails to return a result. What should you do?
What should you recommend?
You create Web-based client applications. You administer a large ASP.NET Web application that is hosted by using IIS.
The application must meet the following requirements:
Permit all users to log on by using a Web page that is integrated into the application. The security configuration must accommodate the largest number of browsers possible.
You need to make recommendations for a security plan that meets the application requirements. What should you recommend?
What should you do?
You are deploying a Microsoft Office SharePoint Server 2007 hierarchy of sites from a development environment to a staging environment on the same server farm. The development site hierarchy contains a corporate intranet site and departmental sites. Each departmental site contains subsites. You need to recreate the hierarchy of development sites in the staging environment. What should you do?
Which code segment should you recommend?
You create Web-based client applications. You are reviewing a Web application page that populates the list of all employees for your company. The following code segment loads the list of employees from a database.
You analyze the code segment. You find that the database connection fails to close properly when the GetEmployees method throws an exception. You need to recommend a change in the code segment to ensure that every possible code path closes the database connection. Which code segment should you recommend?
Which code segment should you use?
You create an application for a Microsoft Office SharePoint Server 2007 server. You need to write code that retrieves all users for an audience named Audience1. Which code segment should you use?