logo

CuriousTab

CuriousTab

Discussion


Home Certification Microsoft Certification Comments

  • Question
  • You are the administrator of a Microsoft Windows NT Server 4.0 computer. The server is the PDC in your domain and also runs SQL Server 2000. The server has four processors and 1 GB of RAM.Your network consists of 500 client computers that are running Microsoft Windows Millennium Edition. Users report that when they log on in the morning their computers respond slowly and occasionally return error messages.You use System Monitor to monitor processor performance and RAM utilization. You discover that the % Total Time and % User Time counters average 90 percent and the % Privileged Time counter averages 20 percent. The Available Mbytes counter averages 800 MB. You need to improve server performance for user logons. What should you do?


  • Options
  • A. Increase the physical RAM on the computer to 2 GB.
  • B. Increase the virtual RAM on the computer to 4 GB.
  • C. Configure SQL Server to use only processors 0, 1, and 2.
  • D. Configure SQL Server to use only processors 1, 2, and 3.

  • Correct Answer
  • Configure SQL Server to use only processors 1, 2, and 3. 

    Explanation

    The system monitor clearly indicates that the processors are overloaded. We need to decide which processors we should use for SQL Server. Processor 0 is the default CPU for the I/O subsystem. Network Interface Cards (NIC) are assigned to the remaining CPUs, starting from the highest-numbered CPU. The NIC would get processor 3.
    SQL Server would be using all four processors by default.

    The Windows NT/2000/XP operating system use processor 0. In order to avoid the logon
    problems we should not let SQL Server to use this processor. Instead SQL Server should be configured to use processor 1, 2, and 3.

    Note 1: The Affinity mask is used to exclude a processor on a multiprocessor computer from processing SQL Server 2000 threads. Default is equal distribution of SQL Server 2000 processes across all processors.

    Note 2: Monitoring the Processor and System object counters provides information about the CPU utilization and helps in determining whether or not a bottleneck exists. The %Total Processor Time is used on multiple CPU Severs to gauge the average activity of the processors and shows the percentage of elapsed time that a processor is busy executing a nonidle thread. Values around 100 percent on a Server computer that processes many client requests indicate that processes are queuing up, waiting for processor time, and causing a bottleneck. Such a sustained high level of processor usage is unacceptable for a server.


  • Microsoft Certification problems


    Search Results


    • 1. You are the administrator of a SQL Server 2000 computer. The server contains a database named FinanceData that is used by a client/server application. Each employee has a SQL Server login that the application uses to access the server.Your company hires a new employee named Andrew. You create a SQL Server login named Andrew. You also create a database user named Andrew in the database and grant the database user full permissions in the database.Whenever Andrew runs the client/server application, he receives the following error message: "Invalid object name." Andrew also reports that he cannot access the database by using the application.You need to ensure that Andrew can use the application. Which Transact-SQL statement should you execute?

    • Options
    • A. EXEC sp_defaultdb 'Andrew','FinanceData'
    • B. GRANT ALL ON FinanceData TO Andrew
    • C. EXEC sp_addlogin 'Andrew'
    • D. EXEC sp_grantdbaccess 'FinanceData','Andrew'GOsp_addrolemember 'db_datareader','Andrew'
    • Discuss
    • 2. You are the database administrator for a financial services company. Employees enter data 24 hours a day into a SQL Server 2000 database. These employees report slower response times when new account information is gathered from branch offices and added to the database. You currently use the following BULK INSERT statement to add the account information.BULK INSERT finance.dbo.customersFROM 'd:bulkaccts143_10142000.txt'WITH DATAFILETYPE = 'char', FIELDTERMINATOR = 't', ROWTERMINATOR = 'n', TABLOCK You want to ensure that response times do not slow when new account information is added to the database. What should you do?

    • Options
    • A. Add the BATCHSIZE option to the BULK INSERT statement, and then set the option equal to 10 percent of the number of rows to be loaded.
    • B. Add the ROWS_PER_BATCH option to the BULK INSERT statement, and then set the option equal to 10 percent of the number of rows to be loaded.
    • C. Drop the indexes for the Customers table before the data load, and then re-create the indexes after the data load is complete.
    • D. Remove the TABLOCK option from the BULK INSERT statement.
    • Discuss
    • 3. How many-shares of market value RS.25 each can be purchased for Rs.12750, brokerage being 2% ?

    • Options
    • A. Rs.450
    • B. Rs.500
    • C. Rs.550
    • D. Rs.600
    • Discuss
    • 4. You have a computer named Computer1 that runs Windows 7. You need to ensure that Computer1 can connect to File Transfer Protocol (FTP) servers only while it is connected to a private network. What should you do?

    • Options
    • A. From Windows Firewall with Advanced Security, create a new rule.
    • B. From the local Group Policy, modify the application control policies.
    • C. From Windows Firewall, modify the Allowed Programs and Features list.
    • D. From Network and Sharing Center, modify the Advanced Sharing settings.
    • Discuss
    • 5. You develop an inventory management application called XYZManagement that will call a Microsoft SQL Server stored procedure named sp_GetDailyXYZSales. The stored procedure will run a query that returns your daily sales total as an output parameter. This total will be displayed to users in a message box. Your application uses a SqlCommand object to run sp_GetDailyXYZSales. You write the following code to call sp_GetDailyXYZSales: SqlConnection cnn = new SqlConnection(myConnString); SqlCommand cmd = new SqlCommand(?sp_GetDaily XYZ Sales?, cnn); cmd.CommandType = CommandType.StoredProcedure; SqlParameter prm = cmd.Parameters.Add(?@ItemTotal?,SqlDbType.Int); prm.Direction = ParameterDirection.Output; cnn.Open(); cmd.ExecuteNonQuery(); Now you must write additional code to access the output parameter. Which code segment should you use?

    • Options
    • A. MessageBox.Show(?Total is: ? + cmd.Parameters[?@Output?].Value.ToString());
    • B. MessageBox.Show(?Total is: ? + cmd.Parameters[?@Output?].ToString());
    • C. MessageBox.Show(?Total is: ? + cmd.Parameters[?@ItemTotal?
    • D. MessageBox.Show(?Total is: ? + cmd.Parameters[?@ItemTotal?
    • Discuss
    • 6. You are an administrator of a SQL Server 2000 computer. The server contains a database that stores inventory data. Another database administrator has created a number of scheduled jobs to maintain the inventory database. Each weeknight the following jobs occur. - A BULK INSERT job imports data at 10:00 P.M - Indexes are rebuilt at 10:15 P.M - Data integrity checks are performed at 10:30 P.M - A differential backup is performed at 10:45 P.M - A DBCC SHRINKDATABASE job runs at 11:00 P.M. You notice that the final job often fails and returns the following error message: "Server: Msg 3140, Level 16, State 3. Could not adjust the space allocation for file 'inventory_data'."You need to ensure that the final job runs without errors. What should you do?

    • Options
    • A. Modify the DBCC SHRINKDATABASE job so that it uses DBCC SHRINKFILE statement to shrink each file individually.
    • B. Create a new DBCC SHRINKFILE job to shrink the inventory_data file. Schedule the new job to run at the same time as the DBCC SHRINKDATABASE job.
    • C. Increase the time between the differential backup and the DBCC SHRINKDATABASE job.
    • D. Increase the time between the data integrity checks and the differential backup.
    • Discuss
    • 7. You are the database administrator of a SQL Server 2000 computer. The server contains your company's Accounts database. Hundreds of users access the database each day.Because you have had power interruptions in the past, you want to protect the physical integrity of the Accounts database. You do not want to slow down server operations.What should you do?

    • Options
    • A. Create a database maintenance plan to check database integrity and make repairs each night.
    • B. Enable the torn page detection database option for each database.
    • C. Disablewrite caching on all disk controllers.
    • D. Ensure that write caching disk controllers have battery backups.
    • Discuss
    • 8. You are the administrator of eight SQL Server 2000 computers. You configure alerts on each server so that various problem conditions will be reported if they occur.You create 20 operators on one of the servers. You configure these operators by using the e-mail and pager contact information for the employees in your department. You configure the alerts on the server to send e-mail messages and pager messages to the appropriate operators.You need to configure the same 20 operators on the other seven servers. You want to do this with a minimum amount of administrative time.What should you do?

    • Options
    • A. Use SQL Server Enterprise Manager to script all of the operators. Use SQL Query Analyzer to run the script on the other seven servers.
    • B. Detach the msdb database from the first server. Copy the database to the other seven servers. Attach the database on all eight servers.
    • C. Use snapshot replication to replicate the msdb database from the first server to the other seven servers.
    • D. Use SQL ServerEnterprise Manager on a single client computer to create the operators on each server.
    • Discuss
    • 9. You are the administrator of a SQL Server 2000 computer. Your company uses the server to store service contract information for its customers. You are also the administrator of an Oracle relational database management system (RDBMS) server. This server is used to store your company's financial information. The financial information is updated frequently throughout the day.You need to create a series of reports that combine the service contract information and the financial information. These reports will be updated several times a day.You want to create these reports on the SQL Server computer by using the minimum amount of disk space. What should you do?

    • Options
    • A. Set up SQL Server replication to replicate the data from the Oracle server to the SQL Server computer.
    • B. Set up the Oracle server as a linked server. Create a view that joins the service contract information and the financial information.
    • C. Set up a Microsoft ActiveX script that connects to the Oracle server and imports the financial information into a SQL Server temporary table. Create a view that joins the service contract information and the temporary table.
    • D. Set up a Data Transformation Services (DTS) package that imports and transforms the data from the Oracle server to the SQL Server computer. Use SQL Server Agent to execute the DTS package throughout the day as needed.
    • Discuss
    • 10. You are the administrator of a SQL Server 2000 computer named CorpSQL. The server is a member of a Microsoft Windows NT domain named CORPORATE. Franz maintains a local user account on CorpSQL and is a member of the local Power Users group. He requests access to the SQL Server databases that are stored on CorpSQL.You need to allow Franz to access CorpSQL. Which Transact-SQL statement should you execute?

    • Options
    • A. EXEC sp_grantlogin CorpSQL\Franz
    • B. EXEC sp_grantlogin Franz
    • C. EXEC sp_grantlogin [Power Users\Franz]
    • D. EXEC sp_grantlogin CORPORATE\Franz
    • Discuss


    Comments

    There are no comments.

Enter a new Comment