Interviewer And Interviewee Guide

MCSD.NET - 70-310 Exam Interview Question:

Suppose You are creating a .NET Remoting object named PropertyCache. PropertyCache will hold a
Hashtable object or name/value pairs.
A variety of remote client applications will communicate with PropertyCache to set and get
property values. You need to ensure that properties set by one client application are also
accessible to other client applications.
Which two actions should you take? (Each correct answer presents part of the solution. Choose
two)
A. Configure PropertyCache to be a client-activated object.
B. Configure PropertyCache to be a server-activated Singleton object.
C. Configure PropertyCache to be a server-activated SingleCall object.
D. Derive the PropertyCache class from MarshalByRefObject and override
InitializeLifetimeService() to return null.
E. Mark the PropertyCache class with the Serializable attribute.
Implement the ISponsor interface in the PropertyCache class.
F. Implement the ISerializable and ILease interfaces in the PropertyCache class.
Implement ILease.CurrentLeaseTime to return Int32.MaxValue.

Submitted by: Administrator
B. Configure PropertyCache to be a server-activated Singleton object.
D. Derive the PropertyCache class from MarshalByRefObject and override
InitializeLifetimeService() to return null.
Submitted by: Administrator

Read Online MCSD.NET - 70-310 Exam Job Interview Questions And Answers
Copyright 2007-2024 by Interview Questions Answers .ORG All Rights Reserved.
https://InterviewQuestionsAnswers.ORG.