SCA_SLES15 practice question 1 of 15

Which option for zypper will list the available patches?

Full set: 69 questions
Answer options
A: zypper showpatch
B: zypper patch
C: zypper Ip Correct answer
D: zypper list-patch
E: zypper lu
Correct Answer:
C. zypper Ip
Explanation

The zypper command is the command-line interface for the ZYpp package manager in SUSE Linux. To list all available patches relevant to the system, the command zypper list-patches is used. zypper lp is the officially documented short alias for zypper list-patches. This command queries configured repositories and shows patches that are applicable, categorizing them by severity and status.

Why Incorrect

A. zypper showpatch is not a valid zypper command. To get information about a patch, you use zypper info -t patch .
B. zypper patch is the command used to install all needed patches, not just list them.
D. zypper list-patch is not a valid command; the correct command is list-patches (plural).
E. zypper lu is the short form for zypper list-updates, which lists individual package updates, not security or bugfix patches.

References

- SUSE Linux Enterprise Server 15 SP4 Administration Guide, Chapter 6, Section 6.3.3.1, "Listing Patches". It explicitly states: "To list all needed patches for your system, use the command sudo zypper list-patches or its short form sudo zypper lp."

- zypper(8) man page. Under the "COMMANDS" section, list-patches (lp) is defined as "List all available patches."

Scroll to Top