exam questions

Exam 1z0-908 All Questions

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

Exam 1z0-908 topic 1 question 61 discussion

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

You plan to take daily full backups, which include the ndbinfo and sys (internal) databases.
Which command will back up the databases in parallel?

  • A. mysqldump --single-transaction > full-backup-$(date +%Y%m%d).sql
  • B. mysqlpump --include-databases=% > full-backup-$(date +%Y%m$d).sql
  • C. mysqlpump --all-databases > full-backup-$(date +%Y%m%d).sql
  • D. mysqldump --all-databases > full_backup-$(date +%Y%m%d).sql
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

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
marklv
5 months ago
https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html mysqldump does not dump ndbinfo, so D is incorrect
upvoted 1 times
marklv
5 months ago
B might be correct because the wildcard might be explicitly listing it. Otherwise mysqlpump won't back it up.
upvoted 1 times
marklv
5 months ago
I tested, it does.
upvoted 2 times
...
...
...
HSong
6 months, 2 weeks ago
Should the answer be B? mysqlpump does not dump the performance_schema, ndbinfo, or sys schema by default. To dump any of these, name them explicitly on the command line. You can also name them with the --databases or --include-databases option. https://dev.mysql.com/doc/refman/8.0/en/mysqlpump.html#mysqlpump-restrictions
upvoted 1 times
...
devml
11 months, 2 weeks ago
Selected Answer: B
The correct answer is B. mysqlpump will allow you to backup the databases parallelly . https://dev.mysql.com/doc/refman/8.0/en/mysqlpump.html By default --all-databases won't backup ndbinfo schema this can be done via --include-database=% https://dev.mysql.com/doc/refman/8.0/en/mysqlpump.html#mysqlpump-restrictions
upvoted 4 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