102-500 : LPI Level 1 : Part 06
-
Which of the following commands will delete the default gateway from the system’s IP routing table? (Choose two.)
-
ifconfig unset default
-
route del default
-
ip route del default
-
netstat -r default
-
sysctl ipv4.default_gw=0
-
-
FILL BLANK
What command enables a network interface according to distribution-specific configuration, such
as /etc/network/interfaces
or/etc/sysconfig/network-scripts/ifcfg-eth0?
(Specify only the command without any path or parameters.)-
up
-
-
What is true about NetworkManager on a Linux system that uses its distribution’s mechanisms to configure network interfaces? (Choose two.)
- NetworkManager reconfigures all network interfaces to use DHCP unless they are specifically managed by NetworkManager.
- NetworkManager must be explicitly enabled for each interface it should manage.
- NetworkManager by default does not change interfaces which are already configured.
- NetworkManager disables all interfaces which were not configured by NetworkManager.
- NetworkManager can be configured to use the distribution’s network interface configuration.
-
Which standardized TCP port is used by HTTPS services?
- 25
- 80
- 8080
- 443
- 636
-
Which of the following environment variables can be defined in
locale.conf?
(Choose two.)-
LC_ALL
-
LC_USERNAME
-
LC_UTF8
-
LC_GEOGRAPHY
-
LC_TIME
-
-
Which of the following commands sets the system’s time zone to the Canadian Eastern Time?
-
localegen -t -f /usr/share/zoneinfo/Canada/Eastern > /etc/locate.tz
-
tzconf /etc/localtime
-
sysctl -w clock.tz=’Canada/Eastern’
-
modprobe tz_ca_est
-
ln -sf /usr/share/zoneinfo/Canada/Eastern /etc/localtime
-
-
FILL BLANK
What option to
useradd
creates a new user’s home directory and provisions it with a set of standard files? (Specify only the option name without any values or parameters.)-
-D
-
-
How can a specific user be prevented from scheduling tasks with at?
- By adding the specific user to the
/etc/at.allow
file. - By adding the specific user to the
[deny]
section in the/etc/atd.conf
file. - By adding the specific user to the
nojobs
group. - By adding the specific user to the
/etc/at.deny
file. - By executing the
atd --deny [user]
command.
- By adding the specific user to the
-
Which file contains the data of the last change of a user’s password?
-
/etc/gshadow
-
/etc/passwd
-
/etc/pwdlog
-
/var/log/shadow
-
/etc/shadow
-
-
Which of the following fields can be found in the /etc/group file? (Choose two.)
- The home directory of the group.
- The list of users that belong to the group.
- The name of the group.
- The default group ACL.
- The description of the group.
-
Which of the following sections exists in a systemd timer unit?
-
[Events]
-
[Timer]
-
[cron]
-
[Schedule]
-
[Trigger]
-
-
Which of the following
getent
invocations lists all existing users?-
getent homes
-
getent uids
-
getent passwd
-
getent users
-
getent logins
-
-
Given the following user’s crontab entry:
15 14 * * 1-5 /usr/local/bin/example.sh
When will the script
/usr/local/bin/example.sh
be executed?- At 14:15 local time, January till May.
- At 15:14 local time, 1st to 5th day of month.
- At 14:15 local time, February till June.
- At 14:15 local time, 1st to 5th day of month.
- At 14:15 local time, Monday to Friday
-
If neither
cron.allow
norcron.deny
exist in/etc/,
which of the following is true?- Without additional configuration, all users may create user specific crontabs.
- Without additional configuration, only root may create user specific crontabs.
- The cron daemon will refuse to start and report
missing files
in the system’s logfile. - When a user creates a user specific crontab the system administrator must approve it explicitly.
- The default settings of
/etc/crond.conf
define whether or not user specific crontabs are generally allowed or not.
-
What is the purpose of the iconv command?
- It converts bitmap images from one format to another such as PNG to JPEG.
- It verifies that the root directory tree compiles to all conventions from the Filesystem Hierarchy Standard (FHS).
- It converts files from one character set to an other.
- It changes the mode of an inode in the ext4 filesystem.
- It displays additional meta information from icon files ending in .ico.
-
Which character in the password field of
/etc/passwd
is used to indicate that the encrypted password is stored in/etc/shadow?
-
*
-
-
-
s
-
#
-
x
-
-
What does the term Braille Display refer to?
- A standardized high contract graphical theme for desktop applications?
- A Linux desktop environment similar to KDE and GNOME.
- A legacy display technology superseded by LCD.
- A physical representation of characters using small dots.
- A standard file format for data exchange, similar to XML.
-
FILL BLANK
Which environment variable is used by an X11 client to determine the X Server to connect to? (Specify only the variable name without any preceding commands or values.)
-
DISPLAY
-
-
Which of the following tasks are handled by a display manager like XDM or KMD? (Choose two.)
- Configure additional devices like new monitors or projectors when they are attached.
- Start and prepare the desktop environment for the user.
- Create an X11 configuration file for the current graphic devices and monitors.
- Lock the screen when the user was inactive for a configurable amount of time.
- Handle the login of a user.
-
Which of the following protocols is designed to access the video card output of a virtual machine?
- KDE
- X11
- Xfce
- SPICE
- XDMCP
Subscribe
0 Comments
Newest