Database_Forensics Flashcards

CHFI certificate

1
Q

NAME?

A

is used for trusted connections

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

-e

A

is used to echo the input

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

NAME?

A

is used for column separation

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

Database and log file (MSSQL)

A

\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\DATA*.MDF | *.LDF

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

DBCC BUFFER

A

Returns the buffer headers and pages from the SQL server buffer cache where the results are stored

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

DBCC DBINFO

A

Returns information related to the database metadata

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

DBCC DBTABLE

A

Returns structure of selected database table

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

dbcc loginfo and go

A

to obtain the VLF allocations for the moviescope database:

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

DBCC PAGE

A

Returns the data page structure of the selected database

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

DBCC PROCBUF

A

returns the contents of the SQL Server procedure buffer. Buffer contains SQL server cached executable statements such as stored procedures and SQL queries

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

DBCC SHOWFILESTATUS

A

Returns information related to the space occupied by the data files in an active database.

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

sp_helpdb moviescope and go

A

to determine the locations of the transaction log files associated with moviescope database (moviescope is the database for demonstration purposes)

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

sp_helpdb

A

command outputs the information related to a specific database.

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

SQL Server error logs

A

\Microsoft SQL Server\MSSQL14.MSSQLSERVER\MSSQL\LOG\ERRORLOG

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

Trace files

A

\Microsoft SQL Server\MSSQL14.MSSQLSERVER \MSSQL\ LOG\LOG_#.TRC

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

Identify the SQL server function that allows investigators to retrieve the active portion of a transaction log file, such as the target database object, specific columns, SPID, and date/time range.

A

fn_dblog ()

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

DBCC Commands

A

Database Consistency Checker commands may give the investigator valuable insight into what is happening within the Server system.

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

Pslist commands

A

displays elementary information about all the processes running on a system.

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

net session commands

A

Command is used for managing server computer connections

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

select * from sys.dm_exec_cached_plans

A

To view one row per plan attribute for the plan specified by the plan handle.

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

Select * from ::fn_dblog(NULL, NULL)

A

Displays the active portion of the transaction log file. Assigning NULL values imply that the start and end points for log sequence numbers (LSNs) are not specified.

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

select * from sys.dm_exec_cached_plans cross apply sys.dm_exec_sql_text(plan_handle)

A

Retrieve the SQL text of all cached entries.

23
Q

select * from sys.dm_exec_query_stats

A

To collect additional plan cache specifics from the database, like viewing the aggregate performance statistics.

24
Q

select * from sys.dm_exec_query_stats

A

To collect additional plan cache specifics from the database, like viewing the aggregate performance statistics.

25
Q

Select * from ::fn_dblog(NULL, NULL)

A

Displays the active portion of the transaction log file. Assigning NULL values imply that the start and end points for log sequence numbers (LSNs) are not specified.

26
Q

DBCC LOG(<databasename>, <output>)</output></databasename>

A

command allows investigators to view and retrieve the active transaction log files for a specific database.

27
Q

Offset in Row

A

In row data offset of modification

28
Q

LOP_BEGIN_XACT

A

Indicates the beginning of a transaction

29
Q

LOP_COMMIT_XACT

A

Indicates the end of a transaction

30
Q

LOP_MODIFY_ROW

A

Indicates the type of transaction performed

31
Q

RowLog Contents 1

A

Value of the row after modification

32
Q

RowLog Contents 0

A

Value of the row before modification

33
Q

Slot ID

A

On data page row location of record

34
Q

Connection Pool

A

handles all the client connection needs such as user authentication, memory checks, thread processing, caches, etc.

35
Q

MyISAM

A

Provides unlimited data storage, Well-known for storing and retrieving huge volumes of seldom-accessed archival or historical data

36
Q

ARCHIVE

A

Provides unlimited storage limit in compressed format

37
Q

BLACKHOLE

A

Allows systems to write data: however, these data are never saved

38
Q

SQL Interface

A

User interface that accepts SQL syntax and transmits the results to the user.

39
Q

Query Cache

A

Caches the query structure and query results that are unique to MySQL

40
Q

Cache and Buffers

A

They ensure that the commonly used data are provided in an efficient way.

41
Q

Parser

A

validates the SQL queries entered by a user

42
Q

Query Optimizer

A

Excludes known-bad conditions in the query before executing the join expression

43
Q

Error log (HOSTNAME.err)

A

It contains the information associated with the start-up and shutdown events as well as the errors.

44
Q

General query log (HOSTNAME.log)

A

It contains logs regarding the client connections and activities

45
Q

Relay log (HOSTNAMErelay-bin.n)

A

It contains the events that describe the changes that occurred in the database.

46
Q

Master info file (master.info)

A

It is created by a replication slave server that contains the essential parameters used for connecting to the master slave.

47
Q

lbdata1

A

lbdata1 data file stores the permanent table records of InnoDB

48
Q

PID

A

The server’s process ID (PID) file, which stores the MySQL server’s process ID

49
Q

auto.cnf

A

file containing the server_uuid which is used to uniquely identify a server

50
Q

[tablename].myd

A

Contains the table data of MyISAM Storage Engine

51
Q

mysqldump

A

Take a backup of the database using

52
Q

mysqlexport

A

To export metadata or data, or both from one or more databases

53
Q

mysqlbinlog

A

To display the content of bin logs (mysql-bin.nnnnnn) in text format.

54
Q

myisamlog

A

To process the MyISAM log file and perform recovery operation, display version information, etc., depending on the situation. The default operations of this utility include update(-u) and recovery(-r).