473,421 Members | 1,666 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,421 software developers and data experts.

Certification questions

Hi,
I recently took the web services certification test, and afterward I looked
at some braindump-question to see what the correct answer was. However, I
still don't know the correct answer and hope you can help me :) Here are 5
questions I want to know if I answered them correctly:

/Jonny

1. You create an XML Web service named TimeService. Each time TimeService is
started, it checks for the existence of an event log named TimeServiceLog.
If TimeServiceLog does not exist, TimeService creates it.

You discover that when TimeService creates TimeServiceLog, it throws a
System.Security.SecurityException. The exception includes the following
message: "Requested registry access is not allowed". You need to resolve
this problem.

What should you do?

A . Configure Inetinfo.exe to run as the local administrator user account.
B . Create an installer for TimeService, and create the new event log in the
installer code.
C . Modify the Web.config file by adding an identity element to impersonate
the LOGON user specified by Internet Information Services (IIS).
D . Modify the permissions of the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Eventlog registry key
to give full control to the IUSR_computername user account.

2. You create version 1.0.0.0 of an assembly named Assembly. You register
theassembly in the global assembly cache. Assembly consists of two .NET
Remoting objects named RemoteObject1 and RempoteObject2 These objects are
configured in the App.config file of Assembly as shown in the following code
segment:

You create an application named App that resides on a different computer
than Assembly. App references version 1.0.0.0 of Assembly. App contains code
that activates instances of RemoteObject1 and RemoteObject2 to use their
services.

Due to changes in business needs, you must update Assembly. You create
version 2.0.0.0 of Assembly, which is backward compatible, but you do not
update any information in the App.config file of Assembly. You register
version 2.0.0.0 of Assembly in the global assembly cache. You then rebuild
App.

Which version of the remote object will MyApp activate?

A . Version 1.0.0.0 of RemoteObject1; version 1.0.0.0 of RemoteObject2.
B . Version 1.0.0.0 of RemoteObject1; version 2.0.0.0 of RemoteObject2.
C . Version 2.0.0.0 of RemoteObject1; version 1.0.0.0 of RemoteObject2.
D . Version 2.0.0.0 of RemoteObject1; version 2.0.0.0 of RemoteObject2.

3. You are creating a serviced component named UserManager. UserManager adds
user accounts to multiple transactional data sources.

The UserManager class includes the following code segment:

[Transaction(TransactionOption.Required)]
[SecurityRole("Admin")]
public class UserManager : ServicedComponent {
public void AddUser(string name, string password) { // Code to add the user
to data sources goes here. }
}

You must ensure that the AddUser method reliably saves the new user to
either all data sources or no data sources.

What should you do?

