Which type or types of data access are allowed?
You are configuring a ClickOnce deployment that allows users to install your application from the Internet zone under partial trust permissions. You want the application to access data that resides on the same remote server from which the application is installed. You need to add one or more types of data access that are allowed under partial trust permissions to your application.
Which type or types of data access are allowed? (Choose all that apply.)
Which class should you choose?
You are an enterprise application developer. You develop a component that gathers data from multiple Web services and loads the data into a DataTable. You need to identify a class to persist the information stored in the DataTable to a Microsoft SQL Server database by using the most time-efficient method. Which class should you choose?
What should you do?
You create Web-based client applications. The application permits users to upload files to a network share. When anonymous users use the upload feature from the Web-based application, a custom error page is displayed. You need to ensure that anonymous users are able to use the application. What should you do?
Which two controls can you use to achieve this goal?
You are customizing a Windows Form. You need to add an input control that provides AutoComplete suggestions to the user as the user types.
Which two controls can you use to achieve this goal? (Each correct answer presents a complete solution. Choose two.)
What should you do?
You are an enterprise application developer. You are developing a smart client application. You write a method that reads a registry value. Your application runs from a partially trusted environment. The method must not throw an exception when it reads the registry value. You need to ensure that your code is authorized to read the registry key before it attempts to read the value.
What should you do?
Which configuration setting should you identify?
You create Web-based applications. The application is installed in a Network Load Balancing cluster. You are analyzing a bug report. When a failure occurs in the application, the client sometimes receives a correctly formatted friendly error page as expected. At other times, the client receives an exception stack with the error message, which is not expected. You need to identify the configuration setting that causes the unexpected response. Which configuration setting should you identify?
What should you do?
You are creating a Windows Form that includes a TextBox control named txtDate. When a user right-clicks within the text box, you want the application to display a MonthCalendar control. You need to implement a context menu that provides this functionality. What should you do?
What should you do?
You are an enterprise application developer. You are designing an event logging mechanism for a Web-based application. The application uses Windows authentication. The application retrieves data from a Microsoft SQL Server database. The event logging mechanism must meet the following requirements: All logon and logoff events are logged.All exceptions are logged.All access to the database is logged.All application start and end events are logged. You need to ensure that all the requirements are met by using the minimum amount of coding effort. What should you do?
What change should you suggest?
You create Web-based client applications. You are reviewing a Web application page that populates a list of all employees of your company. You analyze code and find that the Web application page does not prevent exceptions from traveling to the browser. You need to ensure that the Web application page intercepts exceptions and presents an error message to the browser. What change should you suggest?
Which code segment should you use to format the columns at run time?
You are creating a Windows Form. You add a TableLayoutPanel control named pnlLayout to the form. You set the properties of pnlLayout so that it will resize with the form. You need to create a three-column layout that has fixed left and right columns. The fixed columns must each remain 50 pixels wide when the form is resized. The middle column must fill the remainder of the form width when the form is resized. You add the three columns in the designer.
Which code segment should you use to format the columns at run time?