Deal of The Day! Hurry Up, Grab the Special Discount - Save 25% - Ends In 00:00:00 Coupon code: SAVE25
Welcome to Pass4Success

- Free Preparation Discussions

Oracle Exam 1Z0-821 Topic 3 Question 58 Discussion

Actual exam question for Oracle's 1Z0-821 exam
Question #: 58
Topic #: 3
[All 1Z0-821 Questions]

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

PUBLISHERTYPESTATUSURI

Solaris origin onlinehttp://pkg.oracle.com/solaris/release

The update is available on the updated publisher:

PUBLISHERTYPESTATUSURI

Solaris originonlinehttp://sysA .example.com

Select the option that describes the procedure used to update the OS image on the system from the updated publisher.

Show Suggested Answer Hide Answer
Suggested Answer: D

Searching for Packages

Use the pkg search command to search for packages whose data matches the specified pattern.

Like thepkg contentscommand, thepkg searchcommand examines the contents of packages. While thepkg contentscommand returns the contents, thepkg searchcommand returns the names of packages that match the query.

pkg search

search [-HIaflpr] [-o attribute ...] [-s repo_uri] query

Search for matches to the query, and display the results.

Which tokens are indexed are action-dependent, but may include content hashes and pathnames.

Note: pkg is the retrieval client for the image packaging system. With a valid configuration, pkg can be invoked to create locations for packages to be installed, called 'images', and install packages into those images. Packages are published by publishers, who may make their packages available at one or more repositories. pkg, then, retrieves packages from a publisher's repository and installs them into an image.


Contribute your Thoughts:

Marquetta
2 days ago
B is the way to go, no need for all that extra stuff in D. Just configure the publisher and refresh the service, easy peasy!
upvoted 0 times
...
Jamika
9 days ago
D looks more comprehensive, adding the new publisher and setting the search order. Gotta cover all the bases, you know?
upvoted 0 times
...
Shawn
23 days ago
I'm not sure, but I think option D could also work based on the steps provided.
upvoted 0 times
...
Audry
24 days ago
I agree with Deeann, option C seems to be the right procedure.
upvoted 0 times
...
Luisa
24 days ago
Option C seems straightforward, just update the publisher URL and run the update command. Simple and effective!
upvoted 0 times
Tora
3 days ago
Yes, that's correct. Using the pkg set-publisher command to change the URL is the way to go.
upvoted 0 times
...
Lisbeth
5 days ago
Option C seems straightforward, just update the publisher URL and run the update command. Simple and effective!
upvoted 0 times
...
...
Deeann
28 days ago
I think the correct option is C.
upvoted 0 times
...

Save Cancel
az-700  pass4success  az-104  200-301  200-201  cissp  350-401  350-201  350-501  350-601  350-801  350-901  az-720  az-305  pl-300  

Warning: Cannot modify header information - headers already sent by (output started at /pass.php:70) in /pass.php on line 77