Your application demands frequent connection and disconnecti

题目
多选题
Your application demands frequent connection and disconnection from the database. You have three listener processes that are listening for the database PROD. While setting up the connect string using Oracle Enterprise Manager 10g Database Control, which two options would you select to balance the connection load across all the listener processes?()
A

Use only the first address.

B

Try one address,selected at random.

C

Try each address,in order,until one succeeds.

D

Try each address,randomly,until one succeeds.

如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The user name and password that is kept by the connection string is stored directly in the code of the application. You want to make sure that the password in the connection string is as protected.   What should you do? ()

  • A、 Add the connection string to the Settings.settings file.
  • B、 Add connection string to the Web.config file and use protected configuration.
  • C、 Use the TRUE setting in the Persist Security Info keyword.
  • D、 Use the FALSE setting in the Persist Security Info keyword

正确答案:B

第2题:

You are a database administrator for your company. The company uses a vendor company’s application that is based on a proprietary database. You query data from the application database and import the data into a SQL Server 2005 database. The application vendor provides you with a new OLE DB driver to be used when querying the application database. Company policy prohibits connections between the SQL Server database and the application database, except when querying this data. You need to provide a way to query data from the application database. What should you?()

  • A、Configure a Linked Server connection to the application database.
  • B、Write a query that uses an OPENDATASOURCE command.
  • C、Write a query that uses an OPENQUERY command.
  • D、Configure a Remote Server connection to the application database.

正确答案:B

第3题:

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.


参考答案:B

第4题:

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. You want to make sure that the application is operative to any type of database.   What should you do?()

  • A、 Set the database driver name in the connection string of the application, and then the connection object as follows: DbConnection connection = new OdbcConnection(connectionString);
  • B、 Create the connection object as follows: DbProviderFactory factoryDbProviderFactories.GetFactory(databaseProviderName); DbConnection connection =factory.CreateConnection();
  • C、 Create the connection object as follows: DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.Odbc"); DbConnection connection = factory.CreateConnection();
  • D、 Set the database driver name in the connection string of the application, and then the connection object as follows:DbConnection connection = new OleDbConnection(connectionString);

正确答案:B

第5题:

You are creating a dial-up connection for Internet access. The wizard cannot access the default Internet Service Providers (ISP) with either of the numbers provided. What is your alternate method for setting up the connection?()

  • A、Configure the dial-up connection to negotiate with the server using Challenge-Handshake  Authentication Protocol (CHAP).
  • B、You can choose the option to set up the Internet connection manually if you know the ISP's  phone number and your account and password already.
  • C、You need to provide a known IP address before attempting to connect to the ISP server.
  • D、Your ISP is requiring Data Encryption. Configure the dial- up connection to use it. 

正确答案:B

第6题:

You want to migrate an application that was developed for OAS/OC4J to WebLogic. The application uses Oracle Streams Advanced Queuing (AQ). You configured a Foreign JMS Server and Data Source but you are not able to send messages to the AQ destination and see them reach the database. Which two things are missing in this configuration?()

  • A、nothing, there may be a network connection issue
  • B、a Foreign JMS Connection Factory
  • C、a JMS Bridge to map the JNDI of the Local JMS Destination to the remote AQ destination
  • D、a mapping of the Foreign JMS Connection Factory to the Data Source where AQ is configured and installed
  • E、Oracle AQ Java EE Shared Libraries not deployed and referenced by your application

正确答案:C,E

第7题:

You recently installed an application on your computer. The application is configured to automatically start. This application might cause your computer to run slower.  You need to prevent the application from auto starting without uninstalling the application.  What should you do?()

  • A、Use the Microsoft Windows Task Manager application to end the task for the application.
  • B、Use the Control Panel application to uninstall the application. Reboot the computer.
  • C、Use the Software Explorer application to disable the application. Reboot the computer.
  • D、Use the Services application to disable the Application Experience service, and then launch the application.

正确答案:C

第8题:

Navigational charts are ______ frequent changes,the important one of which are promulgated by Admiralty Notices to Mariners.

A.published with

B.combined with

C.in connection with

D.subject to


正确答案:D

第9题:

You are developing an application that connects to a Microsoft SQL Server database using the SqlConnection object. Your connection objects are being pooled. As the pool fills up, connection requests are queued. Some connection requests are rejected. You need to ensure that the application releases connections back to the pool as soon as possible. Also, you need to decrease the likelihood that connection requests will be rejected. Which three actions should you perform?()

  • A、Ensure that the Close method is called on each connection object after it has finished executing.
  • B、Ensure that each connection object is left open after it has finished executing.
  • C、Increase the Max Pool Size value inside the connection string.
  • D、Increase the Min Pool Size value inside the connection string.
  • E、Increase the Connection Lifetime value inside the connection string.
  • F、Increase the value of the ConnectionTimeout property of the SqlConnection object.

正确答案:A,C,F

第10题:

You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application. The Contoso.com network contains a Microsoft SQL Server 2005 server named DB01. Your application retrieve records from a  database named Trades that resides on DB01. The application connects to Trades by using an instance of the SqlConnection class with the following connection string.   "Data Source=DB01;UID=’mhamm’;PWD=’password’;"   When the application calls the Open method of the SqlConnection object, it displays the following: "Cannot open user default database. Login failed. Login failed for user ’mhamm’".  You need to make sure that you can connect to Trades when the user account for the connection is mhamm.   What should you do? ()

  • A、 Change the connection string as follows:Data Source=DB01;Initial Catalog=Trades;UID=mhamm; PWD=password;"
  • B、 Create a login for Mia Hamm on DB01.
  • C、 Create a database user object in Trades and map the object to the SQL Server 2005 Login of Mia Hamm.
  • D、 Change the connection string as follows:"Server=DB01;Database=Trades;UID=mhamm;PWD=password;"

正确答案:C

更多相关问题