What should you do?
You create an application by using Microsoft Visual Studio 2008 and the .NET Framework 3.5.
The application is hosted on a Web server that runs Microsoft Windows Server 2003. It connects to a third-party system by using Web service calls.
The third-party system experiences occasional unplanned outages. When a system outage occurs, the application must perform the following tasks:
– Log error details.
– Notify an on-call technician.
You need to develop a strategy to perform the required tasks.
What should you do?
Which code segment should you add at line 02?
You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in the application. You add a ContextMenuStrip control named ctxMenu to the form. You have a user-defined class named CustomControl. You write the following code segment in the application. (Line numbers are included for reference only.)
01 CustomControl myControl = new CustomControl();
02
You need to ensure that an instance of CustomControl is displayed on the form as a top-level item of the ctxMenu control. Which code segment should you add at line 02?
What should you do?
You work as the Microsoft.NET developer at Domain.com. Domain.com operates as an agency that specializes in the placement of various breeds of pedigreed animals, servicing at least ten different countries on two continents. 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 Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently developing an Extensible Markup Language (XML) Web Service that will return biological images in SOAP messages. Due to the size of these messages, you decided to create a class named CompressionSoapExtension to compress the SOAP responses. You thus need to implement the ProcessMessage method to encrypt the SOAP responses.
What should you do?
Which control should you use?
You are creating a Windows application by using the .NET Framework 3.5.
The application contains a form to enter user details. The application must capture the preferred search
engine as part of input data.
You discover that the preferred search engine can be a known search engine or an unknown one.
You need to allow the user to select a value for the preferred search engine from a list of search engines.
You also need to allow the user to enter a value for the search engine in the same list.
Which control should you use?
What should you do?
You create an application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application contains the following modules:
– Mathematical utility modules
– Data access modules
– Geographical modules
The geographical modules are not ready for testing at this stage. However, all the other modules are complete.
You need to design an integration testing strategy that allows you to test all completed modules.
You also need to ensure that the strategy minimizes regression testing when the remaining modules are complete.
What should you do?
What should you do?
You are creating a Windows Forms application by using the .NET Framework 3.5. You create a new form in your application. You add a PrintDocument control named pntDoc to the form. To support the print functionality, you write the following code segment in the application. (Line numbers are included for reference only.)
01 pntDoc.BeginPrint +=new PrintEventHandler(PrintDoc_BeginPrint);
02 …
03 bool canPrint = CheckPrintAccessControl();
04 if (!canPrint) {
05
06 }
07
You need to ensure that the following requirements are met:
*When the user has no print access, font and file stream initializations are not executed and the print operation is cancelled.
*Print operations are logged whether or not the user has print access.
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 of Extensible Markup Language (XML) Web Services forms part of your responsibilities at Domain.com. You are currently developing an Extensible Markup Language (XML) Web Service that will be accessed by SOAP clients. To this end you need to specify the parameter formatting to result in a Web service that is Web Services Interoperability (WS-1) compliant.
What should you do?
What should you do?
You create a Windows application by using the .NET Framework 3.5.
The application captures account information. The account number contains both literal characters and
input characters of the alphanumeric type.
The account number has a predefined format.
You need to ensure that the account number is in the correct format. You also need to ensure that only
input characters are accepted from the user.
What should you do?
What should you do?
You create an ASP.NET application by using Microsoft Visual Studio .NET 2008 and the .NET Framework 3.5.
The application conforms to the following specifications:
– It runs on a host server.
– It functions without administrative privileges.
– It uses a method named GetConnectionString.
The GetConnectionString method reads the database connection strings from the Machine.config file.
During the test process, attempts to load a page that uses the GetConnectionString method fail.
The following error message is displayed:
“Access Denied”
You need to ensure that the GetConnectionString method functions appropriately.
What should you do?
recommend?
You are creating a Windows application by using the .NET Framework 3.5. The application is used to schedule appointments. The application contains a scheduling component that will perform the following tasks:
* Return available appointments.
* Add a new appointment to a calendar.
* The initial implementation of the scheduling component must be deployed.
You need to recommend a strategy to allow replacement of the scheduling component without changing compiled code. Which three actions should you
recommend? (Each correct answer presents part of the solution. Choose three.)