What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application processes sales order documents. The application contains a component that retrieves the sales order documents from a FTP server
and stores the data in a Microsoft SQL Server database. You need to ensure that the component meets the following requirements:
– Periodically polls the FTP server to check for new order documents
– Executes without dependencies on other software components
– Executes without user interaction
– Executes by using a specific security context
– Allows system administrators to change the security context by retaining the same component code What should you do?
What should you do?
You work as the Microsoft.NET 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. The development and deployment of client applications forms part of your responsibilities at Domain.com. You are currently creating a message queue programmatically. This message queue will be accessed by two applications. Each message represents an instance of a public class named OrderInfo. The OrderInfo class does not derive from ServicedComponent, and it does not implement any interfaces. You need to ensure that the state of the class is preserved when a message is sent to and received from the message queue. This state of the class would include the values of private members. The message receiving application understands only the basic .NET Framework classes, and the OrderInfo class. To this end you need to specify the formatter that will be used to serialize and deserialize messages.
What should you do?
What should you do?
You are creating a Windows application by using the .NET Framework 3.5.
The application is deployed by using the XCopy command. Updates to the application are made available
through a Web site.
The number of users of the application increases.
You need to ensure that all users use the same version of the application.
What should you do?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
Users access the application by using Windows-based client applications or Web-based client applications.
All client applications share common business logic to handle transaction processing requests.
You need to ensure that the application is easy to maintain. What should you do?
What should you do?
You work as the Microsoft.NET 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. The development and deployment of client applications forms part of your responsibilities at Domain.com. You have received instruction to develop and order fulfillment application. This order fulfillment application must send multiple messages to the queue in the case of it receiving an order. After the application sends the messages to the queue, it must update an inventory database accordingly. In the event of an error occurring for one of the messages while it is busy updating the database, the application must automatically remove all messages that were sent for the current order. In the event of the database update being successful, another application on the same computer must read and process the messages. Only these two applications must be allowed to access the messages.
Now you need to create the message queue manually.
What should you do?
What should you do?
You create a Windows application by using the .NET Framework 3.5. The application is named APP1.
APP1 has the following specifications:
It merges information from text files.
It reads each text file as a string.
It runs on a server computer named Server1.
Another application named APP2 also runs on Server1.
You discover that when a function is used to merge the text files, APP1 consumes additional memory.
This additional memory consumption affects the operations of APP2.
You need to modify the design of APP1 to ensure minimum effect on APP2.
What should you do?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
You plan to implement a data access component to retrieve product data from a corporate database.
The component will return data for the products that meet the defined criteria.
You need to ensure that the component conforms to the following requirements:
– Access to the database is provided only when necessary.
– The database schema is hidden from the application that calls the component.
– Calls are returned by the component as quickly as possible.
What should you do?
What should you do?
You work as the Microsoft.NET 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. The development and deployment of client applications forms part of your responsibilities at Domain.com. You have received instruction to create an instance of the PropertyManager class from a client application. Following are the circumstances that you need to keep in mind in your attempts to accomplish the task at hand:
1. A class named PropertyManager exists in an assembly named PropertyManagement.dll.
2. The class and component are registered with COM+ services.
3. The COM+ application that hosts this class id configured as a server application. What should you do? (Choose the correct code segment.)
What should you do?
You create a Windows application by using the .NET Framework 3.5. The application will be deployed
on Windows Vista client computers.
The application contains a function that uses the Microsoft Office Word 2007 automation library to
generate a report.
After you generate three test reports, you discover that there are three Winword.exe processes in the
Task Manager processes list.
You need to ensure that the Winword.exe processes end time-efficiently and consume minimum
resources.
What should you do?
What should you do?
You create a solution by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The solution contains a Microsoft Windows Forms application and a Windows Communication Foundation (WCF) service.
You discover that when the application is run, certain tasks take a very long time to execute. You verify that all CPUs are idle while these tasks are being executed.
You need to design a strategy to identify the methods that cause the tasks to be delayed in the application. What should you do?