OA Exams

  • web.groovymark@gmail.com
  • November 26, 2024

Question 21

Which Linux command is used to create a new file or update the timestamp of an existing file?

  • A) touch
  • B) ls
  • C) cp
  • D) chmod

Correct Answer: A) touch

Explanation: The touch command is used to create a new file or update the timestamp of an existing file in Linux.

Question 22

Which port is used by HTTPS for secure web traffic?

  • A) Port 80
  • B) Port 443
  • C) Port 22
  • D) Port 25

Correct Answer: B) Port 443

Explanation: Port 443 is used by HTTPS for secure web traffic.

Question 23

Which Windows command is used to view active network connections?

  • A) ipconfig
  • B) ping
  • C) netstat
  • D) tracert

Correct Answer: C) netstat

Explanation: The netstat command displays active network connections in Windows.

Question 24

Which Linux command is used to copy files from one location to another?

  • A) cp
  • B) mv
  • C) rm
  • D) ls

Correct Answer: A) cp

Explanation: The cp command copies files from one location to another in Linux.

Question 25

 Which file system is used by macOS to provide optimized performance on SSDs?

  • A) ext4
  • B) FAT32
  • C) NTFS
  • D) APFS

Correct Answer: D) APFS

Explanation: APFS (Apple File System) provides optimized performance on SSDs in macOS.

Question 26

Which Linux command is used to display the current working directory?

  • A) pwd
  • B) ls
  • C) cd
  • D) mkdir

Correct Answer: A) pwd

Explanation: The pwd command displays the current working directory in Linux.

Question 27

Which port is used by SSH for secure remote login?

  • A) Port 80
  • B) Port 22
  • C) Port 443
  • D) Port 3389

Correct Answer: B) Port 22

Explanation: Port 22 is used by SSH (Secure Shell) for secure remote login.

Question 28

Which Windows command is used to check the version of the operating system?

  • A) winver
  • B) ipconfig
  • C) netstat
  • D) ping

Correct Answer: A) winver

Explanation: The winver command displays the version of the Windows operating system.

Question 29

 Which Linux command is used to delete files?

  • A) rm
  • B) cp
  • C) mv
  • D) chmod

Correct Answer: A) rm

Explanation: The rm command deletes files in Linux.

Question 30

Which Windows tool allows you to create a backup of your files and restore them later?

  • A) File History
  • B) Disk Management
  • C) Task Scheduler
  • D) Event Viewer

Correct Answer: A) File History

Explanation: File History allows you to create a backup of your files and restore them later in Windows.

Question 31

Which Linux command is used to display detailed information about running processes?

  • A) ps
  • B) top
  • C) free
  • D) df

Correct Answer: A) ps

Explanation: The ps command displays detailed information about running processes in Linux.

Question 32

Which port is commonly used for FTP traffic?

  • A) Port 21
  • B) Port 22
  • C) Port 25
  • D) Port 80

Correct Answer: A) Port 21

Explanation: Port 21 is commonly used for FTP (File Transfer Protocol) traffic.

Question 33

Which Windows command is used to trace the route taken by packets to a destination?

  • A) ping
  • B) ipconfig
  • C) tracert
  • D) netstat

Correct Answer: C) tracert

Explanation: The tracert command traces the route taken by packets to a destination in Windows.

Question 34

 Which Linux command is used to search for files by name?

  • A) find
  • B) grep
  • C) ls
  • D) chmod

Correct Answer: A) find

Explanation: The find command searches for files by name in Linux.

Question 35

Which Windows tool is used to encrypt an entire drive?

  • A) BitLocker
  • B) EFS
  • C) Task Scheduler
  • D) System Restore

Correct Answer: A) BitLocker

Explanation: BitLocker is used to encrypt an entire drive in Windows.

Question 36

Which Linux command is used to change the ownership of a file?

  • A) chown
  • B) chmod
  • C) cp
  • D) mv

Correct Answer: A) chown

Explanation: The chown command changes the ownership of a file in Linux.

Question 37

Which Windows feature allows you to restore the system to a previous state?

  • A) System Restore
  • B) Disk Cleanup
  • C) File History
  • D) Task Scheduler

Correct Answer: A) System Restore

Explanation: System Restore allows you to restore the system to a previous state in Windows.

Question 38

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 displays the contents of a file in Linux.

Question 39

Which Windows command is used to copy files and directories with long names?

  • A) xcopy
  • B) robocopy
  • C) copy
  • D) cp

Correct Answer: B) robocopy

Explanation: The robocopy command is used to copy files and directories with long names in Windows.

Question 40

Which Linux command is used to estimate file space usage?

  • A) du
  • B) df
  • C) ls
  • D) pwd

Correct Answer: A) du

Explanation: The du command estimates file space usage in Linux.

Complete the Captcha to view next question set.

Prev Post
WGU D317 Practice Exam Questions – Set 3 – Part 1
Next Post
WGU D317 Practice Exam Questions – Set 3 – Part 3