nerdexam
GIAC

GSSP-NET · Question #263

David works as a Software Developer for GenTech Inc. He defines an interface, named Interface1. Interface1 contains the following code: public interface Interface1 { // Code goes here. } GIAC…

The correct answer is A. [ClassInterface(ClassInterfaceType.AutoDual)]. See the full explanation below for the reasoning.

Question

David works as a Software Developer for GenTech Inc. He defines an interface, named Interface1. Interface1 contains the following code:

public interface Interface1 { // Code goes here. } GIAC GSSP-.NET Exam David creates a serviced component, named Component1, which implements Interface1. Which of the following code will he add to Component1 to ensure that it is built properly?

Options

  • A[ClassInterface(ClassInterfaceType.AutoDual)]
  • B[GuidAttribute("9ED54F84-A89D-4fcd-A854-44251E925F09")] public class Component1 :
  • C[ClassInterface(ClassInterfaceType.AutoDispatch)]
  • Dpublic class Component1 : ServicedComponent, Interface1 {

How the community answered

(22 responses)
  • A
    73% (16)
  • B
    5% (1)
  • C
    9% (2)
  • D
    14% (3)

Community Discussion

No community discussion yet for this question.

Full GSSP-NET Practice