wayground logo

Free Printable Worksheets

Font size

S
M
L
XL
Worksheets

LPIC 102-500 questões a serem preenchidas

Total questions: 51

Worksheet time: 51mins

Name
Class
Date
1.

Which keyword must be listed in the hosts option of the Name Service Switch configuration file in order to make host lookups consult the /etc/hosts file?

(a)  

2.

In an xinetd configuration file, which attribute specifies the network address that will be used to provide the service?

(a)  

3.

What argument to the -type option of find will match files that are symbolic links? (Specify only the argument and no other options or words.)

(a)  

4.

With X11 forwarding in ssh, what environment variable is automatically set in the remote host shell that is not set when X11 forwarding is not enabled?
(Specify only the nvironment variable without any additional commands or values.)

(a)  

5.

The presence of what file will temporarily prevent all users except root from logging into the system?

(Specify the full name of the file, including path.)

(a)  

6.

Which directory holds the files that configure the xinetd service when using several configuration files instead of an integrated configuration file?

(Specify the full path to the directory.)

(a)  

7.

Which file lists which users can execute commands using sudo?

(Specify the full name of the file, including path.)

(a)  

8.

Which file contains a set of services and hosts that will be allowed to connect to the server by going through a TCP Wrapper program such as tcpd? (Specify the full name of the file, including path.)https://lh3.googleusercontent.com/-5cd-clmKnbk/AAAAAAAAAAI/AAAAAAAAADM/-SXesH19Ido/s46-c-k-no/photo.jpg

(a)  

9.

On a Linux system with shadow passwords enabled, which file in the file system contains the password hashes of all local users?

(Specify the full name of the file, including path.)

(a)  

10.

Which command included in NetworkManager is a curses application which provides easy acces to the NetworkManager on the command line?

(Specify only the command without any path or parameters.)

(a)  

11.

Which file, if present, must contain all users that are allowed to use the cron scheduling system?



(Specify the full name of the file, including path.)

(a)  

12.

Which command included in systemd supports selecting messages from the systemd journal by criteria such as time or unit name?

(Specify only the command without any path or parameters.)

(a)  

13.

What is the top-level directory which contains the configuration files for CUPS?

(Specify the full path to the directory.)

(a)  

14.

Which directory holds configuration files for xinetd services?

(Specify the full path to the directory)

(a)  

15.

What command is used to add OpenSSH private keys to a running ssh-agen . instance?

(Specify the command name only without any path.)

(a)  

16.

Which parameter of the ssh command specifies the location of the private key used for login attempts?

(Specify ONLY the option name without any values or parameters.)

(a)  

17.

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.)

(a)  

18.

What command enables a network interface according to distribution-specific configuration, such as /etc/network/interfaces or /etc/sysconflg/network-scripts/ifcfg-etho?

(Specify ONLY the command without any path or parameters.)

(a)  

19.

Which file is processed by newaliases?

(Specify the full name of the file, including path.)

(a)  

20.

Which parameter is missing in the command

Ip link act (a)   dec etho

21.

To activate the previously inactive network interface ethO?

(Specrfy the parameter only without any command, path or additional options)

(a)  

22.

After adding a new email alias to the configuration, which command must be run in order to ensure the MTA knows about it?

(Specify the command without any path but including all required parameters.)

(a)  

23.

Which command is used to sync the hardware clock to the system clock?

(Specify ONLY the command without any path or parameters.)

(a)  

24.

Which command, available with all MTAs, is used to list the contents of the MTA's mail queue?


(Specify ONLY the command without any path or parameters.)

(a)  

25.

Please specify the top directory containing the configuration files for the CUPS printing system.


(Specify the full path to the directory.)

(a)  

26.

To exclude all log messages of a given logging facility, you should use a logging priority of (a)   .

27.

What command can be used to generate syslog entries of any facility and priority?

(supply just the command name without a path)

(a)  

28.

With IPv6, how many bits have been used for the interface identifier of an unicast address?

(Specify the number using digits only.)

(a)  

29.

Which command is used to set the hostname of the local system?

(Specify ONLY the command without any path or parameters.)

(a)  

30.

Which parameter must be passed to ifconfig to activate a previously inactive network interface?



(Specify the parameter only without any command, path or additional options)

(a)  

31.

How many IP-addresses can be used for unique hosts inside the IPv4 subnet 192.168.2.128/28?

(Specify the number only without any additional information.)

(a)  

32.

What is the lowest numbered unprivileged TCP port?

(Specify the number in digits only.)

(a)  

33.

Which command, depending on its options, can display the open network connections, the routing tables, as well as network interface statistics.

(Specify ONLY the command without any path or parameters.)

(a)  

34.

Which port is the default server port for the HTTPS protocol?

(Specify the port number using digits.)

(a)  

35.

An administrator wants to determine the geometry of a particular window in X, so she issues the

(a)   -metric command and then clicks on the window.

36.

Which file specifies the user accounts that can NOT submit jobs via at or batch?

(Provide the full path and filename)

(a)  

37.

The system's timezone may be set by linking /etc/localtime to an appropriate file in which directory?


(Provide the full path to the directory, without any country information)

(a)  

38.

In which file, if present, must all users be listed that are allowed to use the cron scheduling system?


(Specify the full name of the file, including path.)

(a)  

39.

Which command is used to add an empty group to the system?

(Specify ONLY the command without any path or parameters.)

(a)  

40.

What command will display the group names and GIDs to which a user belongs?



(Provide only the command name with or without path information)

(a)  

41.

The (a)   command is used to add a group to the system.

42.

A user was not given permission to use the CRON scheduling system. What file needs to be modified to provide that access?

(Please specify the full path to the file)

(a)  

43.

Which option in the /etc/ntp.conf file specifies an external NTP source to be queried for time information?

(Specify ONLY the option without any values or parameters.)

(a)  

44.

After configuring printing on a Linux server, the administrator sends a test file to one of the printers and it fails to print. What command can be used to display the status of the printer's queue?

(Specify ONLY the command without any path or parameters.)

(a)  

45.

By default, the contents of which directory will be copied to a new user's home directory when the account is created by passing the -m option to the useradd command?

(Specify the full path to the directory.)

(a)  

46.

What command displays all aliases defined in the current shell?

(Specify the command without any path information)

(a)  

47.

Which directory in /etc is used to keep a sample copy of files and directories for when a new user has a home directory created?

(Please provide the full path)

(a)  

48.

What word is missing from the following SQL statement?

(a)   count(*) from tablename;

(Please specify the missing word using lower-case letters only.)

49.

Which command can be used to investigate the properties for a particular window in X by clicking that window?

(Specify ONLY the command without any path or parameters.)

(a)  

50.

What is the default name of the configuration file for the Xorg X11 server?

(Specify the file name only without any path.)

(a)  

51.

What is the name of the simple graphical login manager that comes with a vanilla X11 installation?

(Specify ONLY the command without any path or parameters.)

(a)