mydb is a service name.
test.us.oracle.com is a database name.
1521 is the listener port number.
mydb is a host name.
test.us.oracle.com is a net service name.
hr is a username.
test.us.oracle.com is an instance name.
第1题:
You connected to the database using the following connection string: CONNECT hr/hr@test.us.oracle.com:1521/mydb Which three statements are correct regarding the connection string?()
第2题:
You are connecting to an Oracle database server from a client by using the following connect string: SQL> CONNECT hr/hr@pdserver.us.oracle.com:1521/proddb Which naming method is being used in this case?()
第3题:
A Windows Azure application connects to a SQL Azure database. Connections to the database are being dropped due to throttling. You need to recommend an approach for identifying the root cause of the problem. Which two actions should you recommend?()
第4题:
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?()
第5题:
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? ()
第6题:
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 database on the Microsoft SQL Server 2005 database has two tables that are displayed by using two SqlConnection objects in two different GridView controls. You want the tables to be displayed at the same time with the use a single SqlConnection object. What should you do?()
第7题:
A Windows Azure application stores data in a SQL Azure database. The application will start an operation that includes three insert statements. You need to recommend an approach for rolling back the entire operation if the connection to SQL Azure is lost. What should you recommend?()
第8题:
Ensure that all statements execute in the same database transaction.
Create a stored procedure in the database that wraps the insert statements in a TRY CATCH block.
Create a stored procedure in the database that wraps the insertstatements in a TRANSACTION block.
Open a new connection to the database. Use a separate transaction scope to roll back the original operation.
第9题:
snmp.ora
names.ora
spfile.ora
sqlnet.ora
listener.ora
tnsnames.ora
第10题:
Create a bound connection by using the sp_getbindtoken and the sp_bindsession stored procedures.
Create an exception handler for the connection-busy exception that is thrown on using a single SqlConnection object.
Run the two SqlDataReader objects by using a single SqlCommand object.
Enable Multiple Active Result Sets (MARS) in the connection string of the application.
第11题:
It helps you to determine whether or not the Oracle database is running.
It requires the username and password to check the connectivity of the service.
It does not require the username and password to check the connectivity of the service.
It establishes a session with the database and checks the connectivity of the service.
第12题:
Use Dynamic Management Views to analyze performance issues.
Decrease the connection timeout in the database connection string.
Make sure the application is closing database connections that are not needed.
Use SQL Profiler to analyze performance issues by configuring it to connect to SQL Azure.
第13题:
You are working as a Database Administrator. Despite having a password in the data dictionary as change_on_install, you always log on to the database MYNEWDB using operating system authentication. Your organization is planning to recruit two junior-level DBAs. You decide to enable remote authentication in your database so that the new DBAs can log on to the database from their workstations to carry out administrative tasks. To allow the new DBAs to perform the administrative tasks, you create a password file on the database server using the following command: ORAPWD file=d:/oracle/ora9i/orapwU01 password=admin entries=4 After creating the password file, you remove the operating system authentication and change the value of the REMOTE_LOGIN_PASSWORDFILE parameter to EXCLUSIVE. You also create a net service name as MYNEWDB that allows the new DBAs to connect to the database server from their workstations using this net service name. Which command must you use to connect to the database to start it?()
第14题:
Which one of the following statements about the TNSPING utility is correct?()
第15题:
You create a Web site with membership and personalization enabled. You must use an existing CRM database for storing the membership information. You need to implement the Membership Provider. What should you do? ()
第16题:
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?()
第17题:
You work as an application developer at Contoso.com. You use Microsoft .NET Framework 3.5 and Microsoft ADO.NET to develop an application that will connect to the Microsoft SQL Server 2005 database. You want to use Windows Authentication along with the Microsoft OLE DB provider. You now need to make sure that the OLE DB connection is as secure as possible. What should you do?()
第18题:
You create a Web Form. The Web Form allows users to log on to a Web site. You implement the login logic using a Login control named Login1. The membership data for the application is stored in a SQL Express database in the App_Data directory. You need to configure your application so that the membership data is stored in a local Microsoft SQL Server database. You add the following code segment to the Web.config file.
第19题:
The command restores only the missing control file.
The command restores all the control files.
The command fails because the database is running.
This is the correct way to address this problem.
This is not the correct way to address this problem.
第20题:
Use Aspnet_regsql.exe to create the Microsoft SQL Server database.
Set Login1's MembershipProvider property to MySqlProviderConnection.
Add the following code segment to the Web.config file. <connectionStrings> <add name=MySqlProviderConnection connectionString=valid connection string /></connectionStrings>
Add the following code segment to the Web.config file. <appSettings><add key=MySqlProviderConnection value=valid connection string /></appSettings>
In the ASP.NET configuration settings within IIS, ensure that Role Management Enabled is selected.
Use the Web Site Administration Tool to select AspNetSqlMembershipProvider as the membership provider for your application.
第21题:
media
instance
statement
user process
第22题:
Use only the first address.
Try one address,selected at random.
Try each address,in order,until one succeeds.
Try each address,randomly,until one succeeds.
第23题:
mydb is a service name.
test.us.oracle.com is a database name.
1521 is the listener port number.
mydb is a host name.
test.us.oracle.com is a net service name.
hr is a username.
test.us.oracle.com is an instance name.
第24题:
Ensure that the Close method is called on each connection object after it has finished executing.
Ensure that each connection object is left open after it has finished executing.
Increase the Max Pool Size value inside the connection string.
Increase the Min Pool Size value inside the connection string.
Increase the Connection Lifetime value inside the connection string.
Increase the value of the ConnectionTimeout property of the SqlConnection object.