Question 1
Question
This question requires that you evaluate the underlined text to determine if it is correct. Use the ALLOW SELECT command to give a user permission to read the data in a table.
Instructions: Review the underlined text. If it makes the statement correct, select “No change is needed.” If the statement is incorrect, select the answer choice that makes the statement correct:
Answer
-
No change is needed
-
GRANT SELECT
-
LET HEAD
-
PERMIT READ
Question 2
Question
You have a user that has server roles as defined below:
Answer
-
no
-
read-only
-
unlimited
-
no
-
unlimited
-
configuration
Question 3
Question
The following illustration shows backup strategies that use the simple recovery model and the full recovery model:
Answer
-
less
-
more
-
the same
-
less
-
more
-
the same
Question 4
Question
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Question 5
Question
The following graphic shows the components of a SQL Server application. You access the
SQL Server application through Internet Explorer.
Answer
-
client
-
www.contoso.com
-
s01.contoso.com
-
client
-
www.contoso.com
-
s01.contoso.com
Question 6
Question
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.
Answer
-
YES
-
NO
-
YES
-
NO
-
YES
-
NO
-
YES
-
NO
Question 7
Question
You assign User1 a set of permissions that include the WITH GRANT OPTION. The WITH GRANT OPTION enables User1 to:
Answer
-
request a log of permission use.
-
delegate permissions to other users.
-
create new database users.
-
view other users’ permissions.
Question 8
Question
A named group of SQL statements that can be executed in a database is called a:
Answer
-
Subroutine
-
Formula
-
Stored procedure
-
Method
Question 9
Question
A named group of SQL statements that can be executed in a database is called a:
Answer
-
Subroutine
-
Formula
-
Stored procedure
-
Method
Question 10
Question
You need to establish a set of permissions that you can routinely assign to new users.
What should you create?
Question 11
Question
Which database term is used to describe the process of applying a backup to a damaged or corrupt
database?
Answer
-
Recover
-
Restore
-
Commit
-
Attach
Question 12
Question
You need to disable User1’s access to view the data in the Customer table. Which statement should you use?
Answer
-
Option A
-
Option B
-
Option C
-
Option D
Question 13
Question
One reason to create a stored procedure is to:
Question 14
Question
Which permission does a user need in order to run a stored procedure?
Question 15
Question
Which command should you use to give a user permission to read the data in a table?
Answer
-
ALLOW SELECT
-
LET READ
-
PERMIT READ
-
GRANT SELECT
Question 16
Question
In which situation do you need to perform a restore on a database?
Answer
-
when data becomes corrupted in the database
-
when you need to roll back a transaction
-
when you encounter an error in your application
-
when data needs to be deleted from the database
Question 17
Question
At 3:00 P.M. (1500 hours), you create a backup of your database. At 4:00 P.M. (1600
hours), you create a table named Customer and import data into the table. At 5:00 P.M.
(1700 hours), your server fails. You run a script to apply only the 3:00 P.M. backup to
your database. What is the result of the script?
Answer
-
The Customer table no longer exists.
-
The Customer table is unaffected.
-
The Customer table exists but has no data.
-
The script fails.
Question 18
Question
Instructions: For each of the following statements, select Yes if the statement is true. Otherwise, select No. Each correct selection is worth one point.