Online Access Free 070-528 Practice Test
| Exam Code: | 070-528 |
| Exam Name: | TS: Microsoft .NET Framework 2.0 - Web-based Client Development |
| Certification Provider: | Microsoft |
| Free Question Number: | 149 |
| Posted: | Jul 19, 2026 |
You create a Web Form that allows users to create a new account. You add a CreateUserWizard control by using the following code segment.
<asp:CreateUserWizard id="Wizard1" runat="server"/>
You need to ensure that the wizard automatically sends an e-mail message to users when they finish
creating their accounts.
You add a valid <smtp> element to the Web.config file.
Which code segment should you add to the Page_Load event?
You create a large, n-tier Web application that has a custom event tracking system.
You need to create a custom event type that enables your event tracking system to record all relevant
event details for all types of events.
The events must be stored in Microsoft SQL Server.
From which base type should your custom event type inherit?
You are developing a Web application. Your code restricts access to some pages based on the user's credentials.
You need to configure IIS to supply the user's Windows credentials to your Web application. These credentials must be encrypted.
What should you do?
You create a Web Setup project to deploy a Web application. You add a custom action to set IIS properties.
You need to provide the custom action with the virtual directory and port where the Web application will be installed.
Which property should you use?
You load an XmlDocument named doc with the following XML.
<bookstore>
<books>
<book genre="reference" >
<title>Dictionary</title>
</book>
<book genre="reference" >
<title>World Atlas</title>
</book>
</books>
</bookstore>
You need to change the value for the genre attribute to NA for all book attributes.
First, you add the following code segment to your class.
XmlElement root = doc.DocumentElement;
XmlNodeList nodes = root.SelectNodes("books/book");
Which additional two code segments can you use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)