Tag: architecture

Questions Related to architecture

  1. private ServiceController FMServiceController = new ServiceController ('EasyNomad') ;

  2. private ServiceController FMServiceController = new ServiceController ('EasyNomad', 'FileWatch') ;

  3. private ServiceController FMServiceController = new ServiceController ('FileWatch', 'EasyNomad') ;

  4. private ServiceController FMServiceController = new ServiceController(“FileWatch”) ;


Correct Option: C,D
  1. Adding the ServiceController component from the Services Control Manager

  2. Adding the ServiceController component from the Toolbox

  3. Adding the ServiceController component to the Designer from Server Explorer

  4. Using manually entered code


Correct Option: B,C,D
  1. Attaching the debugger to the service process

  2. Creating a dummy service to call the service

  3. Starting a dummy service

  4. Starting both services


Correct Option: A,B,C

What properties would you set to True for a service that can restart after being paused and which writes information to the Application log?

  1. CanShutDown

  2. CanPauseAndContinue

  3. AutoLog

  4. CanStop


Correct Option: B,C
  1. Adapter Pattern

  2. Observer Pattern

  3. Chain of Responsibility Pattern

  4. Strategy Pattern


Correct Option: C

What is a Singleton Pattern

  1. The pattern that creates many instances of a single class in one shot

  2. This pattern is to have only a single constructor to a class

  3. Provides a class of which there can be no more than an instance, and provides a single global point of access to that instance

  4. Creates and maintains a pool of objects, using which a single object can used and returned to the pool


Correct Option: C