Page 1 of 34
Liquid Penetrant Testing Level 2 (PT-2) General exam
Questions Newest Updated Exam 2026 Solved
Questions & Answers Verified 100% Graded A+ (Latest
Version)
What are the differences between hard disk drives and solid state disks?
(Choose two.)
a. Solid state disks can store many times as much data as hard disk drives.
b. Solid state disks provide faster access to stored data than hard disks.
c. Hard disks have a motor and moving parts, solid state disks do not.
d. ./dev/sda is a hard disk device while /dev/ssda is a solid state disk.
e. Hard disks can fail due to physical damage, while solid state disks cannot
fail.
b. Solid state disks provide faster access to stored data than hard disks.
c. Hard disks have a motor and moving parts, solid state disks do not.
What is the return value of a shell script after successful execution?
a. -1
b. 1
c. -255
d. 0
e. 255
d. 0
The current directory contains the following file:
-rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh
Given that the file is a valid shell script, how can this script be executed?
(Choose two.)
a. ./test.sh
b. bash test.sh
c. run test.sh
d. cmd ./test.sh
e. ${test.sh}
a. ./test.sh
b. bash test.sh
Which of the following types of bus can connect hard disk drives with the
motherboard?
a. The CPU bus
, Page 2 of 34
b. The SATA bus
c. The NUMA bus
d. The Auto bus
e. The RAM bus
b. The SATA bus
What is the preferred source for the installation of new applications in a Linux
based operating system?
a. A CD-ROM disk
b. A retail store
c. The vendor's version management system
d. The vendor's website
e. The distribution's package repository
e. The distribution's package repository
Which of the following commands shows the absolute path to the current
working directory?
a. pwd
b. cd ~/home
c. ls -l
d. cd ..
e. who
a. pwd
Which of the following examples shows the general structure of a for loop in a
shell script?
a. for ls *.txt exec {} \;
b. for file in *.txt
do
echo $i
done
c. for *.txt as file => echo $file
d. for *.txt ( echo $i )
e. foreach @{file} {
echo $i
}
b. for file in *.txt
do
echo $i
done
What happens to a file residing outside the home directory when the file
owner's account is deleted?
(Choose two.)
a. The file is removed from the file system The UID of the former owner is
shown when listing the file's details.
b. During a file system check, the file is moved to /lost +found.
c. Ownership and permissions of the file remain unchanged.
d. The user root is set as the new owner of the file.
a. The file is removed from the file system The UID of the former owner is shown
when listing the file's details.
c. Ownership and permissions of the file remain unchanged.
A user is currently in the directory /home/user/Downloads/ and runs the
command
, Page 3 of 34
ls ../Documents/
Assuming it exists, which directory's content is displayed?
a. /Documents/
b. /home/user/Documents/Downloads/
c. /home/user/Documents/
d. /home/user/Downloads/Documents/
e. /home/Documents
c. /home/user/Documents/
What is true about the owner of a file?
a. Each file is owned by exactly one user and one group.
b. When a user is deleted, all files owned by the user disappear.
c. The owner of a file always has full permissions when accessing the file.
d. The owner of a file cannot be changed once it is assigned to an owner.
e. The user owning a file must be a member of the file's group.
a. Each file is owned by exactly one user and one group.
Which of the following outputs comes from the command free?
e. total used free shared buff/cache available
Which of the following commands puts the lines of the file data.csv into
alphabetical order?
a. sort data.csv
b. grep --sort data.csv
c. wc -s data.csv
d. abc data.csv
e. a..z data.csv
a. sort data.csv
Which of the following commands extracts the contents of the compressed
archive file1.tar.gz?
a. tar --extract file1.tar.gz
b. ztar file1.tar.gz
c. detar file1.tar.gz
d. tar -czf file1.tar.gz
e. tar -xzf file1.tar.gz
e. tar -xzf file1.tar.gz
The file script.sh in the current directory contains the following content:
#!/bin/bashecho $MYVAR
The following commands are used to execute this script:
MYVAR=value./script.sh
The result is an empty line instead of the content of the variable MYVAR.
How should MYVAR be set in order to make script.sh display the content of
MYVAR?
a. !MYVAR=value
b. env MYVAR=value
c. export MYVAR=value
d. $MYVAR=value
e. MYVAR=value
c. export MYVAR=value
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--
, Page 4 of 34
b. -wxr-x--x
c. -rw-r-xr--
d. -rwxrw---x
e. d-wxr-x--
c. -rw-r-xr--
What is the UID of the user root?
a. 255
b. 0
c. 1
d. -1
e. 65536
b. 0
Which of the following commands sorts the output of the command export-
logs?
a. export-logs & sort
b. export-logs < sort
c. export-logs | sort
d. export-logs <> sort
e. export-logs > sort
c. export-logs | sort
Which of the following directories contains information, documentation and
example configuration files for installed software packages?
a. /usr/share/doc/
b. /etc/defaults/
c. /doc/
d. /usr/examples/
e. /var/info/
a. /usr/share/doc/
What is defined by a Free Software license?
a. Limits on the purposes for which the licensed software may be used.
b. Conditions for modifying and distributing the licensed software.
c. The programming languages which may be used to extend the licensed
program.
d. A complete list of libraries required to compile the licensed software.
e. Details of the technical documentation each contributor has to provide.
b. Conditions for modifying and distributing the licensed software.
Which of the following characters in a shell prompt indicates the shell is
running with root privileges?
a. $
b. &
c. #
d. *
e. !
c. #
Which of the following outputs could stem from the command last?
a. 1 ls
2 cat text.txt
3 logout
b. root tty2 Wed May 17 21:11 - 21:11 (00:00)
c. Last login: Fri Mar 23 10:56:39 2018 from server.example.com
Liquid Penetrant Testing Level 2 (PT-2) General exam
Questions Newest Updated Exam 2026 Solved
Questions & Answers Verified 100% Graded A+ (Latest
Version)
What are the differences between hard disk drives and solid state disks?
(Choose two.)
a. Solid state disks can store many times as much data as hard disk drives.
b. Solid state disks provide faster access to stored data than hard disks.
c. Hard disks have a motor and moving parts, solid state disks do not.
d. ./dev/sda is a hard disk device while /dev/ssda is a solid state disk.
e. Hard disks can fail due to physical damage, while solid state disks cannot
fail.
b. Solid state disks provide faster access to stored data than hard disks.
c. Hard disks have a motor and moving parts, solid state disks do not.
What is the return value of a shell script after successful execution?
a. -1
b. 1
c. -255
d. 0
e. 255
d. 0
The current directory contains the following file:
-rwxr-xr-x 1 root root 859688 Feb 7 08:15 test.sh
Given that the file is a valid shell script, how can this script be executed?
(Choose two.)
a. ./test.sh
b. bash test.sh
c. run test.sh
d. cmd ./test.sh
e. ${test.sh}
a. ./test.sh
b. bash test.sh
Which of the following types of bus can connect hard disk drives with the
motherboard?
a. The CPU bus
, Page 2 of 34
b. The SATA bus
c. The NUMA bus
d. The Auto bus
e. The RAM bus
b. The SATA bus
What is the preferred source for the installation of new applications in a Linux
based operating system?
a. A CD-ROM disk
b. A retail store
c. The vendor's version management system
d. The vendor's website
e. The distribution's package repository
e. The distribution's package repository
Which of the following commands shows the absolute path to the current
working directory?
a. pwd
b. cd ~/home
c. ls -l
d. cd ..
e. who
a. pwd
Which of the following examples shows the general structure of a for loop in a
shell script?
a. for ls *.txt exec {} \;
b. for file in *.txt
do
echo $i
done
c. for *.txt as file => echo $file
d. for *.txt ( echo $i )
e. foreach @{file} {
echo $i
}
b. for file in *.txt
do
echo $i
done
What happens to a file residing outside the home directory when the file
owner's account is deleted?
(Choose two.)
a. The file is removed from the file system The UID of the former owner is
shown when listing the file's details.
b. During a file system check, the file is moved to /lost +found.
c. Ownership and permissions of the file remain unchanged.
d. The user root is set as the new owner of the file.
a. The file is removed from the file system The UID of the former owner is shown
when listing the file's details.
c. Ownership and permissions of the file remain unchanged.
A user is currently in the directory /home/user/Downloads/ and runs the
command
, Page 3 of 34
ls ../Documents/
Assuming it exists, which directory's content is displayed?
a. /Documents/
b. /home/user/Documents/Downloads/
c. /home/user/Documents/
d. /home/user/Downloads/Documents/
e. /home/Documents
c. /home/user/Documents/
What is true about the owner of a file?
a. Each file is owned by exactly one user and one group.
b. When a user is deleted, all files owned by the user disappear.
c. The owner of a file always has full permissions when accessing the file.
d. The owner of a file cannot be changed once it is assigned to an owner.
e. The user owning a file must be a member of the file's group.
a. Each file is owned by exactly one user and one group.
Which of the following outputs comes from the command free?
e. total used free shared buff/cache available
Which of the following commands puts the lines of the file data.csv into
alphabetical order?
a. sort data.csv
b. grep --sort data.csv
c. wc -s data.csv
d. abc data.csv
e. a..z data.csv
a. sort data.csv
Which of the following commands extracts the contents of the compressed
archive file1.tar.gz?
a. tar --extract file1.tar.gz
b. ztar file1.tar.gz
c. detar file1.tar.gz
d. tar -czf file1.tar.gz
e. tar -xzf file1.tar.gz
e. tar -xzf file1.tar.gz
The file script.sh in the current directory contains the following content:
#!/bin/bashecho $MYVAR
The following commands are used to execute this script:
MYVAR=value./script.sh
The result is an empty line instead of the content of the variable MYVAR.
How should MYVAR be set in order to make script.sh display the content of
MYVAR?
a. !MYVAR=value
b. env MYVAR=value
c. export MYVAR=value
d. $MYVAR=value
e. MYVAR=value
c. export MYVAR=value
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--
, Page 4 of 34
b. -wxr-x--x
c. -rw-r-xr--
d. -rwxrw---x
e. d-wxr-x--
c. -rw-r-xr--
What is the UID of the user root?
a. 255
b. 0
c. 1
d. -1
e. 65536
b. 0
Which of the following commands sorts the output of the command export-
logs?
a. export-logs & sort
b. export-logs < sort
c. export-logs | sort
d. export-logs <> sort
e. export-logs > sort
c. export-logs | sort
Which of the following directories contains information, documentation and
example configuration files for installed software packages?
a. /usr/share/doc/
b. /etc/defaults/
c. /doc/
d. /usr/examples/
e. /var/info/
a. /usr/share/doc/
What is defined by a Free Software license?
a. Limits on the purposes for which the licensed software may be used.
b. Conditions for modifying and distributing the licensed software.
c. The programming languages which may be used to extend the licensed
program.
d. A complete list of libraries required to compile the licensed software.
e. Details of the technical documentation each contributor has to provide.
b. Conditions for modifying and distributing the licensed software.
Which of the following characters in a shell prompt indicates the shell is
running with root privileges?
a. $
b. &
c. #
d. *
e. !
c. #
Which of the following outputs could stem from the command last?
a. 1 ls
2 cat text.txt
3 logout
b. root tty2 Wed May 17 21:11 - 21:11 (00:00)
c. Last login: Fri Mar 23 10:56:39 2018 from server.example.com