1Z0-820 · Question #3
The ZFS configuration on your server is: Pool1 6.67G 31K /pool Pool1/data 31K 31K /data Select the three commands that you would use to 1. Create, 2. List, and 3. Delete a snapshot of the /data file…
The correct answer is A. zfs snapshot pool1/data@now C. zfs list -t snapshot E. zfs destroy pool1/data@now. Options A, C, and E map exactly to ZFS's three-word syntax pattern: zfs snapshot, zfs list, and zfs destroy. Why the correct answers work: A (zfs snapshot pool1/data@now) is the proper create syntax: zfs snapshot <dataset>@<snapname> - no subcommand keyword, just the verb…
Question
The ZFS configuration on your server is:
Pool1 6.67G 31K /pool Pool1/data 31K 31K /data Select the three commands that you would use to 1. Create, 2. List, and 3. Delete a snapshot of the /data file system.
Options
- Azfs snapshot pool1/data@now
- Bzfs create snapshot pool1/data@now
- Czfs list -t snapshot
- Dzfs list -t snapshot pool1/data
- Ezfs destroy pool1/data@now
- Fzfs destroy snapshot pool1/data@now
How the community answered
(37 responses)- A95% (35)
- D3% (1)
- F3% (1)
Explanation
Options A, C, and E map exactly to ZFS's three-word syntax pattern: zfs snapshot, zfs list, and zfs destroy.
Why the correct answers work:
- A (
zfs snapshot pool1/data@now) is the proper create syntax:zfs snapshot <dataset>@<snapname>- no subcommand keyword, just the verb directly. - C (
zfs list -t snapshot) uses the-ttype filter to display all snapshots in the pool. - E (
zfs destroy pool1/data@now) destroys the snapshot by its fulldataset@snapnamereference - the same way ZFS identifies any snapshot.
Why the distractors fail:
- B is invalid -
zfs createmakes filesystems or volumes, not snapshots; there is nozfs create snapshotsubcommand. - D (
zfs list -t snapshot pool1/data) fails because it tries to displaypool1/datafiltered as type snapshot, butpool1/datais a filesystem - it returns nothing useful; you'd need-rto recursively list its snapshots. - F is invalid -
zfs destroytakes nosnapshotkeyword; thedataset@snapnameformat is sufficient to identify it as a snapshot.
Memory tip: ZFS snapshot commands follow a "no extra keywords" rule - snapshot, list -t snapshot, and destroy all act directly on the dataset@name identifier; any answer that inserts an extra noun like "snapshot" as a subcommand argument is wrong.
Topics
Community Discussion
No community discussion yet for this question.