Pre-Winter Sale Limited Time 65% Discount Offer - Ends in 0d 00h 00m 00s - Coupon code: 65pass65

Free Linux Foundation Certified System Administrator Practice Questions

Exams4sure Dumps

Exam style questions across every LFCS domain

Last Update 4 days ago
Total Questions : 260

Start with our free LFCS practice questions, carefully crafted to mirror the domains, phrasing, and difficulty of the real Linux Foundation Certified SYSADMIN exam. Each LFCS exam question comes with a detailed rationale that explains not just which answer is correct but why the others fall short. That's how concepts stick. Use the free set to benchmark yourself: identify your Linux Foundation weak domains, see where you're losing marks, and build a focused study plan in minutes.

LFCS PDF

LFCS PDF (Printable)
$54.25
$154.99

LFCS Testing Engine

LFCS PDF (Printable)
$59.5
$169.99

LFCS PDF + Testing Engine

LFCS PDF (Printable)
$74.55
$212.99
Question # 1

Which of the following commands puts the output of the command date into the shell variable mydate?

Options:

A.  

mydate="$(date)"

B.  

mydate="exec date"

C.  

mydate="$((date))"

D.  

mydate="date"

E.  

mydate="${date}"

Discussion 0
Question # 2

Which of the following are init systems used within Linux systems? (Choose THREE correct answers.)

Options:

A.  

startd

B.  

systemd

C.  

Upstart

D.  

SysInit

E.  

SysV init

Discussion 0
Question # 3

Which of the following commands creates an ext3 filesystem on /dev/sdb1? (Choose TWO correct answers.)

Options:

A.  

/sbin/mke2fs -j /dev/sdb1

B.  

/sbin/mkfs -t ext3 /dev/sdb1

C.  

/sbin/mkfs -c ext3 /dev/sdb1

D.  

/sbin/mke3fs -j/dev/sdb1

Discussion 0
Question # 4

Whichof the following commands brings a system running SysV init into a state in which it is safe to perform maintenance tasks? (Choose TWO correct answers.)

Options:

A.  

shutdown -R 1 now

B.  

shutdown -single now

C.  

init 1

D.  

telinit 1

E.  

runlevel 1

Discussion 0
Question # 5

Which of the following statements is valid in the file /etc/nsswitch.conf?

Options:

A.  

multi on

B.  

192.168.168.4 dns-server

C.  

hosts: files dns

D.  

include /etc/nsswitch.d/

Discussion 0
Question # 6

Which of the following commands changes the ownership of file.txt to the user dan and the group staff?

Options:

A.  

chown dan/staff file.txt

B.  

chown dan:staff file.txt

C.  

chown -u dan -g staff file.txt

D.  

chown dan -g staff file.txt

Discussion 0
Question # 7

Which of the following commands replaces each occurrence of 'bob' in the file letter with 'Bob' and writes the result to the file newletter?

Options:

A.  

sed '/bob/Bob' letter >newletter

B.  

sed s/bob/Bob/ letter < newletter

C.  

sed 's/bob/Bob' letter > newletter

D.  

sed 's/bob/Bob/g' letter > newletter

E.  

sed 's/bob, Bob/' letter > newletter

Discussion 0
Question # 8

Which of the following commands will print the last 10 lines of a text file to the standard output?

Options:

A.  

cat -n 10 filename

B.  

dump -n 10 filename

C.  

head -n 10 filename

D.  

tail -n 10 filename

Discussion 0
Question # 9

Which of the following command sequences overwrites the file foobar.txt?

Options:

A.  

echo "QUIDQUIDAGIS" >> foobar.txt

B.  

echo "QUIDQUIDAGIS" < foobar.txt

C.  

echo "QUIDQUIDAGIS" > foobar.txt

D.  

echo "QUIDQUIDAGIS" | foobar.txt

Discussion 0
Question # 10

Which of the following sequences in the vi editor saves the opened document and exits the editor?(Choose TWO correct answers.)

Options:

A.  

esc ZZ

B.  

ctrl :w!

C.  

esc zz

D.  

esc :wq!

E.  

ctrl XX

Discussion 0

Free Exams Sample Questions