MCSD.NET - 70-320 Exam Question:
Download Questions PDF

You create a serviced component named CompanyScheduler. CompanyScheduler is registered
in a library application. The Scheduler methods parse String objects into Date Time objects. You
write a console application named Coverage.exe to test each method in Scheduler. You want
Coverage.exe to test Scheduler for multiple cultures to verify its globalization support.
What should you do?
A. Create a Culture Info object for each culture locale before calling the CompanyScheduler
methods.
B. Create a Region Info object for each culture locale before calling the CompanyScheduler
methods.
C. Set the current threads Current Culture property to each culture locale before calling the
CompanyScheduler methods.
D. Create a Coverage.exe.config file and add a <location> element to the configuration file for
each culture locale.

Answer:

C. Set the current thread's Current Culture property to each culture locale before calling the
CompanyScheduler methods.

Download MCSD.NET - 70-320 Exam Interview Questions And Answers PDF

Previous QuestionNext Question
You have a .NET Remoting object named Utils. The Utils class is a client-activated .NET
Remoting object. You want to write a client application that creates and uses a Utils object. You
want the client application to hold onto a reference to a Utils object for the duration of its
execution.
What should you do?
A. Construct the Utils object, and hold the object in a member variable.
B. Construct the Utils object, and set the LifeTimeService.LeaseTime to 0.
C. In the client application, create an Implementation of the ISponsor interface. Implement the
Renewal method to extend the lease.
D. In the client application, create an Implementation of the ILease interface. Implement the
CurrentLeaseTime property to return Int32.MaxValue.
Suppose You are creating a .NET Remoting object named Payroll. The Payroll class allows remote client
applications to access payroll data for your company. Client applications are developed by using
Windows Forms and Web Forms. You must ensure that remote client applications are securely
authenticated prior to gaining access to Payroll object. You want to accomplish this task by
writing the minimum amount of code.
What should you do?
A. Use a Tcp Channel and a Binary Formatter for the Payroll class.
B. Use an Http Channel and a Soap Formatter for the Payroll class.
C. Host the Payroll class in Internet Information Services (IIS) and implement Basic
authentication.
D. Host the Payroll class in Internet Information Services (IIS) and implement Integrated Windows
authentication.