Professional Documents
Culture Documents
Important Note:
This exam has been carefully written and compiled by experts. It is designed to
help you learn
the concepts behind the Questions.
Please tell us what you think of our exam. We appreciate both positive and criti
cal comments as your feedback helps us
improve future versions.
you can mail us at: support@freejobsreference.com
We thank you for using our material and look forward to supplying you with all y
our Certification training needs.
Happy studying!
free jobs reference(www.freejobsreference.com) Support Team
DISCLAIMER
This study guide and/or material is not sponsored by, endorsed by or affiliated
with Microsoft, Cisco, Oracle,etc.
All trademarks are properties of their respective owners.
SEE THE ANSWERS AT THE END
Q: 1 To find the deadlock in SQL Server what action you will do first?
A. Execute a DTA analysis to look for Indexes and Indexedviews.
B. Use sql profiler to create deadlock trace.
C. Use the sys.dm_db_missing_index views and functions to find indexes.
D. Use the sys.dm_exec views and functions to Identify blocking.
Q: 4 A Web site project includes a page that Employee use to send complains
about the company.SQL Server 2005 is used as database to store the comments in t
he
Remarks column of a table named complains.You need to implement full-text search
ing so that you can
run reports on the comments. Which two actions should you perform?
A. Create a full-text catalog.
B. Create a Nonclustered index on the Remarks column.
C. Create a clustered index on the Remarks column.
D. Create a full-text index on the Remarks column.
Q: 6 While managing the database schema for a website application in a SQL Serve
r 2005 database,
you are asked to add a new column named BasicMembership to the Membership table
. Because the actual
BasicMembership rates for all Membership are not known at this time, each Member
ship has a default BasicMembership
of $10 . The BasicMembership rate can be modified in future. You add the new co
lumn. You need to configure the
table to assign the default value. What should you do?
A. Create an INSERT trigger
B. Create a CHECK constraint
C. Create a DEFAULT constraint
D. Create an UPDATE trigger to
Q: 8 You have two SQL Server 2005 computers named Server1 and Server2.
A user writes queries against the two databases. User has
access to the Product database on Server1. He does not have access to the Custom
er database on Server2.
You need to ensure that the user can write queries that join information from bo
th servers.
What should you do first?
A. Create a linked server on Server1 to Server2. Configure the linked server to
use impersonation.
B. Create a linked server on Server1 to Server2. Configure the linked server to
use mapped logins.
C. Tell the user to write the queries on Server2 by using the OPENQUERY stateme
nt.
D. Tell the User to specify SQL Server object names.
Q: 10 While managing the database schema for a website application in a SQL Serv
er 2005 database.
you are asked to add a new column named BasicMembership to the Membership table
. Because the actual
BasicMembership rates for all Membership are not known at this time, each Member
ship has a default BasicMembership
of $10 . The BasicMembership rate can be modified in future. You add the new co
lumn. You need to configure the
table to assign the default value. What should you do?
A. Create an INSERT trigger to assign the default value to each item in the tabl
e.
B. Create a CHECK constraint to validate the data and to assign the default valu
e to each item in the table.
C. Create a DEFAULT constraint to assign the default value specifying the WITH V
ALUES argument.
D. Create an UPDATE trigger to update the default value for each new item in the
table.
Q: 11 while configuring a new SQL Server 2005 computer to use TCP/IP You found
that you can connect to
the SQL Server instance from the local computer. However, remote client computer
s cannot connect to the SQL
Server instance. You need to fix this connection issue. What should you do First
?
Q: 13 In one of the databases, a DBA has accidentally deleted some data in a tab
le that is critical for a transaction
processing. Given that the database uses the full recovery model. You need to r
estore the table. You need to achieve
this goal without affecting the availability of other data in the database. What
should you do?
A. Back up the current transaction log. Restore the database with a different na
me and stop at the point just
before the data loss. Copy the table back into the original database.
B. Back up the current transaction log. Restore the database to the point just b
efore the data loss.
C. Restore the database from the existing backup files to a time just before the
data loss.
D. Restore the database to the point of the last full backup.
Q: 14 While inspecting scheduled jobs in SQL SERVER 2005 you noticed that
certain jobs run every Monday and other jobs run at the beginning of every month
. You
need to schedule the jobs in the way that uses the least amount of effort. What
should you
do?
A. Create a job schedule that runs every Monday. Assign weekly tasks to this sch
edule. Create a second
schedule that runs on the first day of every month. Assign monthly tasks to this
schedule.
B. Create a job for each task that runs once a day. Use a Transact-SQL statement
to check the date and day of
the week. If the day is either a Monday or the first day of the month, execute t
he code.
C. Create a job schedule that runs once a day. Assign jobs to this job schedule.
If the day is either a Monday or
the first day of the month, execute the jobs.
D. Create a job for each task that runs once a week on Monday. Add a second job
schedule that runs the job on
the first of the month.
Q: 16 You are working as DBA and you have to select the edition of SQL Server 20
05 to install.
Your boss says that he does not need partitioning but he needs database mi
rroring.
which editions you can suggest?
A. Standard
B. Enterprise
C. Express
D. Workgroup
Q: 18 You are working as assistant DBA and your boss has decided not to use Netw
ork Service account
and local system account with the SQL server service and SQL server agent
service.
what may be the reason for that ?
A. Mixed mode authentication is necessary for using SQL server service and SQL s
erver agent service
B. Network Service account and local system account grant too many privileges.
C. Network Service account and local system account are not compatible with SQL
server agent service.
D. SQL server service and SQL server agent service do not support local system a
ccount.
Q: 19 You are working as DBA and you have to use SQL server 2005 in transactiona
l replication with
an oracle database as a Publisher. which editions you can suggest?
A. Standard
B. Enterprise
C. Express
D. Workgroup
Q: 20 You are working as DBA and your senior has instructed you to store all dat
a and objects in secondry
files and database catalog in primary files.What is the reason behind this
configuration?
A. To decrease network bandwidth
B. To help reduce disk access contention
C. To help increase disk access contention
D. None
Q: 21 You have been instructed to upgrade the SQL Server 2005 installation.You
have decided to do
In-place Upgrade. Which of the following will surely remain intact after
the upgrade and you should not
take backup for that?
A. SQL Server Databases
B. Other objects associated with Previous SQL Server Instances.
C. Previous version of SQL Server books online.
D. None
Q: 22 Which of the following is the default recovery model for SQL Server?
A. Full recovery model.
B. Simple recovery model.
C. Bulk-logged recovery model.
D. None
Q: 24 Which of the following you can't use for IDENTITY data type?
A. bigint
B. smallint
C. decimal
D. None
Q: 25 You are working on a website project and you have to create various tempro
ry table and use them
You should explicitly drop your temprory tables as and when your temporary
work is over because?
A. Temporary tables are not deleted autometically when connection is closed.
B. When connection pooling is involved, in some situations connections are never
closed.
C. You may need to create the same temprory table after some time while connecti
on is alive.
D. All Temporary tables take space in memory so it slows down performance.
Q: 26 You have to design database tableS and you are instructed to create one-to
-one relationship
between Employee and IdCard table. Which SQL Server constraints are requir
ed for this purpose?
A. Foreign key constraints
B. Unique constraints
C. Default constraints
D. Check constraints
Q: 29 You have to design database table and it is not sure what type of data wil
l be inserted
in a particular column.Which SQL Server 2005 datatype you will use?
A. XML
B. bit
C. Cursor
D. sql_variant
Q: 30 while working for an innovative product based company you need to implemen
t a CLR UDT
in your company database.Which of the following action is required to Impl
ement it ?
A. Enable the CLR within the surface area configuration utility.
B. Create a class that conforms to the UDT specification.
C. Compile the class to DLL and register the assembly in SQL Server instance.
D. Install the .NET framework on the machine which has SQL Server instance in qu
estion.
Q: 31 you have to add administrative module for your application and for that yo
u have
Decided to use cursors.While using cursors you are required to detect chan
ges in
underlying data. Which type of cursor you can use ?
A. Static
B. Keyset
C. Dynamic
D. Simple
Q: 35 You are working with enterprise edition of SQL Server 2005 and you are sup
posed to
manage partitions using SWITCH operator.You have decided to perform switch
between table A and table B
Which all things you must ensure before performing the SWITCH action ?
A. Table A and Table B must use the same Partition function and partition scheme
.
B. Table A and Table B must have a clustered Index.
C. Table A and Table B must have at least one Non-clustered Index.
D. Table A and Table B must have same structure and Indexes.
Q: 36 You are working with developer edition of SQL Server 2005 and you have des
igned database with tables
and views.Now developer need to update the data.You have to suggest him wh
ether to update data using
views or stored procedure.You should suggest data update by stored procedu
re and not by views because ?
A. Stored procedures are more flexible than views.
B. Stored procedures can easily validate changes than views.
C. Stored procedures takes less time to update data because they are precompiled
.
D. Actually it is not possible to update data using views in developer edition.
Q: 37 You are working with developer edition of SQL Server 2005 and you have to
write stored procedure.
Your seniors told you to add the RECOMPILE option to the stored procedure
you are creationg.
What may be the reson for this ?
A. You have just deleted a few Constraints on the table.
B. You have created some new columns on table for which stored procedure has to
be written.
C. You added a new index which may be used by the stored procedure.
D. You have added a few Constraints on the table.
Q: 38 You are working with developer edition of SQL Server 2005 and you have to
write stored procedure.
Your seniors told you to add the RECOMPILE option to the stored procedure
you are creationg.
What may be the reson for this ?
A. You have just deleted a few Constraints on the table.
B. You have created some new columns on table for which stored procedure has to
be written.
C. You added a new index which may be used by the stored procedure.
D. You have added a few Constraints on the table.
Q: 39 The bcp Hint parameter is ignored when used with which keyword ?
A. Ref
B. out
C. Queryout
D. new
Q: 40 You are working with Enterprise edition of SQL Server 2005 and your data p
rovider is OLE DB.
Your customer has given data in a file and you have very less time and you
need to load the data
from file to query without loading the data in a table first.Which functio
n can be used for this ?
A. ROWSET
B. OPENROWSET
C. QUERYOUT
D. EXPORT
ANSWERS:
1.B
2.A,C
3.C,D
4.A,D
5.A
6.C
7.C,D
8.B
9.C,D
10.C
11.A
12.B
13.A
14.A
15.B
16.A,B
17.A,C
18.B
19.B
20.B
21.C
22.A
23.C
24.D
25.B,C
26.A,B
27.A
28.A,B
29.D
30.A,B,C
31.B,C
32.A,B,C
33.C
34.A,B
35.A,D
36.A,B
37.C
38.C
39.B,C
40.B