nerdexam
Oracle

1Z0-821 · Question #115

The /usr/bin/p7zip file that is part of the p7zip package has been overwritten. This server is critical to production and cannot be rebooted. Identify the command that would restore the file without…

The correct answer is D. pkg revert p7zip. Use the pkg revert command to restore files to their as-delivered condition.

Managing Software Packages

Question

The /usr/bin/p7zip file that is part of the p7zip package has been overwritten. This server is critical to production and cannot be rebooted. Identify the command that would restore the file without requiring a reboot.

Options

  • Apkg verify p7zip
  • Bpkg fix p7sip
  • Cpkg rebuild-index p7zip
  • Dpkg revert p7zip
  • Epkg uninstsll p7zip
  • Fpkg install p7zip
  • Gpkg install --no-backup-be p7sip
  • Hpkg refresh p7zip

How the community answered

(25 responses)
  • C
    8% (2)
  • D
    76% (19)
  • F
    12% (3)
  • H
    4% (1)

Explanation

Use the pkg revert command to restore files to their as-delivered condition.

Topics

#pkg revert#IPS package repair#file restoration#no-reboot fix

Community Discussion

No community discussion yet for this question.

Full 1Z0-821 Practice