Question 41
MediumWho is mainly responsible for granting access rights, planning backups and tuning performance in an organisation's database?
- A.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
DBMS
Who is mainly responsible for granting access rights, planning backups and tuning performance in an organisation's database?
The application programmer
The database administrator (DBA)
The system analyst
The end user
Sign up free to see the answer and a step-by-step explanation.
Which component of a DBMS decides the most efficient way to run a query, such as which index to use?
The authorisation manager
The file manager
The buffer manager
The query optimiser
Sign up free to see the answer and a step-by-step explanation.
Which DBMS component keeps frequently used disk pages in main memory and decides which page to evict?
The transaction manager
The DDL compiler
The query parser
The buffer manager
Sign up free to see the answer and a step-by-step explanation.
A three-tier web application has a browser, an application server and a database server. Where does the business logic usually run?
In the database server's storage engine
In the browser only
On the application server
In the network router
Sign up free to see the answer and a step-by-step explanation.
Which of these is metadata stored in the data dictionary?
The data type and constraints of the column salary
The result of a SELECT query
The password typed by a user
The salary value 45000 of one employee
Sign up free to see the answer and a step-by-step explanation.
A table's schema changes rarely, but its instance changes often. Why?
Instances are read-only
Schemas are rebuilt after every query
The schema is stored in RAM only
The schema is the design; the instance is the data at a moment, which changes with every insert, update or delete
Sign up free to see the answer and a step-by-step explanation.
Which constraint stops a row from being added to Student with age = −4?
DEFAULT 0
CHECK (age > 0)
PRIMARY KEY (age)
UNIQUE (age)
Sign up free to see the answer and a step-by-step explanation.
Which command removes a table's structure and data so that the table no longer exists?
DELETE FROM
TRUNCATE TABLE
DROP TABLE
ALTER TABLE ... DROP COLUMN
Sign up free to see the answer and a step-by-step explanation.
Which two commands together let a DBA give and then take back a user's permission to update a table?
GRANT and REVOKE
INSERT and DELETE
CREATE and DROP
COMMIT and ROLLBACK
Sign up free to see the answer and a step-by-step explanation.
An e-commerce site lets thousands of customers place orders at once without corrupting stock counts. Which DBMS feature makes this possible?
Concurrency control
Normalisation
Physical data independence
Data dictionary
Sign up free to see the answer and a step-by-step explanation.