exam questions

Exam 1z0-908 All Questions

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

Exam 1z0-908 topic 1 question 40 discussion

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

Examine this command, which executes successfully:
shell> mysqldump --master-data=2 --single-transaction --result-file=dump.sql mydb
Which two statements are true? (Choose two.)

  • A. It executes flush tables with read lock.
  • B. It enforces consistent backups for all storage engines.
  • C. The backup created is a consistent data dump.
  • D. This option uses the READ COMMITTED transaction isolation mode.
  • E. It is a cold backup.
Show Suggested Answer Hide Answer
Suggested Answer: AD 🗳️

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
2 months, 3 weeks ago
They are all wrong. It would be B and C if only innodb storage engine is used. MyISAM tables are not consistently backed up https://dev.mysql.com/doc/refman/8.0/en/mysqldump.html#option_mysqldump_single-transaction "When using this option, you should keep in mind that only InnoDB tables are dumped in a consistent state. For example, any MyISAM or MEMORY tables dumped while using this option may still change state."
upvoted 1 times
...
FelipeK
2 months, 4 weeks ago
Selected Answer: BC
B. It enforces consistent backups for all storage engines. This statement is true. The --single-transaction option enforces a consistent backup for all storage engines by using a single transaction to capture the data, making sure that the data dump is consistent across different storage engines. C. The backup created is a consistent data dump. This statement is true. The --single-transaction option ensures a consistent data dump by capturing data from a single transaction, preventing inconsistencies due to concurrent write operations.
upvoted 1 times
...
Dhanushka
5 months, 3 weeks ago
Selected Answer: AC
--single-transaction This option sets the transaction isolation mode to REPEATABLE READ and sends a START TRANSACTION SQL statement to the server before dumping data. It is useful only with transactional tables such as InnoDB, because then it dumps the consistent state of the database at the time when START TRANSACTION was issued without blocking any applications.
upvoted 1 times
...
Dhanushka
5 months, 3 weeks ago
--single-transaction This option sets the transaction isolation mode to REPEATABLE READ and sends a START TRANSACTION SQL statement to the server before dumping data. It is useful only with transactional tables such as InnoDB, because then it dumps the consistent state of the database at the time when START TRANSACTION was issued without blocking any applications.
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