Click Here to take the test. (You need an account. It's free)
1. Which of the following best describes the relationship between UIDs and GIDs on a Linux system?
2. Which argument to the locale command displays currently available locales for a given system?
3. Which command displays a list of jobs currently scheduled with at?
4. Which file stores group information on a Linux server?
5. Which command on a Debian-based system can be used to change the time zone using the package-based tools?
6. Which command is recommended for configuration of slapd for OpenLDAP versions 2.3 and later?
7. When working with systemd timer units, which option to systemcti displays the active timers?
8. You are looking for a scheduled job that is not found in /etc/crontab, through systemd timers, or within /var/spool/cron. What is another location in which the scheduled job might be stored?
9. What is the name of the configuration file that contains information about group and user addition, such as the maximum and minimum user and group IDs, to be used when adding users and groups?
10. Within which directory will you find files related to the time zone for various regions?
11. Which shortcut to the OnCalendar systemd timer function indicates that the timer unit should run once a week?
12. Which of the following encoding provides a multibyte representation of characters?
13. Which debug level for slapd is used to provide debugging of configuration file processing?
14. Within which directory would you find a list of files corresponding to the users who have current cron jobs on the system?
15. Which file contains a list of users who are not allowed to create cron scheduled tasks?
16. Which option to useradd will add groups for a user?
17. Which abbreviation is another name for information like the user’s full name, telephone number, and other contact information found in /etc/passwd?
18. Which option to getent enumerates the password database for a given system?
19. Which shortcut can be used to indicate that a cron job should be executed on restart?
20. Within which directory should you place files in order for the files to be copied to a user’s home directory when the user is created?
21. Which command deletes an at job with an ID of 3?
22. Which file extension is used for systemd timer units?
23. Which of the following commands is used to add entries to the OpenLDAP database?
24. Which command will list the cron entries for a given user as denoted by <username>?
25. Which of the following is used as a systemwide cron file?
26. Which option to the crontab command removes the current crontab?
27. Which of the following commands produces a report listing the last password change date for all users on the system?
28. Which of the following best describes the use of the groupdei command?
29. Which file provides a list of users who are not allowed to create at jobs?
30. If you need to temporarily reconfigure all locale variables and settings for a given session, which environment variable can be used?
31. Which of the following commands will set the systemwide time zone to America/Los_Angeles?
32. Which environment variable controls the format of dates and times, such as a 12-hour or 24-hour formatted clock?
33. You need to determine if LDAP integration is working correctly. In order to do so, you would like to obtain a list of users, as read by /etc/nsswitch.conf. Which command can be used for this purpose?
34. Which option within a systemd timer unit will start a timer 90 minutes after boot?
35. Which of the following commands provides the current date and time in a format of seconds since the epoch?
36. Which of the following lines added to . profiie in a user’s home directory will set their time zone to Central time?
37. Which option to useradd creates a system user rather than a normal user?
38. Which of the following commands changes a group called DomainAdmins to DomainUsers?
39. Which option to the file command displays information on the MIME type of the file being interrogated?
40. Which of the following values for the LANG variable will configure the system to bypass locale translations where possible?
41. On which port does the slapd LDAP daemon listen for connections?
42. Which of the following commands locks out password-based login for a user but does not prevent other forms of login?
43. Which of the following commands displays the UID, primary group, and supplemental groups for a given user?
44. On which port does LDAP over SSL listen for connections?
45. Which command is used to change a user’s home directory to /srv/data/username and move the contents at the same time?
46. Which of the following will execute a job through cron at 12:15 a.m. and 12:15 p.m. every day?
47. What will be logged with the loglevel set to 0x10 in a siapd. conf configuration file?
48. Which shortcut within cron enables running of a task every day at midnight?
49. You need to delete a user from the system, including their home directory. Which of the following commands accomplishes this task?
50. Which of the following files is used by anacron for reading configuration information related to jobs?
51. Which option to the iconv command shows the available character sets on a given system?
52. When importing entries into the LDAP database using ldapadd -f <filename>, in which format should the file be?
53. Which file contains user information such as username and real name and is readable by all users of the system?
54. Which option to timedatectl sets the system clock?
55. Assume that passwords must be changed every 60 days. Which command will change the date of the user’s last password change without the user actually changing the account password?
56. Which file provides a list of users who are allowed to create at jobs?
57. Which of the following commands can be used to help with recovery of a corrupted OpenLDAP database?
58. Which command can be used to view the available timezones on a system and obtain output that can be used in scripts for setting the time zone?
59. Which file contains a list of usernames, UIDs, and encrypted passwords?
60. Which option to systemd-run adds a timed event?
61. Which directory contains the jobs scheduled with at?
62. Which of the following commands is used to re-create indexes based on existing slapd databases?
63. You are viewing the /etc/passwd file and see a * where the password should be. What does the presence of a * indicate within the password file?
64. Which scheduler can be used to schedule a command to run once at a certain time?
65. Which command can be used to create an LDIF file from the current LDAP database?
66. When running useradd, which option needs to be specified in order for the user’s home directory to be created?
67. Which variable in /etc/login.defs Controls the minimum group ID to use on the system?
68. Which option to the groupadd command specifies the GID for the group?
69. Which environment variable is used for localization related to measurement units such as metric?
70. Which of the following commands removes an expiration from an account?
71. Which variable in /etc/login.defs contains the location of a user’s email directory for use by programs such as userdel?
72. Which of the following will run a command called /usr/local/bin/changehome. sh as the www-data user when placed in /etc/crontab?
73. Which environment variable is used to set the paper size?
74. Assume that you have deleted a user account with UID 1501, including the - r option. Which command should you also run to look for other files that might have been owned by the user?
75. Which of the following commands schedules a series of commands to execute 1 hour from now?
76. Which option to groupadd specifies that the group will be a system group?
77. When listing systemd timer units, which option to list-timers shows both active and inactive units?
78. Within which directory are databases stored for OpenLDAP?
79. Which file contains encrypted password information for groups?
80. Within which directory will you find scripts that are scheduled to run through cron every 24 hours?
81. You need to enable the web server (running as the www-data user and group) to write into a directory called /home/web. Which commands will accomplish this task in the most secure manner?
82. Which job scheduler should you use if the computer on which you need to schedule the job is powered down at various times?
83. Which file is used to provide a list of users who can add and delete cron jobs?
84. Which option to the usermod command is used to change a given user’s real name?
85. When using slapadd for a large import, an error occurs at roughly 90 percent completion. Which option to slapadd enables specification of a line number from which the import will be restarted?
86. Which locale-related variable is used for currency-related localization?
87. Which file is used to indicate the local time zone on a Linux server?
88. Which variable in /etc/default/useradd controls the location of the skeleton home directory?
{jssocials}
