Microsoft Certified Solutions Developer (MCSD) Certification Practice Test

Disable ads (and more) with a membership for a one time $2.99 payment

Prepare for the Microsoft Certified Solutions Developer (MCSD) Exam with comprehensive quizzes, flashcards, and multiple-choice questions. Each query includes hints and clear explanations to help you succeed. Get exam-ready today!

Each practice test/flash card set has 50 randomly selected questions from a bank of over 500. You'll get a new set of questions each time!

Practice this question and more.


How can you create a strong-named assembly?

  1. Using a GUID generator

  2. By running a command in the command line

  3. Utilizing a specific Visual Studio feature

  4. Both B and C are correct

The correct answer is: Both B and C are correct

Creating a strong-named assembly is an essential practice in .NET development, as it provides a unique identity to the assembly and helps ensure version control and security. A strong-named assembly is generated through a combination of a public/private key pair and the assembly's version number and culture, forming what is known as the strong name. This process can be achieved in different ways, two of which are highlighted in the correct choice. When referring to running a command in the command line, developers can use tools such as the Strong Name Tool (sn.exe) which allows for the creation of a key pair file. This command-line utility is commonly used to generate the keys needed for signing the assembly, thereby helping establish a strong name. On the other hand, within Visual Studio, there is a feature available in the project properties where you can sign the assembly with a strong name. This is done by specifying the key file that generated earlier, and it ensures that the assembly is uniquely identified and can be used in scenarios where strong-naming is required, like with shared assemblies in the Global Assembly Cache (GAC). Both methods are valid for creating a strong-named assembly, which is why the correct choice encompasses both the command-line option and the Visual Studio