PrepAway - Latest Free Exam Questions & Answers

Tag: 70-554

Exam 70-554: UPGRADE: MCSD Microsoft .NET Skills to MCPD Enterprise Application Developer by Using the Microsoft .NET Framework: Part 2

Which component should you choose?

You are an enterprise application developer. You are testing authentication in a Microsoft Windows-based application.
After the user enters the user name and password in the logon form of the user interface component, the following responses are triggered:

* The user interface component passes the user name and password to a utility component that performs the encryption.
* The user interface component then passes the encrypted user name and password to a Web service.
* The Web service invokes a business component and passes the encrypted user name and password.
* The business component passes the encrypted user name and password to a data access layer component that validates the user.

You need to identify the component on which the business component depends.
Which component should you choose?

What should you recommend?

You are an enterprise application developer. You are performing a peer code review for an entry- level developer. The developer is implementing server-side business objects. The business objects must be accessed and activated by using .NET Framework remoting. In addition, the business objects must meet the following requirements:

* Implement an interface for client-side access.
* Inherit from a base business object class.

The developer writes the following code segment.

public class UserObject : BaseBizObject, MarshalByRefObject, IUserObject { }

When the developer attempts to compile the code, an error message is received. You need to review the code and recommend a solution.
What should you recommend?

What should you recommend?

You are an enterprise application developer. You create a Microsoft Windows client application that communicates with a business layer component. The business layer component contains the following class, named Utility.

public class Utility
{
public Utility()
{
}
public void ChangeData()
{
}
}

The application must fulfill the following criteria:

* Instances of the Utility class must be created only within the business component.
* The Windows client application must be able to invoke the functions inside the Utility class.

You review the code for the Utility class and decide it requires modification. You need to recommend modifications for the code.
What should you recommend?

Which approach should you choose?

You are an enterprise application developer. You are creating a component that stores employee details in a Microsoft SQL Server database. The component is implemented as a class. The class includes the public properties ID and Name. The class does not contain static methods. Both the ID field and the Name field are required in the Employee table of the database. Serialized instances of the class can be returned by XML Web services. You need to ensure that the class supports XML serialization. You also need to minimize the possibility of a developer creating a class instance by using partial data.
Which approach should you choose?

What should you do?

You are an enterprise application developer. You are creating a component that encapsulates database access to an employee table. The component contains a method that retrieves an employee record by using a string input parameter.
You need to respond to error conditions in a way that meets the following requirements:

* If the caller passes a variable that fails to reference a string object, the caller receives an error notice.
* If the caller fails to respond to the error notice, the error condition forcefully alters the flow of execution.
* If the error occurs on the main thread, the application is terminated.

What should you do?

Which two actions should you perform?

You are an enterprise application developer. You create a component that uses unmanaged resources. You need to ensure that the component permits client developers to release the unmanaged resources as soon as they are no longer needed. You also need to guarantee that unmanaged resources are always released, even if a client developer fails to release them.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)

What should you do?

You are an enterprise application developer. You are creating a component for a distributed application for your company. The application manages the users access to sensitive company data. The company data is stored in an NTFS file system. Each file has permissions defined for domain users in an access control list (ACL).
The application must meet the following requirements in the same order of priority:

* Secure access to sensitive information based on the users credentials.
* Log authorization failures.

You need to use an appropriate authorization mechanism for the application. You need to achieve this by using the least amount of development effort.
What should you do?

What are the two possible layers to achieve this goal?

You are an enterprise application developer. You are creating an e-commerce Web application. The application architecture consists of layers as shown in the following diagram. The application layers are described in the following tables.

You need to package the required cryptographic services into a single component. You also need to identify suitable locations for the cryptography component.
What are the two possible layers to achieve this goal? (Each correct answer presents a complete solution. Choose two.)

What should you do?

You are an enterprise application developer. You are creating a component to process geospatial data. The component retrieves large sets of data from a Microsoft

SQL Server database. Each data point consists of two decimal values: one value represents longitude and the other value represents latitude. You need to design a data format that minimizes the managed heap memory allocation needed for each data point within the component.
What should you do?

What should you do?

You are an enterprise application developer. You create a component that exposes a static method. The static method performs a complex business algorithm and the method must support concurrent callers. You use asynchronous processing to implement the method. You need to ensure that the client application is notified about the completion of the method.
What should you do?


Page 20 of 40« First...10...1819202122...3040...Last »