exam questions

Exam 70-483 All Questions

View all questions & answers for the 70-483 exam

Exam 70-483 topic 1 question 33 discussion

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

You are developing an assembly that will be used by multiple applications.
You need to install the assembly in the Global Assembly Cache (GAC).
Which two actions can you perform to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

  • A. Use the Assembly Registration tool (regasm.exe) to register the assembly and to copy the assembly to the GAC.
  • B. Use the Strong Name tool (sn.exe) to copy the assembly into the GAC.
  • C. Use Microsoft Register Server (regsvr32.exe) to add the assembly to the GAC.
  • D. Use the Global Assembly Cache tool (gacutil.exe) to add the assembly to the GAC.
  • E. Use Windows Installer 2.0 to add the assembly to the GAC.
Show Suggested Answer Hide Answer
Suggested Answer: DE 🗳️
There are two ways to deploy an assembly into the global assembly cache:
Use an installer designed to work with the global assembly cache. This is the preferred option for installing assemblies into the global assembly cache.
Use a developer tool called the Global Assembly Cache tool (Gacutil.exe), provided by the Windows
Software Development Kit (SDK).
Note:
In deployment scenarios, use Windows Installer 2.0 to install assemblies into the global assembly cache. Use the Global Assembly Cache tool only in development scenarios, because it does not provide assembly reference counting and other features provided when using the Windows Installer.
References: http://msdn.microsoft.com/en-us/library/yf1d93sz%28v=vs.110%29.aspx

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
elYaro
4 years, 11 months ago
ANSWER: D, E
upvoted 1 times
...
elYaro
4 years, 11 months ago
“Using Windows Installer. You do this in Visual Studio 2012 and Visual Studio 2013 by creating an InstallShield Limited Edition Project. This is the recommended and most common way to add assemblies to the global assembly cache. The installer provides reference counting of assemblies in the global assembly cache, plus other benefits. Using the Global Assembly Cache tool (Gacutil.exe). You can use Gacutil.exe to add strong-named assemblies to the global assembly cache and to view the contents of the global assembly cache. ” B might represent a mandatory step for an assembly to be added to the GAC, but its description (“[…] to copy the assembly to the GAC”) is inaccurate, making it a wrong answer.
upvoted 1 times
...
josuke
4 years, 11 months ago
The strong name tool is used to generate .snk files used for strong naming. It does NOT put the assembly into the GAC.
upvoted 1 times
...
memou
4 years, 11 months ago
strong name(option b) is a prerequisite to installing,so assuming that is handled;we have to consider the other options.
upvoted 2 times
...
LAV
5 years, 6 months ago
Correct answer B D
upvoted 1 times
L1am
5 years, 5 months ago
D, E https://docs.microsoft.com/en-us/dotnet/framework/app-domains/install-assembly-into-gac
upvoted 6 times
...
founderDev
5 years, 3 months ago
correct answer : D,E
upvoted 3 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