nerdexam
Linux_FoundationLinux_Foundation

LFCS · Question #422

LFCS Question #422: Real Exam Question with Answer & Explanation

The correct answer is C: twadmin createpolfile S mykey.key /etc/tripwire/twpol.txt. The twadmin createpolfile command is used to compile a plain text Tripwire policy file into a signed, encrypted policy file, with the -S option specifying the signing key.

Submitted by jakub_pl· Apr 18, 2026Service Configuration

Question

Which of the following commands will create a new, signed tw.pol file?

Options

  • Atwadmin createpolfile e S mykey.key /etc/tripwire/twpol.txt
  • Btwadmin createcfgfile S mykey.key /etc/tripwire/twpol.txt
  • Ctwadmin createpolfile S mykey.key /etc/tripwire/twpol.txt
  • Dtwadmin createcfgfile e S mykey.key /etc/tripwire/twpol.txt

Explanation

The twadmin createpolfile command is used to compile a plain text Tripwire policy file into a signed, encrypted policy file, with the -S option specifying the signing key.

Common mistakes.

  • A. The e option is not a standard or recognized flag for the twadmin createpolfile command in this context, making the syntax incorrect.
  • B. The twadmin createcfgfile command is used for creating the Tripwire configuration file (tw.cfg), not the policy file (tw.pol).
  • D. This option incorrectly uses createcfgfile for a policy file and includes the non-standard e option, making it incorrect for generating a policy file.

Concept tested. Tripwire policy file creation command

Topics

#Tripwire#File Integrity Monitoring#Security Policies#Command Syntax

Community Discussion

No community discussion yet for this question.

Full LFCS PracticeBrowse All LFCS Questions