
























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!

























1. What is Linux?
A. An open-source operating system based on Unix principles B. A programming language C. A cloud service provider D. A database management system
Correct Answer: A
Rationale: Linux is a widely used open-source operating system known for stability, security, and flexibility.
2. Who created the Linux kernel?
A. Linus Torvalds B. Bill Gates C. Steve Jobs D. Tim Berners-Lee
Correct Answer: A
Rationale: Linus Torvalds released the Linux kernel in 1991, leading to the development of Linux distributions.
3. What is the Linux kernel?
A. Core component of the operating system that manages hardware and system resources B. Linux desktop environment C. Linux file manager D. Linux package manager
Correct Answer: A
Rationale: The kernel acts as an intermediary between hardware and software.
4. What is a Linux distribution (distro)?
A. Operating system package containing the Linux kernel and additional software B. Hardware driver package C. Network protocol suite D. Cloud deployment model
Correct Answer: A
Rationale: Distributions combine the kernel with utilities, package managers, and applications.
5. Which is a Linux distribution?
A. Ubuntu B. Microsoft Word C. Google Chrome D. Microsoft Access
Correct Answer: A
Rationale: Ubuntu is one of the most popular Linux distributions.
6. Which is another Linux distribution?
A. Fedora B. Windows Server C. Microsoft Excel D. Oracle Database
Correct Answer: A
Rationale: Fedora is a community-supported Linux distribution.
7. What is open-source software?
A. Software whose source code is available for inspection, modification, and distribution B. Software available only to vendors
A. pwd B. ls C. mkdir D. cp
Correct Answer: A
Rationale: The pwd command prints the current directory path.
12. What command lists files and directories?
A. ls B. pwd C. cat D. rm
Correct Answer: A
Rationale: The ls command displays directory contents.
13. What command changes directories?
A. cd B. ls C. cp D. mv
Correct Answer: A
Rationale: The cd command navigates between directories.
14. Which command creates a new directory?
A. mkdir B. touch C. rm D. pwd
Correct Answer: A
Rationale: mkdir creates one or more new directories.
15. What command creates an empty file?
A. touch B. mkdir C. ls D. rm
Correct Answer: A
Rationale: The touch command creates a file or updates timestamps.
16. What command copies files?
A. cp B. mv C. rm D. pwd
Correct Answer: A
Rationale: The cp command duplicates files and directories.
17. What command moves or renames files?
A. mv B. cp C. cat D. ls
Correct Answer: A
Rationale: mv can relocate or rename files and directories.
18. What command deletes files?
A. rm B. mv C. cp D. pwd
Correct Answer: A
Rationale: The rm command removes files and directories.
Rationale: User accounts usually have directories located under /home.
23. What directory contains configuration files?
A. /etc B. /tmp C. /dev D. /home
Correct Answer: A
Rationale: System-wide configuration files are commonly stored in /etc.
24. What directory contains executable commands and programs?
A. /bin B. /tmp C. /var D. /home
Correct Answer: A
Rationale: Essential user command binaries are stored in /bin.
25. What directory stores temporary files?
A. /tmp B. /boot C. /home D. /etc
Correct Answer: A
Rationale: Temporary files are commonly stored in /tmp.
26. What is a file path?
A. Address that identifies a file or directory location B. Storage device C. User account D. Network connection
Correct Answer: A
Rationale: Paths specify where files and directories exist in the file system.
27. What is an absolute path?
A. Path beginning from the root directory B. Path beginning from the current directory C. Network path only D. Temporary file location
Correct Answer: A
Rationale: Absolute paths always start with /.
28. What is a relative path?
A. Path based on the current working directory B. Path beginning at root C. Cloud storage path D. System configuration path
Correct Answer: A
Rationale: Relative paths depend on the user's current location.
29. What command displays the current logged-in user?
A. whoami B. pwd C. mkdir D. cp
Correct Answer: A
Rationale: whoami displays the current user's account name.
30. What command displays information about logged-in users?
A. who B. mkdir
A. It can make system-wide changes that may affect stability or security B. It only affects user files C. It prevents software installation D. It disables networking
Correct Answer: A
Rationale: Administrative privileges can impact the entire system.
35. What are Linux file permissions?
A. Rules controlling access to files and directories B. Hardware specifications C. Network configurations D. Package installation settings
Correct Answer: A
Rationale: Permissions determine who can read, write, or execute files.
36. Which permission allows viewing file contents?
A. Read (r) B. Write (w) C. Execute (x) D. Delete (d)
Correct Answer: A
Rationale: Read permission enables viewing file contents.
37. Which permission allows modifying file contents?
A. Write (w) B. Read (r) C. Execute (x) D. Browse (b)
Correct Answer: A
Rationale: Write permission enables editing or changing files.
38. Which permission allows running a file as a program?
A. Execute (x) B. Read (r) C. Write (w) D. Delete (d)
Correct Answer: A
Rationale: Execute permission allows scripts and programs to run.
39. Which command changes file permissions?
A. chmod B. chown C. pwd D. whoami
Correct Answer: A
Rationale: chmod modifies file and directory permissions.
40. Which command changes file ownership?
A. chown B. chmod C. mkdir D. rm
Correct Answer: A
Rationale: chown changes the owner of files and directories.
41. What is a Linux group?
A. Collection of users sharing permissions and access rights B. Hardware component C. Network protocol D. Software package repository
Correct Answer: A
Rationale: Groups simplify administration of permissions.
Rationale: top shows live resource and process activity.
46. What command terminates a process?
A. kill B. ls C. pwd D. touch
Correct Answer: A
Rationale: The kill command sends signals to processes.
47. What is a package manager?
A. Tool used to install, update, and remove software B. Network security application C. User account manager D. Hardware monitoring device
Correct Answer: A
Rationale: Package managers simplify software administration.
48. Which package manager is commonly used in Ubuntu?
A. APT B. IIS C. NTFS D. FAT
Correct Answer: A
Rationale: APT is the package management system used in Debian-based distributions.
49. What is software installation through repositories?
A. Installing software from trusted centralized package sources B. Downloading random files from unknown sources C. Purchasing physical media only D. Manual hardware installation
Correct Answer: A
Rationale: Repositories provide secure and managed software distribution.
50. What is the primary objective of WGU D397 Linux Foundations?
A. Develop foundational Linux skills including commands, file systems, users, permissions, processes, and system administration concepts B. Focus exclusively on Linux kernel programming C. Teach only cloud computing concepts D. Concentrate solely on cybersecurity operations
Correct Answer: A
Rationale: The course introduces essential Linux knowledge required for IT and cybersecurity careers.
51. What command displays disk usage information for file systems?
A. df B. ps C. pwd D. who
Correct Answer: A
Rationale: The df command reports available and used disk space on mounted file systems.
52. What command displays the size of files and directories?
A. du B. ls C. cat D. whoami
Correct Answer: A
Rationale: The du command estimates file and directory space usage.
53. What command is commonly used to find files in Linux?
A. find B. mkdir
A. tail B. head C. cp D. mv
Correct Answer: A
Rationale: The tail command is useful for monitoring logs and reviewing recent entries.
58. Which command can continuously monitor new log entries?
A. tail -f B. pwd C. ls D. who
Correct Answer: A
Rationale: tail -f follows file updates in real time.
59. What is a log file?
A. File that records system, application, or security events B. Backup storage device C. User account database D. Network switch configuration
Correct Answer: A
Rationale: Logs provide valuable information for troubleshooting and auditing.
60. Which directory commonly stores Linux log files?
A. /var/log B. /home C. /bin D. /boot
Correct Answer: A
Rationale: Most Linux system and application logs are stored under /var/log.
61. What is a hidden file in Linux?
A. File whose name begins with a period (.) B. Encrypted file only C. Deleted file D. System backup file
Correct Answer: A
Rationale: Hidden files are often used for configuration settings.
62. Which command displays hidden files?
A. ls -a B. pwd C. touch D. whoami
Correct Answer: A
Rationale: The -a option displays all files, including hidden ones.
63. What is a symbolic link?
A. Special file that points to another file or directory B. Compressed file archive C. System log file D. Network connection
Correct Answer: A
Rationale: Symbolic links provide shortcuts to files and directories.
64. What command creates a symbolic link?
A. ln -s B. cp C. mv D. grep
Correct Answer: A
Rationale: The ln -s command creates symbolic links.
Rationale: Environment variables help configure user and application behavior.
69. Which environment variable stores the current user's home directory?
A. HOME B. ROOT C. PATHWAY D. USERID
Correct Answer: A
Rationale: The HOME variable identifies the user's home directory.
70. What is the PATH variable used for?
A. Specifies directories searched for executable commands B. Stores user passwords C. Tracks disk usage D. Defines network routes only
Correct Answer: A
Rationale: PATH allows the shell to locate executable programs.
71. What command displays environment variables?
A. env B. mkdir C. rm D. touch
Correct Answer: A
Rationale: The env command displays current environment variables.
72. What is SSH?
A. Secure protocol for remote system access B. Linux package manager C. File compression utility D. Graphical desktop environment
Correct Answer: A
Rationale: SSH provides encrypted communication for remote administration.
73. What does SSH stand for?
A. Secure Shell B. System Shell Host C. Secure Software Hub D. Shell Sharing Host
Correct Answer: A
Rationale: SSH is widely used for secure remote access and management.
74. What command is commonly used to establish an SSH connection?
A. ssh B. ping C. chmod D. ps
Correct Answer: A
Rationale: The ssh command initiates secure remote sessions.
75. What is a package repository?
A. Centralized source for software packages B. Physical storage device C. Network cable system D. User account database
Correct Answer: A
Rationale: Repositories simplify software distribution and updates.
76. Why are repositories preferred for software installation?
A. They provide trusted and managed software sources B. They eliminate updates permanently