A . To AddUser, add the following attribute: [AutoComplete()]
B . To UserManager, add the following attribute:
[JustInTimeActivation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.EnableCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyTransactionVote = true;

4. You are creating a serviced component named UserManager. UserManager adds
user accounts to multiple transactional data sources.

The UserManager class includes the following code segment:
[Transaction(TransactionOption.Required)] [SecurityRole("Admin")] public
class UserManager : ServicedComponent { public void AddUser(string name,
string password) { // Code to add the user to data sources goes here. } }

You must ensure that the AddUser method reliably saves the new user to
either all data sources or no data sources.

What should you do?

A . To AddUser, add the following attribute: [AutoComplete()]
B . To UserManager, add the following attribute:
[JustInTimeActivation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.EnableCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyTransactionVote = true;

5. You create an XML Web service named Fulton1. You use the Debug.Assert
method in your code to verify parameter values and ranges.

You find that Service1 does not display assertion failure messages. Instead,
Fulton1 returns an HTTP 500 error message when an assertion fails. You want
to view the assertion failure messages.

What should you do?

A . Modify the Web.config file to stop the Debug.Assert method from
displaying a message box.
B . Modify the compilation element of the Web.config file by setting the
debug attribute to "true".
C . In the constructor for Fulton1, set the Debug.AutoFlush property to
false.
D . In the constructor for Fulton1, add an EventLogTraceListener object to
the Listeners property of the Debug class.

Apr 19 '06 #1
1 2665
Hi Jonny,

Firstly i'm not MS-Certified but i'm doing my exam tomorrow :), Let's hope I
am by tomorrw.

For question 1 I think B is the answer.
http://support.microsoft.com/default...b;en-us;329291

For number 3 I think the answer is
A . To AddUser, add the following attribute: [AutoComplete()]

"Johhy" wrote:
Hi,
I recently took the web services certification test, and afterward I looked
at some braindump-question to see what the correct answer was. However, I
still don't know the correct answer and hope you can help me :) Here are 5
questions I want to know if I answered them correctly:

/Jonny

1. You create an XML Web service named TimeService. Each time TimeService is
started, it checks for the existence of an event log named TimeServiceLog.
If TimeServiceLog does not exist, TimeService creates it.

You discover that when TimeService creates TimeServiceLog, it throws a
System.Security.SecurityException. The exception includes the following
message: "Requested registry access is not allowed". You need to resolve
this problem.

What should you do?

A . Configure Inetinfo.exe to run as the local administrator user account.
B . Create an installer for TimeService, and create the new event log in the
installer code.
C . Modify the Web.config file by adding an identity element to impersonate
the LOGON user specified by Internet Information Services (IIS).
D . Modify the permissions of the
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Servic es\Eventlog registry key
to give full control to the IUSR_computername user account.

2. You create version 1.0.0.0 of an assembly named Assembly. You register
theassembly in the global assembly cache. Assembly consists of two .NET
Remoting objects named RemoteObject1 and RempoteObject2 These objects are
configured in the App.config file of Assembly as shown in the following code
segment:

You create an application named App that resides on a different computer
than Assembly. App references version 1.0.0.0 of Assembly. App contains code
that activates instances of RemoteObject1 and RemoteObject2 to use their
services.

Due to changes in business needs, you must update Assembly. You create
version 2.0.0.0 of Assembly, which is backward compatible, but you do not
update any information in the App.config file of Assembly. You register
version 2.0.0.0 of Assembly in the global assembly cache. You then rebuild
App.

Which version of the remote object will MyApp activate?

A . Version 1.0.0.0 of RemoteObject1; version 1.0.0.0 of RemoteObject2.
B . Version 1.0.0.0 of RemoteObject1; version 2.0.0.0 of RemoteObject2.
C . Version 2.0.0.0 of RemoteObject1; version 1.0.0.0 of RemoteObject2.
D . Version 2.0.0.0 of RemoteObject1; version 2.0.0.0 of RemoteObject2.

3. You are creating a serviced component named UserManager. UserManager adds
user accounts to multiple transactional data sources.

The UserManager class includes the following code segment:

[Transaction(TransactionOption.Required)]
[SecurityRole("Admin")]
public class UserManager : ServicedComponent {
public void AddUser(string name, string password) { // Code to add the user
to data sources goes here. }
}

You must ensure that the AddUser method reliably saves the new user to
either all data sources or no data sources.

What should you do?

A . To AddUser, add the following attribute: [AutoComplete()]
B . To UserManager, add the following attribute:
[JustInTimeActivation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.EnableCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyTransactionVote = true;

4. You are creating a serviced component named UserManager. UserManager adds
user accounts to multiple transactional data sources.

The UserManager class includes the following code segment:
[Transaction(TransactionOption.Required)] [SecurityRole("Admin")] public
class UserManager : ServicedComponent { public void AddUser(string name,
string password) { // Code to add the user to data sources goes here. } }

You must ensure that the AddUser method reliably saves the new user to
either all data sources or no data sources.

What should you do?

A . To AddUser, add the following attribute: [AutoComplete()]
B . To UserManager, add the following attribute:
[JustInTimeActivation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.EnableCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyTransactionVote = true;

5. You create an XML Web service named Fulton1. You use the Debug.Assert
method in your code to verify parameter values and ranges.

You find that Service1 does not display assertion failure messages. Instead,
Fulton1 returns an HTTP 500 error message when an assertion fails. You want
to view the assertion failure messages.

What should you do?

A . Modify the Web.config file to stop the Debug.Assert method from
displaying a message box.
B . Modify the compilation element of the Web.config file by setting the
debug attribute to "true".
C . In the constructor for Fulton1, set the Debug.AutoFlush property to
false.
D . In the constructor for Fulton1, add an EventLogTraceListener object to
the Listeners property of the Debug class.

Jun 28 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Al Wilkerson | last post by:
Hey, Do you guys think it's important to have a certification (i.e. MCAD) in getting an entry-level DotNet developer job?
25
by: Lewis Lang | last post by:
MCSD certification - is it still necessary to land a job? ... or, is it just a money-maker? Is it worth spending the money on the books and the exam? Thanks, Lewis Lang
20
by: patrick courant | last post by:
Hello everyone, I am an european freelance engineer, fighting with computer science for too many years to remember. However, when applying for new missions, I found that experience is not always...
20
by: GrahamJWalsh | last post by:
Hi, I'm about to embark on .NET/C# certification (after 6 weeks intensive training). I'm actually heading off to India as it's cheaper....sign of the times. The goal is to compliment my...
6
by: chandu | last post by:
Hello, i am preparing for the C# certification(MCTS) 70-536 exam.i bought two prescribed books and using internet resource. can any one have C# dump or any material regarding please send to...
5
by: rhino | last post by:
I have some questions about DB2 certification. 1. Are the DB2 V8 exams still available, specifically in the Toronto area? I went to the certification portion of the IBM website and it took me to...
5
by: rhino | last post by:
I was asking questions about the DB2 certification exams a couple of weeks ago and I realize I forgot to ask two questions. I suspect I know the answers but it would be very helpful to get...
2
by: rhino | last post by:
Am I correct in assuming that it is NOT normal practice to repeat all the certification exams for the new DB2 version when a new DB2 version comes out? Let's say I took exams 700 and 701 and...
0
by: Pavel A. | last post by:
A dump is "accumulation of refuse and discarded materials", or "a place where such materials are dumped" (from www.merriam-webster.com). So your forum is a "certification dump"... you've said it....
7
by: srinivasan srinivas | last post by:
Hi, I m planning to do certification in Python?? Is therr any good certification available in Python like Sun certification for java?? Thanks, Sirni Send free SMS to your Friends on Mobile...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.