Exam 1z0-908 All QuestionsBrowse all questions from this exam
Question 33

On examination, your MySQL installation datadir has become recursively world read/write/executable.

What are two major concerns of running an installation with incorrect file privileges? (Choose two.)

    Correct Answer: A, B

    If your MySQL installation datadir has incorrect file privileges, it poses significant security risks. Users could overwrite configuration files, which could lead to misconfigurations or backdoor setups that compromise the system's integrity. Data files could be deleted, resulting in data loss or corruption which would severely affect database functionality and data integrity.

Discussion
marklvOptions: AB

A. Configuration could be changed, but my.cnf is most likely not in it, but others. B. Data could be altered. D IS NOT CORRECT. Data injection is done over a connection, binaries ARE not affected since they are not in the datadir, startup doesn't change permissions.

LrnsTgh

https://dev.mysql.com/doc/refman/8.0/en/data-directory.html maybe mysqld-auto.cnf. it is in the subdirectory of datadir. me, A & B

xjllllOptions: AB

A and B

FelipeKOptions: AD

A. Users could overwrite configuration files: If unauthorized users have write access to MySQL configuration files, they could modify them, potentially leading to misconfigurations that may compromise the security or stability of the database server. D. MySQL binaries could be damaged, deleted, or altered: Incorrect file privileges could allow unauthorized users to tamper with MySQL binary files, potentially damaging, deleting, or altering them. This could render the MySQL server inoperable or introduce malicious code.

marklv

binaries are not in the datadir, do D is not it