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.)
A.
Users could overwrite configuration files.
B.
Data files could be deleted.
C.
SQL injections could be used to insert bad data into the database.
D.
MySQL binaries could be damaged, deleted, or altered.
E.
Extra startup time would be required for the MySQL server to reset the privileges.
Users could overwrite configuration files (Option A ✅)
Configuration files (e.g., my.cnf) contain crucial settings like authentication methods, storage engine configurations, and logging preferences.
If unauthorized users can modify these files, they could:
Change authentication settings (e.g., disable passwords).
Redirect logs or modify performance parameters maliciously.
Corrupt the database startup process.
Data files could be deleted (Option B ✅)
MySQL data files (.frm, .ibd, .MYD, .MYI, etc.) store critical database information.
If unauthorized users have write access, they could:
Delete important data or entire databases.
Modify table structures to break applications.
Corrupt files, leading to data loss or inconsistencies.
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.
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.
This section is not available anymore. Please use the main Exam Page.1z0-908 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
JanithJayawardena
2 months agoxjllll
10 months, 1 week agomarklv
1 year agoLrnsTgh
9 months, 2 weeks agoFelipeK
1 year agomarklv
10 months, 1 week ago