logo

CuriousTab

CuriousTab

Discussion


Home Certification Microsoft Certification See What Others Are Saying!
  • Question
  • You use Visual Studio .NET to create an assembly, called XYZAssembly, that will be used by other applications, including a standard COM client application. You must deploy your assembly on the COM application to a client computer. You must ensure that the COM application can instantiate components within the assembly as COM components. What should you do?


  • Options
  • A. Create a strong name of the assembly by using the Strong Name tool (Sn.exe).
  • B. Generate a type library for the assembly by using the Type Library Importer (Tlbimp.exe). Register the file on the client computer.
  • C. Generate a registry file for the assembly by using the Assembly Registration tool (Regasm.exe) Register the file on the client computer.
  • D. Deploy the assembly to the global assembly cache on the client computer. Add a reference to the assembly in the COM client application.

  • Correct Answer
  • Generate a registry file for the assembly by using the Assembly Registration tool (Regasm.exe) Register the file on the client computer. 

    Explanation

    The Assembly Registration tool reads the metadata within an assembly and adds the necessary entries to the registry, which allows COM clients to create .NET Framework classes transparently. Once a class is registered, any COM client can use it as though the class were a COM class..

     

    Incorrect Answers:

    Option A:
    The Strong Name tool helps sign assemblies with strong names.


    Option B:
    The Type Library Importer, tlbimp.exe, converts the type definitions found within a COM type library into equivalent definitions in a common language runtime assembly. It would not be useful in this scenario however.


    Option D:
    This would not allow the COM application to use the class.


  • More questions

    • 1. Why do you need common fields in a Database?
    • Discuss
    • 2. Insert command falls in which sub-language of SQL ?

    • Options
    • A. DCL
    • B. DQL
    • C. DML
    • D. DDL
    • Discuss
    • 3. How many joining conditions are required to join 4 tables in SQL?

    • Options
    • A. 1
    • B. 2
    • C. 3
    • D. 4
    • Discuss
    • 4. What command would you use to create a backup control file?
    • Discuss
    • 5. The SQL keyword BETWEEN is used:

    • Options
    • A. for ranges
    • B. as a wildcard
    • C. to limit the columns displayed
    • D. All the above
    • Discuss
    • 6. Sensitivity analysis is used to

    • Options
    • A. identify the risks which have the largest potential impact on the project.
    • B. determine which risks are most troubling to the customer.
    • C. identify hidden requirements that were not recognized at the outset of the project.
    • D. determine which requirements will add the greatest customer satisfaction for the least effort.
    • Discuss
    • 7. Report Performance is a member of which process group?

    • Options
    • A. Controlling
    • B. Planning
    • C. Executing
    • D. Closing
    • Discuss
    • 8. A quality audit is

    • Options
    • A. a structured, independent review to determine whether project activities comply with organizational and project policies, processes, and procedures.
    • B. the process of regularly evaluating overall project performance to provide confidence that the project will satisfy relevant quality standards.
    • C. an approach where the team members meet regularly to improve the process of quality control on their project.
    • D. the process of determining the appropriate actions to increase the effectiveness and efficiency of the project to provide added benefits to project stakeholders.
    • Discuss
    • 9. Executing Process Group What are the Project Management Processes included in the Executing Process Group?
    • Discuss
    • 10. Monitoring and Controlling Process Group What are the Project Management Processes included in Monitoring and Controlling Process Group?
    • Discuss


    Comments

    There are no comments.

Enter a new Comment