Dba Questions
Dba Questions
ACID PORPERTIES
DIFF BETWEEN DBCC & DMV'S
PER-REQUISITES FOR CONFIGURING REPLICATION
TYPES OF BACKUPS & RECOVERY MODELS
HOW MANY AGENTS AVAILABLE IN REPLICATION
HOW MANY AGENTS AVAILABLE IN DISTRIBUTOR AND SUBSCRIBE
HOW MANY ERROR LOGS ARE AVAILABLE IN SQL SERVER DEFAULT
CAPEGEMINI
COPCO
What are the tools you are using for performance tunning.
What is the use of activity monitor
Out of Re-build and Re-organise what you will prefer
Backup starategy
Types of indexes and what is meant by Clustered and Non-clustered index
Sonata
Role of profiler
How will take the logins backup from 2005 to 2012
How can you migarte the data from 2012 to 2005,what are various ways
Diff between locks and dead locks
If we have no monitoring alert then how will u find out if there is any blockings
CAPEGEMINI
Dell
----------------------
Performance tunning
Mirroring configuration setup
DB Creation
Diff between 2005,2008,2008R2,2012
Checkpoint
DBCC Commands
Wait stats
Recovery Models
Server roles
How can you identify the failover on mirroring with out witness server
How can you add a drive to the existing drive
What are the Ticketing and Monitoring Tools
Recovery models and Diff b\w full and Bulk Recovery model
WHat is meant by tail log backup
What are the mirroing operating modes
If witness server is not there how you will monitor
what are the modes and per-requisites are for log shipping
If a query is running slow ,how will you find it
If blockings are present how will you find
What is the use of non-clustered index
What is the command for Tail log backup
Capacity Planning
Performance tunning
Blockings
DeadLocks
SLow running queries
Long running queries
Server Slow
CPU issues
I\O Issues
Fragmentation issues
T-log related & Temp Db full
Password reset
-------------------------------------------
1. Why can�t we take a backup of a database which is in standby or in recovery
mode?
2. How to move a database which is acting as a publisher in transactional
replication?
3. What is CROSS APPLY?
4. How to find and remove duplicates from a table which is having 10 million rows?
5. Which is better a CTE or a subquery? Why?
6. Can you tell me replication monitoring tables?
7. How to apply service packs on Active Active cluster?
8. Best practices in applying security patches
9. What is a log reader agent?
10. What is PULL and PUSH subscriptions?
-------------------------------------------------------------------------------
5. How do you know how much memory has been allocated to sql server using AWE?
-----------------------------------------------------
Microsoft
1. What happens when a transaction runs on SQL server? Let�s say simple update
statement �Update Table set col1 = value where col2 = value�
??Ans:
Lazy writer is responsible for cleaning the committed transactions from LDF.
3. See we have a full backup on Sunday 8 PM, Diff and every day : 8 PM and log bkp
on every 15 min. DB Crashed on Saturday afternoon 2:55 PM. How to rebuild the
database? If suppose the last Sunday full backup is corrupted then how can you
restore the database in current in time?
4. I have an instance on which there are databases in both FULL and SIMPLE recovery
models. If I restart the sql service, what is the difference between these
databases in recovering or what happens while restarting the services?
5. I have a log file which is of 250 GB. Log is full. We don�t have a disk space on
any other drive for creating .ndf, auto growth is ON, and essentially there are no
options to allocate new space for the file. What�s your action plan?
8. Task manager is not showing the correct memory usage by SQL Server. How to
identify the exact memory usage from SQL Server?
10. How to apply service pack on Active / Passive cluster on 2008 and 2012?
13. Let�s say we have a situation. We are restoring a database from a full backup.
The restore operation ran for 2 hours and failed with an error 9002 (Insufficient
logspace). And the database went to suspect mode. How do you troubleshoot this
issue?
14. Consider a situation where publisher database log file has been increasing and
there there is just few MB available on disk. As an experienced professional how do
you react to this situation? Remember no disk space available and also we can�t
create a new log file on other drive
15. Can we add an article to the existing publication without generating a snapshot
with all articles?
--------------------------------------------------------
Genpact
1. Difference between 32 bit and 64 bit
4. Does alzebrizer tree stores in memory for stored procedures, views and
constraints?
16. How to rebuild master database and what are the considerations?
-----------------------------------------------------
E & Y
2. How to identify log filling issue and can we issue shrink with truncate on
publisher database?
7. Full back up size is 300 GB, usually my diff backup size varies between 300 MB
and 5 GB, one day unfortunately diff backup size was increased to 250 GB? What
might be the reason any idea?
8. What is .TUF file? What is the significance of the same? Any implications if the
file is deleted?
------------------------------------------------------------------------------
INFOSYS
---------------------------------------------------------------------
POLARIS
5. ??How to run distributed transactions in sql server? What are the config
changes has to be made?
8. Customer asked to break the mirroring and failover to mirror database. What are
the steps to be taken other than a manual failover?
9. Can you give some examples for One to One, One to Many and Many to Many
relationships?
----------------------------------------------------------------
CA
?1. How to find the tempdb contention?
7. What is the migration plan to move 300 databases to a new data centre? We can
have an hour downtime.
9. What are the phases a database needs to be gone through while restoring?
2. See we have a view which is getting data from different tables. One day it�s
starts executing infinitely. I have seen no blocking, no bulk operation happened. I
have stopped all jobs and maintenance plans on the server. No one is connected to
the database but still it�s been taking longer time. What might be the possible
reasons?
3. You have got a request to execute a query which is an �Update� query. That
update is updating 5 million rows, after an hour it�s still executing and you are
getting lot of requests from report users that their things are getting slow down.
What�s your action plan?
4. See I have an environment, Sunday night full backup, everyday night diff backup
and every 45 min a transactional backup. Disaster happened at 2:30 PM on Saturday.
You suddenly found that the last Sunday backup has been corrupted. What�s your
recovery plan?
5. Full backup size is 300 GB, usually my diff backup size varies between 300 MB
and 5 GB, one day unfortunately diff backup size was increased to 250 GB? What
might be the reason any idea?
6. What is .TUF file? What is the significance of the same? Any implications if the
file is deleted?
7. What are the ITIL basic standards? What are all the phases of ITIL? Explain
about incident management, problem management, change management etc?
----------------------------------------
PYTHIAN
1. How many IP�s required configuring a 2 node cluster?
6. How could you give full access on a database to a user from �Operations-Team�.
Remember the user should have all rights except write permission. But our company
policy is not to give DB_OWNER rights to any user from �Operations-Team�
??7. I wanted to know what are the maximum worker threads setting and active worker
thread count on sql server. Can you tell me how to capture this info? What�s the
default value for max thread count?
8. What are the all possibilities that cause the tempdb full issue?
11. We have a procedure which is running fine till today afternoon. Suddenly it
started taking long time to execute and there of it leads to a timeout error from
application. What might be happening? How you troubleshoot?
13. Have you ever done any automation in your database environment?
14. What are the critical issues you faced in your career?
----------------------------------------------------------------
Azure Questions