PrepAway - Latest Free Exam Questions & Answers

Category: 70-551

Exam 70-551: UPGRADE: MCAD Skills to MCPD Web Developer by Using the Microsoft .NET Framework

Which method should you use?

You create Web-based client applications. You are creating a Web-based discussion forum. The discussion forum will permit users to post and reply to discussion threads after logging on. You create the authentication mechanisms of your Web site. Microsoft SQL Server 2005 and the Active Directory directory service will continue to be used interchangeably for authentication. You need to provide a method for the users of the discussion forum to register. You also need to maintain the capability to use multiple authentication methods when the users register. Which method should you use?

What should you do?

You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.

<asp:contentplaceholder id=”area1″ runat=”server”/>
<asp:contentplaceholder id=”area2″ runat=”server”/>

You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.

<asp:Content ContentPlaceHolderID=”area1″ Runat=”Server”/> <asp:Content ContentPlaceHolderID=”area2″ Runat=”Server”/>

You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do?

What should you do?

You create Web-based client applications. You are creating a Web control that includes data entry fields. The Web control also includes data validation code. The data validation code verifies whether the user has entered a valid date and a valid postal code in a text box. You are writing the code within the Web control to handle the invalid data. The Web control must work on as many browsers as possible. You need to design an appropriate feedback technique. What should you do?

Which configuration setting should you choose?

You create Web-based client applications. You are creating a page for a Web-based application.
You must ensure that the page meets the following requirements:

Uses forms authentication to validate users.
Deploys on a single Web server.
Is highly secure.
Gives higher priority to security than speed.

You need to recommend a configuration setting for your page. Which configuration setting should you choose?

Which code segment should you use?

You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives.

<%@ Master Language=”C#” Src=”~/article.master.cs” Inherits=”article” %>

You need to create a content page that uses the master page as a template.
In addition, you need to use a single master page for all devices that access the Web site.
Which code segment should you use?

What should you do?

You create a master page named Template.master. Template.master contains the following ContentPlaceHolder server controls.

<asp:contentplaceholder id=”area1″ runat=”server”/>
<asp:contentplaceholder id=”area2″ runat=”server”/>

You also create 10 Web Forms. The Web Forms reference Template.master as their master page. Each Web Form has the following Content controls that correspond to the ContentPlaceHolder controls in Template.master.

<asp:Content ContentPlaceHolderID=”area1″ Runat=”Server”/> <asp:Content ContentPlaceHolderID=”area2″ Runat=”Server”/>

You need to configure the Web pages so that default content will be shown in the area2 ContentPlaceHolder control whenever a Web Form does not provide that content. What should you do?


Page 10 of 13« First...89101112...Last »