Microsoft TS: Microsoft .NET Framework 2.0 - Web-based Client Development (070-528) Free Practice Test
Question 1
You create a Microsoft ASP.NET Web application. The application is accessed both from desktop Web browsers and from mobile device Web browsers.
You develop a custom control. In mobile device browsers, the custom control must contain only a subset of the data displayed in the desktop browser.
You need to ensure that the application renders correctly for both desktop browsers and mobile device browsers.
What should you do?
You develop a custom control. In mobile device browsers, the custom control must contain only a subset of the data displayed in the desktop browser.
You need to ensure that the application renders correctly for both desktop browsers and mobile device browsers.
What should you do?
Correct Answer: A
Question 2
You are creating a Web setup project to deploy a Web application.
You configure the Web setup project to configure Internet Information Services (IIS) 6.0 server settings.
You need to ensure that the Anonymous access setting is disabled and the Integrated Windows
authentication setting is enabled.
What should you do?
You configure the Web setup project to configure Internet Information Services (IIS) 6.0 server settings.
You need to ensure that the Anonymous access setting is disabled and the Integrated Windows
authentication setting is enabled.
What should you do?
Correct Answer: B
Question 3
You write a Web application that uses registry entries for its configuration settings.
You need to configure the Web setup project to validate the registry entries before the setup completes.
What should you do?
You need to configure the Web setup project to validate the registry entries before the setup completes.
What should you do?
Correct Answer: A
Question 4
You create a Web site that is for members only. The Web site allows members to create lists of users that
have access to information about member profiles.
The name of the list is stored in the listName variable. The user name of the user to whom access is given
is stored in the username variable.
You need to enable members to manage their lists of users.
Which code segment should you use?
have access to information about member profiles.
The name of the list is stored in the listName variable. The user name of the user to whom access is given
is stored in the username variable.
You need to enable members to manage their lists of users.
Which code segment should you use?
Correct Answer: C
Question 5
You are creating a Microsoft ASP.NET Web application. The application connects to a remote Microsoft
SQL Server database.
You need to ensure that the Web application can be deployed to a remote Web server.
You also need to ensure that the Web application does not contain the source code and markup in user
controls during deployment.
What should you do?
SQL Server database.
You need to ensure that the Web application can be deployed to a remote Web server.
You also need to ensure that the Web application does not contain the source code and markup in user
controls during deployment.
What should you do?
Correct Answer: C
Question 6
You have a Web site that uses a Microsoft ASP.NET membership provider. You create a Web page that contains the following code fragment.
<asp:LoginStatus id="LoginStatus1" runat="server">
You need to ensure that when a user logs out, the Web site redirects the user to the ComeBackSoon.aspx page that is located in the same folder.
Which code fragment should you add to the LoginStatus control?
<asp:LoginStatus id="LoginStatus1" runat="server">
You need to ensure that when a user logs out, the Web site redirects the user to the ComeBackSoon.aspx page that is located in the same folder.
Which code fragment should you add to the LoginStatus control?
Correct Answer: A