regarding MCTS

hi Everybody,

I am sitting for the Microsoft MCTS eaxm(70-528:Web Based Client Development) next week.

I have a confution regarding the question below.

THE QUESTION:

You create a Web Form. The Web Form allows users to log on to a Web site. You implement the

login logic using a Login control named Login1.

The membership data for the application is stored in a SQL Express database in the App_Data

directory.

You need to configure your application so that the membership data is stored in a local Microsoft

SQL Server database.

You add the following code segment to the Web.config file.

<membership defaultProvider="MySqlProvider">

<providers>

<add name="MySqlProvider"

type="System.Web.Security.SqlMembershipProvider, System.Web,

Version=2.0.0.0, Culture=neutral,

PublicKeyToken=b03f5f7f11d50a3a"

connectionStringName="MySqlProviderConnection"/>

</providers>

</membership>

Which two additional actions should you perform? (Each correct answer presents part of the

solution. Choose two.)

The six options are:

A. Use Aspnet_regsql.exe to create the Microsoft SQL Server database.

B. Set Login1's MembershipProvider property to MySqlProviderConnection.

C. Add the following code segment to the Web.config file. <connectionStrings> <add

name="MySqlProviderConnection" connectionString="valid connection string"

/></connectionStrings>

D. Add the following code segment to the Web.config file. <appSettings><add

key="MySqlProviderConnection" value="valid connection string" /></appSettings>

E. In the ASP.NET configuration settings within IIS, ensure that Role Management

Enabled is selected.

F. Use the Web Site Administration Tool to select AspNetSqlMembershipProvider as the

membership provider for your application.

Somewhere it is written that the two options are

A,D

Somewhere the options are:

B,D

Somewhere there are different options.

Two of my friend sat for the exam and one of them answered A,C

Another answered B,D

Both of them were incorrect.................

Can anybody please tell me which two options are correct with a brief explanation?

There confutions with 3-4 more questions.I will post them in few days.

Thanx in advance .

[2652 byte] By [JustALearner] at [2008-1-10]
# 1

The second question:

QUESTION NO: 37

You create a Web Form. You need to add controls that use adaptive rendering to display content.

The type of content rendered must depend on the device that is requesting the page. What are

two possible ways to achieve this goal? (Each correct answer presents a complete solution.

Choose two.)

The options are:

A. Add custom controls that emit XHTML to the Web Form.

B. Add custom controls that emit WML to the Web Form.

C. Add mobile controls to the Web Form.

D. Add Web server controls to the Web Form.

the answer isSadC,D) and in some other place the answer is (B,D)

But i think the answer should be (B,D) because the C can not be an answer as you can not add a mobile control in webform.

But the thing is that does WebServer controls support Adaptive RENDERING?

I really dont know.

Can anybody plz tell me which one is the right answer?

If i have done any mistake by placing my queries in this section then i am sorry.

I am just trying to learn things.

Thanx in advance

JustALearner at 2007-10-3 > top of Msdn Tech,SQL Server,SQL Server Express...
# 2

I am also confused with these questions. Could anyone plz provide the solution?

Thanks

eBuzz at 2007-10-3 > top of Msdn Tech,SQL Server,SQL Server Express...

SQL Server

Site Classified