MCQOPTIONS
Saved Bookmarks
This section includes 9 Mcqs, each offering curated multiple-choice questions to sharpen your Structured Query Language (SQL) knowledge and support exam preparation. Choose a topic below to get started.
| 1. |
The security context when a user creates a stored program that accesses sensitive data but forgets that other people who can invoke the object have the same access is __________ |
| A. | bad |
| B. | good |
| C. | fare |
| D. | illegal |
| Answer» B. good | |
| 2. |
The function that returns reference to hash of row values is ____________ |
| A. | fetchrow_array() |
| B. | fetchrow_arrayref() |
| C. | fetch() |
| D. | fetchrow_hashref() |
| Answer» E. | |
| 3. |
TRIGGERS_AND_EVENTS_ARE_INVOKED_AUTOMATICALLY_BY_THE_SERVER.?$ |
| A. | True |
| B. | False |
| Answer» B. False | |
| 4. |
The security context when a user creates a stored program that accesses sensitive data but forgets that other people who can invoke the object have the same access is _________? |
| A. | bad |
| B. | good |
| C. | fare |
| D. | illegal |
| Answer» B. good | |
| 5. |
Which type stores the longest length of strings? |
| A. | CHAR |
| B. | VARCHAR |
| C. | TINYTEXT |
| D. | TEXT |
| Answer» E. | |
| 6. |
The best datatype for a column that is expected to store values up to 2 million is _________ |
| A. | SMALLINT |
| B. | TINYINT |
| C. | MEDIUMINT |
| D. | BIGINT |
| Answer» E. | |
| 7. |
Which option is used in mysqldump to make all tables in the destination databases to use a different storage engine? |
| A. | –next-storage-engine |
| B. | –new-storage-engine |
| C. | –clear-storage-engine |
| D. | –get-storage-engine |
| Answer» C. ‚Äö√Ñ√∂‚àö√ë‚àö¬®clear-storage-engine | |
| 8. |
Which privileges are required on the source server to use mysqldbcopy? |
| A. | CREATE |
| B. | INSERT |
| C. | UPDATE |
| D. | SELECT |
| Answer» E. | |
| 9. |
The program that copies the databases from one server to another is ____________ |
| A. | mysqldbcopy |
| B. | mysqlcopydb |
| C. | mysqlflushdb |
| D. | mysqldbflush |
| Answer» B. mysqlcopydb | |