You are on page 1of 12

Microsoft Exam 70-431 SQL SERVER 2005 Implementation and maintenance

Important Note:
This exam has been carefully written and compiled by experts. It is designed to
help you learn
the concepts behind the Questions.

We continually add to and update our exams with new Questions,


so check that you have the latest version of this exam right before
you take your exam.

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: 2 Choose which statement(s) are correct?


A. The SEND command must be the first statement in a batch.
B. The queue is required for the SEND command.
C. To place a message on a queue,the conversation should be specified in the SEN
D command.
D. The message type is not an optional parameter.

Q: 3 LANGUAGE is a valid option for which type of queries?


A. CONTAINS queries
B. CONTAINSTABLE queries
C. FREETEXT queries
D. FREETEXTTABLE queries

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: 5 Choose which statement(s) are correct?


A. A full text catalog is an external storage structure created in a specified d
irectory.
B. A full text catalog is an storage structure external to a database.
C. the msdb database contains full-text catalogs.
D. A full text catalog is not stored in an external directory structure.

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: 7 Choose which statement(s) are correct?


A. A Snapshot replication require monitoring changes in the publishing database.
B. Transactional replication doesnot use Log reader agent to monitor transaction
al log.
C. Merge replication uses a combination of tables and columns to capture changes
in database.
D. Peer-to-peer replication uses transaction log to monitor changes in publishin
g database.

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: 9 Users of your application report that report execution is slow.


You found that some queries do not use optimal execution plans. You also notice
that some optimizer statistics are missing. Which two Transact-SQL statements s
hould you use?
A. DBCC CHECKTABLE
B. ALTER INDEX REORGANIZE
C. UPDATE STATISTICS
D. CREATE STATISTICS

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
?

A. Ensure that port 1433 is open in your firewall.


B. Configure the server using serface area configuration.
C. Ensure that client computers connect by using Shared Memory protocol.
D. Ensure that the server is not paused.
Answer: A
Q: 12 To minimize the downtime while moving a SQL Server 2005 database to a ne
w
database server. What should you do?
A. use the SQL Management Object method in the Copy Database Wizard.
B. Detach the current database. Copy the data files to the new server. Attach th
e files.
C. Back up the database. Copy the backup file to the new server. Restore the dat
abase.
D. Move the data files. Specify the new location by using ALTER DATABASE.

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: 15 Choose which statement is correct?


A. A SQL Server Profiler can trace network Input/output statistics .
B. A SQL Server Profiler can capture any statements executing within a stored pr
ocedure.
C. A SQL Server Profiler can trace CPU utilization events.
D. None

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: 17 Choose in which of the following scenarios, using multiple instances has a


dvantages over
using only a single instance of SQL server ?
A. When different customers require different syatem with full administrative co
ntrol.
B. When testing multiple version of SQL Server each on different computer.
C. When testing service packs and applications.
D. None

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: 23 While doing routine inspection of your database configuration your senior


found an orphaned user.
Your senior instructed you to remove that orphaned user.You found that the
user owns a schema that
contains objects.How will you remove that user so that dataloss is minimum
?
A. You can simply delete the user.
B. delete the schema associated with the user first and then delete the user.
C. Transfer the schema to another user and then remove the user.
D. Back up information about all the users and then delete all the users and cre
ate them back except the orphaned one.

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: 27 Choose which statement is correct?


A. A Database mail does not need Extended MAPI Client.
B. A Database mail does not need service broker to be enabled.
C. You can configure only one database mail account per Instance of Database.
D. None

Q: 28 You have been instructed to create a linked server to access an external d


atasource.
Which configuration options you must pay special attention to while doing
that?
A. The security mechanism used to check the connections to external data source.
B. The OLE DB provider you will use to connect.
C. Which database user is used to connect to external datasource.
D. What edition is installed on the external datasource.

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: 32 Which of the following is/are advantage of temporary table ?

A. Temporary table improves performance.


B. Temporary table makes the complex logic simple.
C. Temporary table cache Intermediate results.
D. Temporary table takes less space than permanent tables.

Q: 33 Which of the following CAN NOT be partitioned ?


A. Indexed Table
B. Existing Table
C. View
D. Indexed View

Q: 34 Which of the following Statement(s) is correct about the partition by defa


ult ?
A. SQL Server does not evenly distribute data among partitions.
B. A particular partition may contain more data than other even if boundry point
s are chosen symmetrically.
C. Data is not partitoned on the boundry points only.
D. None

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

You might also like