SQL MCQ Quiz Hub

SQL MCQ SET 9

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

What is the default path to Perl in Unix?





✅ Correct Answer: 1

How is the output from PHP generated?





✅ Correct Answer: 2

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

How is the binary log rotated?





✅ Correct Answer: 1

How is a delimited-text data file reloaded?





✅ Correct Answer: 2

Which program performs logical backups?





✅ Correct Answer: 2

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





✅ Correct Answer: 1

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





✅ Correct Answer: 3

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





✅ Correct Answer: 2

What is the hub of a MySQL installation?





✅ Correct Answer: 4

Which program copies the databases from one server to another?





✅ Correct Answer: 1

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





✅ Correct Answer: 4

The program that performs logical backups is _____





✅ Correct Answer: 2

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





✅ Correct Answer: 2

Which function returns reference to hash of row values?





✅ Correct Answer: 4

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





✅ Correct Answer: 2

Which function returns reference to array of row values?





✅ Correct Answer: 2

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 2

What is the output from PHP?





✅ Correct Answer: 2

What are PHP variables preceded by?





✅ Correct Answer: 3

Which data type is best suited to store currency values?





✅ Correct Answer: 4

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





✅ Correct Answer: 4

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





✅ Correct Answer: 1

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





✅ Correct Answer: 1

Where does MySQL Enterprise Backup record details of each backup?





✅ Correct Answer: 2

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





✅ Correct Answer: 4

The metadata log is ______





✅ Correct Answer: 2

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





✅ Correct Answer: 3

The slave stores the CHANGE MASTER parameters in the file _____





✅ Correct Answer: 3

Which statement on the master expires binary log files?





✅ Correct Answer: 2

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





✅ Correct Answer: 3

MySQL Enterprise Backup records details of each backup in _____





✅ Correct Answer: 2

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





✅ Correct Answer: 1

In which directory are the DBI scripts located?





✅ Correct Answer: 2

Which is the stored program associated with a schedule?





✅ Correct Answer: 2

Which of these is not an exact numeric type?





✅ Correct Answer: 4

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





✅ Correct Answer: 3

The minimum value stored by signed TINYINT is ______





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 2

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





✅ Correct Answer: 3

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





✅ Correct Answer: 4