PrepAway - Latest Free Exam Questions & Answers

Category: 70-547

Exam 70-547: PRO: Designing and Developing Web-Based Applications by Using the Microsoft .NET Framework.

What should you conclude?

You create Web-based client applications. You deploy an application on your company extranet. The application uses an ASP.NET 2.0 Membership system. The support team requires that changes in passwords be communicated to their Microsoft Windows Management Instrumentation (WMI) integrated system.

You propose the use of health monitoring APIs to perform the following actions:

Respond to password changes inside the application.
Call a custom event handler when a password change occurs. Report the changes to the support teams WMI system by using the custom event handler.

You need to examine whether the proposed solution meets the requirements. What should you conclude?

What should you recommend?

You create Web-based client applications.

You are designing a database that must meet the following requirements:

Store data about people in the People table and data about the companies they work for in the Companies table.
Track an unlimited number of companies for a person.
Track an unlimited number of persons who worked at each company. You decide to create a one-to-many link from the People table to the Companies table. You need to evaluate whether the database is designed effectively and make a recommendation, if required. What should you recommend?

What should you recommend?

You create Web-based client applications. Your client company has an existing ASP.NET Web-based application. The Web-based application uses a combination of HTML and client-side scripting to deliver online training content. Your client company has asked you to enhance the application to deliver interactive multimedia content. The enhanced application must support dial-up users. You need to recommend an appropriate multimedia delivery mechanism for the application. What should you recommend?

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.)

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 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 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?

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 classes should you choose?

You create Web-based client applications. You create a component that displays the category of a product and the product data on a Web page. The data is stored on the Web server in an XML file.

The Web page must meet the following requirements:

Display each category of products.
List the name, description, and price of each product in a category.
Prohibit the user from modifying the data.
Load as quickly as possible.
Use the minimum amount of code.
Retrieve the data to display from the XML file.

You need to identify the specific classes of a component that can be used to meet your Web page requirements. Which classes should you choose?


Page 2 of 1212345...10...Last »