My Report

Database Management System Mock Test 10


Correct Answer: 2 points | Wrong: -1 point
Grades: A* (100% score) | A (80%-99%) | B (60%-80%) | C (40%-60%) | D (0%-40%)
advertisement
 10%

Question 1 of 10

1. ______________ policy allows multiple updates to accumulate on a block before it is output to stable storage, which can reduce the number of output operations greatly for frequently updated blocks.

Question 1 of 10

Question 2 of 10

2. Evaluate the following command:

CREATE TABLE employees (employee_id NUMBER(2) PRIMARY KEY, last_name VARCHAR2(25) NOT
NULL, department_id NUMBER(2), job_id VARCHAR2(8), salary NUMBER(10,2));
You issue the following command to create a view that displays the IDs and last names of the sales staff in the organization:
CREATE OR REPLACE VIEW sales_staff_vu AS SELECT employee_id, last_name job_id FROM employees
WHERE job_id LIKE 'SA_%' WITH CHECK OPTION;

Which statements are true regarding the above view?

Question 2 of 10

Question 3 of 10

3. The magnetic storage chip used to provide non-volatile direct access storage of data and that have no moving parts are known as

Question 3 of 10

Question 4 of 10

4. A transaction commits as soon as its commit log record is written to stable storage at the primary site. This is

Question 4 of 10

Question 5 of 10

5. B-link tree requires a pointer to its __________ sibling.

Question 5 of 10

Question 6 of 10

6. Which of the following belongs to transaction failure

Question 6 of 10

Question 7 of 10

7. Non-volatile storage needs to have a _________ where the loses in future can be recovered.

Question 7 of 10

Question 8 of 10

8. A _______________ configuration can make takeover by the backup site almost instantaneous.

Question 8 of 10

Question 9 of 10

9. If a transaction does not modify the database until it has committed, it is said to use the ___________ technique.

Question 9 of 10

Question 10 of 10

10. If ___________ are not obtained in undo operation it will cause problem in undo-phase.

Question 10 of 10


 

Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.