exam questions

Exam 1z0-820 All Questions

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

Exam 1z0-820 topic 1 question 37 discussion

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

ServerA contains two ISO images of a package repository named so1.repo.iso-a and so1.repo.iso-b respectively. You need to create a single local package repository on server that clients can connect to. The package repository will be stored on the /export/IPS file system and named repo. The preferred publisher will be named solaris and the publisher URL will be http://serverA.example.com.
Which is the correct procedure to perform on ServerA to create the local Package repository?

  • A. cat so1.repo.iso-a sol.repo.iso-b > so1.full.iso Mount the ISO image and use the rsync command to extract the contents of the ISO file to the /export/IPS file system. Set the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to true. Set the preferred publisher by using pkg set-publisher -G http://pkg.oracle.com/solaris/release/ \ -g http"//serverA.example.com/ solaris
  • B. cat so1.repo.iso-a so1.repo.iso-b > /export/IPS/repo Set the pkg/inst_root property to true and the pkg/readonly property to /export/IPS Set the preferred publisher by using pkg set-publisher -G http://serverA.example.com/ \ -g http://pkg/oracle.com/solaris/rekease/solaris
  • C. cat so1.repo.iso-a so1.repo.iso-b > so1.full.iso Mount the ISO image and use the rsync command to extract the contents of the ISO file to /export/IPS/repo Set the pkg/inst_root property to /export/IPS/repo and the pkg/readonly property to true Set the preferred publisher by using pkg set-publisher solaris \ -g http://pkg.oracle.com/
  • D. cat so1.repo,iso-a so1.repo.iso-b > /export/IPS/repo.iso Mount the ISO image and copy the repo directory from the ISO image to /export/IPS/repo set the pkg/inst_root property and the pkg/readonly property to /export/IPS/repo set the preferred pkg/inst_root property by using pkg set-publisher - G http://serverA.example.com/ \ - g http://pkg.oracle.com/solaris.com/release/- p solaris
Show Suggested Answer Hide Answer
Suggested Answer: D 🗳️
Concatenate the files into one file using the cat command.
Make the contents of the repository .iso file available using the mount command.
To increase the performance of repository accesses and to avoid the need to remount the .iso image each time the system restarts, copy the repository files from / mnt/repo/to a ZFS file system. You can do this copy with rsync or with tar.
Incorrect answers:
A, C: The repository should be named repo (not so1.full.iso).
B: Need to use mount to make the contents of the repository .iso file available.
Reference: Copying and Creating Oracle Solaris 11 Package Repositories, Copying a Repository From a File

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
f104pilot
3 years, 5 months ago
D has incorrect URL. How can it be right ???
upvoted 1 times
...
f104pilot
3 years, 5 months ago
The correct procedure is: - cat so1.repo.iso-a sol.repo.iso-b > so1.full.iso - Mount the ISO image - Use rsync command to extract the contents of the ISO file to the /export/IPS/repo - Set the pkg/inst_root property to /export/IPS/repo - Set pkg/readonly property to true -Set publisher pkg set-publisher -G http://pkg.oracle.com/solaris/release/ -g http://serverA.example.com/ solaris
upvoted 2 times
...
kur41
4 years, 11 months ago
This one is C).
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 ...