SQL MCQ Quiz Hub

SQL MCQ SET 9

Choose a topic to test your knowledge and improve your SQL skills

1. What is the default path to Perl in Unix?




2. How is the output from PHP generated?




3. What attempts auto recovery based on the contents of its serial log?




4. Under which option are index changes not flushed until tables close?




5. Which option suppresses output unless there are errors in the table?




6. What is the variable that is a handle to a database object?




7. The variable that returns code from operations that return true or false is ________




8. In PHP, how is the first element accessed if $a represents an array with numeric indices?




9. Which operator is used to access property of an object in PHP?




10. How is the binary log rotated?




11. How is a delimited-text data file reloaded?




12. Which program performs logical backups?




13. The option that suppresses output unless there are errors in the table is _____________




14. What is the return value from operations returning a row count?




15. The mode of search in which the search string is parsed into words and the search looks for rows is ________




16. What is the hub of a MySQL installation?




17. Which program copies the databases from one server to another?




18. To use ‘mysqldbcopy’ which privileges are required on the source server?




19. The program that performs logical backups is _____




20. In ‘mysqldump’ which option is used to make all tables in the destination databases to use a different storage engine?




21. Which function returns reference to hash of row values?




22. The function ‘fetchrow_hashref()’ returns reference to hash of row values keyed by _____




23. Which function returns reference to array of row values?




24. Which is the log in which data changes received from a replication master server are written?




25. Which myisamchk variable represents the size of buffer used to hold index blocks?




26. Which option is used in ‘mysqldump’ to make all tables in the destination databases to use a different storage engine?




27. What is the output from PHP?




28. What are PHP variables preceded by?




29. Which data type is best suited to store currency values?




30. Which program converts binary log files to statements in text form?




31. The ‘mysqlbackup’ command to perform a restore operation is ______




32. The myisamchk variable that represents the size of buffer used to hold index blocks is ______




33. Where does MySQL Enterprise Backup record details of each backup?




34. What is the log in which data changes received from a replication master server are written?




35. The metadata log is ______




36. What is the default size of ‘max_binlog_cache_size’ system variable?




37. The slave stores the CHANGE MASTER parameters in the file _____




38. Which statement on the master expires binary log files?




39. Which statement suspends the replication related activity of the slave server?




40. MySQL Enterprise Backup records details of each backup in _____




41. In which context is the privilege ‘CREATE TABLESPACE’ applied?




42. In which directory are the DBI scripts located?




43. Which is the stored program associated with a schedule?




44. Which of these is not an exact numeric type?




45. The statement that suspends the replication related activity of the slave server is _____




46. The minimum value stored by signed TINYINT is ______




47. MySQL uses security based on ACL. What does it stand for?




48. If $a represents an array with numeric indices in PHP, the first element accessed by ____




49. The operator used in PHP to access property of an object is _____




50. The maximum value that can be specified to the size of VARCHAR is ______