Which permission class should you use?
You are creating an assembly named Assembly1. Assembly1 contains a public method. The global cache contains a second assembly named Assembly2. You must ensure that the public method is only called from Assembly2.
Which permission class should you use?
Which monitoring feature should you use?
You are an enterprise application developer. You are designing monitoring features for an ASP.NET Web-based application.
The monitoring features must meet the following requirements:
Log events to a data source for later review.
Read configuration settings from the Web.config file. Monitor the application after deployment to production.
You decide to use a monitoring feature built into Microsoft .NET Framework. You need to choose
an appropriate monitoring feature. Which monitoring feature should you use?
Which code segment should you use?
You are creating an undo buffer that stores data modifications. You need to ensure that the undo functionality undoes the most recent data modifications first. You also need to ensure that the undo buffer permits the storage of strings only. Which code segment should you use?
Which two actions should you perform?
You create Microsoft Windows-based applications. You create an application that loads bulk weather data into a data warehouse for analysis. The application is used by data-entry technicians. One data-entry technician is visually impaired. The data-entry technicians provide a large flat file as the source of the data, and they typically minimize the application so that they can use other programs while the data is being loaded. The data entry technicians must load as many data files as possible during the course of their work day. The user interface contains a progress bar control that has a text label. The text label indicates the current percentage of progress. You need to provide appropriate status feedback to the user by indicating that the process is complete.
Which two actions should you perform? (Each correct answer presents part of the solution. Choose two.)
Which implementation approach should you choose?
You are an enterprise application developer. You are creating a distributed application that requires asynchronous communication between the UI layer and the business layer. The application must ensure reliable delivery of messages between the components. There are no restrictions on the format. Messages are limited to 4 MB in size. For scalability reasons, you create the business logic components as serviced components. You need to choose the most appropriate component implementation for your business logic components. You want to achieve this goal by using the least development effort. Which implementation approach should you choose?
What should you conclude?
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?
Which three actions should you perform?
You are creating a class that uses unmanaged resources. This class maintains references to managed resources on other objects. You need to ensure that users of this class can explicitly release resources when the class instance ceases to be needed. Which three actions should you perform? (Each correct answer presents part of the solution. Choose three.)
What should you do?
You create Microsoft Windows-based applications. You are developing an application that will be used by stock traders. The project scope contains the following requirements:
The application must permit users to set thresholds for minimum and maximum values for different stocks.
The application must alert the user when stock prices reach the pre-defined thresholds.
The application must permit the user to either buy or sell stock and specify the quantity of stock to trade.
The application must permit multiple alerts to be displayed simultaneously.
You need to decide how to implement the alert mechanism.
What should you do?
What should you conclude?
You are an enterprise application developer. You create a layered enterprise application that consists of a user interface layer, a business layer, and a data layer. The user interface layer is currently implemented as a smart client. End users now also need to access the enterprise application over the Web. To permit this, you create a Web client application. You also create a user interface process layer as a separate assembly. This assembly encapsulates the validation rules that apply to the end user interaction with the system. In the new version of the application, all user interfaces will use the new user interface process layer. The implementation of the new version of the application is as shown in the following diagram.
Your team plans to deploy the user interface process assembly on the Web server.
You need to evaluate whether the deployment plan fulfills the requirements and recommend change, if required.
What should you conclude?
Which two code segments should you use?
You create a Web application for your company’s intranet. You want to enable users to customize their versions of the intranet home page. You create sections of content as Web Parts. You need to ensure that users can customize content at any time.
Which two code segments should you use? (Each correct answer presents part of the solution. Choose two.)