OA Exams
Which Linux command is used to display the system’s network interfaces and their configurations?
A) ip
B) netstat
C) ping
D) dig
Correct Answer: A) ip
Explanation: The ip command displays the system's network interfaces and their configurations in Linux.
Which Windows tool provides a graphical interface for managing system hardware?
A) Device Manager
B) Task Manager
C) Disk Management
D) Event Viewer
Correct Answer: A) Device Manager
Explanation: Device Manager provides a graphical interface for managing and configuring hardware in Windows.
Which Linux command is used to estimate the amount of disk space used by files and directories?
A) df
B) du
C) free
D) ls
Correct Answer: B) du
Explanation: The du command estimates the amount of disk space used by files and directories in Linux.
Which file system is used by macOS and is optimized for flash storage?
A) NTFS
B) exFAT
C) FAT32
D) APFS
Correct Answer: D) APFS
Explanation: APFS (Apple File System) is used by macOS and optimized for flash storage.
Which Linux command is used to display information about running processes?
A) ps
B) top
C) kill
D) df
Correct Answer: A) ps
Explanation: The ps command displays information about running processes in Linux.
Which Linux command allows you to change the ownership of a file?
A) chmod
B) chown
C) cp
D) mv
Correct Answer: B) chown
Explanation: The chown command is used to change the ownership of a file in Linux.
Which Windows tool is used to partition and manage hard drives?
A) Disk Management
B) Device Manager
C) Task Manager
Correct Answer: A) Disk Management
Explanation: Disk Management is used to partition and manage hard drives in Windows.
Which protocol is used to resolve domain names to IP addresses?
A) FTP
B) DNS
C) DHCP
D) SSH
Correct Answer: B) DNS
Explanation: DNS (Domain Name System) resolves domain names to IP addresses.
Which Windows tool can be used to monitor CPU, memory, and disk usage in real time?
A) Resource Monitor
C) Event Viewer
D) Device Manager
Correct Answer: A) Resource Monitor
Explanation: Resource Monitor is used to monitor CPU, memory, and disk usage in real time in Windows.
Which command in Linux is used to print the current working directory ?
A) ls
B) pwd
C) cd
D) mkdir
Correct Answer: B) pwd
Explanation: The pwd command prints the current working directory in Linux.
Which port is commonly used for email communication via SMTP?
A) Port 80
B) Port 443
C) Port 25
D) Port 110
Correct Answer: C) Port 25
Explanation: Port 25 is commonly used for email communication via the SMTP protocol.
Which Linux command is used to search for specific patterns in a file?
A) find
B) grep
C) ls
D) chmoda
Correct Answer: B) grep
Explanation: The grep command is used to search for specific patterns in a file in Linux.
Which Windows feature allows you to create a virtual hard disk (VHD)?
A) Task Scheduler
D) System Restore
Correct Answer: C) Disk Management
Explanation: Disk Management allows you to create and manage virtual hard disks (VHDs) in Windows.
Which Linux command is used to display a list of files in long format, showing details like permissions and file sizes?
A) ls -l
Correct Answer: A) ls -l
Explanation: The ls -l command displays a list of files in long format, showing details like permissions and file sizes.
Which Windows tool is used to schedule tasks to run at specific times or intervals?
D) Resource Monitor
Correct Answer: A) Task Scheduler
Explanation: Task Scheduler is used to schedule tasks to run at specific times or intervals in Windows.
Which Linux command is used to display the manual page for a specific command?
A) man
B) ls
C) chmod
D) pwd
Correct Answer: A) man
Explanation: The man command displays the manual page for a specific command in Linux.
Which Windows tool is used to back up files and folders automatically?
A) Event Viewer
B) System Restore
C) Task Scheduler
D) File History
Correct Answer: D) File History
Explanation: File History is a Windows tool used to automatically back up files and folders.
Which Linux command is used to create a new directory?
A) mkdir
D) chmod
Correct Answer: A) mkdir
Explanation: The mkdir command is used to create a new directory in Linux.
Which port is commonly used for HTTPS traffic?
B) Port 22
C) Port 443
D) Port 25
Correct Answer: C) Port 443
Explanation: Port 443 is commonly used for HTTPS (secure web traffic) communication.
Which Linux command is used to display the amount of free disk space on a system?
A) du
B) df
Correct Answer: B) df
Explanation: The df command displays the amount of free disk space on a system in Linux.