Objective Assessment
(Full Version Exam)
Linux Foundations
Pass on the first attempt.
This comprehensive resource includes:
✓ full version of the Objective Assessment Exam
✓ Each with Actual Exam Questions with Verified Answers
✓ designed to help you ace the exam.
✓ Anyone who needs clear, concise guidance to pass
,Which of the following commands can be used to resolve a DNS name to an IP
address?
A. dnsname
B. dns
C. query
D. host
E. iplookup
Correct Answer: D
Rationale: host performs DNS lookups and can resolve names to IP addresses.
Which of the following outputs comes from the command free?
A. Filesystem Size Used Avail Use% Mounted on
B. total used free shared buff/cache available
C. NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
D. Mem: 1234 567 89
E. PID USER %CPU %MEM COMMAND
Correct Answer: B
Rationale: free reports memory usage and commonly includes the total used free
shared buff/cache available header.
What is true about the dmesg command? (Choose two.)
A. It traces the execution of a command and shows each step the program carries
out.
B. It sends messages to the command lines of all current user sessions.
C. It displays the content of the Linux kernel's ring buffer.
D. It immediately outputs all new messages written to the system journal.
E. It might not display older information because it was overwritten by newer
information.
Correct Answer: C, E
, Rationale: dmesg reads the kernel ring buffer. The buffer is finite, so older
messages can be overwritten.
Which of the following outputs could stem from the command last?
A. 1 ls 2 cat text.txt 3 logout
B. Password for user last changed at Sat Mar 31 16:38:57 EST 2018
C. Last login: Fri Mar 23 10:56:39 2018 from server.example.com
D. EXT4-fs (dm-7): mounted filesystem with ordered data mode. Opts: (null)
E. root tty2 Wed May 17 21:11 - 21:11 (00:00)
Correct Answer: E
Rationale: last shows login sessions, including user, terminal, time, and duration.
What is the UID of the user root?
A. 1
B. -1
C. 255
D. 65536
E. 0
Correct Answer: E
Rationale: On Linux, the root account traditionally has UID 0.
Which permissions are set on a regular file once the permissions have been
modified with the command chmod 654 file.txt?
A. drw-r-xr--
B. d""wxr-x--
C. ""wxr-x--x
D. ""rwxrw---x
E. -rw-r-xr--
Correct Answer: E
Rationale: 6=rw- (owner), 5=r-x (group), 4=r-- (others) → -rw-r-xr--.