Adobe certification Adobe
Apple certification Apple
Avaya certification Avaya
BlackBerry certification BlackBerry
Checkpoint certification Checkpoint
Cisco certification Cisco
Citrix certification Citrix
CIW certification CIW
COGNOS certification COGNOS
CompTIA certification CompTIA
CWNP certification CWNP
ECCouncil certification ECCouncil
EMC certification EMC
Exam Express certification Exam Express
Exin certification Exin
F5 Networks certification F5 Networks
HP certification HP
IBM certification IBM
ISC certification ISC
ISEB certification ISEB
Juniper certification Juniper
Lotus certification Lotus
LPI certification LPI
Microsoft certification Microsoft
Nortel certification Nortel
Oracle certification Oracle
PMI certification PMI
RedHat certification RedHat
Sun certification Sun
Sybase certification Sybase
Symantec certification Symantec
Tibco certification Tibco
VMware certification VMware
All Exams

Microsoft 70-559(VB) Exam - TKcerts

Free 70-559(VB) Sample Questions:

1. You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, you're developing a server. You are developing an application. The application will use custom authentication and role-based security. You have to make the runtime assign an unauthenticated principal object to each running thread, so you have to write a code segment. In the options below, which code segment should you use?
A. Dim objDomain As AppDomain = AppDomain.CurrentDomainobjDomain.SetPrincipalPolicy( _ PrincipalPolicy.WindowsPrincipal)
B. Dim objDomain As AppDomain = AppDomain.CurrentDomainobjDomain.SetThreadPrincipal(New WindowsPrincipal(Nothing))
C. Dim objDomain As AppDomain = AppDomain.CurrentDomainobjDomain.SetAppDomainPolicy( _ PolicyLevel.CreateAppDomainLevel())
D. Dim objDomain As AppDomain = AppDomain.CurrentDomainobjDomain.SetPrincipalPolicy( _ PrincipalPolicy.UnauthenticatedPrincipal)
Answer: D

2. You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, a Web site has been created. An EditorZone control has been added to the home page on the Web site. Now the customer wants to enable users to customize the size and location of the Web Parts on their home pages. You have to achieve this for the customer. In the options below, which control should be added to the EditorZone control? (choose more than one)
A. You should add LayoutEditorPart to the EditorZone control.
B. You should add PropertyGridEditorPart to the EditorZone control.
C. You should add AppearanceEditorPart to the EditorZone control.
D. You should add BehaviorEditorPart to the EditorZone control.
Answer: A, C

3. You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, a Queue named q has to be created. So you have to create a method to achieve this. Which code segment should you use?
A. q.Clear()
B. q.Dequeue()
C. Dim e As ObjectFor Each e In qq.Dequeue()Next
D. Dim e As ObjectFor Each e In qq.Enqueue(Nothing)Next
Answer: A

4. You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, you are creating an auditing application to display the trusted ClickOnce applications. The applications are installed on a computer. Now you need the auditing application to display the origin of each trusted application. In the options below, which code segment should you use?
A. Dim objTrusts As Application TrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As ApplicationTrust In objTrusts Console.WriteLine(objTrust.ExtraInfo.ToString)Next
B. Dim objTrusts As Application TrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As ApplicationTrust In objTrusts Console.WriteLine(objTrust.ApplicationIdentity.FullName.ToString)Next
C. Dim objTrusts As Application TrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As Object In objTrusts Console.WriteLine(objTrust.ToString)Next
D. Dim objTrusts As Application TrustCollectionobjTrusts = ApplicationSecurityManager.UserApplicationTrustsFor Each objTrust As ApplicationTrust In objTrusts Console.WriteLine(objTrust.ToString)Next
Answer: B

5. You have just graduated from college, now you are serving the internship as the software developer in an international company. According to the requirements of the company CIO, you are changing the security settings of a file named MyData.xml. You have to keep the existing inherited access rules. What's more, the access rules are not allowed to inherit changes in the future. You must ensure this. In the options below, which code segment should you use?
A. Dim objSecurity As New FileSecurity()objSecurity.SetAccessRuleProtection(True, True)File.SetAccessControl("MyData.xml", objSecurity)
B. Dim objSecurity As FileSecurity = _File.GetAccessControl("MyData.xml")objSecurity.SetAccessRuleProtection(True, True)
C. Dim objSecurity As FileSecurity = _File.GetAccessControl("MyData.xml")objSecurity.SetAuditRuleProtection(True, True)File.SetAccessControl("myData.xml", objSecurity)
D. Dim objSecurity As New FileSecurity( _ "MyData.xml", AccessControlSections.All)objSecurity.SetAccessRuleProtection(True, True)File.SetAccessControl("MyData.xml", objSecurity)
Answer: D