SQL5 Flashcards

0
Q

Login?

A

Is the process by which individual access to a computer system is controlled by identification of the user through the credentials he or she provides.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
1
Q

Permission?

A

Is used to grant an entity access to an object.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

User account?

A

Is a logical representation of a person within an electronic system.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

3 different methods to login SQL server?

A

Widows domain login
Username login
SQL server login

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Sysadmin role?

A

Has full access to every server function, database, and object for that server.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3 different types of SQL server service accounts ?

A

Local user account
Local system account
Domain user account

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Authentication?

A

Is the act of establishing or confirming a user or system identity.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Create or remove account

A

Syntax
CREATE LOGIN ‘xps\Joe’
DROP LOGIN ‘xps\joe’

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Sa account

A

Is the built-in SQL administrator account associated with SQL authentication.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Fixed server roles (8)?

A

Bulkadmin: bulk insert operations
Dbcreator: create,alter, drop,restore database
Diskadmin:create,alter,drop disk files
Processadmin:kill a running SQL server process
Securityadmin :manage the logins for the server
Serveradmin:configure server-wide setting,full-text search,shutting down server
Setupadmin:configure linked servers, extended stored procedures,startup stored procedures
Systemadmin: installation,permission settings

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Fixed database roles (9)?

A

Db accessadmin: only authorized a user to access the database
Db backupoperator: only backups,checkpoints.
Db datareader: authorized a user to read all data in the database
Db datawriter: allows to write all data in database
Db ddladmin: DDL commands
Db denydatareader
Db denydatawriter
Db owner: all permission in the database
Db securityadmin:

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

3 recovery models?

A

Simple recovery
Full recovery
Bulk recovery

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Database backups?

A

Full backup
Differential backup: only backup data since the last full backup
Incremental backup: only backup data since the last full or incremental backup. (smaller,faster)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Database restores?

A
Complete database restore
File restore
Page restore
Piecemeal restore
Recovery only
Transaction log restore
Create a mirror database
Create and maintain standby server

Sytanx
RESTORE DATABASE name of database FROM DISK =’name of backup’
GO

How well did you know this?
1
Not at all
2
3
4
5
Perfectly