How should you accomplish this goal?
You create Web-based client applications. You are creating a data access component. Several Web user controls will use the component to populate bound controls from a data source. The data source has end-user inputs. You need to ensure that the data source communicates all relevant information to the Web user controls that call your component. How should you accomplish this goal?
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 conclude?
You are an enterprise application developer. You are designing an intranet Web application. This application must meet the following requirements:
The employees must log on to use the application.
The database authentication mechanism must be as secure as possible.
The number of connection pools must be minimized.
You decide to use Microsoft SQL Server authentication and a specific SQL Server account. You need to evaluate whether the design will meet the business requirements and make recommendations, if required. What should you conclude?
Which configuration setting should you choose?
You create Web-based client applications. You are creating a page for a Web-based application.
You must ensure that the page meets the following requirements:
Uses forms authentication to validate users.
Deploys on a single Web server.
Is highly secure.
Gives higher priority to security than speed.
You need to recommend a configuration setting for your page. Which configuration setting should you choose?
Which code segment should you use?
You are writing a method to compress an array of bytes. The array is passed to the method in a parameter named document. You need to compress the incoming array of bytes and return the result as an array of bytes.
Which code segment should you use?
Which two changes should you recommend?
You are an enterprise application developer. You are designing an application. The database for the application currently has a one-to-one relationship between order and product. The application must meet the following business requirements:
An order must contain orders for many products.
An order must store the ordered quantity of each product.
You need to evaluate the existing design and recommend changes to meet the business requirements.
Which two changes should you recommend? (Each correct answer presents a complete solution.
Choose two.)
Which code segment should you use?
You create a master page named Article.master. Article.master serves as the template for articles on your Web site. The master page uses the following page directives.
<%@ Master Language=”C#” Src=”~/article.master.cs” Inherits=”article” %>
You need to create a content page that uses the master page as a template.
In addition, you need to use a single master page for all devices that access the Web site.
Which code segment should you use?
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?
What should you conclude?
You are an enterprise application developer. You create a business component for a contact management application that is named Contact. The Contact class contains a public read/write property that is named Company. Company is defined as a string. The Company field in the database is defined as nvarchar(20). You must test whether the property correctly handles values of any length. You decide to use a boundary condition test. You need to evaluate whether the proposed test is appropriate. What should you conclude?
What should you do?
You create a personalized home page. You want to enable users to choose from a selection of daily headlines from different news providers. You create a series of custom user controls. Each control points to a different news provider.
You need to add these controls to the personalized home page. What should you do?