WizIQ helps you learn and teach online - any subject you can think of!
Join for FREE

asp.net 2.0 Framework for Basics online Test

Your user account has Read access to a file named text.txt. You run an assembly in the My_Computer_Zone code group, which grants it the FullTrust permission set. Which of the following actions can the assembly perform on the file?
Read
Change permissions
Write
Delete
What can be handled by using the .NET Framework 2.0 Configuration tool?
View All running services and manage their operation
View All running processes and manage their permission sets
ViewAll configured applications
None of the above
Which of the following are keyed hashing algorithms?
RIPEMD160
HMACSHA1
SHA512
MD5
Do I need IIS to develop a Web application in ASP.NET 2.0? 
Yes
No
What does specifying an asterisk as the revision number part of the version in the AssemblyVersionAttribute (for example, “1.0.0.*”) indicate to the compiler?
Specifying an asterisk here does not indicate anything; asterisks are valid parts of a version number.
Specifying an asterisk here indicates that this assembly will work with any other assemblies with versions that start with “1.0.0”.
Specifying an asterisk indicates that the asterisk should be replaced with an autoincrementing number by the compiler.
Specifying an asterisk here indicates that the asterisk should be replaced with a random number by the compiler.
Which of the following objects or interfaces is the best solution to provide customized configuration manipulation?
IConfigurationSystem
IConfigurationSectionHandler
ApplicationSettingsBase
ConfigurationValidatorBase
You have noticed that an exception raised by your application includes some sensitive information about the database and table names. This information is included in the Message property, which is displayed by the application’s unhandled exception handler. You need to modify the configuration of the Exception Handling Application Block so that this information is not displayed. Which type of handler would address this problem in the simplest manner while allowing the exception information to be available if it’s needed?
Logging handler
Wrapping handler
Custom handler
Replace handler
You are responsible for creating and maintaining the deployment model for a large development project. You want to talk to the architects of the project to identify the main components and the interactions that exist between them. Which of the following questions will not provide information that is pertinent to the creation of a deployment diagram?
Is a factory pattern being used to establish connections to the data source?
How robust does the application need to be?
What integration exists between existing corporate applications?
Are there plans to use a service-based architecture?
You have a Windows Forms application for which performance is critical. The application uses complex objects to store application settings. You need to ensure that the retrieval of configuration information is as fast as possible. Which format should you use?
MIME-encoded
Strings
XML
Binary
Which command would you use to close the application domain in the following code sample? ' VB Dim d As AppDomain = AppDomain.CreateDomain("New Domain") d.ExecuteAssemblyByName("MyAssembly") // C# AppDomain d = AppDomain.CreateDomain("New Domain"); d.ExecuteAssemblyByName("MyAssembly");
d.Unload()
d.DomainUnload()
AppDomain.Unload(d)
d = null
Given the following code sample, which line correctly finalizes the ACL changes? ' VB Dim dir As String = "C:\MyApp" Dim ds As DirectorySecurity = Directory.GetAccessControl(dir) ds.AddAccessRule(New FileSystemAccessRule("Administrator", _ FileSystemRights.FullControl, AccessControlType.Allow)) Directory.SetAccessControl(dir, ds) // C# string dir = @"C:\myApp"; DirectorySecurity ds = Directory.GetAccessControl(dir); ds.AddAccessRule(new FileSystemAccessRule("Guest", FileSystemRights.FullControl, AccessControlType.Allow)); Directory.SetAccessControl(dir, ds);
' VB Directory.SetAccessControl(dir, ds) // C# Directory.SetAccessControl(dir, ds);
' VB Directory.CreateDirectory(dir, ds) // C# Directory.CreateDirectory(dir, ds);
' VB Directory.SetAccessControl(ds) // C# Directory.SetAccessControl(ds);
' VB Directory.CreateDirectory(ds) // C# Directory.CreateDirectory(ds);
Which of the following choices is true regarding Platform Invoke?
A Runtime Callable Wrapper can be used instead of P/Invoke, which will wrap all the needed functionality of the library.
String objects are preferred to StringBuilder objects because Strings are reference types.
The DllImport attribute should be used.
If a parameter has no meaningful value, it’s best to leave it out of the call.
Which of the following items cannot be queried via WMI?
Logical drives on a machine
A list of Windows Services on a machine and their respective states
Network adapters.
A list of OleDb-compliant databases on the network
Which two methods are defined by IHttpHandler Interface
GenerateRequest and ProcessResponse
ProcessResponse and IsReusable
GenerateResponse and ProcessRequest
ProcessRequest and IsReusable
Which account type should you choose to minimize security risk
LocalSystem
LocalService
User
NetworkService
Join the .NET Community
Description:

a .net test for the professionals those who aspire to become a Microsoft Certified Technical Specialist.
Disclaimer: Content, such as images used in the questions (if any), have been picked up from various places for the sole purpose of Instruction.

Comments
samar rizvi
By: samar rizvi
729 days 18 hours 15 minutes ago

too much hard questions

Vaibhav Deshpande
By: Vaibhav Deshpande
648 days 22 hours 44 minutes ago

Very hard test

Rahul Sharma
By: Rahul Sharma
581 days 15 hours 42 minutes ago

Last Question - answer is Network Service, not Local Service !!!

sonal
By: sonal
561 days 23 hours 42 minutes ago

very difficult test

Anurag Kumar
By: Anurag Kumar
434 days 1 hours 16 minutes ago

Nice

gs
By: gs
320 days 7 hours 44 minutes ago

best ..i have seen so far

Venkata Ramesh
By: Venkata Ramesh
215 days 1 hours 38 minutes ago

Tough test

Venkata Ramesh
By: Venkata Ramesh
215 days 1 hours 38 minutes ago

Tough test

Want to learn?

Sign up and browse through relevant courses.

Name:
Your Email:
Password:
Country:
Contact no.:


Area code Number
Subject you are interested in:
Word verification: (Enter the text as in image)


Sign Up Already a member? Sign In
I agree to WizIQ's User Agreement & Privacy Policy

Your Facebook Friends on WizIQ

More Tests By Author

ASP Server Controls
10 Questions | 227 Attempts

ASP.NET, Namespaces ASP.NET
10 Questions | 855 Attempts

An ASP.NET Application
10 Questions | 173 Attempts

Test your basic knowledge on DATASTRUCTURES, STACK
10 Questions | 410 Attempts