nerdexam
Oracle

1Z0-876 · Question #60

A user is creating an archive using the zip utility. The user executes the following sequence of commands. $ zip -rm archive.zip /data/dir1 $ zip -rm archive.zip /product/dir1 $ zip -rm archive.zip…

The correct answer is A. An archive.zip file will be created and the contents will be the three directories. See the full explanation below for the reasoning.

Question

A user is creating an archive using the zip utility. The user executes the following sequence of commands. $ zip -rm archive.zip /data/dir1 $ zip -rm archive.zip /product/dir1 $ zip -rm archive.zip /data/dir2 What will be the result of running this sequence of commands?

Options

  • AAn archive.zip file will be created and the contents will be the three directories.
  • BAn archive.zip file will be created the contents will be /data/dir2
  • CAn archive.zip file will be created the contents will be /data/dir1
  • DThe three directories will be removed from the archive.zip

How the community answered

(27 responses)
  • A
    78% (21)
  • B
    7% (2)
  • C
    4% (1)
  • D
    11% (3)

Community Discussion

No community discussion yet for this question.

Full 1Z0-876 Practice