网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
You are currently in the process of creating an application that reads binary information from a file.You need to ensure that the only the first kilobyte of data is retrieved.What should you do?()
A.
B.
C.
D.
参考答案
更多 “ You are currently in the process of creating an application that reads binary information from a file.You need to ensure that the only the first kilobyte of data is retrieved.What should you do?() A.B.C.D. ” 相关考题
考题
Certkiller.com has given you the task of serializing an object and writing it to a data file using binary serialization.You need to ensure that you meet these requirements.What should you do?()
A.B.C.D.
考题
You are writing an application that uses SOAP to exchange data with other applications.You use a Department class that inherits from ArrayList to send objects to another application.The Department object is named dept.You need to ensure that the application serializes the Department object for transport by using SOAP.Which code should you use?()A.B.C.D.
考题
Exhibit: You are developing a Web application. The Web application uses a GridView control to display data. You build your Web Forms for the Web application by dragging and dropping tables from the Data Connections tree in Server Explorer. You need to add a connection to your data by using the Add Connection dialog box as shown in the exhibit. During the process, you need to configure the .NET Data Provider that you use to create the data source objects. What should you do?()A. Right-click the connection, and click Properties. Modify the Provider property of the data connection.B. Click the Change button, and change the data provider for the selected data source.C. Click the Advanced button, and change the Data Source property to the target provider.D. Click the Advanced button, and change the Application Name property to the target provider.
考题
You need to back up the existing data on a computer before you install a new application. You also need to ensure that you are able to recover individual user files that are replaced or deleted during the installation.What should you do?()A.AB.BC.CD.D
考题
You have an application that is incompatible with Windows Aero.You need to ensure that Windows Aero is automatically disabled when you run the application.What should you do?()
A.AB.BC.CD.D
考题
Certkiller .com has a file server named Certkiller -SR07 that stores old inventory files. Certkiller .com has given you the task of creating an application to archive these old inventory files.The inventory files have to be compressed prior to being uploaded to Certkiller .com‘s Web server.You are currently writing a method that will receive a byte array and compress it into a new file.You need to ensure that a data corruption check takes place during the decompression process.What should you do?()A.B.C.D.
考题
You work as an application developer at Certkiller .com. You are currently in the process of creating a new application for Certkiller .com. You are required to read compressed data files that has been sent by Certkiller .com‘s sales offices.These data files are less than 4 GB in size, but was compressed without cyclic redundancy. You want to write a method that receives the compressed files and return the uncompressed data as a byte array.What should you do?()A.B.C.D.
考题
You are in the process of creating a new application.This new application has to be able to read all data from a text file.What should you do?()
A.B.C.D.
考题
You have recently completely creating a new application for Certkiller .com.This new application has to load an instance of the Inventory class from a large file named Inventory.dat.You need to ensure that the application executes the loading process in as little time as possible.What should you do?()A.B.C.D.
考题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request. You view the Application event log and discover the following message: It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process. To ensure productivity you need to solve this problem as quick as possible. What should you do?()A、You should change the IIS isolation mode.B、You should assign the application to another application pool.C、You should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.D、You should run the Aspnet_regiis.exe Tool.E、You should restart the application pool that hosts the application.
考题
You are creating a templated Web control for use in your Web application. You need to add the Web control to your Web application pages without compiling your control into a .dll file. What should you do?()A、Ensure that the Web control inherits from the WebControl class.B、Ensure that the Web control inherits from the Control class.C、Ensure that the Web control inherits from the CompositeControl class.D、Ensure that the Web control inherits from the UserControl class.
考题
You have a Web application that is configured for personalization. You need to access personalization data from one of the pages of the Web application by using the minimum amount of administrative effort. What should you do? ()A、Access the personalization data from the Session property of the HttpContext object.B、Access the personalization data from the Application property of the HttpContext object.C、Access the personalization data from the Cache property of the HttpContext object.D、Access the personalization data from the Profile property of the HttpContext object.
考题
You create a Microsoft ASP.NET application by using the Microsoft .NET Framework version 3.5. The application uses Session objects. You are modifying the application to run on a Web farm. You need to ensure that the application can access the Session objects from all the servers in the Web farm. You also need to ensure that when any server in the Web farm restarts or stops responding, the Session objects are not lost. What should you do?()A、Use the InProc Session Management mode to store session data in the ASP.NET worker process. B、Use the SQLServer Session Management mode to store session data in a common Microsoft SQL Server 2005 database. C、Use the SQLServer Session Management mode to store session data in an individual database for each Web server in the Web farm. D、Use the StateServer Session Management mode to store session data in a common State Server process on a Web server in the Web farm.
考题
You are creating a Windows Forms Application by using the .NET Framework 3.5.Users use the application to process and approve invoices. A list of recently accessed invoices is stored in the users settings section of the App.config file.You need to maintain the list of invoices from the last persisted state.What should you do?()A、Use the Properties.Settings object during runtime.B、Use the Properties.Settings.Default object during runtime.C、Use the ConfigurationManager.AppSettings object during runtime.D、Use the ConfigurationManager.GetSection method during runtime.
考题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information. Identify how you can accomplish this?()A、You should call the ReadXml method with the ReadSchema XML read mode.B、You should call the ReadXml method with the InferTypedSchema XML read mode.C、You should call the ReadXmlSchema method.D、You should call the ReadXml method with the InferSchema XML read mode.
考题
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?()A、Stackstring undoBuffer=new Stackstring();B、Stack undoBuffer=new Stack();C、Queuestring undoBuffer=new Queuestring();D、Queue undoBuffer=new Queue();
考题
You are a desktop administrator for your company. You need to deploy a new application. The application is packaged in an .msi file. The application will be used by only a small number of users. You plan to install the application by using the Msiexec.exe program. You need to ensure that the installation process does not display a user interface. What should you do?()A、Manually perform a passive installation of the application.B、Manually perform a quiet installation of the application.C、Use a logon script to run the Msiexec.exe program.D、Use the Runas utility to run the Msiexec.exe program.
考题
You work as a system administrator at Certkiller.com. You are in the process of creating anASP.NET application using Microsoft .NET Framework v3.5. You receive an instruction from management to create a custom-templated server control. Toensure productivity you need to make sure that the child controls of the newly created servercontrol are identified within the hierarchy of the page. You thus need to identify the interface thatwill accomplish this. What should you do?()A、You should consider implementing the IRequiresSessionState interface.B、You should consider implementing the ITemplatable interface.C、You should consider implementing the IPostBackDataHandler interface.D、You should consider implementing the INamingContainer interface
考题
You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication. You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page: " ="" selectcommand="GetUsers" selectcommandtype="StoredProcedure" filterexpression="Active=1 AND Name LIKE ’{0}%’"> The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified. What should you do?()A、You should ensure that a default value for the Status property of the ControlParameter controlis set.B、You should ensure that the PropertyName property of the ControlParameter control is set toText.C、You should ensure that the ControlParameter control’s ConvertEmptyStringToNull property isset to false.D、You should ensure that the {0} placeholder in the FilterExpression property is replaced with the(?) symbol.
考题
单选题You work as an application developer at Certkiller .com. You are currently in the process of creating a shared assembly. You are required to perform many integration tests to make sure the assembly works properly with multiple applications. You want to avoid constantly updating each application’s reference when the assembly is updated. You have set the DEVPATH environmental variable to the default build location for the shared assembly. You need to ensure that the Common Language Runtime (CLR) uses DEVPATH to locate the shared assembly. What should you do?()A
AB
BC
CD
D
考题
单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You need to ensure that the application is able to load staff information from an XML file into aDataSet instance. The XML file contains an inline schema. You have to call a method of theDataSet class in order to load the information. Identify how you can accomplish this?()A
You should call the ReadXml method with the ReadSchema XML read mode.B
You should call the ReadXml method with the InferTypedSchema XML read mode.C
You should call the ReadXmlSchema method.D
You should call the ReadXml method with the InferSchema XML read mode.
考题
单选题You are creating a Windows Forms Application by using the .NET Framework 3.5.You plan to design a new control that will be used on multiple forms in the app.You need to ensure that the control meets the following requirement: (1)It retrieves data from a MSSQL Server 2008 database instance. (2)It uses WPF classes to display data. (3)It uses user-customizable actions when the control is first painted on the form. What should you do?()A
Create a new custom class for the control that is derived from the Control class.B
Create a new custom class for the control that is derived from the UserControl class.C
Create a new custom class for the control that is derived from the ContentControl class.D
Create a new custom class for the control that is derived from the ContentPresenter class.
考题
单选题You are creating a Windows Forms application by using the .Net Framework 3.5.You plan to design a composite control for the application.You need to derive the control from a base class that supports templates.What should you do?()A
Derive from the Control class.B
Derive from the UserControl class.C
Derive from the ScrollableControl class.D
Derive from the ContainerControl class.
考题
单选题You create a Web application to process XML documents. The Web application receives XML document files from several sources, reads them, and stores them in a Microsoft SQL Server database. The Web application parses all incoming data files to ensure that they conform to an XML schema. You need to find all validation errors in the XML document. What should you do? ()A
Load the XML data by using an instance of the XmlDocument class and specify a location for the application schema.B
Configure the ValidationEventHandler in the XmlReaderSettings of the XmlReader object.C
Read the XML file into a DataSet object and set the EnforceConstraints property to True.D
Read the XML file into a DataSet object. Handle the DataSet.MergeFailed event to parse the data that does not conform to the XML schema.
考题
单选题You use Microsoft .NET Framework 4 to create a Windows Presentation Foundation (WPF) application. The application requires frequent updates. You want to use the ClickOnce technology to distribute the application to Internet users. You need to ensure that the application is automatically updated without requiring user intervention. You also need to ensure that the users execute the most recent version of the application. What should you do when you publish the application? ()A
Use Install the application from a file share. Select the Application is available online and offline option.B
Use Install the application from CD-ROM or a DVD-ROM. Select the Application will not check for updates option.C
Use Install the application from a Web site. Select the Application is available online only option.D
Use Install the application from a Web site. Select the Application is available online and offline option.
考题
单选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication. You decide to make use of Microsoft ASP.NET 3.5 in order to create the application. The followingmarkup is present on the page: " SelectCommand="GetUsers" SelectCommandType="StoredProcedure" FilterExpression="Active=1 AND Name LIKE ’{0}%’" The page is used to retrieve the Users from a company database. However, only the active usersare displayed. The TextBox control allows you to also filter users by status. You do not specify astatus when you click the Filter button. You notice that the page does not filter by active users andshows all the users that are retrieved from the database. You need to make the necessary settingsto ensure that only the active users are being displayed on the page when a status is notspecified. What should you do?()A
You should ensure that a default value for the Status property of the ControlParameter controlis set.B
You should ensure that the PropertyName property of the ControlParameter control is set toText.C
You should ensure that the ControlParameter control’s ConvertEmptyStringToNull property isset to false.D
You should ensure that the {0} placeholder in the FilterExpression property is replaced with the(?) symbol.
考题
多选题You work as a Web Developer at Certkiller.com. You are in the process of creating a Webapplication using Microsoft ASP.NET 3.5. You host the Web application in Microsoft Internet Information Services (IIS) 6.0. You browse theapplication and receive the following error message: Server Application Unavailable The web application you are attempting to access on this web server is currently unavailable.Please hit the "Refresh" button in your web browser to retry your request. You view the Application event log and discover the following message: It is not possible to run two different versions of ASP.NET in the same IIS process. Please use theIIS Administration Tool to reconfigure your server to run the application in a separate process. To ensure productivity you need to solve this problem as quick as possible. What should you do?()AYou should change the IIS isolation mode.BYou should assign the application to another application pool.CYou should configure all applications that are part of your application's application pool in orderto use the same version of ASP.NET.DYou should run the Aspnet_regiis.exe Tool.EYou should restart the application pool that hosts the application.
热门标签
最新试卷