exam questions

Exam 1z0-908 All Questions

View all questions & answers for the 1z0-908 exam

Exam 1z0-908 topic 1 question 25 discussion

Actual exam question from Oracle's 1z0-908
Question #: 25
Topic #: 1
[All 1z0-908 Questions]

You wish to store the username and password for a client connection to MySQL server in a file on a local file system.
Which is the best way to encrypt the file?

  • A. Use the AES_ENCRYPT() MySQL function on the option file.
  • B. Use mysql_secure_installation to encrypt stored login credentials.
  • C. Use a text editor to create a new defaults file and encrypt it from Linux prompt.
  • D. Use mysql_config_editor to create an encrypted file.
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️

Comments

Chosen Answer:
This is a voting comment (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
FelipeK
2 months, 4 weeks ago
Selected Answer: D
The best way to encrypt the file is to use mysql_config_editor to create an encrypted file. This utility encrypts the .mylogin.cnf file which contains the login credentials. The other options do not provide the necessary encryption for a file stored on a local file system. So, the correct answer is D. Use mysql_config_editor to create an encrypted file.
upvoted 1 times
...
marklv
3 months, 2 weeks ago
D is easiest, but it isn't perfect
upvoted 1 times
...
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.

SaveCancel
Loading ...
exam
Someone Bought Contributor Access for:
SY0-701
London, 1 minute ago