PrepAway - Latest Free Exam Questions & Answers

Author: seenagape

What should you do?

You create Microsoft Windows-based applications. You are creating a component for an application. You will use the component to process a high rate of business transactions. The performance of the component is critically important to maximize the performance of the application. The operations of the component differ depending on the properties of the business transaction that is processed at any given time. You need to ensure that performance issues are identified quickly over the life of the component. What should you do?

What should you do?

You create Web-based client applications. You have created a Web-based application that retrieves data from a database. Hundreds of users access this Web-based application. A performance baseline has been created and integrated into a maintenance plan for the application. You find that the Web-based application consumes more resources than expected. You use instrumentation to profile the Web-based application and discover that resources are not being released correctly. You modify the code and profile the Web-based application again. You find the performance metrics appear to be within the requirements. You need to identify your next action. What should you do?

Which two actions should you perform?

You create a SharePoint Server 2007 site. You create a trusted document library. You name the financial workbooks in the SharePoint site. The document library contains Microsoft Office Excel workbooks. You create an assembly named FinancialFunctions that implements custom business logic. You need to call the methods defined in FinancialFunction from the workbooks that are stored in the document library.

Which two actions should you perform? (The correct answer represents part of the solution. Choose Two.)

Which code segment should you use?

You create a Web Part and deploy the Web Part to a Windows SharePoint Services site named Site1. You create a feature named MyFeature.

You write the following code segment.

Private site As SPSite = New SPSite(“http://server/site1”) _
Private web As SPWeb = site.OpenWeb()

You need to activate the feature only on Site1 when the Web Part is loaded.

Which code segment should you use?

Which two changes should you propose?

You create Microsoft Windows-based applications. You are creating a sales management application. An overview of the logical design for the application is as shown in the following exhibit. (Refer to the Exhibit.) The application will be used by 300 users in the company. The application will connect directly to the sales database and use stored procedures. The data will also
be accessed through the Internet by applications developed by your companys business partners. The security settings must be configured to permit external applications to access the database from the Internet. You need to ensure that the outlined requirement is met by changing the network and security settings to the minimum extent possible. Which two changes should you propose? (Each correct answer presents part of the solution. Choose two.)

Which design feature should you choose?

You create Web-based client applications. You are creating a component named Product. The component will represent data in the products table of a database. The ProductID field is the primary key of the products table. The Product ID is an integer value that is generated by the database. The products table contains two fields named ProductName and CurrentPrice, which do not accept null values. You need to design an interface for the Product class. You also need to ensure that upon instantiation the component will either retrieve an existing product from the database or add a new record to the products table. Which design feature should you choose?