CompTIA Linux+ (XK0-004) Performanced-Based Questions #2
Anastasia-Instructor September 4, 2022
Quiz Summary
0 of 15 Questions completed
Questions:
Information
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
Results
Results
0 of 15 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)
Average score |
|
Your score |
|
Categories
- Not categorized 0%
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- Current
- Review
- Answered
- Correct
- Incorrect
-
Question 1 of 15
1. Question
You want to know the status of all the running processes along with process PID and id, type the command to list the status of all the processes along with the process id and PID.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 2 of 15
2. Question
Your best friend, John, has started to learn Linux. He wants to complete a task and needs your help, which is to list all the files and directories inside a given directory. He hands over his computer to you. Type the command to list all files or directories from the CLI.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 3 of 15
3. Question
As the Linux system administrator of Dojolab, you need to find the name server information for dojolab.com by querying DNS. Type the command to get information from the DNS server of dojolab.org
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 4 of 15
4. Question
Priscillia knows the netstat command, but she needs more information about the command, she wants to locate the binary, source, and manual page for the command. As her elder brother, a linux pro, help her type the command to locate where the netstat’s manual page is.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 5 of 15
5. Question
Shamsi is a beginner in Linux, so he doesn’t know how to simply create a directory on Linux. Show him how it’s done. Type the command to create a dojolab directory inside the home directory.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 6 of 15
6. Question
You want to simply query a single host; to query DNS nameservers for information about host addresses, nameservers, mail exchanges, and related information. Type the command to collect data about domain name servers.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 7 of 15
7. Question
You’ve just connected to your Linux server machine and found something malicious or unusual, you want to know how long the system has been running. Type the command to display the time since the last boot.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 8 of 15
8. Question
You use ls –l command frequently, which contains 5 characters including the space. To be efficient, you decide to replace the command with l, a shorter string while executing the command. Type the command to create an alias for ls –l to l.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 9 of 15
9. Question
Your list of alias commands is getting longer, so you decide to remove the alias “l”. Type the command to remove the alias “l”.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 10 of 15
10. Question
You don’t want to receive any terminal messages from any user. Type the command to prevent the display of terminal messages from other users.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 11 of 15
11. Question
Your boss asks you to remove some files: dojolab1, dojolab2, and dojolab3. You decide to remove the files in a recursive way. Type the command to remove the three (3) files.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 12 of 15
12. Question
This time it’s required of you to remove the three (3) files (dojolab1, dojolab2, and dojolab3) in a forceful manner, ignoring errors and prompts. Type the command to forcefully remove those three (3) files.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 13 of 15
13. Question
During your interview for Linux system administrator position, the interviewer gives you a system and ask to display all network ports associated with the system. Type the command to display all network ports.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 14 of 15
14. Question
In your small IT company where you’re hired as a Linux administrator, everybody logs in with their mesg permission set to yes. You want to send a message to all users, the message is Breaktime. Type the command to send the message (Breaktime) to all users.
-
Student@dojolab:~$
CorrectIncorrect -
-
Question 15 of 15
15. Question
Your instructor asks you to extract an archive file. Type the command used for creating archives and extracting files in Linux.
-
Student@dojolab:~$
CorrectIncorrect -