MySQL Access Control and Security
- What is the option for specifying the executable name while compiling with gcc?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
When a C program is compiled with gcc, the option -o is issued in order to specify the name of the executable that is created after compilation. The default name given is ‘a.out’.
- To check if the data directory contains insecure files or directories, the command executed is _____________
-
View Hint View Answer Discuss in Forum
NA
Correct Option: B
It can be determined whether the data directory contains insecure files or directories by executing ‘ls -la’. Then the lookup for files or directories that have the “group” or “other” permissions turned on.
- What enables the read and execute access to all users outside of mysql group.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: C
Some database directories have the proper permissions like ‘drwx——‘ enables read, write, and execute access to the owner, but no access to anyone else. Other directories have an overly permissive access mode like ‘drwxrwxr-x’.
- The server uses a Unix domain socket file for connections by clients to localhost.
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The server uses a Unix domain socket file for connections by clients to localhost. The socket file normally is publicly accessible so that client programs can use it again properly.
- Which program is used as a utility for MyISAM table maintenance?
-
View Hint View Answer Discuss in Forum
NA
Correct Option: A
The program ‘myisamchk’ is a utility for the table maintenance. ‘innochecksum’ is used for offline InnoDB file checksum utility. To display full text index information ‘myisam_ftdump’ is used.