Which command installs virtualization related groups using yum groupinstall with multiple group names?

Prepare for the Red Hat Certified Systems Admin Exam EX200. Enhance your skills with interactive quizzes, flashcards, and detailed explanations. Ace your certification exam today!

Multiple Choice

Which command installs virtualization related groups using yum groupinstall with multiple group names?

Explanation:
When using yum groupinstall to pull in several group names at once, you pass each group as its own argument and, if a name has spaces, you quote it so the shell keeps it intact. The virtualization-related groups are Virtualization Client, Virtualization Tools, and Virtualization Platform. Quoting each one, and listing all three, is the correct form: yum groupinstall 'Virtualization Client' 'Virtualization Tools' 'Virtualization Platform'. This ensures yum recognizes the exact group names and installs all of them in a single command. Without quotes, the shell would break a multi-word name into separate tokens, which can lead to errors or missing groups. Using yum install would install individual packages, not the predefined group collections, and one option even omits a required group, so it wouldn’t achieve the same result.

When using yum groupinstall to pull in several group names at once, you pass each group as its own argument and, if a name has spaces, you quote it so the shell keeps it intact. The virtualization-related groups are Virtualization Client, Virtualization Tools, and Virtualization Platform. Quoting each one, and listing all three, is the correct form: yum groupinstall 'Virtualization Client' 'Virtualization Tools' 'Virtualization Platform'. This ensures yum recognizes the exact group names and installs all of them in a single command. Without quotes, the shell would break a multi-word name into separate tokens, which can lead to errors or missing groups. Using yum install would install individual packages, not the predefined group collections, and one option even omits a required group, so it wouldn’t achieve the same result.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy