PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You are an enterprise application developer. You are implementing a new component for an application. The component accesses a database to populate a list of customer objects and exposes a method that is named GetAllCustomers. The component uses a design pattern to access the database only on an as-needed basis. A caching mechanism exists in a lower tier of the application architecture. The component must not cache data. You need to implement the logic for populating a list of customer objects by using a database query. You also need to ensure that you meet the company guidelines for the component design pattern. What should you do?

What should you conclude to evaluate whether your teams deployment plan meets the requirements and recommend a

You are an enterprise application developer. You create a three-tier Web-based application that accesses 10 external Web services to retrieve currency rates. You need to calculate product prices in ten currencies. A smart client invoicing application accesses the business tier to retrieve and use the product prices in 10 currencies. The business tier calls the 10 external Web services. You create a separate service agent component to encapsulate the logic of which Web service to call. This component also makes it easier to change the Web references when required. Your team plans to deploy this service agent in the Web presentation tier. You need to evaluate whether your teams deployment plan meets the requirements and recommend accordingly. What should you conclude?

What should you do?

You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the design and development of application frameworks. Domain.com operates in the Inland Revenue services department. You are currently developing an income tax preparation application. This application should calculate income tax on the following basis:

To this end you create two Double variables. These are named income and tax respectively. What is now required is to choose an appropriate decision flow structure to implement the business rules.

What should you do? (Choose the appropriate code segment.)

What should you recommend?

You are an enterprise application developer. You create a Web-based application that manages financial transactions for an online investment company. The company requires to meet the following processes:

Log all customer actions.
Log all application execution failures.

The company security policy permits audit events to be logged. The security policy requires that there must be only one local administrator on the Web server. The policy also requires that all code must be run with the least possible privileges. The company uses Microsoft Windows Event Log as the repository for all event information. You need to recommend an appropriate solution to
meet the companys requirements. You also need to ensure that you adhere to the company security policy. What should you recommend?

What should you go?

You work as the Enterprise application developer at Domain.com. The Domain.com network consists of a single Active Directory domain named Domain.com. All servers in the domain run Windows Server 2003. Your responsibilities at Domain.com include the design and development of application frameworks. Domain.com operates in the security and surveillance environment. You are currently developing a video surveillance application for Domain.com. While executing your duties, you examine a third party component that implements a Camera class. This class allows you to connect to a physical camera and record video or capture images. The following exhibit illustrates the Camera class definition:

public class Camera
{
public virtual void CaptureImage()
{
//Capture a still image
}
public virtual void StartRecording()
{
//Start a recording session
}
public virtual void StopRecording()
{
//Stop a recording session
}
}

You now need to define the custom class to achieve the following goals:
1. reuse the Camera class to implement a custom class
2. allow the application to capture still images
3. prevent the application from being able to use your class to start and stop a recording session

What should you go? (Choose the correct code segment.)