AllExam Dumps

DUMPS, FREE DUMPS, VCP5 DUMPS| VMWARE DUMPS, VCP DUMPS, VCP4 DUMPS, VCAP DUMPS, VCDX DUMPS, CISCO DUMPS, CCNA, CCNA DUMPS, CCNP DUMPS, CCIE DUMPS, ITIL, EXIN DUMPS,


READ Free Dumps For Microsoft- 70-483





Question ID 17102

You are developing an application by using C#. The application will write events to an
event log. You plan to deploy the application to a server.
You create an event source named AppSource and a custom log named AppLog on the
server.
You need to write events to the custom log.
Which code segment should you use?

Option A

Option A

Option B

Option B

Option C

Option C

Option D

Option D

Correct Answer A
Explanation Explanation: Source should be AppSource: * New-EventLog Creates a new event log and a new event source on a local or remote computer. Parameters include: -Source Specifies the names of the event log sources, such as application programs that write to the event log. This parameter is required.


Question ID 17103

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?

Option A

Use assembly attributes.

Option B

 Use the csc.exe /target:Library option when building the application.

Option C

Use the xsd.exe command-line tool.

Option D

Use the EdmGen.exe command-line tool.

Correct Answer A
Explanation Explanation: The Windows Software Development Kit (SDK) provides several ways to sign an assembly with a strong name: * (A) 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.)