PrepAway - Latest Free Exam Questions & Answers

Category: 70-536

Exam 70-536: TS: Microsoft .NET Framework – Application Development Foundation

What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 application that will be used for transmitting contents over the Internet.
You need to encrypt a data file before transmitting the file. The encryption is required to prevent any spoofing of the identity of the publisher of the data file.
You decide to sign the data using the publisher’s private key. You encrypt the data with the publisher’s public key as well.
The receiver of the file will use a private key that only he knows to decrypt the data and the receiver has access to the publisher’s public key also.
The intended receiver of the file should be able to decrypt the encrypted file after it was received through the Internet transmission whilst the receiver should additionally be able to detect if the contents of the data file were tampered with.
What should you do?

Choose the XML block that signifies the output of serializing the Vehicle class instance.

You work as the application developer at Domain.com.
You write the definition for a class named Vehicle by defining the following code segment:
public class Vehicle {
[XmlAttribute(AttributeName = “category”)]
public string vehicleType;
public string model;
[XmlIgnore]
public int year;
[XmlElement(ElementName = “mileage”)]
public int miles;
public ConditionType condition;
public Vehicle() {
}
public enum ConditionType {
[XmlEnum(“Poor”)] BelowAverage,
[XmlEnum(“Good”)] Average,
[XmlEnum(“Excellent”)] AboveAverage
}}
You next create an instance of the Vehicle class, and add the following data in the defined fields of the class instance:
You must now identify the XML block that is generated when the Vehicle class instance is serialized.
Choose the XML block that signifies the output of serializing the Vehicle class instance.

What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You use a Windwos XP Professional client computer named Certkiller -WS536 as your development computer.
You are developing a .NET Framework 2.0 application on Certkiller -WS536. You create an assembly that implements a custom security object.
The assembly resides in the CKPerm.exe file. The CKPerm.exe references the classes in the BasePerm.exe assembly.
You are required to write a script that will be used to add the assembly to the full trust assembly list of the currently logged on user whilst the user
will never have write access to the machine policy file.
What should you do? (Choose two)

What should you do?

You work as the application developer at Domain.com. Domain.com uses Visual Studio.NET 2005 as its application development platform.
You are developing a .NET Framework 2.0 application and are about to examine the code groups in machine, user, and enterprise policies.
The user security policy file is located in c: Certkiller config Certkiller Security.config and belongs to a user other than the currently logged on user.
You are required to use code access security policy tool to inspect the security policy and need the required command.
What should you do?

What should you do?

You work as an application developer at Domain.com.
Domain.com has a test server named Certkiller -SR09 that is frequently used by other Domain.com developers to test assemblies and applied security policies.
You have just completed creating an assembly and want to test it on Certkiller -SR09.
You need to ensure that all security policies on Certkiller -SR09 are reset to their default settings.
What should you do?

What should you do?

You work as an application developer at Domain.com. A fellow developer named Amy Walsh recently created an assembly that implements a custom permission set.
Domain.com has asked you to test this assembly.
You start by copying the assembly to a test server named Certkiller -SR15 that has the Microsoft .NET 2.0 Framework installed.
You then log on to the Certkiller -SR15 as a member of the local Administrators Windows group.
You run the assembly, and receive a security exception.
You perform a brief analysis of the security issues involved, and find that the assembly has not been assigned the appropriate permissions to run.
You need to ensure that this assembly runs.
What should you do?

Choose the two lines of code which you should include in your code segment.

You work as the application developer at Domain.com.
You create a new service application named Certkiller App29.
You install Certkiller App29 on five application servers running in the Domain.com network.
You then apply the code segment shown below. Note that line numbers are only included for reference pruposes.
01 public void StartService(string serverName){
02 ServiceController crtl = new
03 ServiceController(” Certkiller App29″);
04 if (crtl.Status == ServiceControllerStatus.Stopped){
05 }
06 }
You want Certkiller App29 to start if it stops.
You must create the routine which will start Certkiller App29 on the server defined by the serverName input parameter.
Choose the two lines of code which you should include in your code segment.
Each correct answer presents only part of the complete solution. Choose two answers.


Page 3 of 2312345...1020...Last »