



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
DCOM 142 - MIDTERM EXAM QUESTIONS
Typology: Exams
1 / 6
This page cannot be seen from the preview
Don't miss anything!




Which type of computers have a specific functions in a larger systems. - Answers - embedded systems In Linux, which command will provide a one-line description of a given command's purpose? - Answers - whatis Which Linux Debian-based distribution is the most popular for general use? - Answers - Ubuntu What is the function of the Linux man command? - Answers - 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? - Answers - personal computers (PCs) Which type of computers provide services to multiple users over a network. - Answers - servers What are the advantages of using Linux? (Select all that apply.) - Answers - 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 - Answers - CentOS Manual or man pages are not available if your Internet goes down? - Answers - false Which Linux distribution is Debian-based and used for penetration testing? - Answers - Kali Linux Which file type enable process communication without network sockets? - Answers - Names pipes Which file type is container for other files? - Answers - directories What command is used to know the logged in user? - Answers - whoami What standard directory contains the root user's home directory - Answers - /root What standard directory contains variable or constanly changing files? - Answers - /var What command is used to view the current directory at the terminal? - Answers - pwd
Which option can be used with the rm command to prompt before deleting? - Answers - """-i""" Which of the following commands would you type to rename newfile.txt to afile.txt? - Answers - 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?" - Answers - File systems What standard directory contains files necessarary to boot up Linux? - Answers - /boot What special symbol is recognized by shells as the home directory? - Answers - tilda(~) The top-level directory on a Linux system is represented as: - Answers - / What special symbol is recognized by shells as the parent directory? - Answers - double period (..) Which common editor in Linux displays command shortcuts at the bottom of the screen? - Answers - nano Nano can support opening multiple files simultaneously? - Answers - true Which is a common editor in Linux? - Answers - nano, emacs, gedit Which keyboard key will return a user in VIM to command mode? - Answers - esc The find command searches a database to find a file. - Answers - false Which are modes used by vim? (Select all that apply) - Answers - insert, command, visual "Which command supported by Vim, has the function that reverts to the last saved format without closing the file?" - Answers - :e! The locate command allows you to perform one or more actions on files found. - Answers - false "An application that enables you to view, create, or modify the contents of text files." - Answers - text editor What is the second thing to do when searching for a file using locate? - Answers - enter updatedb Which text editor is favored by many sysadmins and developers? - Answers - vim
Which are types of user account? (Select three) - Answers - root user, standard user, service user A Linux system references a group account by a group's - Answers - GID What are the three commands used to properly edit the /etc/passwd file? (Select all Three) - Answers - useradd, usermod, userdel A Linux system references a user account by a user's - Answers - UID What is used to specify a group ID? - Answers - """-g""" Which type of user account plays two roles on a Linux system? - Answers - root user Which command is used to create a user account and configure basic settings? - Answers - useradd This file is used to store the hashed version of a user's password. - Answers - /etc/shadow Which directory's contents are copied to the user's home directory upon account creation? - Answers - /etc/skel The file provides system-wide Bash settings. - Answers - /etc/bashrc Where should administrators set system-wide variables in scripts on a Linux system? - Answers - /etc/profile.d "As a system administrator, why might you issue theid command?" - Answers - To display user ID (UID) and group ID (GID) information. "As a system administrator, why might you issue the id command? (Select all that apply)" - Answers --displays UID information display primary GID information
Which file provides shell configuration for the initial login environment? - Answers - .bash_profile What file does the last command retrieve information from? - Answers - /var/log/wtmp What is the second step when changing a user s profile? - Answers - Enter vim .bash_profile What octal number represents the write attribute. - Answers - 2` What octal number represents the execute attribute. - Answers - 1 What octal number represents the read attribute. - Answers - 4 What is the default permissions for a file created by a regular user? - Answers - 664 What does the ls - l command do? - Answers - Lists directory contents in long format Which is not an operator use by chmod in symbolic mode? - Answers - * You have a user who is denied permission to execute a script that they themselves created. What is the cause of this problem? - Answers - 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 - Answers - access control lists "What is the recognition, diagnosis, and resolution of problems?" - Answers - Troubleshooting What is the second step in a troubleshooting module? - Answers - Establish a theory of probable cause. Sticky Bit special permission are represented with this letter in the other's execute position. - Answers - 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? - Answers - 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?" - Answers - """-s""" "If a user is unable to access a file, despite the owner context having full permissions what is causing this to happen?" - Answers - The user is not the owner of the file.