010-160 : Linux Essentials Certificate Exam : Part 03
-
Which of the following DNS record types hold an IP address? (Choose two.)
- NS
- AAAA
- MX
- A
- CNAME
-
Which of the following values could be a process ID on Linux?
-
/bin/bash
-
60b503cd-019e-4300-a7be-922f074ef5ce
-
/sys/pid/9a14
-
fff3
-
21398
-
-
Which of the following is a protocol used for automatic IP address configuration?
- NFS
- LDAP
- SMTP
- DNS
- DHCP
-
Which of the following devices represents a hard disk partition?
-
/dev/ttyS0
-
/dev/sata0
-
/dev/part0
-
/dev/sda2
-
/dev/sda/p2
-
-
Which of the following statements regarding Linux hardware drivers is correct?
- Drivers are regular Linux programs which have to be run by the user who wants to use a device.
- Drivers are not used by Linux because the BIOS handles all access to hardware on behalf of Linux.
- Drivers are stored on their devices and are copied by the Linux kernel when a new device is attached
- Drivers are downloaded from the vendor’s driver repository when a new device is attached.
- Drivers are either compiled into the Linux kernel or are loaded as kernel modules.
-
What can be found in the
/proc/
directory?- One directory per installed program.
- One device file per hardware device.
- One file per existing user account.
- One directory per running process.
- One log file per running service.
-
A new server needs to be installed to host services for a period of several years. Throughout this time, the server should receive important security updates from its Linux distribution.
Which of the following Linux distributions meet these requirements? (Choose two.)
- Ubuntu Linux LTS
- Fedora Linux
- Debian GNU/Linux Unstable
- Ubuntu Linux non-LTS
- Red Hat Enterprise Linux
-
Which of the following directories must be mounted with read and write access if it resides on its own dedicated file system?
-
/opt
-
/lib
-
/etc
-
/var
-
/usr
-
-
The ownership of the file doku.odt should be changed. The new owner is named tux. Which command accomplishes this change?
-
chmod u=tux doku.odt
-
newuser doku.odt tux
-
chown tux doku.odt
-
transfer tux: doku.odt
-
passwd doku.odt:tux
-
-
What happens to a file residing outside the home directory when the file owner’s account is deleted? (Choose two.)
- During a file system check, the file is moved to
/lost +found.
- The file is removed from the file system.
- The UID of the former owner is shown when listing the file’s details.
- The user root is set as the new owner of the file.
- Ownership and permissions of the file remain unchanged.
- During a file system check, the file is moved to
-
Which statements about the directory
/etc/skel
are correct? (Choose two.)- The personal user settings of root are stored in this directory.
- The files from the directory are copied to the home directory of the new user when starting the system.
- The files from the directory are copied to the home directory of a new user when the account is created.
- The directory contains a default set of configuration files used by the useradd command.
- The directory contains the global settings for the Linux system.
-
What is true about links in a Linux file system?
- A symbolic link can only point to a file and not to a directory.
- A hard link can only point to a directory and never to a file.
- When the target of the symbolic link is moved, the link is automatically updated.
- A symbolic link can point to a file on another file system.
- Only the root user can create hard links.
-
Which files are the source of the information in the following output? (Choose two.)
uid=1000 (bob) gid=1000 (bob) groups=1000 (bob), 10 (wheel), 150 (wireshark), 989 (docker), 1001 (libvirt)
-
/etc/id
-
/etc/passwd
-
/etc/group
-
/home/index
-
/var/db/users
-
-
Which of the following tasks can the command passwd accomplish? (Choose two.)
- Change a user’s username.
- Change a user’s password.
- Create a new user account.
- Create a new user group.
- Lock a user account.
-
What is true about the
su
command?- It is the default shell of the root account.
- It can only be used by the user root.
- It runs a shell or command as another user.
- It changes the name of the main administrator account.
- It locks the root account in specific time frames.
-
FILL BLANK
What parameter of ls prints a recursive listing of a directory’s content? (Specify ONLY the option name without any values or parameters.)
-
ls -R
-
-
Most commands on Linux can display information on their usage. How can this information typically be displayed?
- By running the command with the option
/? or /??.
- By running the command with the option
?! or ?=!.
- By running the command with the option
/doc or /documentation.
- By running the command with the option
-h or --help.
- By running the command with the option
-m or --manpage.
- By running the command with the option
-
Which of the following commands shows the absolute path to the current working directory?
-
who
-
cd ..
-
pwd
-
ls -l
-
cd ~/home
-
-
Which of the following commands output the content of the file Texts 2.txt? (Choose two.)
-
cat 'Texts 2.txt’
-
cat -- Texts 2.txt
-
cat |Texts 2.txt|
-
cat 'Texts\ 2.txt’
-
cat Texts\ 2.txt
-
-
Which command displays file names only and no additional information?
-
ls -a
-
ls -lh
-
ls -l
-
ls -alh
-
ls -nl
-
Subscribe
0 Comments
Newest