1Z0-820 practice question 23 of 25

You need to update an OS image on a client. The pkg publisher command displays the wrong publisher with the wrong update: PUBLISHERTYPESTATUSURI…

Full set: 133 questions
You need to update an OS image on a client. The pkg publisher command displays the wrong publisher with the wrong update: PUBLISHERTYPESTATUSURI solansohQinonlinehttp://DkQ.oracle.conVsolaris/release The update is available on this updated publisher: PUBLISHERTYPESTATUSURI solarisoriQJnonlinehttp://svsA.example.com Select the option that describes the procedure used to update the OS image on this system from the updated publisher.
Answer options
A: Copy the repository from the ISO image onto the local client. Configure the repository on the client by using the svccfg -s command so that the Solaris publisher is connected to the new repository Refresh the application/pkg/server service. Issue the pkgrepo refresh command to refresh the repository catalog
B: Configure the publisher on the client using the svccfg -s command so that the solans publisher is connected to the repository at http://svsA.example.com. Refresh the application/pkg/server service. Issue the pkgrepo refresh command to refresh the repository catalog
C: Use the pkg set-publisher command lo change the URL of the publisher solans to htto://svsA example.com. Issue the pkg update command to update the OS Image. Correct answer
D: Add the new publisher http://svsA.example.com Solaris. Use the pkg set-publisher command to set the publisher search order and place http://svsA example com ahead of http://pkg.oracle.com/solaris/release. Issue the pkg publisher command to view the publishers. Set the new publisher to sticky. Issue the pkg update command to update the OS image-
Correct Answer:
C. Use the pkg set-publisher command lo change the URL of the publisher solans to htto://svsA example.com. Issue the pkg update command to update the OS Image.
Explanation

To update the OS image from a new repository location, you must update the client's publisher configuration. The pkg set-publisher command is the standard and supported method to change the origin URI of an existing publisher. By changing the URL of the solaris publisher to the new repository (http://sysA.example.com) and then issuing pkg update, the client will successfully pull the updated OS image from the correct source.

Why Incorrect

A: svccfg is used to configure the application/pkg/server service on a repository server, not to configure the publisher on a client system. B: Similar to A, svccfg manages the repository server daemon, whereas client publisher settings are managed exclusively via the pkg command. D: Adding a new publisher and manipulating search orders is unnecessary and overly complex when you only need to update the URI of the existing solaris publisher.

References

- Oracle Solaris 11.1 Administration: Adding and Updating Software, "Configuring Publishers", Section: Changing a Publisher's Origin URI.

Scroll to Top