Oracle has released a new version of the Solaris operating system and it is located in a repository
on SRVA and is stored in the rpool/export/sllRepo file system. The repository is accessible to
SRVB through the /remoteRepo NFS mount point.
You need to add a local repository on SRVB in the /export/sllReleaseRepo file system. The
repository will be an exact copy of the repository that is stored on SRVA. Currently, the only
publisher on SVRB is:
Which command must you use to copy the contents of the repository from SRVA to the local file
system on SRVB?
A.
pkgrepo create /export/sllReleaseRepopkgrecv –s /remoteRepo –d /export/sllReleaseRepo
B.
pkgrecv –s file:///remoteRepo –d file:///export/sllReleaseRepo ‘*’
C.
pkgrecv –s /remoteRepo –d /export/sllReleaseRepo ‘*’
D.
pkgrecv –s /remoteRepo –d file:///export/sllReleaseRepo ‘*’
E.
rsync –aP /remoteRepo /export/sllReleaseRepo
Explanation:
* pkgrepo provides the ability to create and manage pkg package repositories.
Package repositories are a predefined set of directories and files that permit the storage and
retrieval of package data by pkg and publication clients such as pkgsend or pkgrecv.* Use the pkgrecv command to copy the repository.
Example:
# pkgrecv -s http://pkg.oracle.com/solaris/release/ -d /export/repoSolaris11 ‘*’
Processing packages for publisher solaris …
Creating Plan
Retrieving and evaluating 4288 package(s)…
PROCESS ITEMS GET (MB) SEND (MB)
developer/build/cmake 446/4288 332.1/4589.7 1000.2/14511.8
Completed 4288/4288 4589.7/4589.7 14511.8/14511.8
the question is Which command must you use to copy ?? so to copy you have to use command C there is no s option with create !!
Quetsion was about COPY, so I think E is correct if you just copy the full content… Tricky question… If you want to use pkgrecv you need pkgrepo create before on SVRB. A is almost correct but ‘*’ is missing from the pkgrecv commands end…
E
http://docs.oracle.com/cd/E23824_01/html/E21803/copyrepo1.html
A s correct, see
https://docs.oracle.com/cd/E23824_01/html/E21796/pkgrepo-1.html
Oracle documentation says Vash is right: E.
Not A:
Subcommands:
pkgrepo create [–version ver] uri_or_path
Completed Oracle Solaris 11 1Z0-822 exam recently! Scored 8X% (the passing score is 70% now)!
I had 80 questions in total, questions were mainly on SMF, IPS, ZFS, Configuring the Network, Securing the Oracle Solairs 11 O/S, Installing Oracle Solaris 11 on multiple hosts and so on.
The 1Z0-822 exam has been revised since 2016, I do recommend you to learn the latest 1Z0-822 dumps here:
http://www.oraclebraindump.com/?s=1Z0-822
(Those are part of PassLeader 1Z0-822 dumps, suggest to get its full version 1Z0-822 dumps with VCE and PDF.)
Good Luck!