Independence Day Deal! Unlock 25% OFF Today – Limited-Time Offer - 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:

Laurel
1 months ago
Ah, the joys of package management. It's like a Never-Ending Story, but with more command-line fun!
upvoted 0 times
...
Christene
2 months ago
A sounds like a lot of work, copying the repo and all that. I'd rather just use the set-publisher command and get it done quickly.
upvoted 0 times
Wilda
4 days ago
C: I think I'll go with the set-publisher command as well. It just seems easier.
upvoted 0 times
...
Vivan
5 days ago
B: Yeah, I prefer the set-publisher command too. It's more straightforward.
upvoted 0 times
...
Leila
9 days ago
A: I agree, using the set-publisher command seems like the quickest option.
upvoted 0 times
...
...
Marquetta
2 months 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
Ronny
24 days ago
Definitely, no need for all the extra steps in D. B is the way to go!
upvoted 0 times
...
Malcom
1 months ago
I agree, B seems like the simplest option. Just configure the publisher and refresh the service.
upvoted 0 times
...
Kami
1 months ago
B) Configure the publisher on the client using the svcfg - s command so that the Solaris publisher is connected to the repository at http://sysA.example.comRefresh the application/pkg/server service. Issue the pkgrepo refresh command to repository catalog
upvoted 0 times
...
...
Jamika
2 months ago
D looks more comprehensive, adding the new publisher and setting the search order. Gotta cover all the bases, you know?
upvoted 0 times
Maricela
2 hours ago
User 1: I think option A is the way to go. Copy the repository from the ISO image onto the local client and configure the repository.
upvoted 0 times
...
Hubert
3 days ago
I think I'll go with option D then. Thanks for the input!
upvoted 0 times
...
Julianna
1 months ago
True, option D does cover all the bases. It's important to make sure everything is set up correctly.
upvoted 0 times
...
Magda
1 months ago
I agree with you, but option D seems more thorough. It adds the new publisher and sets the search order.
upvoted 0 times
...
Denny
1 months ago
I think option A is the way to go. Copy the repository from the ISO image onto the local client and configure the repository.
upvoted 0 times
...
...
Shawn
2 months ago
I'm not sure, but I think option D could also work based on the steps provided.
upvoted 0 times
...
Audry
2 months ago
I agree with Deeann, option C seems to be the right procedure.
upvoted 0 times
...
Luisa
2 months ago
Option C seems straightforward, just update the publisher URL and run the update command. Simple and effective!
upvoted 0 times
Hershel
1 months ago
Definitely, no need for unnecessary steps when option C does the job perfectly.
upvoted 0 times
...
Felicitas
1 months ago
I agree, it's a quick and efficient way to update the OS image from the new publisher.
upvoted 0 times
...
Tora
2 months ago
Yes, that's correct. Using the pkg set-publisher command to change the URL is the way to go.
upvoted 0 times
...
Lisbeth
2 months ago
Option C seems straightforward, just update the publisher URL and run the update command. Simple and effective!
upvoted 0 times
...
...
Deeann
3 months 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