-
web.groovymark@gmail.com
- November 26, 2024
Question 21
Which Linux command is used to search the directory hierarchy for files?
- A) find
- B) locate
- C) grep
- D) ls
Correct Answer: A) find
Explanation: The find command searches the directory hierarchy for files in Linux.
Question 22
Which Windows tool is used to configure automatic backup tasks?
- A) Task Scheduler
- B) Backup and Restore
- C) System Restore
- D) File History
Correct Answer: A) Task Scheduler
Explanation: Task Scheduler is used to configure automatic backup tasks in Windows.
Question 23
Which Linux command is used to display the file contents?
- A) cat
- B) grep
- C) head
- D) tail
Correct Answer: A) cat
Explanation: The cat command is used to display the contents of a file in Linux.
Question 24
Which Windows feature provides protection against unauthorized access to drives?
- A) BitLocker
- B) Encrypting File System (EFS)
- C) File History
- D) System Restore
Correct Answer: A) BitLocker
Explanation: BitLocker is used to provide encryption and protection against unauthorized access to drives in Windows.
Question 25
Which Linux command is used to delete a directory and its contents?
- A) rm -r
- B) rmdir
- C) mkdir
- D) ls
Correct Answer: A) rm -r
Explanation: The rm -r command deletes a directory and its contents in Linux.
Question 26
Which Windows command is used to display the version of Windows that is running?
- A) winver
- B) ver
- C) systeminfo
- D) msinfo32
Correct Answer: A) winver
Explanation: The winver command displays the version of Windows that is currently running.
Question 27
Which Linux command is used to move files or directories?
- A) mv
- B) cp
- C) rm
- D) chmod
Correct Answer: A) mv
Explanation: The mv command is used to move files or directories in Linux.
Question 28
Which Windows feature allows you to restore previous versions of files?
- A) File History
- B) System Restore
- C) Task Scheduler
- D) Backup and Restore
Correct Answer: A) File History
Explanation: File History allows you to restore previous versions of files in Windows.
Question 29
Which Linux command is used to change file permissions?
- A) chmod
- B) chown
- C) cp
- D) rm
Correct Answer: A) chmod
Explanation: The chmod command is used to change file permissions in Linux.
Question 30
Which Windows command is used to check system files for corruption?
- A) sfc /scannow
- B) chkdsk
- C) diskpart
- D) defrag
Correct Answer: A) sfc /scannow
Explanation: The sfc /scannow command checks system files for corruption in Windows.
Question 31
Which Linux command is used to display a list of running processes?
- A) ps
- B) top
- C) free
- D) df
Correct Answer: A) ps
Explanation: The ps command displays a list of running processes in Linux.
Question 32
Which Windows tool allows you to manage system services?
- A) Services
- B) Device Manager
- C) Task Scheduler
- D) Disk Management
Correct Answer: A) Services
Explanation: The Services tool allows you to manage system services in Windows.
Question 33
Which Linux command is used to show running processes in real-time?
- A) top
- B) ps
- C) free
- D) df
Correct Answer: A) top
Explanation: The top command shows running processes in real-time in Linux.
Question 34
Which Windows feature allows you to encrypt a drive for security?
- A) BitLocker
- B) File History
- C) System Restore
- D) Backup and Restore
Correct Answer: A) BitLocker
Explanation: BitLocker is used to encrypt a drive for security in Windows.
Question 35
What is the mechanic’s lien used for?
- A) pwd
- B) ls
- C) cd
- D) mkdir
Correct Answer: A) pwd
Explanation: The pwd command displays the current directory in Linux.
Question 36
Which Windows command is used to stop a service?
- A) net stop
- B) taskkill
- C) sc stop
- D) stopservice
Correct Answer: A) net stop
Explanation: The net stop command is used to stop a service in Windows.
Question 37
Which Linux command is used to display the contents of a file?
- A) cat
- B) ls
- C) cp
- D) chmod
Correct Answer: A) cat
Explanation: The cat command is used to display the contents of a file in Linux.
Question 38
Which Windows tool is used to defragment a hard drive?
- A) Defragment and Optimize Drives
- B) Disk Cleanup
- C) Disk Management
- D) Event Viewer
Correct Answer: A) Defragment and Optimize Drives
Explanation: The Defragment and Optimize Drives tool is used to defragment a hard drive in Windows.
Question 39
Which Linux command is used to find files by name?
- A) find
- B) locate
- C) grep
- D) ls
Correct Answer: A) find
Explanation: The find command is used to find files by name in Linux.
Question 40
Which Windows command is used to repair disk errors?
- A) chkdsk /f
- B) diskpart
- C) defrag
- D) sfc /scannow
Correct Answer: A) chkdsk /f
Explanation: The chkdsk /f command is used to repair disk errors in Windows.