DCOM 142 - Linux Fundamentals Midterm Exam, Exams of Nursing

A comprehensive set of multiple-choice questions covering fundamental linux concepts, including file systems, directories, commands, user management, permissions, and troubleshooting. It provides a valuable resource for students studying linux operating systems, offering insights into key concepts and practical applications.

Typology: Exams

2023/2024

Available from 11/15/2024

mad-grades
mad-grades 🇺🇸

3.7

(3)

9.2K documents

1 / 7

Toggle sidebar

This page cannot be seen from the preview

Don't miss anything!

bg1
DCOM 142 - MIDTERM EXAM
Which type of computers have a specific functions in a larger systems. - correct answer embedded
systems
In Linux, which command will provide a one-line description of a given command's purpose? - correct
answer whatis
Which Linux Debian-based distribution is the most popular for general use? - correct answer Ubuntu
What is the function of the Linux man command? - correct answer 1.) Include a list of related commands
2.) Provide examples of common usage of the command.
3.)Give a description of the specific Linux command s purpose
In which major computing roles does Linux NOT dominate the market? - correct answer personal
computers (PCs)
Which type of computers provide services to multiple users over a network. - correct answer servers
What are the advantages of using Linux? (Select all that apply.) - correct answer 1.) Its free and open
source software (FOSS) nature promotes transparency.
2.) Its design emphasizes simplicity and modularity
Which Linux distro is a no-cost version of RHEL - correct answer CentOS
Manual or man pages are not available if your Internet goes down? - correct answer false
Which Linux distribution is Debian-based and used for penetration testing? - correct answer Kali Linux
pf3
pf4
pf5

Partial preview of the text

Download DCOM 142 - Linux Fundamentals Midterm Exam and more Exams Nursing in PDF only on Docsity!

DCOM 142 - MIDTERM EXAM

Which type of computers have a specific functions in a larger systems. - correct answer embedded systems In Linux, which command will provide a one-line description of a given command's purpose? - correct answer whatis Which Linux Debian-based distribution is the most popular for general use? - correct answer Ubuntu What is the function of the Linux man command? - correct answer 1.) Include a list of related commands 2.) Provide examples of common usage of the command. 3.)Give a description of the specific Linux command s purpose In which major computing roles does Linux NOT dominate the market? - correct answer personal computers (PCs) Which type of computers provide services to multiple users over a network. - correct answer servers What are the advantages of using Linux? (Select all that apply.) - correct answer 1.) Its free and open source software (FOSS) nature promotes transparency. 2.) Its design emphasizes simplicity and modularity Which Linux distro is a no-cost version of RHEL - correct answer CentOS Manual or man pages are not available if your Internet goes down? - correct answer false Which Linux distribution is Debian-based and used for penetration testing? - correct answer Kali Linux

Which file type enable process communication without network sockets? - correct answer Names pipes Which file type is container for other files? - correct answer directories What command is used to know the logged in user? - correct answer whoami What standard directory contains the root user's home directory - correct answer /root What standard directory contains variable or constanly changing files? - correct answer /var What command is used to view the current directory at the terminal? - correct answer pwd Which option can be used with the rm command to prompt before deleting? - correct answer """-i""" Which of the following commands would you type to rename newfile.txt to afile.txt? - correct answer mv newfile.txt afile.txt "A data structure used by an operating system to store, retrieve, organize, and manage files/directories on storage devices is called a?" - correct answer File systems What standard directory contains files necessarary to boot up Linux? - correct answer /boot What special symbol is recognized by shells as the home directory? - correct answer tilda(~) The top-level directory on a Linux system is represented as: - correct answer / What special symbol is recognized by shells as the parent directory? - correct answer double period (..) Which common editor in Linux displays command shortcuts at the bottom of the screen? - correct answer nano

Which of the following can not be a source of standard input? - correct answer screen Which symbol represent appending stdout to the end of a file? - correct answer >> What is the process of accepting input data from a source other than the keyboard and sending output data to a destination other than the display device? - correct answer redirection Which Linux command can you use to read a file? (Select all that apply) - correct answer cat, less, more Which symbol represent reading input from a a file? - correct answer < What is the second step in the procedure to remove a file? - correct answer Enter rm {file name} Which are type of links? (Select all that apply) - correct answer hard, symbolic or soft Which command is used to translate a string of characters and is predominantly used to change the case of letters in a file? - correct answer tr "Which ls command option can be used to show all files in a directory, including files that begin with a period?" - correct answer """-a""" Which Linux command allows you to perform pattern matching on a file? - correct answer awk Which two files are referenced in the creation of an user's account. - correct answer /etc/login.defs /etc/skel User student can access the shadow file by running 'cat /etc/shadow'. - correct answer false "To control password expiration, warnings, inactive days and aging info, use thic command." - correct answer chage

What does the Principle of Least Privilege state? - correct answer Users should be given no more authority on the system than they need to perform their job. Which are types of user account? (Select three) - correct answer root user, standard user, service user A Linux system references a group account by a group's - correct answer GID What are the three commands used to properly edit the /etc/passwd file? (Select all Three) - correct answer useradd, usermod, userdel A Linux system references a user account by a user's - correct answer UID What is used to specify a group ID? - correct answer """-g""" Which type of user account plays two roles on a Linux system? - correct answer root user Which command is used to create a user account and configure basic settings? - correct answer useradd This file is used to store the hashed version of a user's password. - correct answer /etc/shadow Which directory's contents are copied to the user's home directory upon account creation? - correct answer /etc/skel The file provides system-wide Bash settings. - correct answer /etc/bashrc Where should administrators set system-wide variables in scripts on a Linux system? - correct answer /etc/profile.d

What does the ls -l command do? - correct answer Lists directory contents in long format Which is not an operator use by chmod in symbolic mode? - correct answer * You have a user who is denied permission to execute a script that they themselves created. What is the cause of this problem? - correct answer The execute permission is not automatically set for new files. You can get more granular with controlling access to a file or directory by using - correct answer access control lists "What is the recognition, diagnosis, and resolution of problems?" - correct answer Troubleshooting What is the second step in a troubleshooting module? - correct answer Establish a theory of probable cause. Sticky Bit special permission are represented with this letter in the other's execute position. - correct answer t There are many common symptoms that can relate to permission issues. What symptom can be caused by the owner not being granted read access? - correct answer The owner of a text file is denied permission to view the contents of the text file. "Which one of the setfacl command options used to set the access control list (ACL) of an object, can also replace the same ACL if it already exists?" - correct answer """-s""" "If a user is unable to access a file, despite the owner context having full permissions what is causing this to happen?" - correct answer The user is not the owner of the file. SUID or SGID special permissions are represented with this letter in the user or group owner's execute position. - correct answer s