Official Bank 0/246

LPI Level 1 Exam 102s: 246 (102-350) - Linux Professional Institute Exam Questions

Last updated on June 20, 2026

97% Exam Compliance
246 Total Questions
1
Question
Which of the following commands updates the already installed RPM package rpmname?
Options
A rpm --update rpmname
B rpm --force rpmname
C rpm –U rpmname
D rpm –u rpmname
E rpm –q rpmname
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

2
Question
Which of the following commands changes all occurrences of the word “bob” in file data to “Bob” and prints the result to standard output?
Options
A sed‘/bob/Bob’ data
B sed‘/bob/Bob/’ data
C sed‘s/bob/Bob/g’ data
D sed‘s/bob,Bob/’ data
E sed‘s/bob/Bob/’ data
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

3
Question
CORRECT TEXT The /etc/_______ file lists currently mounted devices.
Reveal Only
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

4
Question
What does the ? symbol within regular expressions represent?
Options
A Match the preceding qualifier one or more times.
B Match a literal ?character.
C Match the preceding qualifier zero or more times.
D Match the preceding qualifier zero or one times.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

5
Question
What does the command mount -a do?
Options
A It ensures that all file systems listed with the option noauto in /etc/fstab are mounted.
B It ensuresthat all file systems listed with the option auto in /etc/fstab are mounted.
C It ensures that all file systems listed in /etc/fstab are mounted regardless of their options.
D It shows all mounted file systems that have been automatically mounted.
E It opens an editor with root privileges and loads /etc/fstab for editing.
Discussion (0 comments)

to join the discussion

Community Discussion

No discussions yet. Be the first to ask!

Finish Practice?

Are you sure you want to finish? This will end your practice session.