Last Updated on April 3, 2018 by Admin
Introduction to Linux II Chapter 8 Exam Answer
CCNA7.COM had tried to collect all chapter exam from candidate who has already taken exam. There are 29 questions in Introduction to Linux II Chapter 8. Our team has modified and corrected all answers with 100% score before we published on this page. In Introduction to Linux II Chapter 8 exam, you should review all questions again and again before go to take online exam with NDG system.
-
Question ID 1197
The daemon associated with the cron utility is called the ___________ daemon.
- cdaemon
- crondaemon
- crond
- cron
-
Question ID 1198
The crontab command can be used to:
- Create crontab files
- Remove crontab files
- List crontab files
- All choices are valid
-
Question ID 1199
System crontabs are generally found in which of the following directories?
- /root; /etc
- /var/spool/cron; /etc/cron.d
- /etc; /bin
- /var/spool/cron.d; /etc/cron
-
Question ID 1200
All commands that are run from system crontabs require root privileges.
True or False?
- True
- False
-
Question ID 1201
Commands specified in a crontab file will run only if the root user is logged in.
True or False?
- True
- False
-
Question ID 1202
In the time fields of a crontab file entry, a _________is used to denote a range of values.
- ( )
- [ ]
- –
- /
-
Question ID 1203
The crontab keyword @reboot implies that the job runs:
- Once, at startup
- Once a day
- Every time a user logs in
- Each time the crond daemon starts
-
Question ID 1204
The system administrator wants to create a crontab entry to perform daily backups. Which of the following keywords should be used?
- @today
- @daily
- @backup
- Cannot be done
-
Question ID 1205
The system administrator wants to check the status of a database every hour. Which of the following crontab entries will ensure that the script runs every hour (on the hour) from 8AM to 5PM, Monday through Friday?
- 00 08-17 * * 1-5 /home/appuser/bin/check-db-status
- 00 08-05 * * 1-5 /home/appuser/bin/check-db-status
- 00 08-17 * * 00 /home/appuser/bin/check-db-status
- 00 08-17 * * 5 /home/appuser/bin/check-db-status
-
Question ID 1206
Which of the following commands can be used to view the current contents of a crontab file?
- crontab –l
- crontab –p
- crontab –r
- crontab –v
-
Question ID 1207
Which of the following commands can be used to remove all the crontab entries?
- crontab –r
- crontab –v
- crontab –l
- crontab –p
-
Question ID 1208
Refer to following cron job entry:
0 9-18 * * * /home/joe/bin/check-db-status
The job…
- Executes check-db-status on all days between 9 AM and 6 PM
- Executes check-db-status Monday to Friday between 9 AM and 6 PM
- Executes check-db-status at every hour on all days
- Executes check-db-status at every hour on Monday to Friday
-
Question ID 1209
How would you schedule a cron job to run every second?
- By using the keyphrase @second
- Create 60 jobs which run every minute
- Using a cron job, it is not possible to schedule a job which runs every second
- By putting an entry similar to * * * * * <job>
-
Question ID 1210
A Linux server, configured for the UTC time zone, is accessed by users from other time zones. The cron jobs scheduled on the server will run:
- As per the time zone of location where the server is kept
- As per the time zone of respective users
- As per UTC time zone
- As per the TZ environment variable setting in the crontab file
-
Question ID 1211
The crond daemon can be restarted using the command /etc/init.d/crond restart
- False
- True
-
Question ID 1212
The system administrator wants to allow certain users to access the crontab command but not others. This can be done by:
- Add account name(s) to have access in the system crontab file
- Selective access is not possible
- Granting them root privileges
- Managing entries in cron.allow and cron.deny files
-
Question ID 1213
A Linux system has entries in both the cron.allow and cron.deny files. Which users, other than root, will have access to the crontab command?
- Users specified in cron.allow have access to crontab; cron.deny will be ignored
- Only root will have access to crontab
- All users except those specified in the cron.deny file will have access to crontab
- Users specified in cron.allow but not included in cron.deny will have access to crontab
-
Question ID 1214
Only 5 out of 100 Linux users in ABCajun Corp need access to crontab. The administrator should:
- Create cron.deny and add all the users in the file
- Create cron.allow and add those five users to the file
- Create cron.deny and add those five users in the file
- Create both cron.allow and cron.deny files. Add five users in cron.allow and remaining ninety five in cron.deny
-
Question ID 1215
A Linux server may not be powered-on all the time. Which of the following options is most suitable to run scheduled jobs on this server?
- anacron
- cron
- cron.allow
- cron jobs with only daily jobs
-
Question ID 1216
What does the delay field in an anacrontab entry signify?
- The command should wait for a specified number of minutes after running the previous command
- The command should delay the processing by a specified number of minutes
- The command should wait for a specified number of seconds after the machine starts
- The command should wait for a specified number of minutes after the machine starts
-
Question ID 1217
To force a job to be run irrespective of its timestamp, the anacron command can be used with which of the following options?
- –n
- –f
- –s
- –u
-
Question ID 1218
The cron scheduler should be used if the jobs are to be run at a particular hour and minute.
True or False?
- True
- False
-
Question ID 1219
A one-time job needs to be scheduled for a specific time. Which of the following commands is most suitable for the task?
- at
- anacron
- cron
- batch
-
Question ID 1220
Pam wants to schedule a one-time task using the at command and receive an email once it is complete. Which of the following at command options should she use?
- –m
- –f
- –v
- –x
-
Question ID 1221
After executing the atq command, the following jobs are displayed:
2 2014-11-22 22:00 a test_user
3 2014-11-22 20:00 a root
4 2014-11-22 22:45 a oracle_dba
Which of the following commands will delete job #2?
- atrm test_user
- test_user should manually delete the entry
- atrm 2
- at -r 2
-
Question ID 1222
The at.allow and at.deny files can be used to control access to:
- at and batch commands
- anacron
- at command only
- All programs used for scheduling
-
Question ID 1223
Rob has to schedule a job to accomplish a one-time task. He wants to run the job during off-peak hours only. Which of the following is most suitable to schedule this task?
- cron
- at
- batch
- anacron
-
Question ID 1224
batch commands are executed only when the system’s load average drops below which of the following by default?
- 1.0
- 0.5
- 0.8
- 0.2
-
Question ID 1225
The default value for load average for running the batch command can be changed using which of the following commands?
- atd –o
- atd –l
- atd –n
- It cannot be changed