Curioustab
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Aptitude
General Knowledge
Verbal Reasoning
Computer Science
Interview
Take Free Test
Microsoft Certification Questions
You are developing a global Windows application for XYZ Inc. that displays text strings in the user interface. At run time, these UI strings must appear in the language that matches the user's locale settings. You can only build resources for four specific cultures, but the application must still be usable for other cultures. How should you package assemblies and resources so that the correct culture-specific text is loaded while still providing a default fallback?
You are developing a Windows Forms application at XYZ Inc. that must provide context-sensitive online help. When the user presses F1, a pop-up help window should display descriptive text for whichever TextBox currently has focus. You are using the HelpProvider control. Which HelpProvider method should you call to associate a specific help text string with a given TextBox control?
You are maintaining a Windows application that calls a subroutine named XYZ, which sometimes throws an IOException. You have also created two subroutines named LogError and CleanUp. LogError must be called only when XYZ raises an exception, and CleanUp must always be called whenever XYZ finishes, whether it fails or succeeds. Which try/catch/finally structure correctly implements these requirements?
You are maintaining debugging code that tests exception handling in a .NET application. The following code is executed: try { Debug.WriteLine("Inside Try"); throw (new IOException()); } catch (IOException e) { Debug.WriteLine("IOException Caught"); } catch (Exception e) { Debug.WriteLine("Exception Caught"); } finally { Debug.WriteLine("Inside Finally"); } Debug.WriteLine("After End Try"); In which exact order will the Debug output lines appear?
You are building a Windows Forms application that prints lengthy text from a form named XYZProcedures. Users report that when they click the Print button, only the first page of text is printed even though the text spans multiple pages. You are using the standard .NET printing classes. Which event handler must set the HasMorePages property to true in order to print all pages correctly?
You created an assembly that reads and writes order-entry information to an XML file and also reads and writes values in the Windows registry. The assembly is distributed to client computers over your company intranet, which uses the default .NET security policy for the LocalIntranet zone. You want to implement security in the assembly so that it requests only the permissions it actually needs and fails to load if those permissions are not granted. What should you do?
You created a .NET assembly named XYZAssembly that must be used by an existing standard COM client application. The COM client will run on a separate client computer, and it must be able to instantiate components from XYZAssembly as if they were COM components. How should you prepare and deploy the assembly so that the COM client can create and use these types?
You are writing a middle-tier component for an enterprise application named XYZApplication. The component opens a SqlConnection and uses a SqlTransaction object to control multiple SQL Server stored procedure calls that update the same data. To prevent concurrency anomalies such as phantom reads when two users update the same data concurrently, you must choose the highest level of isolation that still uses standard SQL Server isolation levels. Which isolation level should you specify when beginning the transaction?
You developed an inventory application named XYZManagement that calls a stored procedure sp_GetDailyXYZSales on Microsoft SQL Server. The procedure returns a daily sales total in an output parameter named @ItemTotal. In your C# code, you correctly configure a SqlCommand with CommandType.StoredProcedure and add a SqlParameter named @ItemTotal with Direction = Output. After calling ExecuteNonQuery, you must display the total in a message box. Which code segment correctly reads the output parameter value?
A computer named Computer1 runs Windows 7. You want to ensure that Computer1 can connect to FTP (File Transfer Protocol) servers only when it is connected to a private network profile, and not when it is on a public network. Which configuration should you use to enforce this behavior?
How many shares of face value Rs 25 each can be purchased for a total investment of Rs 12,750 if brokerage is charged at 2% on the purchase price?
You administer a SQL Server 2000 database named finance that stores customer account information. New account data is imported from branch offices at night by using a BULK INSERT statement. During the bulk load, employees report that response times for their queries become very slow. You want to ensure that loading new accounts does not significantly slow user response times. How should you modify the BULK INSERT operation?
You administer a SQL Server 2000 computer that hosts a database named FinanceData used by a client/server application. You created a SQL Server login named Andrew and a corresponding database user named Andrew in FinanceData with full permissions. However, when Andrew runs the application, he receives an "Invalid object name" error and cannot access the database objects. Which Transact-SQL statement should you execute so that Andrew can use the application properly?
A Windows NT Server 4.0 computer is the primary domain controller (PDC) and also runs SQL Server 2000. It has four processors and 1 GB of RAM. At morning logon time, 500 Windows Millennium Edition clients experience slow logons and occasional errors. System Monitor shows % Total Processor Time and % User Time averaging 90 percent, % Privileged Time averaging 20 percent, and Available Mbytes averaging 800 MB. You need to improve server performance for user logons without wasting memory. What should you do?
You administer a SQL Server 2000 computer that stores inventory data. Each weeknight you run a series of maintenance jobs in this order: (1) BULK INSERT data at 10:00 P.M., (2) rebuild indexes at 10:15 P.M., (3) run data integrity checks at 10:30 P.M., (4) perform a differential backup at 10:45 P.M., and (5) run DBCC SHRINKDATABASE at 11:00 P.M. The final DBCC SHRINKDATABASE job often fails with error message 3140 stating that SQL Server could not adjust space allocation for a file. How can you ensure that the shrink operation completes successfully?
You administer a SQL Server 2000 computer that hosts your company's Accounts database. Because the server has experienced power interruptions in the past, you are concerned about protecting the physical integrity of the database files. You want to reduce the risk of physical corruption due to abrupt power loss, but you do not want to slow down normal server operations significantly. What should you do?
You administer eight SQL Server 2000 computers. On one server, you created 20 operators in SQL Server Agent with e-mail and pager information and configured alerts to notify those operators. You now need to configure the same 20 operators on the other seven servers with minimal administrative effort. What is the most efficient way to copy these operator definitions to the remaining servers?
You administer a SQL Server 2000 computer that hosts your company's Accounts database. Another server running Oracle stores financial information that is frequently updated. You must generate reports several times per day that combine service contract data from SQL Server with financial data from the Oracle server. You want to build these reports on the SQL Server computer while using the minimum amount of extra disk space. What is the best approach?
In a Microsoft SQL Server 2000 environment, you are the administrator of a server named CorpSQL in the Windows NT domain CORPORATE. A user named Franz has only a local user account on CorpSQL and is a member of the local Power Users group. He requests access to the SQL Server databases stored on CorpSQL. Which Transact-SQL statement should you execute to allow Franz to log in to SQL Server by using his local Windows account?
You have a Windows NT 4.0 Workstation computer that uses the NTFS file system for software development. Your company is upgrading systems to Windows 2000, and you need to be able to test applications in both the Windows NT Workstation environment and the Windows 2000 Professional environment. You decide to install Windows 2000 Professional in a dual boot configuration with Windows NT 4.0 Workstation on the same computer. What must you do on the existing Windows NT Workstation installation before you install Windows 2000 Professional to ensure a supported dual boot configuration?
1
2
3
4
5
6
7