473,804 Members | 2,107 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 .SecurityExcept ion. 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_MACH INE\SYSTEM\Curr entControlSet\S ervices\Eventlo g registry key
to give full control to the IUSR_computerna me 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(Tra nsactionOption. Required)]
[SecurityRole("A dmin")]
public class UserManager : ServicedCompone nt {
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:
[JustInTimeActiv ation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.Ena bleCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyT ransactionVote = 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(Tra nsactionOption. Required)] [SecurityRole("A dmin")] public
class UserManager : ServicedCompone nt { 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:
[JustInTimeActiv ation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.Ena bleCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyT ransactionVote = 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 EventLogTraceLi stener object to
the Listeners property of the Debug class.

Apr 19 '06 #1
1 2685
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 .SecurityExcept ion. 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_MACH INE\SYSTEM\Curr entControlSet\S ervices\Eventlo g registry key
to give full control to the IUSR_computerna me 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(Tra nsactionOption. Required)]
[SecurityRole("A dmin")]
public class UserManager : ServicedCompone nt {
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:
[JustInTimeActiv ation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.Ena bleCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyT ransactionVote = 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(Tra nsactionOption. Required)] [SecurityRole("A dmin")] public
class UserManager : ServicedCompone nt { 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:
[JustInTimeActiv ation(false)]
C . To the end of AddUser, add the following line of code:
ContextUtil.Ena bleCommit();
D . To the end of AddUser, add the following line of code:
ContextUtil.MyT ransactionVote = 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 EventLogTraceLi stener 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
1802
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
2205
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
2778
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 enough to convince. Still humble and weak (and ignorant), I know I will get smart and powerful (and the first to know) through a certification process (in C language, of course)
20
1886
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 existing c++/java skills and to enhance my employability (I contract in finance at the moment...I have work but am planning for the future). As of now I have zero experience in C#/.NET (I've done some J2EE work in the past but that's about it:( ).
6
7449
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 my id chandu2424@gmail.com thanku in advance.
5
1844
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 a site for Thomson Prometrics who seem to be administering the certification exams these days. I couldn't find any information about DB2 certifications anywhere, let alone in the Toronto area. Basically, the website seems to be geared towards...
5
2143
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 confirmation on these points. 1. Are the exams "closed book"? I am assuming they are but if I can bring a laptop or PDA with the DB2 manuals to the exam and use that to answer questions without breaking any rules, I would certainly like to do that. ...
2
2417
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 passed, which give me Associate and DBA certifications for Version 8 of DB2. I seem to recall seeing a special certification exam for each version of DB2 that was called, in effect, "What's New in the This Version of DB2". (I can't recall the exact...
0
1718
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. --PA Naveen wrote:
7
8811
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 from your Yahoo! Messenger. Download Now! http://messenger.yahoo.com/download.php
0
9712
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10595
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10089
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9171
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6862
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5530
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
3001
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.