Access Control Models and Mechanisms Quiz

PoisedVigor avatar
PoisedVigor
·
·
Download

Start Quiz

Study Flashcards

Questions and Answers

Which type of index is defined as having the order of data records the same as, or close to, the order of data entries?

Clustered index

A file can be clustered on how many search keys?

One

Which type of index is smaller in size?

Sparse index

Which type of index is always dense?

<p>Dense index</p> Signup and view all the answers

Which type of query involves a combination of fields and every field value being equal to a constant value?

<p>Equality query</p> Signup and view all the answers

Which type of access control is based on the data owner determining who can access specific resources?

<p>Discretionary Access Control (DAC)</p> Signup and view all the answers

Which type of access control allows the policy designer to define a security policy independently of the implementation?

<p>Organization-Based Access control (OrBAC)</p> Signup and view all the answers

Which access control model is largely context-based?

<p>Rule-Based Access Control (RAC)</p> Signup and view all the answers

What is the process of encoding a message or information in such a way that only authorized parties can access it?

<p>Encryption</p> Signup and view all the answers

Which type of encryption uses the same key for both encryption and decryption?

<p>Symmetric key encryption</p> Signup and view all the answers

What is the purpose of database auditing?

<p>To prevent unauthorized access</p> Signup and view all the answers

Which recovery algorithm is designed to work with a steal, no-force approach?

<p>Aries</p> Signup and view all the answers

What is the first phase of the crash recovery process?

<p>Analysis</p> Signup and view all the answers

What is the purpose of the log in a database management system?

<p>To recover from system crashes</p> Signup and view all the answers

Which type of log record is appended to the log after modifying a page?

<p>Update</p> Signup and view all the answers

What is the purpose of a commit type log record?

<p>To force-write a transaction's changes</p> Signup and view all the answers

What type of log record is appended to the log when a transaction is aborted?

<p>Abort</p> Signup and view all the answers

What additional action is taken when a transaction is aborted or committed?

<p>A compensation log record is written</p> Signup and view all the answers

What does the transID field in a log record represent?

<p>The transaction ID</p> Signup and view all the answers

What is the purpose of checkpointing in a DBMS?

<p>All of the above</p> Signup and view all the answers

What are the three steps involved in checkpointing?

<p>Begin_checkpoint, End_checkpoint, Afterend_checkpoint</p> Signup and view all the answers

What is stored in the Dirty Page Table of a DBMS?

<p>The pageLSN and pageID of each data page</p> Signup and view all the answers

Which of the following is an example of a DBMS?

<p>MySQL</p> Signup and view all the answers

Which of the following is true about indexes on a file?

<p>Indexes can only be created on the search key fields of a relation.</p> Signup and view all the answers

Which of the following is true about search key and key in relation to indexes?

<p>Search key is a minimal set of fields that uniquely identify a record in a relation.</p> Signup and view all the answers

Which of the following is true about the alternatives for data entries in an index?

<p>Alternative 2 is the most compact and efficient for small data records.</p> Signup and view all the answers

Which of the following is true about the number of indexes that can use Alternative 1 for a given collection of data records?

<p>At most one index can use Alternative 1.</p> Signup and view all the answers

Which of the following is true about the size of auxiliary information in an index?

<p>The size of auxiliary information in an index is typically small for large data records.</p> Signup and view all the answers

Which of the following is true about the alternatives for data entries in an index?

<p>Alternative 3 is the most compact and efficient for large data entries.</p> Signup and view all the answers

Which of the following is true about the classification of indexes?

<p>Primary index is based on the primary key.</p> Signup and view all the answers

More Quizzes Like This

Database Operations and Optimization Quiz
10 questions

Database Operations and Optimization Quiz

BreathtakingSydneyOperaHouse avatar
BreathtakingSydneyOperaHouse
Database Indexing and Tables
18 questions
Use Quizgecko on...
Browser
Browser