Exercise: Scripting, Containers,and Automation
Simulator Summary
0 of 33 Questions completed
Questions:
Information
You have already completed the simulator before. Hence you can not start it again.
Simulator is loading…
You must sign in or sign up to start the simulator.
You must first complete the following:
Results
Results
0 of 33 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 33
1. Question
Type the command to obtain a list of USB devices.
CorrectIncorrect -
-
Question 2 of 33
2. Question
Assuming that you are working with a SysV system, type the complete
chkconfig
command to display all services and their runlevels.CorrectIncorrect -
-
Question 3 of 33
3. Question
Type the command to reboot a system.
CorrectIncorrect -
-
Question 4 of 33
4. Question
Enter the command to view the status of the service
nginx
.CorrectIncorrect -
-
Question 5 of 33
5. Question
Type the command to install the
vsftpd
package from the repository in the system.CorrectIncorrect -
-
Question 6 of 33
6. Question
Type the command to update a Debian system to the latest software.
CorrectIncorrect -
-
Question 7 of 33
7. Question
You need to download the source code for a package to install. The package has a .tgz file extension. Type the command to decompress and unarchive the package.
CorrectIncorrect -
-
Question 8 of 33
8. Question
Type the command to search for and provide information on a given package on a Debian system, including whether the package is currently installed?
CorrectIncorrect -
-
Question 9 of 33
9. Question
Type the command to update the package cache for a Debian system.
CorrectIncorrect -
-
Question 10 of 33
10. Question
Type the command to display the dependencies for a specified package.
CorrectIncorrect -
-
Question 11 of 33
11. Question
Type the command to display the current runlevel for a system.
CorrectIncorrect -
-
Question 12 of 33
12. Question
Write the command to send the contents of
/etc/passwd
to both STDOUT and to a file calledpwfile
.CorrectIncorrect -
-
Question 13 of 33
13. Question
The current hierarchy on the server contains a directory called
/usr/local
. You need to create additional directories below that are called/usr/local/exercises/commands
. Write the command that will help you accomplish that.CorrectIncorrect -
-
Question 14 of 33
14. Question
Assuming that you are working with Vi, type the command to change the mode into insert mode and open a new line below the current cursor location.
CorrectIncorrect -
-
Question 15 of 33
15. Question
You are using the Vi editor for changing a file and need to exit. You receive a notice indicating “No write since last change”. Type the command to save your work and exit Vi.
CorrectIncorrect -
-
Question 16 of 33
16. Question
Write the find command you will use to locate files within the current directory that have been modified within the last 24 hours.
CorrectIncorrect -
-
Question 17 of 33
17. Question
Type the command to list the cron entries for the user
linuxpath
.CorrectIncorrect -
-
Question 18 of 33
18. Question
Type the command to place a file into the print queue.
CorrectIncorrect -
-
Question 19 of 33
19. Question
Type the command to delete an at job with an ID of 80.
CorrectIncorrect -
-
Question 20 of 33
20. Question
Type the command to change a group called
GroupAdmins
toGroupUsers
.CorrectIncorrect -
-
Question 21 of 33
21. Question
Type the command to delete a user from the system, including their home directory.
CorrectIncorrect -
-
Question 22 of 33
22. Question
Type the command to schedule a series of commands to execute two hours from now.
CorrectIncorrect -
-
Question 23 of 33
23. Question
Write the command you will use to move all files with a .py extension to the /tmp directory.
CorrectIncorrect -
-
Question 24 of 33
24. Question
You have downloaded a file with a .gz extension. Write the most closely command you will use to decompress this file.
CorrectIncorrect -
-
Question 25 of 33
25. Question
Type the command to examine the system log for information regarding DHCP activity.
CorrectIncorrect -
-
Question 26 of 33
26. Question
Type the command to show information such as link status about the wireless device “wlan1”.
CorrectIncorrect -
-
Question 27 of 33
27. Question
Type the command to view kernel-related udev events in real-time.
CorrectIncorrect -
-
Question 28 of 33
28. Question
Type command to gather and display statistics about mail processed on a server running
sendmail
.CorrectIncorrect -
-
Question 29 of 33
29. Question
Type the command to cause the mail queue to be processed on a Postfix server.
CorrectIncorrect -
-
Question 30 of 33
30. Question
Type the command to search the contents of all files below your current location for files that contain the word
firewall
.CorrectIncorrect -
-
Question 31 of 33
31. Question
Enter the command to display a listing of who is logged in to the server along with the date and time that they logged in.
CorrectIncorrect -
-
Question 32 of 33
32. Question
Enter the command to set parameters, such as essid, channel and other related options for a wireless device.
CorrectIncorrect -
-
Question 33 of 33
33. Question
Type the complete
openssl
command to create a Certificate Signing Request (CSR).CorrectIncorrect -