Question 1
IntermediateUnderstand and Employ General Methods for Troubleshooting · Collect system information to aid in troubleshooting
A critical production server running Red Hat Enterprise Linux 8 has experienced a sudden performance degradation. You need to collect comprehensive system configuration and diagnostic information to open a support case with Red Hat. You want to ensure that the collection includes all enabled plugins but excludes specific sensitive data located in /var/tmp/. Which command should you execute?
Answer and explanation
Correct answer: A
The sos report command (formerly sosreport) generates a diagnostic tarball. The --all-options flag enables all options for all loaded plugins, ensuring comprehensive data collection. The --forbidden-path option explicitly excludes specific directories or files from the collection to protect sensitive data or reduce size.
