473,323 Members | 1,574 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,323 software developers and data experts.

Certification questions

Hi,
I posted this in the web service news group, but there is no activity in
there so I try this here instead. Hope you don't mind.

I recently took the web services certification test, and afterward I looked
at some braindump-question to see if I answered som question correct.
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
0 1464

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: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.