Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
SQL Server part 1
SQL Server part 2
SQL Server part 3
SQL Server part 4
SQL Server part 5
SQL Server part 6
SQL Server part 7
SQL Server part 8
SQL Server part 9
SQL Server cursor
SQL Server replication
Structured query language
SQL Server architecture
SQL Server constraints
SQL Server cursors
Data Mining
Data warehousing
SQL Server DTS
SQL Server functions
SQL Server indexes
SQL Server joins
SQL Server locks
SQL Server Net integration
SQL Server optimization
SQL Server replication
SQL reporting services
SQL service broker
SQL Server stored procedures
SQL Server table
SQL Server transactions
SQL Server transactions Architecture
SQL Server triggers
SQL Server views
SQL Server XML integration
SQL Server DDL
SQL Server DML
SQL Server DCL
SQL Server identifier
SQL Server data integrity
SQL Server accessing data
SQL Server subqueries
SQL Server cube operator
SQL Server insert data
SQL Server distributed queries
SQL Server index tuning
 
ASP.NET | ADO.NET | AJAX
C#.NET | VB.NET | PHP
NET Remoting | NET Interview
  
C | C++ | Java | Oops
Data Structure | OS
   
Database concepts | Oracle
SQL Server | Biztalk | Sharepoint
Notification services
Reporting Services
Service-oriented architecture
Data warehousing | MySQL
  
Project Management 
Linux | Testing | Networking
Software engineering 
  
UML | XML | HTML | SOAP 
CSS | VBScript  | Web Services
   
CV Cover letter | Interview 
HR | Soft skills | GD 
Working from Home 
Tutorial
ASP.NET | VB.NET | C#.NET     
Remoting.NET | Web service
Remoting overview | ADO.NET
UML | Sql server 
More links
How to transfer or export SQL Server 2005 data to Excel 
Books on SQL Server
Beginners Guide to SQL Server Integration Services Using Visual Studio 2005 

Database optimization


Database optimization interview questions

<<Previous  Next>>

SQL Server Optimization - August 29, 2008 at 18:00 PM by Amit Satpute

What are the steps you will take, if you are tasked with securing an SQL Server?

Perform the following SQL checks after installing the Server:

  • Check if Administrators group belongs to sysadmin role
  • Check if CmdExec role is restricted to sysadmin only
  • Check if SQL Server is running on a Domain Controller
  • Check if sa account password is exposed
  • Check SQL installation folders access permissions
  • Check if Guest account has database access
  • Check if the Everyone group has access to SQL registry keys
  • Check if SQL service accounts are members of the local Administrators group
  • Check if SQL accounts have blank or simple passwords
  • Check for missing SQL hotfixes
  • Check the SQL Server authentication mode type
  • Check the number of sysadmin role members

Then, you should require Windows Authentication Mode for connections to SQL Server, whenever possible.

You should isolate your server and back it up regularly.

You should assign a strong sa password.

You should limit privilege level of SQL Server Services.

Configure your firewall to filter out packets addressed to TCP port 1433 and UDP port 1434. ports associated with named instances should also be blocked at the firewall.

You should Use a secure file system.

Old setup files should be Deleted or secured.

You should log failed connection attempts to SQL Server and review the log regularly.Enable auditing of failed connections with Enterprise Manager in SQL Server.

What is a deadlock and what is a live lock? How will you go about resolving deadlocks?

A deadlock can occur when two or more processes that strive to acquire resources are not able to acquire them due to some of the following reasons:

Two processes may be interdependent upon each other,

If there are more than 2 processes, then if a graph is plotted, then there could be a cycle,

A server maintains a graph. The processes acquiring the resources would intimate the server about their requirement. If the server detects an occurance of a deadlock, the user process is be terminated.

In a livelock, a request for an exclusive lock is denied repeatedly due to a series of overlapping shared locks that keep interfering.

An SQL Server detects this situation after four denials and then refuses further shared locks.

When a write transaction is forced to wait indefinitely due to read transactions that monopolize a table or a page then a live lock occurs.

Explain 'Hostprotectionattribute' in SQL server 2005.

It allows the use of declarative security actions to determine host protection requirements. This class cannot be inherited


<<Previous  Next>>

  1. What are Indexes?
  2. Define B-tress.
  3. What is FillFactor?
  4. What are Index Statistics?
  5. Define Fragmentation.



 



 
Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.