exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 2 question 28 discussion

Actual exam question from Microsoft's 70-483
Question #: 28
Topic #: 2
[All 70-483 Questions]

You are creating a class library that will be used in a web application.
You need to ensure that the class library assembly is strongly named.
What should you do?

  • A. Use the gacutil.exe command-line tool.
  • B. Use the xsd.exe command-line tool.
  • C. Use the aspnet_regiis.exe command-line tool.
  • D. Use assembly attributes.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
The Windows Software Development Kit (SDK) provides several ways to sign an assembly with a strong name:
✑ Using the Assembly Linker (Al.exe) provided by the Windows SDK.
✑ Using assembly attributes to insert the strong name information in your code. You can use either the AssemblyKeyFileAttribute or the
AssemblyKeyNameAttribute, depending on where the key file to be used is located.
✑ Using compiler options such /keyfile or /delaysign in C# and Visual Basic, or the /KEYFILE or /DELAYSIGN linker option in C++. (For information on delay signing, see Delay Signing an Assembly.)
Note:
A strong name consists of the assembly's identityits simple text name, version number, and culture information (if provided)plus a public key and a digital signature. It is generated from an assembly file (the file that contains the assembly manifest, which in turn contains the names and hashes of all the files that make up the assembly), using the corresponding private key. Microsoft Visual Studio .NET and other development tools provided in the .NET Framework SDK can assign strong names to an assembly. Assemblies with the same strong name are expected to be identical.

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
ensa
4 years, 5 months ago
A is true as well
upvoted 2 times
...
supersunny
5 years, 9 months ago
The Windows Software Development Kit (SDK) provides several ways to sign an assembly with a strong name: * (D) Using assembly attributes to insert the strong name information in your code. You can use either the AssemblyKeyFileAttribute or the AssemblyKeyNameAttribute, depending on where the key file to be used is located. * Using the Assembly Linker (Al.exe) provided by the Windows SDK. * Using compiler options such /keyfile or /delaysign in C# and Visual Basic, or the /KEYFILE or /DELAYSIGN linker option in C++. (For information on delay signing, see Delay Signing an Assembly.)
upvoted 3 times
ArunPrem
5 years, 4 months ago
I see the same explanation already given in the reveal solution under the question. Looks like it is just copied and pasted here..
upvoted 12 times
...
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago